pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/binutils binutils: update to 2.35.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/103470b14340
branches:  trunk
changeset: 443085:103470b14340
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Sun Dec 06 18:07:53 2020 +0000

description:
binutils: update to 2.35.1.

Looks OK to kamil@

Changes in 2.35:

* Changed readelf's display of symbol names when wide mode is not enabled.
  If the name is too long it will be truncated and the last five characters
  replaced with "[...]".  The old behaviour of displaying 5 more characters but
  not indicating that truncation has happened can be restored by the use of the
  -T or --silent-truncation options.

* X86 NaCl target support is removed.

* The readelf tool now has a -L or --lint or --enable-checks option which turns
  on warning messages about possible problems with the file(s) being examined.
  These checks include things like zero-sized sections, which are allowed by
  the ELF standard but which nevertheless might be of concern if the user
  was expecting them to actually contain something.

diffstat:

 devel/binutils/Makefile                            |   5 +-
 devel/binutils/PLIST.common                        |  34 +++++++++++++++++++++-
 devel/binutils/distinfo                            |  26 +++++++---------
 devel/binutils/patches/patch-bfd_cache.c           |   6 +-
 devel/binutils/patches/patch-binutils_Makefile.in  |  17 -----------
 devel/binutils/patches/patch-configure             |  15 ---------
 devel/binutils/patches/patch-gold_Makefile.in      |  22 +++++++++++---
 devel/binutils/patches/patch-gold_options.h        |   8 ++--
 devel/binutils/patches/patch-gold_resolve.cc       |   6 +-
 devel/binutils/patches/patch-gold_system.h         |   6 +-
 devel/binutils/patches/patch-include_safe-ctype.h  |   4 +-
 devel/binutils/patches/patch-libiberty_Makefile.in |   6 +-
 12 files changed, 82 insertions(+), 73 deletions(-)

diffs (truncated from 304 to 300 lines):

diff -r 6b56105d4bde -r 103470b14340 devel/binutils/Makefile
--- a/devel/binutils/Makefile   Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/Makefile   Sun Dec 06 18:07:53 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.85 2020/12/03 19:52:06 fcambus Exp $
+# $NetBSD: Makefile,v 1.86 2020/12/06 18:07:53 fcambus Exp $
 
-DISTNAME=      binutils-2.34
-PKGREVISION=   3
+DISTNAME=      binutils-2.35.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=binutils/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/PLIST.common
--- a/devel/binutils/PLIST.common       Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/PLIST.common       Sun Dec 06 18:07:53 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.31 2020/05/05 10:06:10 jperkin Exp $
+@comment $NetBSD: PLIST.common,v 1.32 2020/12/06 18:07:53 fcambus Exp $
 ${MACHINE_GNU_PLATFORM}/bin/ar
 ${MACHINE_GNU_PLATFORM}/bin/as
 ${MACHINE_GNU_PLATFORM}/bin/ld
@@ -46,9 +46,24 @@
 gnu/bin/size
 gnu/bin/strings
 gnu/bin/strip
+gnu/man/man1/addr2line.1
+gnu/man/man1/ar.1
 gnu/man/man1/as.1
+gnu/man/man1/c++filt.1
+gnu/man/man1/dlltool.1
+gnu/man/man1/elfedit.1
 ${PLIST.gprof}gnu/man/man1/gprof.1
 ${PLIST.ld}gnu/man/man1/ld.1
+gnu/man/man1/nm.1
+gnu/man/man1/objcopy.1
+gnu/man/man1/objdump.1
+gnu/man/man1/ranlib.1
+gnu/man/man1/readelf.1
+gnu/man/man1/size.1
+gnu/man/man1/strings.1
+gnu/man/man1/strip.1
+gnu/man/man1/windmc.1
+gnu/man/man1/windres.1
 include/ansidecl.h
 include/bfd.h
 include/bfd_stdint.h
@@ -61,15 +76,31 @@
 include/symcat.h
 info/as.info
 info/bfd.info
+info/binutils.info
 ${PLIST.gprof}info/gprof.info
 info/ld.info
 lib/libbfd.la
 ${PLIST.CTF}lib/libctf-nobfd.la
 ${PLIST.CTF}lib/libctf.la
 lib/libopcodes.la
+man/man1/gaddr2line.1
+man/man1/gar.1
 man/man1/gas.1
+man/man1/gc++filt.1
+man/man1/gdlltool.1
+man/man1/gelfedit.1
 ${PLIST.gprof}man/man1/ggprof.1
 man/man1/gld.1
