Änderung 12994 von branches


Ignorieren:
Zeitstempel:
09.03.2015 22:48:53 (vor 3 Jahren)
Autor:
er13
Nachricht:

uClibc:

Datei:
1 verschoben

Legende:

Unverändert
Hinzugefügt
Entfernt
  • branches/uclibc-testing/toolchain/make/target/uclibc/0.9.33.2/900-dlsym_rtld_next_fix.upstream.patch

    r12993 r12994  
     1From f5108ce0c0f72a285e4cb198426e477295c84517 Mon Sep 17 00:00:00 2001 
     2From: Timo Teräs <timo.teras@iki.fi> 
     3Date: Tue, 08 Jan 2013 09:55:26 +0000 
     4Subject: dl: fix dlsym lookups with RTLD_NEXT 
     5 
     6The current code for dlsym() when invoked with RTLD_NEXT lookup 
     7searches for the module where it's being called from, and executes the 
     8_dl_find_hash only for the next module in the chain. However, if the 
     9looked symbol is not there, the rest of the modules are not checked. 
     10 
     11Generally this is not a problem as symbols are merged for the parent 
     12modules; so this affects only RTLD_NEXT. 
     13 
     14This patch adds a loop iterating through all the following modules. 
     15 
     16Signed-off-by: Timo Teräs <timo.teras@iki.fi> 
     17Reviewed-by: Filippo ARCIDIACONO <filippo.arcidiacono@st.com> 
     18Tested-by: Florian Fainelli <florian@openwrt.org> 
     19Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> 
     20 
    121--- ldso/libdl/libdl.c 
    222+++ ldso/libdl/libdl.c 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.