projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bbb0e7f
)
Unbreak previous x86_64 PIC patch
author
wolfgang.thaller@gmx.net
<unknown>
Thu, 7 Dec 2006 13:31:08 +0000
(13:31 +0000)
committer
wolfgang.thaller@gmx.net
<unknown>
Thu, 7 Dec 2006 13:31:08 +0000
(13:31 +0000)
Make things compile on Linux again
compiler/nativeGen/PositionIndependentCode.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/PositionIndependentCode.hs
b/compiler/nativeGen/PositionIndependentCode.hs
index
523f305
..
53ee563
100644
(file)
--- a/
compiler/nativeGen/PositionIndependentCode.hs
+++ b/
compiler/nativeGen/PositionIndependentCode.hs
@@
-269,7
+269,7
@@
howToAccessLabel DataReference lbl
-- (AccessDirectly, because we get an implicit symbol stub)
-- and calling functions from PIC code on non-i386 platforms (via a symbol stub)
-howToAccessLabel CallLabel lbl
+howToAccessLabel CallReference lbl
| labelDynamic lbl && not opt_PIC
= AccessDirectly
#if !i386_TARGET_ARCH