[project @ 1998-01-22 10:26:41 by sof]
authorsof <unknown>
Thu, 22 Jan 1998 10:26:41 +0000 (10:26 +0000)
committersof <unknown>
Thu, 22 Jan 1998 10:26:41 +0000 (10:26 +0000)
Define symbols for the (non-existent) info tables
for CCallable and CReturnable (never entered, just
defined to appease the linker.)

ghc/runtime/main/StgStartup.lhc

index 30b29a8..d37d735 100644 (file)
@@ -193,12 +193,18 @@ SET_STATIC_HDR(EmptySPTable_closure,EmptyStablePointerTable_info,CC_SUBSUMED,,ED
 /* End of SP stuff */
 #endif /* !PAR */
 
+/* Not a natural home for these, but
+   the following symbols may be referenced in
+   an object file, but never entered
+*/
+P_ GHC_void_closure = (P_) 0xbadbadbaL;
+P_ GHC_ZcCCallable_static_info = (P_) 0xbadbadbaL;
+P_ GHC_ZcCReturnable_static_info = (P_) 0xbadbadbaL;
 
 /* the IoWorld token to start the whole thing off */
 /* Question: this is just an amusing hex code isn't it
    -- or does it mean something? ADR */
 P_ realWorldZh_closure = (P_) 0xbadbadbaL;
-P_ GHC_void_closure = (P_) 0xbadbadbaL;
 
 #ifndef CONCURRENT