summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-08-18 13:06:36 +0200
committerMark Wielaard <[email protected]>2017-08-18 22:32:44 +0200
commit1127470a3ebf507981af5d2864bfe57ee67e868a (patch)
treeddc7c4eb260bdb5cc677d7af958618f5a779d0ae /tests
parent07737584e73714eff3481fcf17f9f0331c8a5b88 (diff)
Check if gcc complains about __attribute__ (visibility(..))
If so, define attribute_hidden to be empty. Also, use attribute_hidden in all places where we hide symbols. If this attribute is missing, it simply means that we cannot hide private symbols in the binary using attributes. This disables some optimizations and may increase the risk of symbol name clashes with other libraries, but is not fatal. However, we still employ linker version scripts to explicitly define the exported symbols. This serves much of the same purpose. Also, as all our symbols are prefixed with the library name, and "__" for private ones, the chance of clashes is low anyway. Signed-off-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions