diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-10-16 16:06:55 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-10-16 16:06:55 -0700 |
commit | 33630af91d1027a91b43f697c86e809a770668e1 (patch) | |
tree | 21f7b101893760f3da1dae595a8e6d9cd082ea8b /recipes/binutils/binutils-2.20/uclibc-segfault.patch | |
parent | 53e184bbac79000299d378fdf24b542f65a092f2 (diff) |
binutils-2.20: Add recipes for 2.20 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/binutils/binutils-2.20/uclibc-segfault.patch')
-rw-r--r-- | recipes/binutils/binutils-2.20/uclibc-segfault.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/binutils/binutils-2.20/uclibc-segfault.patch b/recipes/binutils/binutils-2.20/uclibc-segfault.patch new file mode 100644 index 0000000000..16a875f8eb --- /dev/null +++ b/recipes/binutils/binutils-2.20/uclibc-segfault.patch @@ -0,0 +1,23 @@ +upstream: already committed + +--- 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 |