From ba8b3afc73880f49c3c9a960d3ac8fc3247fa6f8 Mon Sep 17 00:00:00 2001 From: "wolfgang.thaller@gmx.net" Date: Thu, 7 Dec 2006 13:31:08 +0000 Subject: [PATCH] Unbreak previous x86_64 PIC patch Make things compile on Linux again --- compiler/nativeGen/PositionIndependentCode.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/nativeGen/PositionIndependentCode.hs b/compiler/nativeGen/PositionIndependentCode.hs index 523f305..53ee563 100644 --- 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 -- 1.7.10.4