From a7c788e5489ce00a02808c38dd19fffd0c896c5e Mon Sep 17 00:00:00 2001 From: Clemens Fruhwirth Date: Thu, 28 Jun 2007 10:24:32 +0000 Subject: [PATCH] Generate .LC_ indirection-symbols also on x86_64 (as on all other archs running Linux) --- compiler/cmm/CLabel.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/cmm/CLabel.hs b/compiler/cmm/CLabel.hs index a412b7b..f5d325b 100644 --- a/compiler/cmm/CLabel.hs +++ b/compiler/cmm/CLabel.hs @@ -857,8 +857,8 @@ pprDynamicLinkerAsmLabel GotSymbolPtr lbl = pprCLabel lbl <> text "@gotpcrel" pprDynamicLinkerAsmLabel GotSymbolOffset lbl = pprCLabel lbl -pprDynamicLinkerAsmLabel _ _ - = panic "pprDynamicLinkerAsmLabel" +pprDynamicLinkerAsmLabel SymbolPtr lbl + = text ".LC_" <> pprCLabel lbl #elif linux_TARGET_OS pprDynamicLinkerAsmLabel CodeStub lbl = pprCLabel lbl <> text "@plt" -- 1.7.10.4