From: sof Date: Thu, 22 Jan 1998 10:26:41 +0000 (+0000) Subject: [project @ 1998-01-22 10:26:41 by sof] X-Git-Tag: Approx_2487_patches~1073 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=169b432a9074006c98caafa439900fa797e5ad25;p=ghc-hetmet.git [project @ 1998-01-22 10:26:41 by sof] Define symbols for the (non-existent) info tables for CCallable and CReturnable (never entered, just defined to appease the linker.) --- diff --git a/ghc/runtime/main/StgStartup.lhc b/ghc/runtime/main/StgStartup.lhc index 30b29a8..d37d735 100644 --- a/ghc/runtime/main/StgStartup.lhc +++ b/ghc/runtime/main/StgStartup.lhc @@ -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