about summary refs log tree commit diff
path: root/include/uchar.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-09-22 22:48:21 +0000
committerRich Felker <dalias@aerifal.cx>2015-09-22 23:11:38 +0000
commitd47d9a50f2568927af51e21b2f2120409db1ab44 (patch)
tree15c7eee29f65ed87ff0f24f2c8f54219b77d41a5 /include/uchar.h
parente9e770dfd6224a5ff7932b6115a35005dce7be29 (diff)
downloadmusl-d47d9a50f2568927af51e21b2f2120409db1ab44.tar.gz
musl-d47d9a50f2568927af51e21b2f2120409db1ab44.tar.xz
musl-d47d9a50f2568927af51e21b2f2120409db1ab44.zip
fix dlsym lookup of function symbols on fdpic
previously these resolved to the code address rather than the address
of the function descriptor.

the conditions for accepting or rejecting symbols are quite
inconsistent between the different points in the dynamic linker code
where such decisions are made. this commit attempts to be at least as
correct as anything already there, but does not improve consistency.
it has been tested to correctly avoid symbols that are merely
references to functions defined in other modules, at least in simple
usage, but at some point all symbol lookup logic should be reviewed
and refactored/unified.
Diffstat (limited to 'include/uchar.h')
0 files changed, 0 insertions, 0 deletions