summaryrefslogtreecommitdiff
path: root/res/res_odbc.exports.in
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2010-04-02 18:57:58 +0000
committerKevin P. Fleming <kpfleming@digium.com>2010-04-02 18:57:58 +0000
commit2be88e05c043e8abc1b6a3c94c4699859a7adf68 (patch)
tree617eb61593a42ffe9e08c245fa183358073bbf84 /res/res_odbc.exports.in
parentf4617ae2b534262484980b4fbff2e42f87543b23 (diff)
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
Diffstat (limited to 'res/res_odbc.exports.in')
-rw-r--r--res/res_odbc.exports.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/res_odbc.exports.in b/res/res_odbc.exports.in
new file mode 100644
index 000000000..ad674beb1
--- /dev/null
+++ b/res/res_odbc.exports.in
@@ -0,0 +1,20 @@
+{
+ global:
+ LINKER_SYMBOL_PREFIXast_odbc_ast_str_SQLGetData;
+ LINKER_SYMBOL_PREFIXast_odbc_backslash_is_escape;
+ LINKER_SYMBOL_PREFIXast_odbc_clear_cache;
+ LINKER_SYMBOL_PREFIXast_odbc_direct_execute;
+ LINKER_SYMBOL_PREFIXast_odbc_find_column;
+ LINKER_SYMBOL_PREFIXast_odbc_find_table;
+ LINKER_SYMBOL_PREFIXast_odbc_prepare_and_execute;
+ LINKER_SYMBOL_PREFIXast_odbc_release_obj;
+ LINKER_SYMBOL_PREFIXast_odbc_request_obj;
+ LINKER_SYMBOL_PREFIX_ast_odbc_request_obj;
+ LINKER_SYMBOL_PREFIXast_odbc_request_obj2;
+ LINKER_SYMBOL_PREFIX_ast_odbc_request_obj2;
+ LINKER_SYMBOL_PREFIXast_odbc_retrieve_transaction_obj;
+ LINKER_SYMBOL_PREFIXast_odbc_sanity_check;
+ LINKER_SYMBOL_PREFIXast_odbc_smart_execute;
+ local:
+ *;
+};