[commit: ghc] master: Add missing symbols to linker (838bfb2)

git at git.haskell.org git at git.haskell.org
Sat Mar 29 10:29:15 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/838bfb224784d6668f9da441866504eba4351ee6/ghc

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

commit 838bfb224784d6668f9da441866504eba4351ee6
Author: Johan Tibell <johan.tibell at gmail.com>
Date:   Sat Mar 29 10:57:49 2014 +0100

    Add missing symbols to linker
    
    The copy array family of primops were moved out-of-line.


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

838bfb224784d6668f9da441866504eba4351ee6
 includes/stg/MiscClosures.h |    4 ++++
 rts/Linker.c                |    6 +++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index 944adac..0c4d2f9 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -351,6 +351,10 @@ RTS_FUN_DECL(stg_casIntArrayzh);
 RTS_FUN_DECL(stg_fetchAddIntArrayzh);
 RTS_FUN_DECL(stg_newArrayzh);
 RTS_FUN_DECL(stg_newArrayArrayzh);
+RTS_FUN_DECL(stg_copyArrayzh);
+RTS_FUN_DECL(stg_copyMutableArrayzh);
+RTS_FUN_DECL(stg_copyArrayArrayzh);
+RTS_FUN_DECL(stg_copyMutableArrayArrayzh);
 RTS_FUN_DECL(stg_cloneArrayzh);
 RTS_FUN_DECL(stg_cloneMutableArrayzh);
 RTS_FUN_DECL(stg_freezzeArrayzh);
diff --git a/rts/Linker.c b/rts/Linker.c
index 9c73757..c0e1b8d 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1162,9 +1162,13 @@ typedef struct _RtsSymbolVal {
       SymI_HasProto(stg_myThreadIdzh)                                   \
       SymI_HasProto(stg_labelThreadzh)                                  \
       SymI_HasProto(stg_newArrayzh)                                     \
+      SymI_HasProto(stg_copyArrayzh)                                    \
+      SymI_HasProto(stg_copyMutableArrayzh)                             \
+      SymI_HasProto(stg_copyArrayArrayzh)                               \
+      SymI_HasProto(stg_copyMutableArrayArrayzh)                        \
       SymI_HasProto(stg_cloneArrayzh)                                   \
       SymI_HasProto(stg_cloneMutableArrayzh)                            \
-      SymI_HasProto(stg_freezzeArrayzh)                                  \
+      SymI_HasProto(stg_freezzeArrayzh)                                 \
       SymI_HasProto(stg_thawArrayzh)                                    \
       SymI_HasProto(stg_newArrayArrayzh)                                \
       SymI_HasProto(stg_casArrayzh)                                     \



More information about the ghc-commits mailing list