summaryrefslogtreecommitdiff
path: root/include/link.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-06-14 16:48:51 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-06-14 16:48:51 +0200
commit6b76a7129903ab3726ec0217349b526262bec3ac (patch)
tree09661a1ede43550cdb008245055ca6c7cb864f8d /include/link.h
parent0100056707c0ca5c51bb0b8d88612a407be09ef1 (diff)
libdl: search for ELF_RTYPE_CLASS_DLSYM in dlsym()
On FDPIC platforms, functions are passed by function descriptor, not by pointers. If you don't specify ELF_RTYPE_CLASS_DLSYM when calling _dl_find_hash() the return value from dlsym() will be a pointer not a function descriptor, crashing the program. The bug was introduced when TLS support was added in 534661b91c98492995274c364c8177c45efc63db Closes bug#3433 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/link.h')
0 files changed, 0 insertions, 0 deletions