From: wolfgang.thaller@gmx.net Date: Thu, 12 Apr 2007 21:47:01 +0000 (+0000) Subject: Fix a typo related to i386 PIC code generation X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=1569075dbdc0b46720a5b2d89df3fb100cf84e3d Fix a typo related to i386 PIC code generation A recent patch accidentally had x86_TARGET_ARCH instead of i386_TARGET_ARCH. --- 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: