diff options
author | Qing He <qing.he@intel.com> | 2010-09-25 15:19:45 +0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-09-27 08:59:16 -0700 |
commit | 0f55d28a4d1f425343eb5aeae3eb7ffb3efd266a (patch) | |
tree | 50f89281614c8266ce092c1c6fb1865b4bf90098 /meta/recipes-core/glibc/glibc_2.10.1.bb | |
parent | 5c8fad6544421e238da2ff33f5bbf1ed68fbc8be (diff) | |
download | poky-0f55d28a4d1f425343eb5aeae3eb7ffb3efd266a.tar.gz |
glibc & eglibc: fix mips DT_MIPS_RLD_MAP checking
On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic
section if a --version-script sets _RLD_MAP to local. This is apparently
a binutils bug, but libc shouldn't segfault in this case.
Add sanity check on the entry to avoid segfault, fixes [BUGID #287].
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/recipes-core/glibc/glibc_2.10.1.bb')
-rw-r--r-- | meta/recipes-core/glibc/glibc_2.10.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.10.1.bb b/meta/recipes-core/glibc/glibc_2.10.1.bb index 7f97273f70..364a0e5d12 100644 --- a/meta/recipes-core/glibc/glibc_2.10.1.bb +++ b/meta/recipes-core/glibc/glibc_2.10.1.bb | |||
@@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm" | |||
5 | PACKAGES_DYNAMIC = "libc6*" | 5 | PACKAGES_DYNAMIC = "libc6*" |
6 | RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev" | 6 | RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev" |
7 | 7 | ||
8 | PR = "r5" | 8 | PR = "r6" |
9 | 9 | ||
10 | # the -isystem in bitbake.conf screws up glibc do_stage | 10 | # the -isystem in bitbake.conf screws up glibc do_stage |
11 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" | 11 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" |
@@ -54,6 +54,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \ | |||
54 | file://glibc-check_pf.patch;striplevel=0 \ | 54 | file://glibc-check_pf.patch;striplevel=0 \ |
55 | file://ldd-unbash.patch \ | 55 | file://ldd-unbash.patch \ |
56 | file://glibc-arm-IO-acquire-lock-fix.diff \ | 56 | file://glibc-arm-IO-acquire-lock-fix.diff \ |
57 | file://mips-rld-map-check.patch \ | ||
57 | file://generic-bits_select.h \ | 58 | file://generic-bits_select.h \ |
58 | file://generic-bits_types.h \ | 59 | file://generic-bits_types.h \ |
59 | file://generic-bits_typesizes.h \ | 60 | file://generic-bits_typesizes.h \ |