diff options
author | Chris Packham <judge.packham@gmail.com> | 2021-09-21 19:46:06 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2021-09-21 21:24:31 +1200 |
commit | fa992b41918a1dbf05f6830ba659f4ea6ffc5ffa (patch) | |
tree | 576b68e374538c4dedb835cff6f55a72f67f8f1f /packages/binutils/2.24/0020-xtensa-fix-localized-symbol-refcounting-with-gc-sect.patch | |
parent | 836fb9165234e50a07094b2c11938c17f92cd356 (diff) | |
download | crosstool-ng-fa992b41918a1dbf05f6830ba659f4ea6ffc5ffa.tar.gz crosstool-ng-fa992b41918a1dbf05f6830ba659f4ea6ffc5ffa.tar.bz2 crosstool-ng-fa992b41918a1dbf05f6830ba659f4ea6ffc5ffa.zip |
binutils: Remove obsolete versions
The following versions were marked obsolete in crosstool-ng-1.24.0,
remove them.
- binutils-linaro-2.23.2-2013.10-4
- binutils-linaro-2.24.0-2014.11-2
- binutils-linaro-2.25.0-2015.01-2
- binutils-2.23.2
- binutils-2.24
- binutils-2.25.1
Adjust the milestones now that the old versions have been removed.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/binutils/2.24/0020-xtensa-fix-localized-symbol-refcounting-with-gc-sect.patch')
-rw-r--r-- | packages/binutils/2.24/0020-xtensa-fix-localized-symbol-refcounting-with-gc-sect.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/packages/binutils/2.24/0020-xtensa-fix-localized-symbol-refcounting-with-gc-sect.patch b/packages/binutils/2.24/0020-xtensa-fix-localized-symbol-refcounting-with-gc-sect.patch deleted file mode 100644 index 63fc41d8..00000000 --- a/packages/binutils/2.24/0020-xtensa-fix-localized-symbol-refcounting-with-gc-sect.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 8ec76b16f62d1bf386fb2c39af5f66c3afddc5cb Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Thu, 14 May 2015 05:22:55 +0300 -Subject: [PATCH] xtensa: fix localized symbol refcounting with --gc-sections - -elf_xtensa_gc_sweep_hook doesn't correctly unreference symbols that were -made local, that results in link failure with the following message: - - BFD (GNU Binutils) 2.24 internal error, aborting at elf32-xtensa.c line - 3372 in elf_xtensa_finish_dynamic_sections - -elf_xtensa_gc_sweep_hook determines symbol reference type (PLT or GOT) by -relocation type. Relocation types are not changed when symbol becomes -local, but its PLT references are added to GOT references and -plt.refcount is set to 0. Such symbol cannot be unreferences in the -elf_xtensa_gc_sweep_hook and its extra references make calculated GOT -relocations section size not match number of GOT relocations. - -Fix it by treating PLT reference as GOT reference when plt.refcount is -not positive. - -2015-05-14 Max Filippov <jcmvbkbc@gmail.com> -bfd/ - * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Treat PLT reference - as GOT reference when plt.refcount is not positive. - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- -Backported from: e6c9a083ec5ae7a45bd71682b26aae1939849388 -Changes to ChangeLog are dropped. - - bfd/elf32-xtensa.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - ---- a/bfd/elf32-xtensa.c -+++ b/bfd/elf32-xtensa.c -@@ -1357,10 +1357,14 @@ - { - if (is_plt) - { -+ /* If the symbol has been localized its plt.refcount got moved -+ to got.refcount. Handle it as GOT. */ - if (h->plt.refcount > 0) - h->plt.refcount--; -+ else -+ is_got = TRUE; - } -- else if (is_got) -+ if (is_got) - { - if (h->got.refcount > 0) - h->got.refcount--; |