Fix a typo related to i386 PIC code generation
authorwolfgang.thaller@gmx.net <unknown>
Thu, 12 Apr 2007 21:47:01 +0000 (21:47 +0000)
committerwolfgang.thaller@gmx.net <unknown>
Thu, 12 Apr 2007 21:47:01 +0000 (21:47 +0000)
A recent patch accidentally had x86_TARGET_ARCH instead of i386_TARGET_ARCH.

compiler/nativeGen/PositionIndependentCode.hs

index 80023e1..e2db9da 100644 (file)
@@ -200,7 +200,7 @@ howToAccessLabel DataReference lbl
     | otherwise = AccessDirectly
 
 
-#if x86_TARGET_ARCH || x86_64_TARGET_ARCH
+#if i386_TARGET_ARCH || x86_64_TARGET_ARCH
     -- dyld code stubs don't work for tailcalls because the
     -- stack alignment is only right for regular calls.
     -- Therefore, we have to go via a symbol pointer: