CI: Various updates to buildAsterisk.sh
[asterisk/asterisk.git] / main / asterisk.exports.in
1 {
2         global:
3                 LINKER_SYMBOL_PREFIXast_*;
4                 LINKER_SYMBOL_PREFIXbridge_*;
5                 LINKER_SYMBOL_PREFIXbridge_channel_*;
6                 LINKER_SYMBOL_PREFIX_ast_*;
7                 LINKER_SYMBOL_PREFIX__ast_*;
8                 LINKER_SYMBOL_PREFIXpbx_*;
9                 LINKER_SYMBOL_PREFIXastman_*;
10                 LINKER_SYMBOL_PREFIXaco_*;
11                 LINKER_SYMBOL_PREFIX__aco_*;
12                 LINKER_SYMBOL_PREFIXao2_*;
13                 LINKER_SYMBOL_PREFIX__ao2_*;
14                 LINKER_SYMBOL_PREFIXoption_debug;
15                 LINKER_SYMBOL_PREFIXoption_verbose;
16                 LINKER_SYMBOL_PREFIXcallerid_*;
17                 LINKER_SYMBOL_PREFIXcid_di;
18                 LINKER_SYMBOL_PREFIXcid_dr;
19                 LINKER_SYMBOL_PREFIXclidsb;
20                 LINKER_SYMBOL_PREFIXMD5*;
21                 LINKER_SYMBOL_PREFIXsched_*;
22                 LINKER_SYMBOL_PREFIXio_*;
23                 LINKER_SYMBOL_PREFIXjb_*;
24                 LINKER_SYMBOL_PREFIXaes_*;
25                 LINKER_SYMBOL_PREFIXtdd_*;
26                 LINKER_SYMBOL_PREFIXterm_*;
27                 LINKER_SYMBOL_PREFIXstrsep;
28                 LINKER_SYMBOL_PREFIXsetenv;
29                 LINKER_SYMBOL_PREFIXstasis_*;
30                 LINKER_SYMBOL_PREFIXunsetenv;
31                 LINKER_SYMBOL_PREFIXstrcasestr;
32                 LINKER_SYMBOL_PREFIXstrnlen;
33                 LINKER_SYMBOL_PREFIXstrndup;
34                 LINKER_SYMBOL_PREFIXvasprintf;
35                 LINKER_SYMBOL_PREFIXasprintf;
36                 LINKER_SYMBOL_PREFIXstrtoq;
37                 LINKER_SYMBOL_PREFIXgetloadavg;
38                 LINKER_SYMBOL_PREFIXntohll;
39                 LINKER_SYMBOL_PREFIXhtonll;
40                 LINKER_SYMBOL_PREFIXtimersub;
41                 LINKER_SYMBOL_PREFIXres_srtp;
42                 LINKER_SYMBOL_PREFIXres_srtp_policy;
43                 LINKER_SYMBOL_PREFIXsecure_call_info;
44                 /* __progname and environ are needed by FreeBSD for bundled pjproject. */
45                 LINKER_SYMBOL_PREFIX__progname;
46                 LINKER_SYMBOL_PREFIXenviron;
47                 /*
48
49                 If _IO_stdin_used is not exported, stdout/stderr may not get
50                 properly aligned. That causes breakage on some architectures.
51
52                 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#51
53                 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#94
54                 http://lists.gnu.org/archive/html/bug-glibc/2001-12/msg00203.html
55
56                 We export the symbol to get proper behaviour. Now printf
57                 doesn't SIGBUS anymore on the SPARC.
58
59                 Michael Karcher wrote on Jan 13, 2013:
60                 > A build process that mangles the export of _IO_stdin_used is
61                 > (as defined by the libc ABI, even if not explicitly written
62                 > down) broken. [...]
63
64                 */
65                 LINKER_SYMBOL_PREFIX_IO_stdin_used;
66         local:
67                 *;
68 };