summaryrefslogtreecommitdiff
path: root/extra/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-01-08 11:55:26 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-09 10:10:09 +0100
commitdf3a5fcc8d1c3402289375c92df705e978fab58d (patch)
treed6ce9241c8d13c36c18fd7243612244d440991c6 /extra/Makefile
parent0c3eb2da578bc7ba2e74d240e3249dce62ec725e (diff)
dl: fix dlsym lookups with RTLD_NEXT
The current code for dlsym() when invoked with RTLD_NEXT lookup searches for the module where it's being called from, and executes the _dl_find_hash only for the next module in the chain. However, if the looked symbol is not there, the rest of the modules are not checked. Generally this is not a problem as symbols are merged for the parent modules; so this affects only RTLD_NEXT. This patch adds a loop iterating through all the following modules. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Reviewed-by: Filippo ARCIDIACONO <filippo.arcidiacono@st.com> Tested-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra/Makefile')
0 files changed, 0 insertions, 0 deletions