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 10 14:03:07 UTC 2022

Modified Files:
        pkgsrc/devel/binutils: Makefile PLIST.common distinfo
        pkgsrc/devel/binutils/patches: patch-ld_Makefile.am
            patch-ld_Makefile.in patch-ld_configure.tgt
Removed Files:
        pkgsrc/devel/binutils/patches: patch-binutils_stabs.c

Log Message:
binutils: update to 2.38.

This release contains numerous bug fixes and improvements, along with
the following new features:

Assembler:
  General:
    * Add support for the LoongArch architecture.

    * Add an option to control how multibyte characters are handled in
      the assembler.  Using the option warnings can be generated when
      such characters are encountered in symbol names, or anywhere in
      the input source file(s).

  AArch64 and ARM:
    * Add support for more system registers.
    * Add support for Scalable Matrix Extension.
    * Add support for Cortex-R52+, Cortex-A510, Cortex-A710,
      Cortex-X2, Cortex-A710 cores.
    * Add support for 'v8.7-a', 'v8.8-a', 'v9-a', 'v9.1-a',
      'armv9.2-a' and 'armv9.3-a' architecture extensions.

  X86:
    * Add a command-line option to encode aligned vector move as
      unaligned vector move.
    * Add support for Intel AVX512_FP16 instructions.
    * The outputs of .ds.x directive and .tfloat directive with hex
      input have been reduced from 12 bytes to 10 bytes to match the
      output of .tfloat directive.

Linker:
  * Add support for the LoongArch architecture.

  * Add -z pack-relative-relocs/-z no pack-relative-relocs to x86 ELF
   linker to pack relative relocations in the DT_RELR section.

  * Add -z indirect-extern-access/-z noindirect-extern-access to x86
    ELF linker to control canonical function pointers and copy
    relocation.

Other Binary Tools:

  * elfedit: Add --output-abiversion option to update ABIVERSION.

  * Tools which display symbols or strings (readelf, strings, nm,
    objdump) have a new command line option which controls how unicode
    characters are handled.  By default they are treated as normal for
    the tool.  Using --unicode=locale will display them according to
    the current locale.  Using --unicode=hex will display them as hex
    byte values, whilst --unicode=escape will display them as escape
    sequences.  In addition using --unicode=highlight will display
    them as unicode escape sequences highlighted in red (if supported
    by the output device).

  * readelf -r dumps RELR relative relocations now.

  * Support for efi-app-aarch64, efi-rtdrv-aarch64 and
    efi-bsdrv-aarch64 has been added to objcopy in order to enable
    UEFI development using binutils.

  * ar: Add --thin for creating thin archives. -T is a deprecated
    alias without diagnostics. In many ar implementations -T has a
    different meaning, as specified by X/Open System Interface.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 pkgsrc/devel/binutils/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/devel/binutils/PLIST.common
cvs rdiff -u -r1.46 -r1.47 pkgsrc/devel/binutils/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/binutils/patches/patch-binutils_stabs.c
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/binutils/patches/patch-ld_Makefile.am \
    pkgsrc/devel/binutils/patches/patch-ld_Makefile.in
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/binutils/patches/patch-ld_configure.tgt

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.103 pkgsrc/devel/binutils/Makefile:1.104
--- pkgsrc/devel/binutils/Makefile:1.103        Thu Feb 10 12:47:12 2022
+++ pkgsrc/devel/binutils/Makefile      Thu Feb 10 14:03:07 2022
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.103 2022/02/10 12:47:12 fcambus Exp $
+# $NetBSD: Makefile,v 1.104 2022/02/10 14:03:07 fcambus Exp $
 
-DISTNAME=      binutils-2.37
-PKGREVISION=   2
+DISTNAME=      binutils-2.38
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=binutils/}
 EXTRACT_SUFX=  .tar.bz2

Index: pkgsrc/devel/binutils/PLIST.common
diff -u pkgsrc/devel/binutils/PLIST.common:1.37 pkgsrc/devel/binutils/PLIST.common:1.38
--- pkgsrc/devel/binutils/PLIST.common:1.37     Sat Sep 11 15:54:39 2021
+++ pkgsrc/devel/binutils/PLIST.common  Thu Feb 10 14:03:07 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.37 2021/09/11 15:54:39 fcambus Exp $
+@comment $NetBSD: PLIST.common,v 1.38 2022/02/10 14:03:07 fcambus Exp $
 ${MACHINE_GNU_PLATFORM}/bin/ar
 ${PLIST.gas}${MACHINE_GNU_PLATFORM}/bin/as
 ${PLIST.gld}${MACHINE_GNU_PLATFORM}/bin/ld
@@ -76,6 +76,7 @@ include/symcat.h
 ${PLIST.gas}info/as.info
 info/bfd.info
 info/binutils.info
+${PLIST.ctf}info/ctf-spec.info
 ${PLIST.gprof}info/gprof.info
 ${PLIST.gld}info/ld.info
 ${PLIST.gld}lib/bfd-plugins/libdep.so

Index: pkgsrc/devel/binutils/distinfo
diff -u pkgsrc/devel/binutils/distinfo:1.46 pkgsrc/devel/binutils/distinfo:1.47
--- pkgsrc/devel/binutils/distinfo:1.46 Mon Jan 24 15:10:46 2022
+++ pkgsrc/devel/binutils/distinfo      Thu Feb 10 14:03:07 2022
@@ -1,18 +1,17 @@
-$NetBSD: distinfo,v 1.46 2022/01/24 15:10:46 fcambus Exp $
+$NetBSD: distinfo,v 1.47 2022/02/10 14:03:07 fcambus Exp $
 
-BLAKE2s (binutils-2.37.tar.bz2) = cbcd25c08c84f0fca9c77936991cef9b3a2c6f8350ecb98a7877fc0107f34db9
-SHA512 (binutils-2.37.tar.bz2) = b3f5184697f77e94c95d48f6879de214eb5e17aa6ef8e96f65530d157e515b1ae2f290e98453e4ff126462520fa0f63852b6e1c8fbb397ed2e41984336bc78c6
-Size (binutils-2.37.tar.bz2) = 33888611 bytes
+BLAKE2s (binutils-2.38.tar.bz2) = 80609a31f2040a8418a2004cb9de8b3d409e954c7c1d17afef8e9237227d00ee
+SHA512 (binutils-2.38.tar.bz2) = 7690b4158bd6587a85c6b98903980b9ac6f16b47f7fd1e60986b0a70388bedcfdc05d75597aa49c81fec1609ce24bed6c26583f76fd2471a9d63394fd9798afc
+Size (binutils-2.38.tar.bz2) = 34866647 bytes
 SHA1 (patch-bfd_cache.c) = e2d96bad350552eacdffa83532f9dc9e15ee9be9
-SHA1 (patch-binutils_stabs.c) = 6e7f95d5c3e7fa32196b75876c95fdc2b6aeaee6
 SHA1 (patch-gold_Makefile.in) = e01d973f9625a1653851f796c123efec37102fbd
 SHA1 (patch-gold_options.h) = 03816bbf157d781820d96a4d3af0885dc2bbbaa9
 SHA1 (patch-gold_system.h) = 9b4130b5315763daa66e0a91a8be6d1df0d10344
 SHA1 (patch-gold_testsuite_Makefile.in) = 24ede750675829281436d728d77073638f58d6b9
 SHA1 (patch-include_safe-ctype.h) = 66e636f8200ff5e9b4bfa0a5aee13cd072a23887
