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:           Sun Dec  6 18:07:53 UTC 2020

Modified Files:
        pkgsrc/devel/binutils: Makefile PLIST.common distinfo
        pkgsrc/devel/binutils/patches: patch-bfd_cache.c patch-gold_Makefile.in
            patch-gold_options.h patch-gold_resolve.cc patch-gold_system.h
            patch-include_safe-ctype.h patch-libiberty_Makefile.in
Removed Files:
        pkgsrc/devel/binutils/patches: patch-binutils_Makefile.in
            patch-configure

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/devel/binutils/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/binutils/PLIST.common
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/binutils/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/binutils/patches/patch-bfd_cache.c \
    pkgsrc/devel/binutils/patches/patch-gold_Makefile.in \
    pkgsrc/devel/binutils/patches/patch-gold_system.h
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/devel/binutils/patches/patch-binutils_Makefile.in
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/binutils/patches/patch-configure
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/binutils/patches/patch-gold_options.h \
    pkgsrc/devel/binutils/patches/patch-libiberty_Makefile.in
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/binutils/patches/patch-gold_resolve.cc \
    pkgsrc/devel/binutils/patches/patch-include_safe-ctype.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.85 pkgsrc/devel/binutils/Makefile:1.86
--- pkgsrc/devel/binutils/Makefile:1.85 Thu Dec  3 19:52:06 2020
+++ pkgsrc/devel/binutils/Makefile      Sun Dec  6 18:07:53 2020
@@ -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

Index: pkgsrc/devel/binutils/PLIST.common
diff -u pkgsrc/devel/binutils/PLIST.common:1.31 pkgsrc/devel/binutils/PLIST.common:1.32
--- pkgsrc/devel/binutils/PLIST.common:1.31     Tue May  5 10:06:10 2020
+++ pkgsrc/devel/binutils/PLIST.common  Sun Dec  6 18:07:53 2020
@@ -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/readelf
 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/plugin-api.h
 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 @@ ${PLIST.gprof}share/locale/rw/LC_MESSAGE
 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

Index: pkgsrc/devel/binutils/distinfo
diff -u pkgsrc/devel/binutils/distinfo:1.33 pkgsrc/devel/binutils/distinfo:1.34
--- pkgsrc/devel/binutils/distinfo:1.33 Thu Dec  3 16:02:05 2020
+++ pkgsrc/devel/binutils/distinfo      Sun Dec  6 18:07:53 2020
@@ -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

Index: pkgsrc/devel/binutils/patches/patch-bfd_cache.c
diff -u pkgsrc/devel/binutils/patches/patch-bfd_cache.c:1.4 pkgsrc/devel/binutils/patches/patch-bfd_cache.c:1.5
--- pkgsrc/devel/binutils/patches/patch-bfd_cache.c:1.4 Sat Jan 30 22:15:11 2016
+++ pkgsrc/devel/binutils/patches/patch-bfd_cache.c     Sun Dec  6 18:07:53 2020
@@ -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
  
Index: pkgsrc/devel/binutils/patches/patch-gold_Makefile.in
diff -u pkgsrc/devel/binutils/patches/patch-gold_Makefile.in:1.4 pkgsrc/devel/binutils/patches/patch-gold_Makefile.in:1.5
--- pkgsrc/devel/binutils/patches/patch-gold_Makefile.in:1.4    Wed Feb  5 06:18:34 2020
+++ pkgsrc/devel/binutils/patches/patch-gold_Makefile.in        Sun Dec  6 18:07:53 2020
@@ -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
Index: pkgsrc/devel/binutils/patches/patch-gold_system.h
diff -u pkgsrc/devel/binutils/patches/patch-gold_system.h:1.4 pkgsrc/devel/binutils/patches/patch-gold_system.h:1.5
--- pkgsrc/devel/binutils/patches/patch-gold_system.h:1.4       Wed Feb  3 19:56:34 2016
+++ pkgsrc/devel/binutils/patches/patch-gold_system.h   Sun Dec  6 18:07:53 2020
@@ -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

Index: pkgsrc/devel/binutils/patches/patch-gold_options.h
diff -u pkgsrc/devel/binutils/patches/patch-gold_options.h:1.3 pkgsrc/devel/binutils/patches/patch-gold_options.h:1.4
--- pkgsrc/devel/binutils/patches/patch-gold_options.h:1.3      Wed Feb  5 06:18:34 2020
+++ pkgsrc/devel/binutils/patches/patch-gold_options.h  Sun Dec  6 18:07:53 2020
@@ -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 @@ $NetBSD: patch-gold_options.h,v 1.3 2020
              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.
Index: pkgsrc/devel/binutils/patches/patch-libiberty_Makefile.in
diff -u pkgsrc/devel/binutils/patches/patch-libiberty_Makefile.in:1.3 pkgsrc/devel/binutils/patches/patch-libiberty_Makefile.in:1.4
--- pkgsrc/devel/binutils/patches/patch-libiberty_Makefile.in:1.3       Wed Feb  3 19:56:34 2016
+++ pkgsrc/devel/binutils/patches/patch-libiberty_Makefile.in   Sun Dec  6 18:07:53 2020
@@ -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
+@@ -367,7 +367,6 @@ install-strip: install
  # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
  # default multilib, so we have to take CFLAGS into account as well,
  # since it will be passed the multilib flags.

Index: pkgsrc/devel/binutils/patches/patch-gold_resolve.cc
diff -u pkgsrc/devel/binutils/patches/patch-gold_resolve.cc:1.2 pkgsrc/devel/binutils/patches/patch-gold_resolve.cc:1.3
--- pkgsrc/devel/binutils/patches/patch-gold_resolve.cc:1.2     Sat Jan 30 22:15:11 2016
+++ pkgsrc/devel/binutils/patches/patch-gold_resolve.cc Sun Dec  6 18:07:53 2020
@@ -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 @@ $NetBSD: patch-gold_resolve.cc,v 1.2 201
 
  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
Index: pkgsrc/devel/binutils/patches/patch-include_safe-ctype.h
diff -u pkgsrc/devel/binutils/patches/patch-include_safe-ctype.h:1.2 pkgsrc/devel/binutils/patches/patch-include_safe-ctype.h:1.3
--- pkgsrc/devel/binutils/patches/patch-include_safe-ctype.h:1.2        Wed Feb  3 19:56:34 2016
+++ pkgsrc/devel/binutils/patches/patch-include_safe-ctype.h    Sun Dec  6 18:07:53 2020
@@ -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.  */



Home | Main Index | Thread Index | Old Index