diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-10-13 23:53:18 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-10-13 23:53:18 -0400 |
commit | 36be5284c2a79406778ac489928c6deb05857329 (patch) | |
tree | a7c7b3a78adba922bb9fd7054770b2f534edf0ed /arch/x86_64/pthread_arch.h | |
parent | 185a97707429aacfa1e8db62fc9fdb2188539d86 (diff) | |
download | musl-36be5284c2a79406778ac489928c6deb05857329.tar.gz musl-36be5284c2a79406778ac489928c6deb05857329.tar.bz2 musl-36be5284c2a79406778ac489928c6deb05857329.tar.xz musl-36be5284c2a79406778ac489928c6deb05857329.zip |
workaround broken hidden-visibility handling in pcc
with this change, pcc-built musl libc.so seems to work correctly. the
problem is that pcc generates GOT lookups for external-linkage symbols
even if they are hidden, rather than using GOT-relative addressing.
the entire reason we're using hidden visibility on the __libc object
is to make it accessible prior to relocations -- not to mention
inexpensive to access. unfortunately, the workaround makes it even
more expensive on pcc.
when the pcc issue is fixed, an appropriate version test should be
added so new pcc can use the much more efficient variant.
Diffstat (limited to 'arch/x86_64/pthread_arch.h')
0 files changed, 0 insertions, 0 deletions