pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/binutils



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Thu Feb 11 09:26:51 UTC 2021

Modified Files:
        pkgsrc/devel/binutils: Makefile distinfo
Added Files:
        pkgsrc/devel/binutils/patches: patch-binutils_objcopy.c

Log Message:
binutils: update to 2.36.1.

Changes in 2.36.1:

2021-01-26  Frederic Cambus  <fred%statdns.com@localhost>

        * 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@localhost>

        * 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@localhost>

        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@localhost>

        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@localhost>

        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@localhost>

        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@localhost>

        * 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@localhost>

        Apply from mainline
        2021-02-03  Alan Modra  <amodra%gmail.com@localhost>
        * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
        Link with --as-needed.

        2021-02-02  Alan Modra  <amodra%gmail.com@localhost>
        * 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@localhost>

        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@localhost>

        * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.

2021-01-27  Nick Clifton  <nickc%redhat.com@localhost>

        Import from mainline:
        2021-01-25  Fangrui Song  <maskray%google.com@localhost>

        PR ld/27230
        * scripttempl/DWARF.sc: Add DWARF-5 .debug_* sections.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 pkgsrc/devel/binutils/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/binutils/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/binutils/patches/patch-binutils_objcopy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/binutils/Makefile
diff -u pkgsrc/devel/binutils/Makefile:1.97 pkgsrc/devel/binutils/Makefile:1.98
--- pkgsrc/devel/binutils/Makefile:1.97 Fri Jan 29 13:10:34 2021
+++ pkgsrc/devel/binutils/Makefile      Thu Feb 11 09:26:51 2021
@@ -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

Index: pkgsrc/devel/binutils/distinfo
diff -u pkgsrc/devel/binutils/distinfo:1.40 pkgsrc/devel/binutils/distinfo:1.41
--- pkgsrc/devel/binutils/distinfo:1.40 Wed Jan 27 15:21:21 2021
+++ pkgsrc/devel/binutils/distinfo      Thu Feb 11 09:26:51 2021
@@ -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

Added files:

Index: pkgsrc/devel/binutils/patches/patch-binutils_objcopy.c
diff -u /dev/null pkgsrc/devel/binutils/patches/patch-binutils_objcopy.c:1.1
--- /dev/null   Thu Feb 11 09:26:51 2021
+++ pkgsrc/devel/binutils/patches/patch-binutils_objcopy.c      Thu Feb 11 09:26:51 2021
@@ -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;



Home | Main Index | Thread Index | Old Index