summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2016-11-18 08:50:11 +0000
committerTamar Christina <tamar@zhox.com>2016-11-18 08:50:11 +0000
commit94d1221cfb31188990738e7f7cbb3ae0a30c9f98 (patch)
treeb3f676584c476e4e16c5309252a8ee25cbad7d06
parent9c39e09a9aaea4ff6fdb6a4809a4cc456c7bc164 (diff)
downloadhaskell-94d1221cfb31188990738e7f7cbb3ae0a30c9f98.tar.gz
Add missing SMP symbols to RT linker.
Summary: Add some missing symbols that we export from the public headers but forgot to include in the runtime linker's symbol table. This is a bit of a unsatifactory patch, since we have a bit of a cat and mouse game going. We should find a way to automate this. But I know of no good solutions at the moment that won't add all rts symbols (including those we don't have an extern declaration for.). So for now, just add the ones reported missing. Test Plan: inplace/bin/ghc-stage2.exe --interactive Reviewers: RyanGlScott, austin, erikd, simonmar, bgamari Reviewed By: bgamari Subscribers: thomie, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D2727 GHC Trac Issues: #12846
-rw-r--r--rts/RtsSymbols.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index 36b2b43c60..60ffedbfc1 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -872,6 +872,10 @@
SymI_HasProto(hs_spt_remove) \
SymI_HasProto(hs_spt_keys) \
SymI_HasProto(hs_spt_key_count) \
+ SymI_HasProto(write_barrier) \
+ SymI_HasProto(store_load_barrier) \
+ SymI_HasProto(load_load_barrier) \
+ SymI_HasProto(cas) \
RTS_USER_SIGNALS_SYMBOLS \
RTS_INTCHAR_SYMBOLS