OS X x86_64 fix from Barney Stratford
[ghc-hetmet.git] / rts / Linker.c
index 9833b31..8a1bdc1 100644 (file)
@@ -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;