+man/man1/gnm.1
+man/man1/gobjcopy.1
+man/man1/gobjdump.1
+man/man1/granlib.1
+man/man1/greadelf.1
+man/man1/gsize.1
+man/man1/gstrings.1
+man/man1/gstrip.1
+man/man1/gwindmc.1
+man/man1/gwindres.1
 share/locale/bg/LC_MESSAGES/binutils.mo
 ${PLIST.gprof}share/locale/bg/LC_MESSAGES/gprof.mo
 share/locale/bg/LC_MESSAGES/ld.mo
@@ -152,6 +183,7 @@
 share/locale/sk/LC_MESSAGES/binutils.mo
 share/locale/sr/LC_MESSAGES/bfd.mo
 share/locale/sr/LC_MESSAGES/binutils.mo
+${PLIST.gold}share/locale/sr/LC_MESSAGES/gold.mo
 ${PLIST.gprof}share/locale/sr/LC_MESSAGES/gprof.mo
 share/locale/sr/LC_MESSAGES/ld.mo
 share/locale/sr/LC_MESSAGES/opcodes.mo
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/distinfo
--- a/devel/binutils/distinfo   Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/distinfo   Sun Dec 06 18:07:53 2020 +0000
@@ -1,15 +1,13 @@
-$NetBSD: distinfo,v 1.33 2020/12/03 16:02:05 fcambus Exp $
+$NetBSD: distinfo,v 1.34 2020/12/06 18:07:53 fcambus Exp $
 
-SHA1 (binutils-2.34.tar.bz2) = 361566c9ab5e90bd847d06f46fb9f18ec6c3ecf0
-RMD160 (binutils-2.34.tar.bz2) = e99f517407503cec1042a2e824b7c1f8f0fca4b8
-SHA512 (binutils-2.34.tar.bz2) = f47e7304e102c7bbc97958a08093e27796b9051d1567ce4fbb723d39ef3e29efa325ee14a1bdcc462a925a7f9bbbc9aee28294c6dc23850f371030f3835a8067
-Size (binutils-2.34.tar.bz2) = 32430470 bytes
-SHA1 (patch-bfd_cache.c) = 20988e84ff2a1d7ff83b5adb04e4f117953205b8
-SHA1 (patch-binutils_Makefile.in) = a24f0e6a8df05f7241198793124a0eaf9fe676d2
-SHA1 (patch-configure) = 3e518bda9d3ef169f9ebd35061b1c6374f12b406
-SHA1 (patch-gold_Makefile.in) = be0ec82e1d16c6eae50153d339c8eb29aaca42d0
-SHA1 (patch-gold_options.h) = ea98204c747b2d568e0f5ab7f64cc77c4341a744
-SHA1 (patch-gold_resolve.cc) = d93ce96cf97289f8947707f4ff3f5a837d8cb4de
-SHA1 (patch-gold_system.h) = 9151878fe25dfee33f839cd63e465d30481dda7a
-SHA1 (patch-include_safe-ctype.h) = d0fcfb2830f0c90816f63906f618a1d6df010a9f
-SHA1 (patch-libiberty_Makefile.in) = 59c479e6fe491e17837d421f5b4b25a81dc5e7c9
+SHA1 (binutils-2.35.1.tar.bz2) = df4eb943bf65df4bbbd0a001efcc98113423c5dd
+RMD160 (binutils-2.35.1.tar.bz2) = ed8ad923db716388b83b0234d41abc6beb01c9d6
+SHA512 (binutils-2.35.1.tar.bz2) = 2828cca9664ae172d6be5f1869f4c7cd39b63a4340c9a5d7c18f30fa06d4ff391394704720872f32f786053f14b27dcafd63c46db7984a8f6ec822f266bb2541
+Size (binutils-2.35.1.tar.bz2) = 32892584 bytes
+SHA1 (patch-bfd_cache.c) = e2d96bad350552eacdffa83532f9dc9e15ee9be9
+SHA1 (patch-gold_Makefile.in) = e01d973f9625a1653851f796c123efec37102fbd
+SHA1 (patch-gold_options.h) = cdb27cb5c967a873535ce5c63026c6ace3538fd6
+SHA1 (patch-gold_resolve.cc) = ab64091fa2bd727993dd0428f117b658cd4dd3e3
+SHA1 (patch-gold_system.h) = 9b4130b5315763daa66e0a91a8be6d1df0d10344
+SHA1 (patch-include_safe-ctype.h) = 66e636f8200ff5e9b4bfa0a5aee13cd072a23887
+SHA1 (patch-libiberty_Makefile.in) = bca8d36e3813412d0c075eab4c194c0bc9f504f5
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/patches/patch-bfd_cache.c
--- a/devel/binutils/patches/patch-bfd_cache.c  Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/patches/patch-bfd_cache.c  Sun Dec 06 18:07:53 2020 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-bfd_cache.c,v 1.4 2016/01/30 22:15:11 ryoon Exp $
+$NetBSD: patch-bfd_cache.c,v 1.5 2020/12/06 18:07:53 fcambus Exp $
 
 Fix sign-compare on SunOS.
 Handle 256 file descriptor limit in 32-bit SunOS environment.
 
