X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FnativeGen%2FPositionIndependentCode.hs;h=5e7d43b0a86d2684e0ac728d56b7cd52c9417f32;hb=05990bef161d510b1f36f0fe6779249a15e9421d;hp=5b6dda8150facea9e342abcae150c3b2c9e46b74;hpb=acea64ed203f2e1b340e5a42bbb5fab4fc240baf;p=ghc-hetmet.git diff --git a/ghc/compiler/nativeGen/PositionIndependentCode.hs b/ghc/compiler/nativeGen/PositionIndependentCode.hs index 5b6dda8..5e7d43b 100644 --- a/ghc/compiler/nativeGen/PositionIndependentCode.hs +++ b/ghc/compiler/nativeGen/PositionIndependentCode.hs @@ -247,7 +247,7 @@ howToAccessLabel isJump lbl -- NOTE: It would be OK to jump to foreign code via a PLT stub. | labelDynamic lbl = AccessViaSymbolPtr -#if powerpc_ARGET_ARCH +#if powerpc_TARGET_ARCH -- For PowerPC32 -fPIC, we have to access even static data -- via a symbol pointer (see below for an explanation why -- PowerPC32 Linux is especially broken).