summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Tibell <johan.tibell@gmail.com>2014-03-29 10:57:49 +0100
committerJohan Tibell <johan.tibell@gmail.com>2014-03-29 11:29:03 +0100
commit838bfb224784d6668f9da441866504eba4351ee6 (patch)
treec60fe42e50dd44fc5cf12fe17792dbaac77314dc
parent90329b6cc183b3cd05956ae6bdeb6ac6951549c2 (diff)
downloadhaskell-838bfb224784d6668f9da441866504eba4351ee6.tar.gz
Add missing symbols to linker
The copy array family of primops were moved out-of-line.
-rw-r--r--includes/stg/MiscClosures.h4
-rw-r--r--rts/Linker.c6
2 files changed, 9 insertions, 1 deletions
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index 944adac1fb..0c4d2f9eaf 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 9c73757a63..c0e1b8dfcc 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) \