diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-03-25 10:53:17 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-03-26 19:28:29 -0400 |
commit | 43e7b23a472e5decc3fde2fcaf924e0c893b8a64 (patch) | |
tree | aacf2b9aceca503a46c0185ae74bb281a63c3305 /rts/package.conf.in | |
parent | 2f8a3e37c5f76fd11034dd8f7d0381dd1c655cca (diff) | |
download | haskell-43e7b23a472e5decc3fde2fcaf924e0c893b8a64.tar.gz |
Drop dead code in rts/{Prelude.h,package.conf.in}
The endevor to drop the `-Wl,-u,<sym>` requirement for linking the rts,
base, ,... turned out to be less fruitful than I had hoped. However it
did turn up a few dead symbols, that are referenced but for which the
definition seems to have diminished.
Reviewers: austin, rwbarton, geekosaur, erikd, simonmar, bgamari
Reviewed By: geekosaur, simonmar
Subscribers: thomie, snowleopard
Differential Revision: https://phabricator.haskell.org/D3350
Diffstat (limited to 'rts/package.conf.in')
-rw-r--r-- | rts/package.conf.in | 105 |
1 files changed, 55 insertions, 50 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in index 02437aec06..c328c1f75e 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -74,46 +74,49 @@ cc-options: ld-options: #ifdef LEADING_UNDERSCORE - "-Wl,-u,_base_GHCziInt_I16zh_con_info" - , "-Wl,-u,_base_GHCziInt_I32zh_con_info" - , "-Wl,-u,_base_GHCziInt_I64zh_con_info" - , "-Wl,-u,_base_GHCziInt_I8zh_con_info" - , "-Wl,-u,_base_GHCziPtr_FunPtr_con_info" - , "-Wl,-u,_base_GHCziPtr_Ptr_con_info" - , "-Wl,-u,_base_GHCziStable_StablePtr_con_info" - , "-Wl,-u,_base_GHCziWord_W16zh_con_info" - , "-Wl,-u,_base_GHCziWord_W32zh_con_info" - , "-Wl,-u,_base_GHCziWord_W64zh_con_info" - , "-Wl,-u,_base_GHCziWord_W8zh_con_info" - , "-Wl,-u,_ghczmprim_GHCziTypes_Czh_con_info" - , "-Wl,-u,_ghczmprim_GHCziTypes_Dzh_con_info" - , "-Wl,-u,_ghczmprim_GHCziTypes_Fzh_con_info" - , "-Wl,-u,_ghczmprim_GHCziTypes_Izh_con_info" - , "-Wl,-u,_ghczmprim_GHCziTypes_Wzh_con_info" + + "-Wl,-u,_base_GHCziTopHandler_runIO_closure" + , "-Wl,-u,_base_GHCziTopHandler_runNonIO_closure" + , "-Wl,-u,_ghczmprim_GHCziTuple_Z0T_closure" - , "-Wl,-u,_ghczmprim_GHCziTypes_False_closure" , "-Wl,-u,_ghczmprim_GHCziTypes_True_closure" + , "-Wl,-u,_ghczmprim_GHCziTypes_False_closure" , "-Wl,-u,_base_GHCziPack_unpackCString_closure" + , "-Wl,-u,_base_GHCziWeak_runFinalizzerBatch_closure" , "-Wl,-u,_base_GHCziIOziException_stackOverflow_closure" , "-Wl,-u,_base_GHCziIOziException_heapOverflow_closure" - , "-Wl,-u,_base_ControlziExceptionziBase_nonTermination_closure" + , "-Wl,-u,_base_GHCziIOziException_allocationLimitExceeded_closure" , "-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure" , "-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure" - , "-Wl,-u,_base_GHCziIOziException_allocationLimitExceeded_closure" , "-Wl,-u,_base_GHCziIOziException_cannotCompactFunction_closure" , "-Wl,-u,_base_GHCziIOziException_cannotCompactPinned_closure" , "-Wl,-u,_base_GHCziIOziException_cannotCompactMutable_closure" + , "-Wl,-u,_base_ControlziExceptionziBase_nonTermination_closure" , "-Wl,-u,_base_ControlziExceptionziBase_nestedAtomically_closure" , "-Wl,-u,_base_GHCziEventziThread_blockedOnBadFD_closure" - , "-Wl,-u,_base_GHCziWeak_runFinalizzerBatch_closure" - , "-Wl,-u,_base_GHCziTopHandler_flushStdHandles_closure" - , "-Wl,-u,_base_GHCziTopHandler_runIO_closure" - , "-Wl,-u,_base_GHCziTopHandler_runNonIO_closure" - , "-Wl,-u,_base_GHCziTopHandler_runMainIO_closure" + , "-Wl,-u,_base_GHCziConcziSync_runSparks_closure" , "-Wl,-u,_base_GHCziConcziIO_ensureIOManagerIsRunning_closure" , "-Wl,-u,_base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure" - , "-Wl,-u,_base_GHCziConcziSync_runSparks_closure" , "-Wl,-u,_base_GHCziConcziSignal_runHandlersPtr_closure" + , "-Wl,-u,_base_GHCziTopHandler_flushStdHandles_closure" + , "-Wl,-u,_base_GHCziTopHandler_runMainIO_closure" + , "-Wl,-u,_ghczmprim_GHCziTypes_Czh_con_info" + , "-Wl,-u,_ghczmprim_GHCziTypes_Izh_con_info" + , "-Wl,-u,_ghczmprim_GHCziTypes_Fzh_con_info" + , "-Wl,-u,_ghczmprim_GHCziTypes_Dzh_con_info" + , "-Wl,-u,_ghczmprim_GHCziTypes_Wzh_con_info" + , "-Wl,-u,_base_GHCziPtr_Ptr_con_info" + , "-Wl,-u,_base_GHCziPtr_FunPtr_con_info" + , "-Wl,-u,_base_GHCziInt_I8zh_con_info" + , "-Wl,-u,_base_GHCziInt_I16zh_con_info" + , "-Wl,-u,_base_GHCziInt_I32zh_con_info" + , "-Wl,-u,_base_GHCziInt_I64zh_con_info" + , "-Wl,-u,_base_GHCziWord_W8zh_con_info" + , "-Wl,-u,_base_GHCziWord_W16zh_con_info" + , "-Wl,-u,_base_GHCziWord_W32zh_con_info" + , "-Wl,-u,_base_GHCziWord_W64zh_con_info" + , "-Wl,-u,_base_GHCziStable_StablePtr_con_info" + , "-Wl,-u,_hs_atomic_add8" , "-Wl,-u,_hs_atomic_add16" , "-Wl,-u,_hs_atomic_add32" @@ -169,46 +172,48 @@ ld-options: , "-Wl,-u,_hs_atomicwrite64" #endif #else - "-Wl,-u,base_GHCziInt_I16zh_con_info" - , "-Wl,-u,base_GHCziInt_I32zh_con_info" - , "-Wl,-u,base_GHCziInt_I64zh_con_info" - , "-Wl,-u,base_GHCziInt_I8zh_con_info" - , "-Wl,-u,base_GHCziPtr_FunPtr_con_info" - , "-Wl,-u,base_GHCziPtr_Ptr_con_info" - , "-Wl,-u,base_GHCziStable_StablePtr_con_info" - , "-Wl,-u,base_GHCziWord_W16zh_con_info" - , "-Wl,-u,base_GHCziWord_W32zh_con_info" - , "-Wl,-u,base_GHCziWord_W64zh_con_info" - , "-Wl,-u,base_GHCziWord_W8zh_con_info" - , "-Wl,-u,ghczmprim_GHCziTypes_Czh_con_info" - , "-Wl,-u,ghczmprim_GHCziTypes_Dzh_con_info" - , "-Wl,-u,ghczmprim_GHCziTypes_Fzh_con_info" - , "-Wl,-u,ghczmprim_GHCziTypes_Izh_con_info" - , "-Wl,-u,ghczmprim_GHCziTypes_Wzh_con_info" + "-Wl,-u,base_GHCziTopHandler_runIO_closure" + , "-Wl,-u,base_GHCziTopHandler_runNonIO_closure" + , "-Wl,-u,ghczmprim_GHCziTuple_Z0T_closure" - , "-Wl,-u,ghczmprim_GHCziTypes_False_closure" , "-Wl,-u,ghczmprim_GHCziTypes_True_closure" + , "-Wl,-u,ghczmprim_GHCziTypes_False_closure" , "-Wl,-u,base_GHCziPack_unpackCString_closure" + , "-Wl,-u,base_GHCziWeak_runFinalizzerBatch_closure" , "-Wl,-u,base_GHCziIOziException_stackOverflow_closure" , "-Wl,-u,base_GHCziIOziException_heapOverflow_closure" - , "-Wl,-u,base_ControlziExceptionziBase_nonTermination_closure" + , "-Wl,-u,base_GHCziIOziException_allocationLimitExceeded_closure" , "-Wl,-u,base_GHCziIOziException_blockedIndefinitelyOnMVar_closure" , "-Wl,-u,base_GHCziIOziException_blockedIndefinitelyOnSTM_closure" - , "-Wl,-u,base_GHCziIOziException_allocationLimitExceeded_closure" , "-Wl,-u,base_GHCziIOziException_cannotCompactFunction_closure" , "-Wl,-u,base_GHCziIOziException_cannotCompactPinned_closure" , "-Wl,-u,base_GHCziIOziException_cannotCompactMutable_closure" + , "-Wl,-u,base_ControlziExceptionziBase_nonTermination_closure" , "-Wl,-u,base_ControlziExceptionziBase_nestedAtomically_closure" , "-Wl,-u,base_GHCziEventziThread_blockedOnBadFD_closure" - , "-Wl,-u,base_GHCziWeak_runFinalizzerBatch_closure" - , "-Wl,-u,base_GHCziTopHandler_flushStdHandles_closure" - , "-Wl,-u,base_GHCziTopHandler_runIO_closure" - , "-Wl,-u,base_GHCziTopHandler_runNonIO_closure" - , "-Wl,-u,base_GHCziTopHandler_runMainIO_closure" + , "-Wl,-u,base_GHCziConcziSync_runSparks_closure" , "-Wl,-u,base_GHCziConcziIO_ensureIOManagerIsRunning_closure" , "-Wl,-u,base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure" - , "-Wl,-u,base_GHCziConcziSync_runSparks_closure" , "-Wl,-u,base_GHCziConcziSignal_runHandlersPtr_closure" + , "-Wl,-u,base_GHCziTopHandler_flushStdHandles_closure" + , "-Wl,-u,base_GHCziTopHandler_runMainIO_closure" + , "-Wl,-u,ghczmprim_GHCziTypes_Czh_con_info" + , "-Wl,-u,ghczmprim_GHCziTypes_Izh_con_info" + , "-Wl,-u,ghczmprim_GHCziTypes_Fzh_con_info" + , "-Wl,-u,ghczmprim_GHCziTypes_Dzh_con_info" + , "-Wl,-u,ghczmprim_GHCziTypes_Wzh_con_info" + , "-Wl,-u,base_GHCziPtr_Ptr_con_info" + , "-Wl,-u,base_GHCziPtr_FunPtr_con_info" + , "-Wl,-u,base_GHCziInt_I8zh_con_info" + , "-Wl,-u,base_GHCziInt_I16zh_con_info" + , "-Wl,-u,base_GHCziInt_I32zh_con_info" + , "-Wl,-u,base_GHCziInt_I64zh_con_info" + , "-Wl,-u,base_GHCziWord_W8zh_con_info" + , "-Wl,-u,base_GHCziWord_W16zh_con_info" + , "-Wl,-u,base_GHCziWord_W32zh_con_info" + , "-Wl,-u,base_GHCziWord_W64zh_con_info" + , "-Wl,-u,base_GHCziStable_StablePtr_con_info" + , "-Wl,-u,hs_atomic_add8" , "-Wl,-u,hs_atomic_add16" , "-Wl,-u,hs_atomic_add32" |