summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Seipp <as@nijoruj.org>2009-05-23 09:09:01 +0000
committerAustin Seipp <as@nijoruj.org>2009-05-23 09:09:01 +0000
commita8783f0e630f5e15a9041a8d62a85cca832c2819 (patch)
tree5b5d7a6410f0ba3f26855aa4e3036c02107bf27d
parent77292516236a3fd40515c02ba3daddb9523e9256 (diff)
downloadhaskell-a8783f0e630f5e15a9041a8d62a85cca832c2819.tar.gz
fix pprDynamicLinkerAsmLabel for Mac OS X x86_64
-rw-r--r--compiler/cmm/CLabel.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/cmm/CLabel.hs b/compiler/cmm/CLabel.hs
index ecff3da3e9..0702785e2f 100644
--- a/compiler/cmm/CLabel.hs
+++ b/compiler/cmm/CLabel.hs
@@ -962,6 +962,10 @@ asmTempLabelPrefix =
pprDynamicLinkerAsmLabel :: DynamicLinkerLabelInfo -> CLabel -> SDoc
#if x86_64_TARGET_ARCH && darwin_TARGET_OS
+pprDynamicLinkerAsmLabel CodeStub lbl
+ = char 'L' <> pprCLabel lbl <> text "$stub"
+pprDynamicLinkerAsmLabel SymbolPtr lbl
+ = char 'L' <> pprCLabel lbl <> text "$non_lazy_ptr"
pprDynamicLinkerAsmLabel GotSymbolPtr lbl
= pprCLabel lbl <> text "@GOTPCREL"
pprDynamicLinkerAsmLabel GotSymbolOffset lbl