Add a default case to pprDynamicLinkerAsmLabel
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Fri, 25 Aug 2006 10:18:46 +0000 (10:18 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Fri, 25 Aug 2006 10:18:46 +0000 (10:18 +0000)
This is mainly for the benefit of Solaris. I'll fix this properly later.

compiler/cmm/CLabel.hs

index b6150e2..a93fba5 100644 (file)
@@ -832,4 +832,7 @@ pprDynamicLinkerAsmLabel SymbolPtr lbl
   = text "__imp_" <> pprCLabel lbl
 pprDynamicLinkerAsmLabel _ _
   = panic "pprDynamicLinkerAsmLabel"
+#else
+pprDynamicLinkerAsmLabel _ _
+  = panic "pprDynamicLinkerAsmLabel"
 #endif