aboutsummaryrefslogtreecommitdiff
path: root/arm-gen.c
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>2009-07-19 06:42:23 +0900
committergrischka <grischka>2009-08-24 13:30:03 +0200
commit5dadff3de553b0dae46cca233c751ed8b6853da4 (patch)
tree6bcd6792db49262514998895b6847ac0e0599948 /arm-gen.c
parent3a1380120d8c952a34f6b5db0b3c42f794770f51 (diff)
downloadtinycc-5dadff3de553b0dae46cca233c751ed8b6853da4.tar.gz
tinycc-5dadff3de553b0dae46cca233c751ed8b6853da4.tar.bz2
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.
Diffstat (limited to 'arm-gen.c')
-rw-r--r--arm-gen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arm-gen.c b/arm-gen.c
index 9370db5..e0866ff 100644
--- a/arm-gen.c
+++ b/arm-gen.c
@@ -163,6 +163,7 @@ static CType float_type, double_type, func_float_type, func_double_type;
/* relocation type for 32 bit data relocation */
#define R_DATA_32 R_ARM_ABS32
+#define R_DATA_PTR R_ARM_ABS32
#define R_JMP_SLOT R_ARM_JUMP_SLOT
#define R_COPY R_ARM_COPY