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:           Sat Sep 11 15:54:39 UTC 2021

Modified Files:
        pkgsrc/devel/binutils: Makefile PLIST.common distinfo
        pkgsrc/devel/binutils/patches: patch-gold_options.h
Removed Files:
        pkgsrc/devel/binutils/patches: patch-binutils_objcopy.c

Log Message:
binutils: update to 2.37.

This release contains numerous bug fixes, and also the following
new features:

  * The GNU Binutils sources now requires a C99 compiler and library to
    build.

  * Support for the arm-symbianelf format has been removed.

  * Support for Realm Management Extension (RME) for AArch64 has been
    added.

  * A new linker option '-z report-relative-reloc' for x86 ELF targets
    has been added to report dynamic relative relocations.

  * A new linker option '-z start-stop-gc' has been added to disable
    special treatment of __start_*/__stop_* references when
    --gc-sections.

  * A new linker options '-Bno-symbolic' has been added which will
    cancel the '-Bsymbolic' and '-Bsymbolic-functions' options.

  * The readelf tool has a new command line option which can be used to
    specify how the numeric values of symbols are reported.
    --sym-base=0|8|10|16 tells readelf to display the values in base 8,
    base 10 or base 16.  A sym base of 0 represents the default action
    of displaying values under 10000 in base 10 and values above that in
    base 16.

  * A new format has been added to the nm program.  Specifying
    '--format=just-symbols' (or just using -j) will tell the program to
    only display symbol names and nothing else.

  * A new command line option '--keep-section-symbols' has been added to
    objcopy and strip.  This stops the removal of unused section symbols
    when the file is copied.  Removing these symbols saves space, but
    sometimes they are needed by other tools.

  * The '--weaken', '--weaken-symbol' and '--weaken-symbols' options
    supported by objcopy now make undefined symbols weak on targets that
    support weak symbols.

  * Readelf and objdump can now display and use the contents of .debug_sup
    sections.

  * Readelf and objdump will now follow links to separate debug info
    files by default.  This behaviour can be stopped via the use of the
    new '-wN' or '--debug-dump=no-follow-links' options for readelf and
    the '-WN' or '--dwarf=no-follow-links' options for objdump.  Also
    the old behaviour can be restored by the use of the
    '--enable-follow-debug-links=no' configure time option.

    The semantics of the =follow-links option have also been slightly
    changed.  When enabled, the option allows for the loading of symbol
    tables and string tables from the separate files which can be used
    to enhance the information displayed when dumping other sections,
    but it does not automatically imply that information from the
    separate files should be displayed.

    If other debug section display options are also enabled (eg
    '--debug-dump=info') then the contents of matching sections in both
    the main file and the separate debuginfo file *will* be displayed.
    This is because in most cases the debug section will only be present
    in one of the files.

    If however non-debug section display options are enabled (eg
    '--sections') then the contents of matching parts of the separate
    debuginfo file will *not* be displayed.  This is because in most
    cases the user probably only wanted to load the symbol information
    from the separate debuginfo file.  In order to change this behaviour
    a new command line option --process-links can be used.  This will
    allow di0pslay options to applied to both the main file and any
    separate debuginfo files.

  * Nm has a new command line option: '--quiet'.  This suppresses "no
    symbols" diagnostic.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 pkgsrc/devel/binutils/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/binutils/PLIST.common
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/binutils/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/binutils/patches/patch-binutils_objcopy.c
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/binutils/patches/patch-gold_options.h

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.99 pkgsrc/devel/binutils/Makefile:1.100
--- pkgsrc/devel/binutils/Makefile:1.99 Mon May 24 19:49:53 2021
+++ pkgsrc/devel/binutils/Makefile      Sat Sep 11 15:54:39 2021
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.99 2021/05/24 19:49:53 wiz Exp $
+# $NetBSD: Makefile,v 1.100 2021/09/11 15:54:39 fcambus Exp $
 
-DISTNAME=      binutils-2.36.1
-PKGREVISION=   1
+DISTNAME=      binutils-2.37
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=binutils/}
 EXTRACT_SUFX=  .tar.bz2
@@ -16,7 +15,7 @@ CONFLICTS=    avr-binutils<2.13.2.1nb1
 USE_PKGLOCALEDIR=              yes
 REPLACE_LOCALEDIR_PATTERNS+=   Make-in
 
-USE_LANGUAGES=         c c++
+USE_LANGUAGES=         c99 c++
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake
 

