Unbreak x86_64 PIC patch, part 2
authorwolfgang.thaller@gmx.net <unknown>
Sun, 10 Dec 2006 13:27:12 +0000 (13:27 +0000)
committerwolfgang.thaller@gmx.net <unknown>
Sun, 10 Dec 2006 13:27:12 +0000 (13:27 +0000)
Continue repairing breakage from patch
"x86_64: support PIC and therefore, Mac OS X in the NCG",
this time something affecting (linux && !i386)

compiler/nativeGen/PositionIndependentCode.hs

index 53ee563..ead9863 100644 (file)
@@ -274,7 +274,7 @@ howToAccessLabel CallReference lbl
     = AccessDirectly
 #if !i386_TARGET_ARCH
     | labelDynamic lbl && opt_PIC
-    = AccessViaSymbolStub
+    = AccessViaStub
 #endif
 
 howToAccessLabel _ lbl