From 1569075dbdc0b46720a5b2d89df3fb100cf84e3d Mon Sep 17 00:00:00 2001 From: "wolfgang.thaller@gmx.net" Date: Thu, 12 Apr 2007 21:47:01 +0000 Subject: [PATCH] Fix a typo related to i386 PIC code generation A recent patch accidentally had x86_TARGET_ARCH instead of i386_TARGET_ARCH. --- compiler/nativeGen/PositionIndependentCode.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/nativeGen/PositionIndependentCode.hs b/compiler/nativeGen/PositionIndependentCode.hs index 80023e1..e2db9da 100644 --- a/compiler/nativeGen/PositionIndependentCode.hs +++ b/compiler/nativeGen/PositionIndependentCode.hs @@ -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: -- 1.7.10.4