x86-64: Fix stab debug information.

We need 32bit relocations for code and 64bit for debug info.
Introduce a new macro R_DATA_PTR to distinguish the two usages.
This commit is contained in:
Shinichiro Hamaji
2009-07-19 06:42:23 +09:00
committed by grischka
parent 3a1380120d
commit 5dadff3de5
5 changed files with 7 additions and 3 deletions

View File

@ -77,6 +77,7 @@ const int reg_classes[NB_REGS] = {
/* relocation type for 32 bit data relocation */
#define R_DATA_32 R_386_32
#define R_DATA_PTR R_386_32
#define R_JMP_SLOT R_386_JMP_SLOT
#define R_COPY R_386_COPY