When generating C, don't pretend functions are data
[ghc-hetmet.git] / compiler / nativeGen / PositionIndependentCode.hs
index 1635909..d74a627 100644 (file)
@@ -525,7 +525,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.