Allow symbol export filtering to work properly on platforms that have symbol prefixes.
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 2 Apr 2010 18:57:58 +0000 (18:57 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 2 Apr 2010 18:57:58 +0000 (18:57 +0000)
commit2be88e05c043e8abc1b6a3c94c4699859a7adf68
tree617eb61593a42ffe9e08c245fa183358073bbf84
parentf4617ae2b534262484980b4fbff2e42f87543b23
Allow symbol export filtering to work properly on platforms that have symbol prefixes.

Some platforms prefix externally-visible symbols in object files generated
from C sources (most commonly, '_' is the prefix). On these platforms,
the existing symbol export filtering process ends up suppressing all the symbols
that are supposed to be left visible. This patch allows the prefix string
to be supplied to the top-level Makefile in the LINKER_SYMBOL_PREFIX variable,
and then generates the linker scripts as required to include the prefix
supplied.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@255906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
32 files changed:
Makefile
Makefile.moddir_rules
Makefile.rules
apps/app_voicemail.exports [deleted file]
apps/app_voicemail.exports.in [new file with mode: 0644]
build_tools/make_linker_version_script [new file with mode: 0755]
main/Makefile
main/asterisk.exports [deleted file]
main/asterisk.exports.in [new file with mode: 0644]
res/res_adsi.exports [deleted file]
res/res_adsi.exports.in [new file with mode: 0644]
res/res_ael_share.exports.in [moved from res/res_ael_share.exports with 100% similarity]
res/res_agi.exports [deleted file]
res/res_agi.exports.in [new file with mode: 0644]
res/res_calendar.exports [deleted file]
res/res_calendar.exports.in [new file with mode: 0644]
res/res_fax.exports [deleted file]
res/res_fax.exports.in [new file with mode: 0644]
res/res_features.exports [deleted file]
res/res_features.exports.in [new file with mode: 0644]
res/res_jabber.exports [deleted file]
res/res_jabber.exports.in [new file with mode: 0644]
res/res_monitor.exports [deleted file]
res/res_monitor.exports.in [new file with mode: 0644]
res/res_odbc.exports [deleted file]
res/res_odbc.exports.in [new file with mode: 0644]
res/res_pktccops.exports [deleted file]
res/res_pktccops.exports.in [new file with mode: 0644]
res/res_smdi.exports [deleted file]
res/res_smdi.exports.in [new file with mode: 0644]
res/res_speech.exports [deleted file]
res/res_speech.exports.in [new file with mode: 0644]