summaryrefslogtreecommitdiff
path: root/COPYRIGHT
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-09-21 21:47:50 +0000
committerRich Felker <dalias@aerifal.cx>2015-09-21 21:47:50 +0000
commit3958144ede01a7e64a56c0430f053bfd80ff02eb (patch)
treec99ab3049f5b6d2821e0891aa046083070c75082 /COPYRIGHT
parentd874064579f4dd8150b0d6ff6d98942af6fcd1c3 (diff)
downloadmusl-3958144ede01a7e64a56c0430f053bfd80ff02eb.tar.gz
musl-3958144ede01a7e64a56c0430f053bfd80ff02eb.tar.bz2
musl-3958144ede01a7e64a56c0430f053bfd80ff02eb.tar.xz
musl-3958144ede01a7e64a56c0430f053bfd80ff02eb.zip
factor symbol counting out of dladdr as its own function
the fdpic code will need to count symbols, and it may be useful elsewhere in the future too. counting is trivial as long as sysv hash is present, but for gnu-hash-only libraries it's complex. the behavior of the count is changed slightly: we now include symbols that are not accessible by the gnu hash table in the count. this may make dladdr slightly slower. if this is a problem, dladdr can subtract out the part that should not be accessible. unlike in the old code, subtracting this out is easy even in the fast path where sysv hash is available too.
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions