|author||Rich Felker <email@example.com>||2015-09-21 21:47:50 +0000|
|committer||Rich Felker <firstname.lastname@example.org>||2015-09-21 21:47:50 +0000|
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 'arch/sh/reloc.h')
0 files changed, 0 insertions, 0 deletions