---- bfd/cache.c.orig   2016-01-25 08:51:06.000000000 +0000
+--- bfd/cache.c.orig   2020-07-24 09:12:19.000000000 +0000
 +++ bfd/cache.c
-@@ -50,6 +50,10 @@ SUBSECTION
+@@ -49,6 +49,10 @@ SUBSECTION
  #include <sys/mman.h>
  #endif
  
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/patches/patch-binutils_Makefile.in
--- a/devel/binutils/patches/patch-binutils_Makefile.in Sun Dec 06 17:42:28 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-binutils_Makefile.in,v 1.1 2020/05/05 10:06:10 jperkin Exp $
-
-binutils-2.34 shipped a broken tarball without pre-generated documentation,
-and we cannot depend on perl and gtexinfo to build it without serious circular
-dependency issues, so until a fixed tarball is released disable the docs.
-
---- binutils/Makefile.in.orig  2020-05-04 17:27:24.963978676 +0000
-+++ binutils/Makefile.in
-@@ -560,7 +560,7 @@ zlibdir = @zlibdir@
- zlibinc = @zlibinc@
- AUTOMAKE_OPTIONS = dejagnu no-dist foreign subdir-objects
- ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
--SUBDIRS = doc po
-+SUBDIRS = po
- tooldir = $(exec_prefix)/$(target_alias)
- 
- # Automake 1.10+ disables lex and yacc output file regeneration if
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/patches/patch-configure
--- a/devel/binutils/patches/patch-configure    Sun Dec 06 17:42:28 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-configure,v 1.2 2020/05/05 10:06:10 jperkin Exp $
-
-Remove etc
-
---- configure.orig     2020-01-18 14:01:13.000000000 +0000
-+++ configure
-@@ -2831,7 +2831,7 @@ host_libs="intl libiberty opcodes bfd re
- # binutils, gas and ld appear in that order because it makes sense to run
- # "make check" in that particular order.
- # If --enable-gold is used, "gold" may replace "ld".
--host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
-+host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
- 
- # these libraries are built for the target environment, and are built after
- # the host libraries and the host tools (which may be a cross compiler)
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/patches/patch-gold_Makefile.in
--- a/devel/binutils/patches/patch-gold_Makefile.in     Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/patches/patch-gold_Makefile.in     Sun Dec 06 18:07:53 2020 +0000
@@ -1,14 +1,26 @@
-$NetBSD: patch-gold_Makefile.in,v 1.4 2020/02/05 06:18:34 rillig Exp $
+$NetBSD: patch-gold_Makefile.in,v 1.5 2020/12/06 18:07:53 fcambus Exp $
 
  Don't bail out on the deprecation warnings for <ext/hash_map>
 
  Don't use hard-coded -ldl.
 
---- gold/Makefile.in.orig      2020-01-18 14:04:33.000000000 +0000
-+++ gold/Makefile.in   2020-02-05 05:05:43.822117256 +0000
-@@ -593,1 +593,1 @@
+--- gold/Makefile.in.orig      2020-07-24 09:23:45.000000000 +0000
++++ gold/Makefile.in
+@@ -590,7 +590,7 @@ USE_NLS = @USE_NLS@
+ VERSION = @VERSION@
+ WARN_CFLAGS = @WARN_CFLAGS@
+ WARN_CFLAGS_FOR_BUILD = @WARN_CFLAGS_FOR_BUILD@
 -WARN_CXXFLAGS = @WARN_CXXFLAGS@
 +WARN_CXXFLAGS = @WARN_CXXFLAGS@ -Wno-deprecated
-@@ -680,1 +680,1 @@
+ WARN_WRITE_STRINGS = @WARN_WRITE_STRINGS@
+ XGETTEXT = @XGETTEXT@
+ YACC = @YACC@
+@@ -677,7 +677,7 @@ AM_CPPFLAGS = \
+       -DTOOLLIBDIR="\"$(tooldir)/lib\"" @INCINTL@
+ 
+ LIBIBERTY = ../libiberty/libiberty.a
 -@PLUGINS_TRUE@LIBDL = @DLOPEN_LIBS@
 +@PLUGINS_TRUE@LIBDL = ${DL_LDFLAGS}
+ AM_YFLAGS = -d
+ 
+ # Automake 1.10+ disables lex and yacc output file regeneration if
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/patches/patch-gold_options.h
--- a/devel/binutils/patches/patch-gold_options.h       Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/patches/patch-gold_options.h       Sun Dec 06 18:07:53 2020 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-gold_options.h,v 1.3 2020/02/05 06:18:34 rillig Exp $
+$NetBSD: patch-gold_options.h,v 1.4 2020/12/06 18:07:53 fcambus Exp $
 
  The NetBSD and OpenBSD real-time linkers do not understand DT_RUNPATH
  or DT_INIT_ARRAY.  The current gold defaults are not suitable for them.
  The last couple of DragonFly and FreeBSD releases do support these tags.
 
