* elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols.
This commit is contained in:
Ulrich Drepper 2007-10-05 21:25:32 +00:00
parent a83b5649c5
commit 0304f168ce
3 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2007-10-05 Ulrich Drepper <drepper@redhat.com>
[BZ #5104]
* elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols.
[BZ #5113]
* string/bits/string2.h (__strdup): Cast parameters to calloc to
avoid warning with -Wconversion.

12
NEWS
View File

@ -1,4 +1,4 @@
GNU C Library NEWS -- history of user-visible changes. 2007-9-19
GNU C Library NEWS -- history of user-visible changes. 2007-10-5
Copyright (C) 1992-2006, 2007 Free Software Foundation, Inc.
See the end for copying conditions.
@ -24,6 +24,9 @@ Version 2.7
* More CPU set manipulation functions. Implemented by Ulrich Drepper.
* New Linux interfaces: signalfd, eventfd, eventfd_read, and eventfd_write.
Implemented by Ulrich Drepper.
* Handle private futexes in the NPTL implementation.
Implemented by Jakub Jelinek and Ulrich Drepper.
@ -34,6 +37,13 @@ Version 2.7
* SHA-256 and SHA-512 based password encryption.
Implemented by Ulrich Drepper.
* New locales: ber_DZ, ber_MA, en_NG, fil_PH, fur_IT, fy_DE, ha_NG, ig_NG,
ik_CA, iu_CA, li_BE, li_NL, nds_DE, nds_NL, pap_AN, sc_IT, tk_TM, ug_CN,
yo_NG.
+ New iconv modules: MAC-CENTRALEUROPE, ISO-8859-9E, KOI8-RU.
Implemented by Ulrich Drepper.
Version 2.6

View File

@ -87,8 +87,9 @@ do_lookup_x (const char *undef_name, uint_fast32_t new_hash,
return NULL;
if (__builtin_expect (ELFW(ST_TYPE) (sym->st_info) > STT_FUNC
&& ELFW(ST_TYPE) (sym->st_info) != STT_COMMON
&& ELFW(ST_TYPE) (sym->st_info) != STT_TLS, 0))
/* Ignore all but STT_NOTYPE, STT_OBJECT and STT_FUNC
/* Ignore all but STT_NOTYPE, STT_OBJECT, STT_FUNC, and STT_COMMON
entries (and STT_TLS if TLS is supported) since these
are no code/data definitions. */
return NULL;