-SHA1 (patch-ld_Makefile.am) = 2e0a3e6ffde0816a33630e506ef2a997a7946630
-SHA1 (patch-ld_Makefile.in) = 4c33becb63eb0953b15fc043f803ad01a9661cb9
-SHA1 (patch-ld_configure.tgt) = b3f9d3d57c320a88f611eff159dd5a38d75325ba
+SHA1 (patch-ld_Makefile.am) = 944ddf3d44b3a3f57ef2ec8ddd6b9ba653b7dbbb
+SHA1 (patch-ld_Makefile.in) = 3ddcb2fa4ebf336be547ec7bec918942668c99b0
+SHA1 (patch-ld_configure.tgt) = 99304d60f50078e2b97341fa8ccb63a6813e2309
 SHA1 (patch-ld_emulparams_aarch64nbsd.sh) = 6489e5996eefdb8ba66c73d7425443109d47e6a9
 SHA1 (patch-ld_emulparams_aarch64nbsdb.sh) = 9980f3ca8cb7cac1b56c71c482b691fa2f7659a1
 SHA1 (patch-ld_emulparams_armelf__nbsd__eabi.sh) = 464b0957f95a1a8ba6a92ee0091b929d9c980470

Index: pkgsrc/devel/binutils/patches/patch-ld_Makefile.am
diff -u pkgsrc/devel/binutils/patches/patch-ld_Makefile.am:1.3 pkgsrc/devel/binutils/patches/patch-ld_Makefile.am:1.4
--- pkgsrc/devel/binutils/patches/patch-ld_Makefile.am:1.3      Mon Jan 24 15:10:46 2022
+++ pkgsrc/devel/binutils/patches/patch-ld_Makefile.am  Thu Feb 10 14:03:07 2022
@@ -1,10 +1,10 @@
-$NetBSD: patch-ld_Makefile.am,v 1.3 2022/01/24 15:10:46 fcambus Exp $
+$NetBSD: patch-ld_Makefile.am,v 1.4 2022/02/10 14:03:07 fcambus Exp $
 
 NetBSD/aarch64 support patches for ld from src.
 
---- ld/Makefile.am.orig        2022-01-24 11:00:34.214241856 +0000
+--- ld/Makefile.am.orig        2022-01-22 12:14:09.000000000 +0000
 +++ ld/Makefile.am
-@@ -172,6 +172,8 @@ ALL_EMULATION_SOURCES = \
+@@ -173,6 +173,8 @@ ALL_EMULATION_SOURCES = \
        earmelf_linux_fdpiceabi.c \
        earmelf_nacl.c \
        earmelf_nbsd.c \
@@ -13,7 +13,7 @@ NetBSD/aarch64 support patches for ld fr
        earmelf_phoenix.c \
        earmelf_vxworks.c \
        earmelfb.c \
-@@ -182,6 +184,8 @@ ALL_EMULATION_SOURCES = \
+@@ -183,6 +185,8 @@ ALL_EMULATION_SOURCES = \
        earmelfb_linux_fdpiceabi.c \
        earmelfb_nacl.c \
        earmelfb_nbsd.c \
@@ -22,12 +22,12 @@ NetBSD/aarch64 support patches for ld fr
        earmnto.c \
        earmpe.c \
        eavr1.c \
-@@ -385,6 +389,8 @@ ALL_64_EMULATION_SOURCES = \
-       eaarch64fbsdb.c \
-       eaarch64linux.c \
+@@ -391,6 +395,8 @@ ALL_64_EMULATION_SOURCES = \
+       eaarch64linux32.c \
+       eaarch64linux32b.c \
        eaarch64linuxb.c \
 +      eaarch64nbsd.c \
 +      eaarch64nbsdb.c \
-       eaarch64linux32.c \
-       eaarch64linux32b.c \
        eelf32_x86_64.c \
+       eelf32b4300.c \
+       eelf32bmip.c \
Index: pkgsrc/devel/binutils/patches/patch-ld_Makefile.in
diff -u pkgsrc/devel/binutils/patches/patch-ld_Makefile.in:1.3 pkgsrc/devel/binutils/patches/patch-ld_Makefile.in:1.4
--- pkgsrc/devel/binutils/patches/patch-ld_Makefile.in:1.3      Mon Jan 24 15:10:46 2022
+++ pkgsrc/devel/binutils/patches/patch-ld_Makefile.in  Thu Feb 10 14:03:07 2022
@@ -1,10 +1,10 @@
-$NetBSD: patch-ld_Makefile.in,v 1.3 2022/01/24 15:10:46 fcambus Exp $
+$NetBSD: patch-ld_Makefile.in,v 1.4 2022/02/10 14:03:07 fcambus Exp $
 
 NetBSD/aarch64 support patches for ld from src.
 
