hs_add_root() RTS API removal
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 17 Apr 2017 11:56:20 +0000 (12:56 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 17 Apr 2017 11:56:31 +0000 (12:56 +0100)
commita92ff5d66182d992d02dfaad4c446ad074582368
treeed086f1c65efb717cc7cc8ade62a186d719fcd4d
parent29ef71412af48e1bbf7739d1dbc4c4feb3b9a86a
hs_add_root() RTS API removal

Before ghc-7.2 hs_add_root() had to be used to initialize haskell
modules when haskell was called from FFI.

commit a52ff7619e8b7d74a9d933d922eeea49f580bca8
("Change the way module initialisation is done (#3252, #4417)")
removed needs for hs_add_root() and made function a no-op.
For backward compatibility '__stginit_<module>' symbol was
not removed.

This change removes no-op hs_add_root() function and unused
'__stginit_<module>' symbol from each haskell module.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Test Plan: ./validate

Reviewers: simonmar, austin, bgamari, erikd

Reviewed By: simonmar

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3460
compiler/cmm/CLabel.hs
compiler/codeGen/StgCmm.hs
docs/users_guide/8.4.1-notes.rst
includes/HsFFI.h
includes/stg/MiscClosures.h
rts/RtsStartup.c
rts/RtsSymbols.c
rts/StgStartup.cmm
testsuite/tests/concurrent/should_run/conc059_c.c
testsuite/tests/dynlibs/T3807-export.c