From b46472feb93d93e6a8af1758b2a313a2fb9893fe Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 29 May 2010 12:24:40 +0000 Subject: [PATCH] OS X x86_64 fix from Barney Stratford --- rts/Linker.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rts/Linker.c b/rts/Linker.c index 9833b31..8a1bdc1 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -4212,6 +4212,9 @@ static int relocateSection( thing += value; break; case X86_64_RELOC_SIGNED: + case X86_64_RELOC_SIGNED_1: + case X86_64_RELOC_SIGNED_2: + case X86_64_RELOC_SIGNED_4: ASSERT(reloc->r_pcrel); thing += value - baseValue; break; -- 1.7.10.4