diff options
author | Phil Blundell <philb@gnu.org> | 2009-06-10 21:07:46 +0100 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2009-06-10 21:07:46 +0100 |
commit | 26920898b0fa1f1ce83af9eb59fc0d68594a1c70 (patch) | |
tree | 43c75f26292eb8f6f7e850f2bc63eb81c285a573 /recipes/binutils/binutils-2.19.51/uclibc-segfault.patch | |
parent | b386d4e87cfa42180e01cd52f554360f1d47ab90 (diff) | |
download | openembedded-26920898b0fa1f1ce83af9eb59fc0d68594a1c70.tar.gz |
binutils: add 2.19.51
Diffstat (limited to 'recipes/binutils/binutils-2.19.51/uclibc-segfault.patch')
-rw-r--r-- | recipes/binutils/binutils-2.19.51/uclibc-segfault.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/binutils/binutils-2.19.51/uclibc-segfault.patch b/recipes/binutils/binutils-2.19.51/uclibc-segfault.patch new file mode 100644 index 0000000000..a202c1cfd4 --- /dev/null +++ b/recipes/binutils/binutils-2.19.51/uclibc-segfault.patch @@ -0,0 +1,21 @@ +--- clean/binutils-2.19.51/bfd/elf32-arm.c 2009-05-22 12:58:44.000000000 +0100 ++++ binutils-2.19.51/bfd/elf32-arm.c 2009-06-08 21:29:49.000000000 +0100 +@@ -8960,7 +8964,7 @@ elf32_arm_fix_exidx_coverage (asection * + struct bfd_elf_section_data *elf_sec = elf_section_data (sec); + Elf_Internal_Shdr *hdr = &elf_sec->this_hdr; + +- if (hdr->sh_type != SHT_ARM_EXIDX) ++ if (!hdr || hdr->sh_type != SHT_ARM_EXIDX) + continue; + + if (elf_sec->linked_to) +--- clean/binutils-2.19.51/ld/emultempl/armelf.em 2009-05-22 12:58:45.000000000 +0100 ++++ binutils-2.19.51/ld/emultempl/armelf.em 2009-06-08 21:26:34.000000000 +0100 +@@ -309,6 +309,7 @@ gld${EMULATION_NAME}_finish (void) + asection *out_sec = sec->output_section; + + if (out_sec ++ && elf_section_data (sec) + && elf_section_type (sec) == SHT_PROGBITS + && (elf_section_flags (sec) & SHF_EXECINSTR) != 0 + && (sec->flags & SEC_EXCLUDE) == 0 |