projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8a1274
)
Fix a typo related to i386 PIC code generation
author
wolfgang.thaller@gmx.net
<unknown>
Thu, 12 Apr 2007 21:47:01 +0000
(21:47 +0000)
committer
wolfgang.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
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/PositionIndependentCode.hs
b/compiler/nativeGen/PositionIndependentCode.hs
index
80023e1
..
e2db9da
100644
(file)
--- 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: