[commit: ghc] ghc-7.8: Fix --enable-unregistered by declaring missing RTS functions (#8748) (ce3cb70)

git at git.haskell.org git at git.haskell.org
Mon Feb 17 10:26:20 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/ce3cb705eabd73981ed33d7b39d30399dd216ec0/ghc

>---------------------------------------------------------------

commit ce3cb705eabd73981ed33d7b39d30399dd216ec0
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date:   Thu Feb 13 07:23:48 2014 -0600

    Fix --enable-unregistered by declaring missing RTS functions (#8748)
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>
    (cherry picked from commit 4bb50ed0c6246e2d45e22e79f5658db1fa8a58b3)


>---------------------------------------------------------------

ce3cb705eabd73981ed33d7b39d30399dd216ec0
 includes/stg/MiscClosures.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index f8c8f0d..ff781dd 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -465,6 +465,8 @@ extern StgWord      RTS_VAR(CCS_LIST);         /* registered CCS list */
 extern StgWord      CCS_SYSTEM[];
 extern unsigned int RTS_VAR(CC_ID);            /* global ids */
 extern unsigned int RTS_VAR(CCS_ID);
+RTS_FUN_DECL(enterFunCCS);
+RTS_FUN_DECL(pushCostCentre);
 
 // Capability.c
 extern unsigned int n_capabilities;



More information about the ghc-commits mailing list