---- gold/options.h.orig
+--- gold/options.h.orig        2020-07-24 09:12:20.000000000 +0000
 +++ gold/options.h
-@@ -772,7 +772,11 @@
+@@ -772,7 +772,11 @@ class General_options
              N_("Output cross reference table"),
              N_("Do not output cross reference table"));
  
@@ -18,7 +18,7 @@
              N_("Use DT_INIT_ARRAY for all constructors"),
              N_("Handle constructors as directed by compiler"));
  
-@@ -830,7 +834,11 @@
+@@ -834,7 +838,11 @@ class General_options
              N_("Do not create exception frame header"));
  
    // Alphabetized under 'e' because the option is spelled --enable-new-dtags.
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/patches/patch-gold_resolve.cc
--- a/devel/binutils/patches/patch-gold_resolve.cc      Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/patches/patch-gold_resolve.cc      Sun Dec 06 18:07:53 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-gold_resolve.cc,v 1.2 2016/01/30 22:15:11 ryoon Exp $
+$NetBSD: patch-gold_resolve.cc,v 1.3 2020/12/06 18:07:53 fcambus Exp $
 
  The gold linker is overly pedantic for dynamic references to symbols
  with hidden visibility.  It will spew error messages about weak symbols
@@ -8,9 +8,9 @@
 
  https://sourceware.org/bugzilla/show_bug.cgi?id=15574
 
---- gold/resolve.cc.orig       2015-11-13 08:27:42.000000000 +0000
+--- gold/resolve.cc.orig       2020-07-24 09:12:20.000000000 +0000
 +++ gold/resolve.cc
-@@ -284,8 +284,7 @@ Symbol_table::resolve(Sized_symbol<size>
+@@ -295,8 +295,7 @@ Symbol_table::resolve(Sized_symbol<size>
        to->set_in_reg();
      }
    else if (st_shndx == elfcpp::SHN_UNDEF
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/patches/patch-gold_system.h
--- a/devel/binutils/patches/patch-gold_system.h        Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/patches/patch-gold_system.h        Sun Dec 06 18:07:53 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-gold_system.h,v 1.4 2016/02/03 19:56:34 jperkin Exp $
+$NetBSD: patch-gold_system.h,v 1.5 2020/12/06 18:07:53 fcambus Exp $
 
---- gold/system.h.orig 2015-11-13 08:27:42.000000000 +0000
+--- gold/system.h.orig 2020-07-24 09:12:20.000000000 +0000
 +++ gold/system.h
-@@ -118,7 +118,7 @@ struct hash<std::string>
+@@ -124,7 +124,7 @@ struct hash<std::string>
  {
    size_t
    operator()(std::string s) const
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/patches/patch-include_safe-ctype.h
--- a/devel/binutils/patches/patch-include_safe-ctype.h Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/patches/patch-include_safe-ctype.h Sun Dec 06 18:07:53 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-include_safe-ctype.h,v 1.2 2016/02/03 19:56:34 jperkin Exp $
+$NetBSD: patch-include_safe-ctype.h,v 1.3 2020/12/06 18:07:53 fcambus Exp $
 
---- include/safe-ctype.h.orig  2015-11-13 08:27:42.000000000 +0000
+--- include/safe-ctype.h.orig  2020-07-24 09:12:20.000000000 +0000
 +++ include/safe-ctype.h
 @@ -120,6 +120,8 @@ extern const unsigned char  _sch_tolower
     So we include ctype.h here and then immediately redefine its macros.  */
diff -r 6b56105d4bde -r 103470b14340 devel/binutils/patches/patch-libiberty_Makefile.in
--- a/devel/binutils/patches/patch-libiberty_Makefile.in        Sun Dec 06 17:42:28 2020 +0000
+++ b/devel/binutils/patches/patch-libiberty_Makefile.in        Sun Dec 06 18:07:53 2020 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-libiberty_Makefile.in,v 1.3 2016/02/03 19:56:34 jperkin Exp $
+$NetBSD: patch-libiberty_Makefile.in,v 1.4 2020/12/06 18:07:53 fcambus Exp $
 
 Disable multilib.
 
---- libiberty/Makefile.in.orig 2015-11-13 08:27:42.000000000 +0000
+--- libiberty/Makefile.in.orig 2020-07-24 09:12:20.000000000 +0000
 +++ libiberty/Makefile.in
-@@ -364,7 +364,6 @@ install-strip: install



Home | Main Index | Thread Index | Old Index