aboutsummaryrefslogtreecommitdiff
path: root/x86_64-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64-gen.c')
-rw-r--r--x86_64-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64-gen.c b/x86_64-gen.c
index ea06708..6102be7 100644
--- a/x86_64-gen.c
+++ b/x86_64-gen.c
@@ -242,7 +242,7 @@ ST_FUNC int oad(int c, int s)
ST_FUNC void gen_addr32(int r, Sym *sym, int c)
{
if (r & VT_SYM)
- greloca(cur_text_section, sym, ind, R_X86_64_32, c), c=0;
+ greloca(cur_text_section, sym, ind, R_X86_64_32S, c), c=0;
gen_le32(c);
}