summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/PositionIndependentCode.hs
diff options
context:
space:
mode:
authorwolfgang.thaller@gmx.net <unknown>2007-04-12 21:47:01 +0000
committerwolfgang.thaller@gmx.net <unknown>2007-04-12 21:47:01 +0000
commit1569075dbdc0b46720a5b2d89df3fb100cf84e3d (patch)
treebed0d067432a10f74e0f1743dc9d0241c03c6b6b /compiler/nativeGen/PositionIndependentCode.hs
parentc8a127499b885a7547825fffc21fe8bbcad2bf97 (diff)
downloadhaskell-1569075dbdc0b46720a5b2d89df3fb100cf84e3d.tar.gz
Fix a typo related to i386 PIC code generation
A recent patch accidentally had x86_TARGET_ARCH instead of i386_TARGET_ARCH.
Diffstat (limited to 'compiler/nativeGen/PositionIndependentCode.hs')
-rw-r--r--compiler/nativeGen/PositionIndependentCode.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nativeGen/PositionIndependentCode.hs b/compiler/nativeGen/PositionIndependentCode.hs
index 80023e16d5..e2db9da62d 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: