From: Joseph Myers Date: Fri, 11 May 2012 20:47:51 +0000 (+0000) Subject: Update sysdeps/mips/dl-lookup.c from generic version. X-Git-Tag: upstream/2.20~3636^2~123^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=332d091eba65d819723cce5ffee19075b1890e9d;p=platform%2Fupstream%2Flinaro-glibc.git Update sysdeps/mips/dl-lookup.c from generic version. --- diff --git a/ChangeLog.mips b/ChangeLog.mips index 8942283..eb61f04 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,7 @@ +2012-05-11 Joseph Myers + + * sysdeps/mips/dl-lookup.c: Update from generic version. + 2012-05-08 Joseph Myers * sysdeps/mips/fpu/libm-test-ulps: Move to ... diff --git a/sysdeps/mips/dl-lookup.c b/sysdeps/mips/dl-lookup.c index c39a2b0..f7e98b7 100644 --- a/sysdeps/mips/dl-lookup.c +++ b/sysdeps/mips/dl-lookup.c @@ -14,7 +14,7 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see + License along with the GNU C Library; if not, see . */ #include @@ -786,7 +786,8 @@ _dl_lookup_symbol_x (const char *undef_name, struct link_map *undef_map, if (__builtin_expect (current_value.s == NULL, 0)) { if ((*ref == NULL || ELFW(ST_BIND) ((*ref)->st_info) != STB_WEAK) - && skip_map == NULL) + && skip_map == NULL + && !(GLRO(dl_debug_mask) & DL_DEBUG_UNUSED)) { /* We could find no value for a strong reference. */ const char *reference_name = undef_map ? undef_map->l_name : "";