From 5dadff3de553b0dae46cca233c751ed8b6853da4 Mon Sep 17 00:00:00 2001 From: Shinichiro Hamaji Date: Sun, 19 Jul 2009 06:42:23 +0900 Subject: 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. --- i386-gen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'i386-gen.c') diff --git a/i386-gen.c b/i386-gen.c index 61f9e78..ff5028e 100644 --- a/i386-gen.c +++ b/i386-gen.c @@ -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 -- cgit v1.3.1