summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches/2.21.1/111-pr7093.elf32-arm.c.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-06 09:53:58 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-06 09:53:58 +0000
commitad4c6c4a5d374680792d82fcba13d9fcc77d1a67 (patch)
tree57bdbd189b9fb778ff3ebf5a9ef206a72a5d6667 /toolchain/binutils/patches/2.21.1/111-pr7093.elf32-arm.c.patch
parent57411a3935f38a7a86e4b2aa43f9417640020db2 (diff)
binutils: add binutils 2.21.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27919 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/binutils/patches/2.21.1/111-pr7093.elf32-arm.c.patch')
-rw-r--r--toolchain/binutils/patches/2.21.1/111-pr7093.elf32-arm.c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.21.1/111-pr7093.elf32-arm.c.patch b/toolchain/binutils/patches/2.21.1/111-pr7093.elf32-arm.c.patch
new file mode 100644
index 0000000000..7d6cb7ba71
--- /dev/null
+++ b/toolchain/binutils/patches/2.21.1/111-pr7093.elf32-arm.c.patch
@@ -0,0 +1,13 @@
+--- a/bfd/elf32-arm.c
++++ b/bfd/elf32-arm.c
+@@ -5631,6 +5631,10 @@ bfd_elf32_arm_init_maps (bfd *abfd)
+ if (! is_arm_elf (abfd))
+ return;
+
++ /* PR 7093: Make sure that we are dealing with an arm elf binary. */
++ if (! is_arm_elf (abfd))
++ return;
++
+ if ((abfd->flags & DYNAMIC) != 0)
+ return;
+