diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-05 18:40:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-10-05 18:40:38 +0000 |
commit | 961d49f15b748713eac4dc65af5213594bc4d131 (patch) | |
tree | 9a4d28e4c863761a3b39918ae3ad3522eb877864 /toolchain/binutils/patches/2.22/500-arm_ld_assert_fix.patch | |
parent | 9c2be8be3918953f4a3624ba4351e2f546dbb938 (diff) | |
download | master-187ad058-961d49f15b748713eac4dc65af5213594bc4d131.tar.gz master-187ad058-961d49f15b748713eac4dc65af5213594bc4d131.tar.bz2 master-187ad058-961d49f15b748713eac4dc65af5213594bc4d131.zip |
binutils: remove old versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42776 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/binutils/patches/2.22/500-arm_ld_assert_fix.patch')
-rw-r--r-- | toolchain/binutils/patches/2.22/500-arm_ld_assert_fix.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/toolchain/binutils/patches/2.22/500-arm_ld_assert_fix.patch b/toolchain/binutils/patches/2.22/500-arm_ld_assert_fix.patch deleted file mode 100644 index e011c4b111..0000000000 --- a/toolchain/binutils/patches/2.22/500-arm_ld_assert_fix.patch +++ /dev/null @@ -1,26 +0,0 @@ -See http://sourceware.org/bugzilla/show_bug.cgi?id=13990 for details. ---- ---- a/bfd/elf32-arm.c -+++ b/bfd/elf32-arm.c -@@ -12046,8 +12046,19 @@ elf32_arm_gc_sweep_hook (bfd * - if (may_need_local_target_p - && elf32_arm_get_plt_info (abfd, eh, r_symndx, &root_plt, &arm_plt)) - { -- BFD_ASSERT (root_plt->refcount > 0); -- root_plt->refcount -= 1; -+ /* If PLT refcount book-keeping is wrong and too low, we'll -+ see a zero value (going to -1) for the root PLT reference -+ count. */ -+ if (root_plt->refcount >= 0) -+ { -+ BFD_ASSERT (root_plt->refcount != 0); -+ root_plt->refcount -= 1; -+ } -+ else -+ /* A value of -1 means the symbol has become local, forced -+ or seeing a hidden definition. Any other negative value -+ is an error. */ -+ BFD_ASSERT (root_plt->refcount == -1); - - if (!call_reloc_p) - arm_plt->noncall_refcount--; |