---- ld/Makefile.in.orig        2022-01-24 11:11:50.321756134 +0000
+--- ld/Makefile.in.orig        2022-02-09 11:49:03.000000000 +0000
 +++ ld/Makefile.in
-@@ -662,6 +662,8 @@ ALL_EMULATION_SOURCES = \
+@@ -664,6 +664,8 @@ ALL_EMULATION_SOURCES = \
        earmelf_linux_fdpiceabi.c \
        earmelf_nacl.c \
        earmelf_nbsd.c \
@@ -13,7 +13,7 @@ NetBSD/aarch64 support patches for ld fr
        earmelf_phoenix.c \
        earmelf_vxworks.c \
        earmelfb.c \
-@@ -672,6 +674,8 @@ ALL_EMULATION_SOURCES = \
+@@ -674,6 +676,8 @@ ALL_EMULATION_SOURCES = \
        earmelfb_linux_fdpiceabi.c \
        earmelfb_nacl.c \
        earmelfb_nbsd.c \
@@ -22,12 +22,12 @@ NetBSD/aarch64 support patches for ld fr
        earmnto.c \
        earmpe.c \
        eavr1.c \
-@@ -874,6 +878,8 @@ ALL_64_EMULATION_SOURCES = \
-       eaarch64fbsdb.c \
-       eaarch64linux.c \
+@@ -881,6 +885,8 @@ ALL_64_EMULATION_SOURCES = \
+       eaarch64linux32.c \
+       eaarch64linux32b.c \
        eaarch64linuxb.c \
 +      eaarch64nbsd.c \
 +      eaarch64nbsdb.c \
-       eaarch64linux32.c \
-       eaarch64linux32b.c \
        eelf32_x86_64.c \
+       eelf32b4300.c \
+       eelf32bmip.c \

Index: pkgsrc/devel/binutils/patches/patch-ld_configure.tgt
diff -u pkgsrc/devel/binutils/patches/patch-ld_configure.tgt:1.7 pkgsrc/devel/binutils/patches/patch-ld_configure.tgt:1.8
--- pkgsrc/devel/binutils/patches/patch-ld_configure.tgt:1.7    Mon Jan 24 15:10:46 2022
+++ pkgsrc/devel/binutils/patches/patch-ld_configure.tgt        Thu Feb 10 14:03:07 2022
@@ -1,12 +1,12 @@
-$NetBSD: patch-ld_configure.tgt,v 1.7 2022/01/24 15:10:46 fcambus Exp $
+$NetBSD: patch-ld_configure.tgt,v 1.8 2022/02/10 14:03:07 fcambus Exp $
 
 NetBSD/aarch64 support patches for ld from src.
 
---- ld/configure.tgt.orig      2022-01-24 10:16:24.837151195 +0000
+--- ld/configure.tgt.orig      2022-01-22 14:19:36.000000000 +0000
 +++ ld/configure.tgt
-@@ -77,6 +77,12 @@ aarch64-*-linux*)   targ_emul=aarch64linux
-                       targ_extra_libpath="aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi"
-                       targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath"
+@@ -80,6 +80,12 @@ aarch64-*-linux*)   targ_emul=aarch64linux
+ aarch64-*-haiku*)     targ_emul=aarch64haiku
+                       targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb armelf_haiku $targ_extra_libpath"
                        ;;
 +aarch64_be-*-netbsd*) targ_emul=aarch64nbsdb
 +                      targ_extra_emuls="aarch64nbsd aarch64elfb aarch64elf armelfb_nbsd_eabihf armelf_nbsd_eabihf armelfb_nbsd_eabi armelf_nbsd_eabi armelfb_nbsd armelf_nbsd armelf armelfb"



Home | Main Index | Thread Index | Old Index