From: Ian Lynagh Date: Sat, 29 May 2010 12:24:40 +0000 (+0000) Subject: OS X x86_64 fix from Barney Stratford X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b46472feb93d93e6a8af1758b2a313a2fb9893fe;p=ghc-hetmet.git OS X x86_64 fix from Barney Stratford --- 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;