Fix the build on amd64/Linux
[ghc-hetmet.git] / compiler / nativeGen / PositionIndependentCode.hs
index 1635909..a1e11d8 100644 (file)
@@ -70,6 +70,7 @@ import Instrs
 import NCGMonad         ( NatM, getNewRegNat, getNewLabelNat )
 
 import StaticFlags     ( opt_PIC, opt_Static )
+import BasicTypes
 
 import Pretty
 import qualified Outputable
@@ -525,7 +526,7 @@ needImportedSymbols = not opt_Static && not opt_PIC
 -- The label used to refer to our "fake GOT" from
 -- position-independent code.
 gotLabel = mkForeignLabel -- HACK: it's not really foreign
-                           (fsLit ".LCTOC1") Nothing False
+                           (fsLit ".LCTOC1") Nothing False IsData
 
 -- pprGotDeclaration
 -- Output whatever needs to be output once per .s file.