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/999-ppc-textrels.patch | |
parent | 9c2be8be3918953f4a3624ba4351e2f546dbb938 (diff) | |
download | upstream-961d49f15b748713eac4dc65af5213594bc4d131.tar.gz upstream-961d49f15b748713eac4dc65af5213594bc4d131.tar.bz2 upstream-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/999-ppc-textrels.patch')
-rw-r--r-- | toolchain/binutils/patches/2.22/999-ppc-textrels.patch | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/toolchain/binutils/patches/2.22/999-ppc-textrels.patch b/toolchain/binutils/patches/2.22/999-ppc-textrels.patch deleted file mode 100644 index 36e82f56dd..0000000000 --- a/toolchain/binutils/patches/2.22/999-ppc-textrels.patch +++ /dev/null @@ -1,74 +0,0 @@ -http://bugs.gentoo.org/392645 -http://sourceware.org/bugzilla/show_bug.cgi?id=13470 - -2011-12-03 Alan Modra <amodra@gmail.com> - - PR ld/13470 - * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Revert substantive - change in 2011-07-01 commit. Comment. - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. - -=================================================================== -RCS file: /cvs/src/src/bfd/elf32-ppc.c,v -retrieving revision 1.302.2.1 -retrieving revision 1.302.2.2 ---- a/bfd/elf32-ppc.c -+++ b/bfd/elf32-ppc.c -@@ -2987,10 +2987,6 @@ ppc_elf_copy_indirect_symbol (struct bfd - edir->elf.needs_plt |= eind->elf.needs_plt; - edir->elf.pointer_equality_needed |= eind->elf.pointer_equality_needed; - -- /* If we were called to copy over info for a weak sym, that's all. */ -- if (eind->elf.root.type != bfd_link_hash_indirect) -- return; -- - if (eind->dyn_relocs != NULL) - { - if (edir->dyn_relocs != NULL) -@@ -3022,6 +3018,16 @@ ppc_elf_copy_indirect_symbol (struct bfd - eind->dyn_relocs = NULL; - } - -+ /* If we were called to copy over info for a weak sym, that's all. -+ You might think dyn_relocs need not be copied over; After all, -+ both syms will be dynamic or both non-dynamic so we're just -+ moving reloc accounting around. However, ELIMINATE_COPY_RELOCS -+ code in ppc_elf_adjust_dynamic_symbol needs to check for -+ dyn_relocs in read-only sections, and it does so on what is the -+ DIR sym here. */ -+ if (eind->elf.root.type != bfd_link_hash_indirect) -+ return; -+ - /* Copy over the GOT refcount entries that we may have already seen to - the symbol which just became indirect. */ - edir->elf.got.refcount += eind->elf.got.refcount; ---- a/bfd/elf64-ppc.c -+++ b/bfd/elf64-ppc.c -@@ -4435,10 +4435,6 @@ ppc64_elf_copy_indirect_symbol (struct b - edir->elf.ref_regular_nonweak |= eind->elf.ref_regular_nonweak; - edir->elf.needs_plt |= eind->elf.needs_plt; - -- /* If we were called to copy over info for a weak sym, that's all. */ -- if (eind->elf.root.type != bfd_link_hash_indirect) -- return; -- - /* Copy over any dynamic relocs we may have on the indirect sym. */ - if (eind->dyn_relocs != NULL) - { -@@ -4471,6 +4467,16 @@ ppc64_elf_copy_indirect_symbol (struct b - eind->dyn_relocs = NULL; - } - -+ /* If we were called to copy over info for a weak sym, that's all. -+ You might think dyn_relocs need not be copied over; After all, -+ both syms will be dynamic or both non-dynamic so we're just -+ moving reloc accounting around. However, ELIMINATE_COPY_RELOCS -+ code in ppc64_elf_adjust_dynamic_symbol needs to check for -+ dyn_relocs in read-only sections, and it does so on what is the -+ DIR sym here. */ -+ if (eind->elf.root.type != bfd_link_hash_indirect) -+ return; -+ - /* Copy over got entries that we may have already seen to the - symbol which just became indirect. */ - if (eind->elf.got.glist != NULL) |