diff options
author | Romain Naour <romain.naour@smile.fr> | 2018-07-18 14:07:54 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-07-18 22:45:33 +0200 |
commit | ec4ca0ddf974aafa60acc00a89ce0b962bd701d4 (patch) | |
tree | a1ac36dc8aa8f17d28d6e420540d86114da797c8 /package/binutils/2.31.1/0009-PLT-information-was-still-being-generated-when-symbo.patch | |
parent | 3ab5dfb548a840debe6e4e767ea2ea10e9c6e93a (diff) | |
download | buildroot-ec4ca0ddf974aafa60acc00a89ce0b962bd701d4.tar.gz buildroot-ec4ca0ddf974aafa60acc00a89ce0b962bd701d4.zip |
package/binutils: bump to version 2.31.1
>From the release note:
This is a point release over the previous 2.31 version, which was
necessary as a source file was accidentally omitted from that
release.
This release also contains a fix for PR gold/23409 where the gold
linker could end up creating duplicate copies of some symbols.
https://sourceware.org/ml/binutils/2018-07/msg00286.html
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/binutils/2.31.1/0009-PLT-information-was-still-being-generated-when-symbo.patch')
-rw-r--r-- | package/binutils/2.31.1/0009-PLT-information-was-still-being-generated-when-symbo.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/binutils/2.31.1/0009-PLT-information-was-still-being-generated-when-symbo.patch b/package/binutils/2.31.1/0009-PLT-information-was-still-being-generated-when-symbo.patch new file mode 100644 index 0000000000..60bb522e12 --- /dev/null +++ b/package/binutils/2.31.1/0009-PLT-information-was-still-being-generated-when-symbo.patch @@ -0,0 +1,37 @@ +From e4861c68067cb2166b4c2bb9c052abeb6ad9aaa1 Mon Sep 17 00:00:00 2001 +From: Cupertino Miranda <cmiranda@synopsys.com> +Date: Fri, 2 Mar 2018 17:44:29 +0100 +Subject: [PATCH] PLT information was still being generated when symbol was + forced_local. + +A change upstream reveiled this issue, triggering an assert when linking glibc. + +bfd/ +2018-03-01 Cupertino Miranda <cmiranda@synopsys.com> + + * elf32-arc.c (elf_arc_check_relocs): Changed. + +Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> +[Romain: rebase on top of 2.31] +Signed-off-by: Romain Naour <romain.naour@gmail.com> +--- + bfd/elf32-arc.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c +index 9b72c5b4f4f..b40b463d34d 100644 +--- a/bfd/elf32-arc.c ++++ b/bfd/elf32-arc.c +@@ -2041,7 +2041,8 @@ elf_arc_check_relocs (bfd * abfd, + if (h == NULL) + continue; + else +- h->needs_plt = 1; ++ if(h->forced_local == 0) ++ h->needs_plt = 1; + } + + /* Add info to the symbol got_entry_list. */ +-- +2.14.4 + |