aboutsummaryrefslogtreecommitdiff
path: root/x86_64-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64-link.c')
-rw-r--r--x86_64-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64-link.c b/x86_64-link.c
index 9ff234b..602a8ef 100644
--- a/x86_64-link.c
+++ b/x86_64-link.c
@@ -3,7 +3,7 @@
#define EM_TCC_TARGET EM_X86_64
/* relocation type for 32 bit data relocation */
-#define R_DATA_32 R_X86_64_32
+#define R_DATA_32 R_X86_64_32S
#define R_DATA_PTR R_X86_64_64
#define R_JMP_SLOT R_X86_64_JUMP_SLOT
#define R_GLOB_DAT R_X86_64_GLOB_DAT