Index: pkgsrc/devel/binutils/PLIST.common
diff -u pkgsrc/devel/binutils/PLIST.common:1.36 pkgsrc/devel/binutils/PLIST.common:1.37
--- pkgsrc/devel/binutils/PLIST.common:1.36     Fri Jan 29 13:10:34 2021
+++ pkgsrc/devel/binutils/PLIST.common  Sat Sep 11 15:54:39 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.36 2021/01/29 13:10:34 jperkin Exp $
+@comment $NetBSD: PLIST.common,v 1.37 2021/09/11 15:54:39 fcambus Exp $
 ${MACHINE_GNU_PLATFORM}/bin/ar
 ${PLIST.gas}${MACHINE_GNU_PLATFORM}/bin/as
 ${PLIST.gld}${MACHINE_GNU_PLATFORM}/bin/ld
@@ -66,7 +66,6 @@ gnu/man/man1/windmc.1
 gnu/man/man1/windres.1
 include/ansidecl.h
 include/bfd.h
-include/bfd_stdint.h
 include/bfdlink.h
 ${PLIST.ctf}include/ctf-api.h
 ${PLIST.ctf}include/ctf.h

Index: pkgsrc/devel/binutils/distinfo
diff -u pkgsrc/devel/binutils/distinfo:1.41 pkgsrc/devel/binutils/distinfo:1.42
--- pkgsrc/devel/binutils/distinfo:1.41 Thu Feb 11 09:26:51 2021
+++ pkgsrc/devel/binutils/distinfo      Sat Sep 11 15:54:39 2021
@@ -1,13 +1,12 @@
-$NetBSD: distinfo,v 1.41 2021/02/11 09:26:51 fcambus Exp $
+$NetBSD: distinfo,v 1.42 2021/09/11 15:54:39 fcambus Exp $
 
-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 (binutils-2.37.tar.bz2) = 4ea805f2e158903bfc1b07228f4ef26c0dbaf770
+RMD160 (binutils-2.37.tar.bz2) = 7d841e56e60a72723ea328fac3f15a8bf1598b98
+SHA512 (binutils-2.37.tar.bz2) = b3f5184697f77e94c95d48f6879de214eb5e17aa6ef8e96f65530d157e515b1ae2f290e98453e4ff126462520fa0f63852b6e1c8fbb397ed2e41984336bc78c6
+Size (binutils-2.37.tar.bz2) = 33888611 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_options.h) = 03816bbf157d781820d96a4d3af0885dc2bbbaa9
 SHA1 (patch-gold_system.h) = 9b4130b5315763daa66e0a91a8be6d1df0d10344
 SHA1 (patch-gold_testsuite_Makefile.in) = 24ede750675829281436d728d77073638f58d6b9
 SHA1 (patch-include_safe-ctype.h) = 66e636f8200ff5e9b4bfa0a5aee13cd072a23887

Index: pkgsrc/devel/binutils/patches/patch-gold_options.h
diff -u pkgsrc/devel/binutils/patches/patch-gold_options.h:1.5 pkgsrc/devel/binutils/patches/patch-gold_options.h:1.6
--- pkgsrc/devel/binutils/patches/patch-gold_options.h:1.5      Sun Dec 20 19:07:05 2020
+++ pkgsrc/devel/binutils/patches/patch-gold_options.h  Sat Sep 11 15:54:39 2021
@@ -1,13 +1,13 @@
-$NetBSD: patch-gold_options.h,v 1.5 2020/12/20 19:07:05 fcambus Exp $
+$NetBSD: patch-gold_options.h,v 1.6 2021/09/11 15:54:39 fcambus Exp $
 
  The NetBSD real-time linker do not understand DT_RUNPATH or
  DT_INIT_ARRAY.  The current gold defaults are not suitable for it.
  The last couple of DragonFly, FreeBSD, and OpenBSD releases do
  support these tags.
 
---- gold/options.h.orig        2020-07-24 09:12:20.000000000 +0000
+--- gold/options.h.orig        2021-07-08 11:37:20.000000000 +0000
 +++ gold/options.h
-@@ -772,7 +772,11 @@ class General_options
+@@ -781,7 +781,11 @@ class General_options
              N_("Output cross reference table"),
              N_("Do not output cross reference table"));
  
@@ -19,7 +19,7 @@ $NetBSD: patch-gold_options.h,v 1.5 2020
              N_("Use DT_INIT_ARRAY for all constructors"),
              N_("Handle constructors as directed by compiler"));
  
-@@ -834,7 +838,11 @@ class General_options
+@@ -843,7 +847,11 @@ class General_options
              N_("Do not create exception frame header"));
  
    // Alphabetized under 'e' because the option is spelled --enable-new-dtags.



Home | Main Index | Thread Index | Old Index