summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2021-02-11 09:26:51 +0000
committerfcambus <fcambus@pkgsrc.org>2021-02-11 09:26:51 +0000
commit1b10062ffc28b4110d41d9dbc0f665c77c6c7c05 (patch)
tree4c857ac9bc721b26761c8e3793bafb48c85e6e7b
parent9be850c722e5db9abf0869a5fcbb9d285b24f2eb (diff)
downloadpkgsrc-1b10062ffc28b4110d41d9dbc0f665c77c6c7c05.tar.gz
binutils: update to 2.36.1.
Changes in 2.36.1: 2021-01-26 Frederic Cambus <fred@statdns.com> * objcopy.c (copy_main): Fix a double free happening when both --localize-symbols and --globalize-symbols options are invoked together. gas changes in 2.36.1: 2021-02-05 Nelson Chu <nelson.chu@sifive.com> * config/tc-riscv.c (riscv_multi_subset_supports): Removed INSN_CLASS_ZB*. * testsuite/gas/riscv/bitmanip-insns-32.d: Removed. * testsuite/gas/riscv/bitmanip-insns-64.d: Removed. * testsuite/gas/riscv/bitmanip-insns.s: Removed. 2021-01-26 Alan Modra <amodra@gmail.com> PR 27282 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32. * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match. 2021-01-26 H.J. Lu <hongjiu.lu@intel.com> PR gas/27243 * config/tc-nios2.c (md_begin): Don't disable relaxation with --gdwarf-N. * testsuite/gas/nios2/relax.d: New file. * testsuite/gas/nios2/relax.s: Likewise. 2021-01-24 H.J. Lu <hongjiu.lu@intel.com> PR gas/27228 * testsuite/gas/elf/elf.exp: Run pr27228. * testsuite/gas/elf/pr27228.d: New file. * testsuite/gas/elf/pr27228.s: Likewise. ld changes in 2.36.1: 2021-02-04 H.J. Lu <hongjiu.lu@intel.com> PR ld/15146 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests. * testsuite/ld-plugin/pr15146.d: Restored. * testsuite/ld-plugin/pr15146a.c: Likewise. * testsuite/ld-plugin/pr15146b.c: Likewise. * testsuite/ld-plugin/pr15146c.c: Likewise. * testsuite/ld-plugin/pr15146d.c: Likewise. 2021-02-04 Alan Modra <amodra@gmail.com> * testsuite/ld-plugin/pr27311d.c: New test. * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile and link new test as pr27311-2. 2021-02-03 Alan Modra <amodra@gmail.com> Apply from mainline 2021-02-03 Alan Modra <amodra@gmail.com> * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so): Link with --as-needed. 2021-02-02 Alan Modra <amodra@gmail.com> * testsuite/ld-plugin/pr27311.d, * testsuite/ld-plugin/pr27311.ver, * testsuite/ld-plugin/pr27311a.c, * testsuite/ld-plugin/pr27311b.c, * testsuite/ld-plugin/pr27311c.c: New testcase. * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and PR12982 entries. 2021-01-28 Alan Modra <amodra@gmail.com> PR 27259 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to prevent endless looping of linked-to sections. 2021-01-29 Alan Modra <amodra@gmail.com> * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test. 2021-01-27 Nick Clifton <nickc@redhat.com> Import from mainline: 2021-01-25 Fangrui Song <maskray@google.com> PR ld/27230 * scripttempl/DWARF.sc: Add DWARF-5 .debug_* sections.
-rw-r--r--devel/binutils/Makefile4
-rw-r--r--devel/binutils/distinfo11
-rw-r--r--devel/binutils/patches/patch-binutils_objcopy.c17
3 files changed, 25 insertions, 7 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 4bb95989929..21d2fd74b41 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.97 2021/01/29 13:10:34 jperkin Exp $
+# $NetBSD: Makefile,v 1.98 2021/02/11 09:26:51 fcambus Exp $
-DISTNAME= binutils-2.36
+DISTNAME= binutils-2.36.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
EXTRACT_SUFX= .tar.bz2
diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo
index 6dfa86e569c..2f27e2ba95b 100644
--- a/devel/binutils/distinfo
+++ b/devel/binutils/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.40 2021/01/27 15:21:21 fcambus Exp $
+$NetBSD: distinfo,v 1.41 2021/02/11 09:26:51 fcambus Exp $
-SHA1 (binutils-2.36.tar.bz2) = 40d6c5937b65c6f992a4a1fe57a0d3a59a4b3d5e
-RMD160 (binutils-2.36.tar.bz2) = 9b9fcd212a2e346e241b69055f52674ace572eed
-SHA512 (binutils-2.36.tar.bz2) = 84f1a5ed8c95dc8d2b065da8139e8208f82a2382fe9272013b45606db9a005e030a4a035b0150cae8c8533883d60615beb8ba1d1e72193a77f7dae9bcc4eb503
-Size (binutils-2.36.tar.bz2) = 33688521 bytes
+SHA1 (binutils-2.36.1.tar.bz2) = 968cddc17354142ab7d60b93d7f169ec8373a9f4
+RMD160 (binutils-2.36.1.tar.bz2) = 7315baac14d63366319fd30b7892771d913194aa
+SHA512 (binutils-2.36.1.tar.bz2) = 5c40cfe05b922492627db71990dd2ba6030fd2de4bdba3f53a3f274543ff161fb56e2f6bdac107e0ffdcfd095e499c54e1157ee1865723baefa67b5b4d3da201
+Size (binutils-2.36.1.tar.bz2) = 33689928 bytes
SHA1 (patch-bfd_cache.c) = e2d96bad350552eacdffa83532f9dc9e15ee9be9
+SHA1 (patch-binutils_objcopy.c) = 3a9cea4cdf49e16853399f5beb5628984d9ca7a6
SHA1 (patch-gold_Makefile.in) = e01d973f9625a1653851f796c123efec37102fbd
SHA1 (patch-gold_options.h) = 65a4cdb67cb4bef6a1891ca66a5fc80c5493c24e
SHA1 (patch-gold_system.h) = 9b4130b5315763daa66e0a91a8be6d1df0d10344
diff --git a/devel/binutils/patches/patch-binutils_objcopy.c b/devel/binutils/patches/patch-binutils_objcopy.c
new file mode 100644
index 00000000000..9363be3dfe7
--- /dev/null
+++ b/devel/binutils/patches/patch-binutils_objcopy.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-binutils_objcopy.c,v 1.1 2021/02/11 09:26:51 fcambus Exp $
+
+Unbreak the build on at least NetBSD.
+
+Cherry-picked from upstream commit 95b91a043aeaeb546d2fea556d84a2de1e917770.
+
+--- binutils/objcopy.c.orig 2021-02-10 08:48:37.130505053 +0000
++++ binutils/objcopy.c
+@@ -3769,7 +3767,7 @@ copy_file (const char *input_filename, c
+ /* To allow us to do "strip *" without dying on the first
+ non-object file, failures are nonfatal. */
+ ibfd = bfd_openr (input_filename, input_target);
+- if (ibfd == NULL || fstat (fileno (ibfd->iostream), in_stat) != 0)
++ if (ibfd == NULL || bfd_stat (ibfd, in_stat) != 0)
+ {
+ bfd_nonfatal_message (input_filename, NULL, NULL, NULL);
+ status = 1;