diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-19 22:05:29 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-19 22:05:29 -0400 |
commit | de2b67f8d41e08caa56bf6540277f6561edb647f (patch) | |
tree | c0117710aa8a092a7ead36770811d430fca0b477 /arch/x86_64/reloc.h | |
parent | 51fc77c7c03fa0b300e9a609b18f11f0e4db065a (diff) | |
download | musl-de2b67f8d41e08caa56bf6540277f6561edb647f.tar.gz musl-de2b67f8d41e08caa56bf6540277f6561edb647f.tar.xz musl-de2b67f8d41e08caa56bf6540277f6561edb647f.zip |
add optional global visibility override
this is implemented via the build system and does not affect source files. the idea is to use protected or hidden visibility to prevent the compiler from pessimizing function calls within a shared (or position-independent static) libc in the form of overhead setting up for a call through the PLT. the ld-time symbol binding via the -Bsymbolic-functions option already optimized out the PLT itself, but not the code in the caller needed to support a call through the PLT. on some archs this overhead can be substantial; on others it's trivial.
Diffstat (limited to 'arch/x86_64/reloc.h')
0 files changed, 0 insertions, 0 deletions