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:   rillig
Date:           Wed Feb  5 06:18:34 UTC 2020

Modified Files:
        pkgsrc/devel/binutils: Makefile PLIST.common distinfo
        pkgsrc/devel/binutils/patches: patch-bfd_config.bfd patch-configure.ac
            patch-gas_configure.tgt patch-gold_Makefile.in patch-gold_options.h
            patch-ld_configure.tgt
Added Files:
        pkgsrc/devel/binutils/patches: patch-configure
Removed Files:
        pkgsrc/devel/binutils/patches: patch-aa patch-bfd_elf32-arm.c

Log Message:
devel/binutils: update to 2.34

pkgsrc changes:

MAKE_JOBS_SAFE=no has been removed since binutils built fine with
MAKE_JOBS=3 on NetBSD-8.0-x86_64.

In some of the patches, all context lines have been removed since the raw
change is expressive enough without any context.

The patch for popcount is no longer necessary since the function has been
renamed in bfd.

upstream changes since 2.26:

Changes in 2.34:

* Binutils now supports debuginfod, an HTTP server for distributing
  ELF/DWARF debugging information as well as source code. When built with
  debuginfod, readelf and objdump can automatically query debuginfod
  servers for separate debug files when they otherwise cannot be found.
  To build binutils with debuginfod, pass --with-debuginfod to configure.
  This requires libdebuginfod, the debuginfod client library. debuginfod
  is distributed with elfutils, starting with version 0.178. For more
  information see https://sourceware.org/elfutils.

* Add --output option to the "ar" program.  This option can be used to specify
  the output directory when extracting members from an archive.

* Add --keep-section option to objcopy and strip.  This option keeps the
  specified section from being removed.

 * Add visualization of jumps inside a function by drawing an ascii character
   graph between the address and the disassembler column.  Enabled via the
   --visualize-jumps command line option for objdump.  Currently supported by
   the x86, x86_64, and ARM targets.  The output looks something like this:

  c6:   |  |     \----------> be 00 00 00 00            mov    $0x0,%esi
  cb:   |  |           /----> 48 8b 3d 00 00 00 00      mov    0x0(%rip),%rdi        # d2 <main+0xd2>
  d2:   |  |           |      31 c0                     xor    %eax,%eax
  d4:   |  |           |  /-- e8 00 00 00 00            callq  d9 <main+0xd9>
  d9:   |  |           |  \-> bf 02 00 00 00            mov    $0x2,%edi
  de:   |  +-----------|----- e8 00 00 00 00            callq  e3 <main+0xe3>
  e3:   |  \-----------|----> 48 89 da                  mov    %rbx,%rdx
  e6:   |              |      be 00 00 00 00            mov    $0x0,%esi
  eb:   |              \----- eb de                     jmp    cb <main+0xcb>
  ed:   \-------------------> 48 8b 16                  mov    (%rsi),%rdx

  Additional arguments to the --visualize-jumps option add colors to the
  output.

Changes in 2.33:

* Add --source-comment[=<txt>] option to objdump which if present,
  provides a prefix to source code lines displayed in a disassembly.

* Add --set-section-alignment <section-name>=<align> option to objcopy to allow
  the changing of section alignments.

* Add --verilog-data-width option to objcopy for verilog targets to control
  width of data elements in verilog hex format.

* Add support for the Armv8.1-M Mainline and M-profile Vector Extension (MVE)
  instructions.

* The separate debug info file options of readelf (--debug-dump=links
  and --debug-dump=follow) and objdump (--dwarf=links and
  --dwarf=follow-links) will now display and/or follow multiple links if
  more than one are present in a file.  (This usually happens when gcc's
  -gsplit-dwarf option is used).

  In addition objdump's --dwarf=follow-links now also affects its other
  display options, so that for example, when combined with --syms it will
  cause the symbol tables in any linked debug info files to also be
  displayed.  In addition when combined with --disassemble the --dwarf=
  follow-links option will ensure that any symbol tables in the linked
  files are read and used when disassembling code in the main file.

 * Add support for dumping types encoded in the Compact Type Format
   to objdump and readelf.

Changes in 2.32:

* The addr2line, c++filt, nm and objdump tools now have a limit on the
  maximum amount of recursion that is allowed whilst demangling strings.
  The value for this limit is defined by the DEMANGLE_RECRUSE_LIMIT
  constant declared in the include/demangle.h header file.  At the time
  of writing this constant has the value of 2048.

  The --no-recurse-limit option can be used to remove the limit, restoring
  the behaviour of earlier versions of these tools.  This may be needed in
  order to dmangle truly complicated names, but it also leaves the tools
  vulnerable to stack exhaustion from maliciously constructed mangled names.

* Objdump's --disassemble option can now take a parameter, specifying the
  starting symbol for disassembly.  Disassembly will continue from this
  symbol up to the next symbol or the end of the function.

* The MIPS port now supports the Loongson 2K1000 processor which implements
  the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE, Loongson-ext ASE,
  Loongson-ext2 ASE and MSA ASE instructions. Add -march=gs264e option for
  Loongson 2K1000 processor.

* The MIPS port now supports the Loongson 3A2000/3A3000 processor which
  implements the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE,
  Loongson-ext ASE and Loongson-ext2 ASE instructions. Add -march=gs464e
  option for Loongson 3A2000/3A3000 processor.

* The MIPS port now supports the Loongson 3A1000 processor, aka Loongson3a,
  which implements the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE
  and Loongson-ext ASE instructions. Add -march=gs464 option for Loongson
  3A1000 processor, The -march=loongson3a is an alias of -march=gs464 for
  compatibility.

* The size tool now has a new output format '--format=GNU' or '-G'.  The
  results are displayed in a similar manor to the default berkeley layout,
  except read-only data is counted in the data column, not the text column.
  Additionally the total is only included once.

Changes in 2.31:

* Add support for disassembling netronome Flow Processor (NFP) firmware files.

* The AArch64 port now supports showing disassembly notes which are emitted
  when inconsistencies are found with the instruction that may result in the
  instruction being invalid.  These can be turned on with the option -M notes
  to objdump.

* The AArch64 port now emits warnings when a combination of an instruction and
  a named register could be invalid.

* Added O modifier to ar to display member offsets inside an archive

Changes in 2.30:

* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
  which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
  sections.

  Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
  option to objdump which causes indirect links into separate debug info files
  to be followed when dumping other DWARF sections.

Changes in 2.29:

* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
  instructions for assembly and disassembly.

* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
  disassembly.

* The MIPS port now supports the Imagination interAptiv MR2 processor,
  which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
  of implementation-specific regular MIPS and MIPS16e2 ASE instructions.

* The SPARC port now supports the SPARC M8 processor, which implements the
  Oracle SPARC Architecture 2017.

* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.

* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.

* Add support for the wasm32 ELF conversion of the WebAssembly file format.

* Add --inlines option to objdump, which extends the --line-numbers option
  so that inlined functions will display their nesting information.

* Add --merge-notes options to objcopy to reduce the size of notes in
  a binary file by merging and deleting redundant notes.

* Add support for locating separate debug info files using the build-id
  method, where the separate file has a name based upon the build-id of
  the original file.

Changes in 2.28:

* This version of binutils fixes a problem with PowerPC VLE 16A and 16D
  relocations which were functionally swapped, for example,
  R_PPC_VLE_HA16A performed like R_PPC_VLE_HA16D while R_PPC_VLE_HA16D
  performed like R_PPC_VLE_HA16A.  This could have been fixed by
  renumbering relocations, which would keep object files created by an
  older version of gas compatible with a newer ld.  However, that would
  require an ABI update, affecting other assemblers and linkers that
  create and process the relocations correctly.  It is recommended that
  all VLE object files be recompiled, but ld can modify the relocations
  if --vle-reloc-fixup is passed to ld.  If the new ld command-line
  option is not used, ld will ld warn on finding relocations inconsistent
  with the instructions being relocated.

* The nm program has a new command-line option (--with-version-strings)
  which will display a symbol's version information, if any, after the
  symbol's name.

* The ARC port of objdump now accepts a -M option to specify the extra
  instruction class(es) that should be disassembled.

* The --remove-section option for objcopy and strip now accepts section
  patterns starting with an exclamation point to indicate a non-matching
  section.  A non-matching section is removed from the set of sections
  matched by an earlier --remove-section pattern.

* The --only-section option for objcopy now accepts section patterns
  starting with an exclamation point to indicate a non-matching section.
  A non-matching section is removed from the set of sections matched by
  an earlier --only-section pattern.

* New --remove-relocations=SECTIONPATTERN option for objcopy and strip.
  This option can be used to remove sections containing relocations.
  The SECTIONPATTERN is the section to which the relocations apply, not
  the relocation section itself.

Changes in 2.27:

* Add a configure option, --enable-64-bit-archive, to force use of a
  64-bit format when creating an archive symbol index.

* Add --elf-stt-common= option to objcopy for ELF targets to control
  whether to convert common symbols to the STT_COMMON type.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 pkgsrc/devel/binutils/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/binutils/PLIST.common
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/binutils/distinfo
cvs rdiff -u -r1.6 -r0 pkgsrc/devel/binutils/patches/patch-aa
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/binutils/patches/patch-bfd_config.bfd \
    pkgsrc/devel/binutils/patches/patch-configure.ac \
    pkgsrc/devel/binutils/patches/patch-gas_configure.tgt \
    pkgsrc/devel/binutils/patches/patch-gold_options.h
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/binutils/patches/patch-bfd_elf32-arm.c
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/binutils/patches/patch-configure
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/binutils/patches/patch-gold_Makefile.in
cvs rdiff -u -r1.4 -r1.5 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.78 pkgsrc/devel/binutils/Makefile:1.79
--- pkgsrc/devel/binutils/Makefile:1.78 Sun Nov  3 10:39:06 2019
+++ pkgsrc/devel/binutils/Makefile      Wed Feb  5 06:18:34 2020
@@ -1,18 +1,14 @@
-# $NetBSD: Makefile,v 1.78 2019/11/03 10:39:06 rillig Exp $
+# $NetBSD: Makefile,v 1.79 2020/02/05 06:18:34 rillig Exp $
 
-DISTNAME=      binutils-2.26.1
-PKGREVISION=   1
+DISTNAME=      binutils-2.34
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=binutils/}
+EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.gnu.org/software/binutils/
 COMMENT=       GNU binary utilities
 LICENSE=       gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
-EXTRACT_SUFX=  .tar.bz2
-
-# bfd.h used without depending on it
-MAKE_JOBS_SAFE=        no
 
 CONFLICTS=     avr-binutils<2.13.2.1nb1
 
@@ -21,7 +17,7 @@ REPLACE_LOCALEDIR_PATTERNS+=  Make-in
 
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
-USE_TOOLS+=            gmake
+USE_TOOLS+=            gmake makeinfo
 
 # PR pkg/48504, ksh is sufficient for NetBSD 5.2 and NetBSD 6.1
 .include "../../mk/bsd.prefs.mk"
@@ -32,6 +28,7 @@ CONFIG_SHELL=         ksh
 .endif
 
 GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no
 # Standard lib dirs on RHEL are named *lib64
 LIB_PATH=              /lib:/usr/lib
 .if exists(/usr/lib64)
@@ -59,12 +56,10 @@ PLIST_VARS+=        gprof ld gold SunOS
 
 .if ${OPSYS} != "IRIX" && ${OPSYS} != "AIX"
 PLIST.gprof=   yes
-EXTRA_FILES+=  gprof
 .endif
 
 .if ${OPSYS} != SunOS
 PLIST.ld=      yes
-EXTRA_FILES+=  ld
 .endif
 
 .if ${OPSYS} == SunOS
@@ -78,7 +73,6 @@ PLIST.SunOS=  yes
 BUILD_GOLD=            yes
 PLIST.gold=            yes
 USE_TOOLS+=            bison
-EXTRA_FILES+=          dwp ld.gold
 CONFIGURE_ARGS+=       --enable-gold --enable-plugins
 .endif
 
@@ -107,7 +101,7 @@ post-configure:
        fi
 .endfor
 
-SYMLINK_FILES =        addr2line ar as c++filt dlltool elfedit ld.bfd          \
+SYMLINK_FILES= addr2line ar as c++filt dlltool elfedit ld.bfd          \
                nlmconv nm objcopy objdump ranlib readelf size strings  \
                strip windmc windres
 .if defined(PLIST.gprof)

Index: pkgsrc/devel/binutils/PLIST.common
diff -u pkgsrc/devel/binutils/PLIST.common:1.28 pkgsrc/devel/binutils/PLIST.common:1.29
--- pkgsrc/devel/binutils/PLIST.common:1.28     Mon Jan  1 22:29:23 2018
+++ pkgsrc/devel/binutils/PLIST.common  Wed Feb  5 06:18:34 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.28 2018/01/01 22:29:23 rillig Exp $
+@comment $NetBSD: PLIST.common,v 1.29 2020/02/05 06:18:34 rillig Exp $
 ${MACHINE_GNU_PLATFORM}/bin/ar
 ${MACHINE_GNU_PLATFORM}/bin/as
 ${MACHINE_GNU_PLATFORM}/bin/ld
@@ -10,20 +10,19 @@ ${MACHINE_GNU_PLATFORM}/bin/objdump
 ${MACHINE_GNU_PLATFORM}/bin/ranlib
 ${MACHINE_GNU_PLATFORM}/bin/readelf
 ${MACHINE_GNU_PLATFORM}/bin/strip
-${PLIST.gold}bin/gdwp
 bin/gaddr2line
 bin/gar
 bin/gas
 bin/gc++filt
-${PLIST.gprof}bin/ggprof
+${PLIST.gold}bin/gdwp
 bin/gelfedit
+${PLIST.gprof}bin/ggprof
 bin/gld
 bin/gld.bfd
 ${PLIST.gold}bin/gld.gold
 bin/gnm
 bin/gobjcopy
 bin/gobjdump
-${PLIST.gprof}gnu/bin/gprof
 bin/granlib
 bin/greadelf
 bin/gsize
@@ -35,6 +34,7 @@ gnu/bin/as
 gnu/bin/c++filt
 ${PLIST.gold}gnu/bin/dwp
 gnu/bin/elfedit
+${PLIST.gprof}gnu/bin/gprof
 ${PLIST.ld}gnu/bin/ld
 gnu/bin/ld.bfd
 ${PLIST.gold}gnu/bin/ld.gold
@@ -51,10 +51,9 @@ 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/elfedit.1
-gnu/man/man1/nlmconv.1
 gnu/man/man1/nm.1
 gnu/man/man1/objcopy.1
 gnu/man/man1/objdump.1
@@ -67,7 +66,11 @@ gnu/man/man1/windmc.1
 gnu/man/man1/windres.1
 include/ansidecl.h
 include/bfd.h
+include/bfd_stdint.h
 include/bfdlink.h
+include/ctf-api.h
+include/ctf.h
+include/diagnostics.h
 include/dis-asm.h
 include/plugin-api.h
 include/symcat.h
@@ -77,16 +80,17 @@ info/binutils.info
 ${PLIST.gprof}info/gprof.info
 info/ld.info
 lib/libbfd.la
+lib/libctf-nobfd.la
+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/gelfedit.1
-man/man1/gnlmconv.1
 man/man1/gnm.1
 man/man1/gobjcopy.1
 man/man1/gobjdump.1
@@ -107,6 +111,7 @@ ${PLIST.gprof}share/locale/da/LC_MESSAGE
 share/locale/da/LC_MESSAGES/ld.mo
 share/locale/da/LC_MESSAGES/opcodes.mo
 ${PLIST.gprof}share/locale/de/LC_MESSAGES/gprof.mo
+share/locale/de/LC_MESSAGES/ld.mo
 share/locale/de/LC_MESSAGES/opcodes.mo
 ${PLIST.gprof}share/locale/eo/LC_MESSAGES/gprof.mo
 share/locale/es/LC_MESSAGES/bfd.mo
@@ -133,29 +138,34 @@ share/locale/fr/LC_MESSAGES/opcodes.mo
 ${PLIST.gprof}share/locale/ga/LC_MESSAGES/gprof.mo
 share/locale/ga/LC_MESSAGES/ld.mo
 share/locale/ga/LC_MESSAGES/opcodes.mo
+share/locale/hr/LC_MESSAGES/bfd.mo
 share/locale/hr/LC_MESSAGES/binutils.mo
 ${PLIST.gprof}share/locale/hu/LC_MESSAGES/gprof.mo
-${PLIST.gprof}share/locale/id/LC_MESSAGES/gprof.mo
 share/locale/id/LC_MESSAGES/bfd.mo
 share/locale/id/LC_MESSAGES/binutils.mo
 share/locale/id/LC_MESSAGES/gas.mo
 ${PLIST.gold}share/locale/id/LC_MESSAGES/gold.mo
+${PLIST.gprof}share/locale/id/LC_MESSAGES/gprof.mo
 share/locale/id/LC_MESSAGES/ld.mo
 share/locale/id/LC_MESSAGES/opcodes.mo
 share/locale/it/LC_MESSAGES/binutils.mo
+${PLIST.gold}share/locale/it/LC_MESSAGES/gold.mo
 ${PLIST.gprof}share/locale/it/LC_MESSAGES/gprof.mo
 share/locale/it/LC_MESSAGES/ld.mo
 share/locale/it/LC_MESSAGES/opcodes.mo
 share/locale/ja/LC_MESSAGES/bfd.mo
 share/locale/ja/LC_MESSAGES/binutils.mo
 share/locale/ja/LC_MESSAGES/gas.mo
-${PLIST.gold}share/locale/it/LC_MESSAGES/gold.mo
+${PLIST.gold}share/locale/ja/LC_MESSAGES/gold.mo
 ${PLIST.gprof}share/locale/ja/LC_MESSAGES/gprof.mo
 share/locale/ja/LC_MESSAGES/ld.mo
 ${PLIST.gprof}share/locale/ms/LC_MESSAGES/gprof.mo
 ${PLIST.gprof}share/locale/nl/LC_MESSAGES/gprof.mo
 share/locale/nl/LC_MESSAGES/opcodes.mo
+share/locale/pt/LC_MESSAGES/bfd.mo
+share/locale/pt/LC_MESSAGES/binutils.mo
 ${PLIST.gprof}share/locale/pt_BR/LC_MESSAGES/gprof.mo
+share/locale/pt_BR/LC_MESSAGES/ld.mo
 share/locale/pt_BR/LC_MESSAGES/opcodes.mo
 share/locale/ro/LC_MESSAGES/bfd.mo
 share/locale/ro/LC_MESSAGES/binutils.mo
@@ -165,15 +175,21 @@ share/locale/ru/LC_MESSAGES/bfd.mo
 share/locale/ru/LC_MESSAGES/binutils.mo
 share/locale/ru/LC_MESSAGES/gas.mo
 ${PLIST.gprof}share/locale/ru/LC_MESSAGES/gprof.mo
+share/locale/ru/LC_MESSAGES/ld.mo
 share/locale/rw/LC_MESSAGES/bfd.mo
 share/locale/rw/LC_MESSAGES/binutils.mo
 share/locale/rw/LC_MESSAGES/gas.mo
 ${PLIST.gprof}share/locale/rw/LC_MESSAGES/gprof.mo
 share/locale/sk/LC_MESSAGES/binutils.mo
-${PLIST.gprof}share/locale/sr/LC_MESSAGES/gprof.mo
+share/locale/sr/LC_MESSAGES/bfd.mo
 share/locale/sr/LC_MESSAGES/binutils.mo
+${PLIST.gprof}share/locale/sr/LC_MESSAGES/gprof.mo
+share/locale/sr/LC_MESSAGES/ld.mo
+share/locale/sr/LC_MESSAGES/opcodes.mo
 share/locale/sv/LC_MESSAGES/bfd.mo
 share/locale/sv/LC_MESSAGES/binutils.mo
+share/locale/sv/LC_MESSAGES/gas.mo
+${PLIST.gold}share/locale/sv/LC_MESSAGES/gold.mo
 ${PLIST.gprof}share/locale/sv/LC_MESSAGES/gprof.mo
 share/locale/sv/LC_MESSAGES/ld.mo
 share/locale/sv/LC_MESSAGES/opcodes.mo
@@ -185,13 +201,15 @@ share/locale/tr/LC_MESSAGES/ld.mo
 share/locale/tr/LC_MESSAGES/opcodes.mo
 share/locale/uk/LC_MESSAGES/bfd.mo
 share/locale/uk/LC_MESSAGES/binutils.mo
-${PLIST.gprof}share/locale/uk/LC_MESSAGES/gprof.mo
 share/locale/uk/LC_MESSAGES/gas.mo
+${PLIST.gold}share/locale/uk/LC_MESSAGES/gold.mo
+${PLIST.gprof}share/locale/uk/LC_MESSAGES/gprof.mo
 share/locale/uk/LC_MESSAGES/ld.mo
 share/locale/uk/LC_MESSAGES/opcodes.mo
 share/locale/vi/LC_MESSAGES/bfd.mo
 share/locale/vi/LC_MESSAGES/binutils.mo
 ${PLIST.gold}share/locale/vi/LC_MESSAGES/gold.mo
+${PLIST.gprof}share/locale/vi/LC_MESSAGES/gprof.mo
 share/locale/vi/LC_MESSAGES/ld.mo
 share/locale/vi/LC_MESSAGES/opcodes.mo
 share/locale/zh_CN/LC_MESSAGES/bfd.mo
@@ -200,6 +218,5 @@ share/locale/zh_CN/LC_MESSAGES/gas.mo
 ${PLIST.gold}share/locale/zh_CN/LC_MESSAGES/gold.mo
 share/locale/zh_CN/LC_MESSAGES/ld.mo
 share/locale/zh_CN/LC_MESSAGES/opcodes.mo
-${PLIST.gprof}share/locale/vi/LC_MESSAGES/gprof.mo
 share/locale/zh_TW/LC_MESSAGES/binutils.mo
 share/locale/zh_TW/LC_MESSAGES/ld.mo

Index: pkgsrc/devel/binutils/distinfo
diff -u pkgsrc/devel/binutils/distinfo:1.30 pkgsrc/devel/binutils/distinfo:1.31
--- pkgsrc/devel/binutils/distinfo:1.30 Mon Aug 15 19:29:13 2016
+++ pkgsrc/devel/binutils/distinfo      Wed Feb  5 06:18:34 2020
@@ -1,21 +1,20 @@
-$NetBSD: distinfo,v 1.30 2016/08/15 19:29:13 ryoon Exp $
+$NetBSD: distinfo,v 1.31 2020/02/05 06:18:34 rillig Exp $
 
-SHA1 (binutils-2.26.1.tar.bz2) = 624cd377e3a8eef3db83a56ce289a60f556b3ec2
-RMD160 (binutils-2.26.1.tar.bz2) = a4933fbd12056edc1933d3a5379cd7a2cffef185
-SHA512 (binutils-2.26.1.tar.bz2) = 9d9165609fd3b0f20d616f9891fc8e2b466eb13e2bfce40125e12427f8f201d20e2b8322bb6cb2b45e8df812f0e8ac059149f8a1f69ba3ed9d86a35c6a540b67
-Size (binutils-2.26.1.tar.bz2) = 25595243 bytes
-SHA1 (patch-aa) = e748bbffa21146cf5c0c50c912f1d84c411fd55c
+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-bfd_config.bfd) = 2ca06a7755dffd88344df72206917befff12ae91
+SHA1 (patch-bfd_config.bfd) = 4525214f9e7debd5cccaf1af55d04c1a5ff7a42d
 SHA1 (patch-bfd_configure) = 37777852c63bb5b13c76f4085f1e43d50ce88920
 SHA1 (patch-bfd_configure.ac) = 742e4c118f6a00b646799862172ffa70a867cf0f
-SHA1 (patch-bfd_elf32-arm.c) = 8d90dd77cb4925db71def94d2d32cbe3e1cfb69e
-SHA1 (patch-configure.ac) = 1524f06882f41012ef2bbf960739a4f1f03659c4
-SHA1 (patch-gas_configure.tgt) = 056713626741047d7aba48fe29c471e294a0446d
-SHA1 (patch-gold_Makefile.in) = aef43853a28450c496cc39a70d18f4cb1911ee3d
-SHA1 (patch-gold_options.h) = 71b28e8090df0a431354cc47b2897979773b8bd6
+SHA1 (patch-configure) = 0adf4ebf23385ca67b32655d23dd21204d2a4618
+SHA1 (patch-configure.ac) = b2cb10dafcabf0b743ae0c241fed2f226bc759ab
+SHA1 (patch-gas_configure.tgt) = 3a3a6fde98a457c76b70e74842ce952b0046eeda
+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-ld_configure.tgt) = 06ac3cbb3c397123a6a4a3fdb19828f074282c60
+SHA1 (patch-ld_configure.tgt) = 3b07ceb304c65f26b02af7385c68f8bd518b6647
 SHA1 (patch-libiberty_Makefile.in) = 59c479e6fe491e17837d421f5b4b25a81dc5e7c9

Index: pkgsrc/devel/binutils/patches/patch-bfd_config.bfd
diff -u pkgsrc/devel/binutils/patches/patch-bfd_config.bfd:1.2 pkgsrc/devel/binutils/patches/patch-bfd_config.bfd:1.3
--- pkgsrc/devel/binutils/patches/patch-bfd_config.bfd:1.2      Sat Jan 30 22:15:11 2016
+++ pkgsrc/devel/binutils/patches/patch-bfd_config.bfd  Wed Feb  5 06:18:34 2020
@@ -1,25 +1,25 @@
-$NetBSD: patch-bfd_config.bfd,v 1.2 2016/01/30 22:15:11 ryoon Exp $
+$NetBSD: patch-bfd_config.bfd,v 1.3 2020/02/05 06:18:34 rillig Exp $
 
 Add Bitrig/amd64 support
 https://sourceware.org/bugzilla/show_bug.cgi?id=18920
 
---- bfd/config.bfd.orig        2015-11-13 08:27:40.000000000 +0000
+--- bfd/config.bfd.orig
 +++ bfd/config.bfd
-@@ -635,7 +635,7 @@ case "${targ}" in
-     targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_aout_bsd_vec"
-     targ_underscore=yes
+@@ -628,7 +628,7 @@
+     targ_defvec=i386_pe_vec
+     targ_selvecs="i386_pe_vec i386_pei_vec i386_elf32_vec iamcu_elf32_vec"
      ;;
 -  i[3-7]86-*-openbsd*)
 +  i[3-7]86-*-openbsd* | i[3-7]86-*-bitrig*)
      targ_defvec=i386_elf32_vec
-     targ_selvecs="iamcu_elf32_vec i386_aout_nbsd_vec"
+     targ_selvecs="iamcu_elf32_vec"
      ;;
-@@ -690,7 +690,7 @@ case "${targ}" in
+@@ -683,7 +683,7 @@
      targ_selvecs="i386_elf32_fbsd_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec x86_64_pei_vec i386_elf32_vec x86_64_elf64_vec l1om_elf64_vec l1om_elf64_fbsd_vec k1om_elf64_vec k1om_elf64_fbsd_vec"
      want64=true
      ;;
 -  x86_64-*-netbsd* | x86_64-*-openbsd*)
 +  x86_64-*-netbsd* | x86_64-*-openbsd* | x86_64-*-bitrig*)
      targ_defvec=x86_64_elf64_vec
-     targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_aout_nbsd_vec i386_coff_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec"
+     targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec"
      want64=true
Index: pkgsrc/devel/binutils/patches/patch-configure.ac
diff -u pkgsrc/devel/binutils/patches/patch-configure.ac:1.2 pkgsrc/devel/binutils/patches/patch-configure.ac:1.3
--- pkgsrc/devel/binutils/patches/patch-configure.ac:1.2        Sat Jan 30 22:15:11 2016
+++ pkgsrc/devel/binutils/patches/patch-configure.ac    Wed Feb  5 06:18:34 2020
@@ -1,15 +1,9 @@
-$NetBSD: patch-configure.ac,v 1.2 2016/01/30 22:15:11 ryoon Exp $
+$NetBSD: patch-configure.ac,v 1.3 2020/02/05 06:18:34 rillig Exp $
 
 Remove etc
 
 --- configure.ac.orig  2016-01-25 08:57:16.000000000 +0000
 +++ configure.ac
-@@ -140,7 +140,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".
+@@ -143,1 +140,1 @@
 -host_tools="flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
 +host_tools="flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
- 
- # libgcj represents the runtime libraries only used by gcj.
- libgcj="target-libffi \
Index: pkgsrc/devel/binutils/patches/patch-gas_configure.tgt
diff -u pkgsrc/devel/binutils/patches/patch-gas_configure.tgt:1.2 pkgsrc/devel/binutils/patches/patch-gas_configure.tgt:1.3
--- pkgsrc/devel/binutils/patches/patch-gas_configure.tgt:1.2   Wed Feb  3 19:56:34 2016
+++ pkgsrc/devel/binutils/patches/patch-gas_configure.tgt       Wed Feb  5 06:18:34 2020
@@ -1,15 +1,17 @@
-$NetBSD: patch-gas_configure.tgt,v 1.2 2016/02/03 19:56:34 jperkin Exp $
+$NetBSD: patch-gas_configure.tgt,v 1.3 2020/02/05 06:18:34 rillig Exp $
 
 Add Bitrig/amd64 support
 https://sourceware.org/bugzilla/show_bug.cgi?id=18920
 
---- gas/configure.tgt.orig     2015-11-13 08:27:41.000000000 +0000
+--- gas/configure.tgt.orig
 +++ gas/configure.tgt
-@@ -238,6 +238,7 @@ case ${generic_target} in
-   i386-*-openbsd[0-2].* | \
-   i386-*-openbsd3.[0-2])              fmt=aout em=nbsd ;;
-   i386-*-openbsd*)                    fmt=elf em=nbsd ;;
-+  i386-*-bitrig*)                     fmt=elf em=nbsd ;;
-   i386-*-linux*aout*)                 fmt=aout em=linux ;;
-   i386-*-linux*oldld)                 fmt=aout em=linux ;;
-   i386-*-linux*coff*)                 fmt=coff em=linux ;;
+@@ -228,7 +228,8 @@
+   i386-*-netbsd*-gnu* | \
+   i386-*-knetbsd*-gnu | \
+   i386-*-netbsd* | \
+-  i386-*-openbsd*)                    fmt=elf em=nbsd ;;
++  i386-*-openbsd* | \
++  i386-*-bitrig)                      fmt=elf em=nbsd ;;
+   i386-*-linux-*)                     fmt=elf em=linux
+     case ${cpu}-${os} in
+       x86_64*-linux-gnux32)           arch=x86_64:32 ;;
Index: pkgsrc/devel/binutils/patches/patch-gold_options.h
diff -u pkgsrc/devel/binutils/patches/patch-gold_options.h:1.2 pkgsrc/devel/binutils/patches/patch-gold_options.h:1.3
--- pkgsrc/devel/binutils/patches/patch-gold_options.h:1.2      Wed Feb  3 19:56:34 2016
+++ pkgsrc/devel/binutils/patches/patch-gold_options.h  Wed Feb  5 06:18:34 2020
@@ -1,36 +1,32 @@
-$NetBSD: patch-gold_options.h,v 1.2 2016/02/03 19:56:34 jperkin Exp $
+$NetBSD: patch-gold_options.h,v 1.3 2020/02/05 06:18:34 rillig 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        2015-11-13 08:27:42.000000000 +0000
+--- gold/options.h.orig
 +++ gold/options.h
-@@ -713,9 +713,15 @@ class General_options
+@@ -772,7 +772,11 @@
              N_("Output cross reference table"),
              N_("Do not output cross reference table"));
  
 +#if defined(__NetBSD__) || defined(__OpenBSD__)
 +  DEFINE_bool(ctors_in_init_array, options::TWO_DASHES, '\0', false,
-+            N_("Use DT_INIT_ARRAY for all constructors"),
-+            N_("Handle constructors as directed by compiler (default)"));
 +#else
    DEFINE_bool(ctors_in_init_array, options::TWO_DASHES, '\0', true,
-             N_("Use DT_INIT_ARRAY for all constructors (default)"),
-             N_("Handle constructors as directed by compiler"));
 +#endif
+             N_("Use DT_INIT_ARRAY for all constructors"),
+             N_("Handle constructors as directed by compiler"));
  
-   DEFINE_bool(define_common, options::TWO_DASHES, 'd', false,
-             N_("Define common symbols"),
-@@ -956,7 +962,11 @@ class General_options
-             N_("Do not page align data, do not make text readonly"),
-             N_("Page align data, make text readonly"));
+@@ -830,7 +834,11 @@
+             N_("Do not create exception frame header"));
  
+   // Alphabetized under 'e' because the option is spelled --enable-new-dtags.
 +#if defined(__NetBSD__) || defined(__OpenBSD__)
 +  DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', false,
 +#else
    DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', true,
 +#endif
-               N_("Enable use of DT_RUNPATH and DT_FLAGS"),
-               N_("Disable use of DT_RUNPATH and DT_FLAGS"));
+               N_("Enable use of DT_RUNPATH"),
+               N_("Disable use of DT_RUNPATH"));
  

Index: pkgsrc/devel/binutils/patches/patch-gold_Makefile.in
diff -u pkgsrc/devel/binutils/patches/patch-gold_Makefile.in:1.3 pkgsrc/devel/binutils/patches/patch-gold_Makefile.in:1.4
--- pkgsrc/devel/binutils/patches/patch-gold_Makefile.in:1.3    Wed Feb  3 19:56:34 2016
+++ pkgsrc/devel/binutils/patches/patch-gold_Makefile.in        Wed Feb  5 06:18:34 2020
@@ -1,26 +1,14 @@
-$NetBSD: patch-gold_Makefile.in,v 1.3 2016/02/03 19:56:34 jperkin Exp $
+$NetBSD: patch-gold_Makefile.in,v 1.4 2020/02/05 06:18:34 rillig Exp $
 
  Don't bail out on the deprecation warnings for <ext/hash_map>
 
  Don't use hard-coded -ldl.
 
---- gold/Makefile.in.orig      2015-11-13 08:27:42.000000000 +0000
-+++ gold/Makefile.in
-@@ -345,7 +345,7 @@ TARGETOBJS = @TARGETOBJS@
- USE_NLS = @USE_NLS@
- VERSION = @VERSION@
- WARN_CFLAGS = @WARN_CFLAGS@
+--- 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 @@
 -WARN_CXXFLAGS = @WARN_CXXFLAGS@
 +WARN_CXXFLAGS = @WARN_CXXFLAGS@ -Wno-deprecated
- XGETTEXT = @XGETTEXT@
- YACC = @YACC@
- YFLAGS = @YFLAGS@
-@@ -427,7 +427,7 @@ AM_CPPFLAGS = \
-       -DTOOLLIBDIR="\"$(tooldir)/lib\"" @INCINTL@
- 
- LIBIBERTY = ../libiberty/libiberty.a
+@@ -680,1 +680,1 @@
 -@PLUGINS_TRUE@LIBDL = @DLOPEN_LIBS@
 +@PLUGINS_TRUE@LIBDL = ${DL_LDFLAGS}
- @THREADS_TRUE@THREADSLIB = -lpthread
- AM_YFLAGS = -d
- 

Index: pkgsrc/devel/binutils/patches/patch-ld_configure.tgt
diff -u pkgsrc/devel/binutils/patches/patch-ld_configure.tgt:1.4 pkgsrc/devel/binutils/patches/patch-ld_configure.tgt:1.5
--- pkgsrc/devel/binutils/patches/patch-ld_configure.tgt:1.4    Sat Jan 30 22:15:11 2016
+++ pkgsrc/devel/binutils/patches/patch-ld_configure.tgt        Wed Feb  5 06:18:34 2020
@@ -1,19 +1,19 @@
-$NetBSD: patch-ld_configure.tgt,v 1.4 2016/01/30 22:15:11 ryoon Exp $
+$NetBSD: patch-ld_configure.tgt,v 1.5 2020/02/05 06:18:34 rillig Exp $
 
 Add Bitrig/amd64 support
 https://sourceware.org/bugzilla/show_bug.cgi?id=18920
 
---- ld/configure.tgt.orig      2015-11-13 08:27:42.000000000 +0000
+--- ld/configure.tgt.orig
 +++ ld/configure.tgt
-@@ -309,6 +309,11 @@ x86_64-*-netbsd*) targ_emul=elf_x86_64
-                       *)              tdir_elf_i386=`echo ${tdir_elf_i386} | \
-                                       sed -e 's/netbsd/netbsdelf/'`;;
-                       esac ;;
+@@ -354,6 +354,11 @@
+ i[3-7]86-*-netbsdpe*) targ_emul=i386pe
+                       targ_extra_ofiles="deffilep.o pe-dll.o"
+                       ;;
 +i[3-7]86-*-bitrig*)   targ_emul=i386nbsd
 +                      targ_extra_emuls=elf_i386 ;;
 +x86_64-*-bitrig*)     targ_emul=elf_x86_64
 +                      targ_extra_emuls="elf_i386 i386nbsd elf_l1om elf_k1om"
 +                      ;;
- i[3-7]86-*-netware)   targ_emul=i386nw ;;
  i[3-7]86-*-elfiamcu)  targ_emul=elf_iamcu
-                       targ_extra_emuls=elf_i386 ;;
+                       targ_extra_emuls=elf_i386
+                       ;;

Added files:

Index: pkgsrc/devel/binutils/patches/patch-configure
diff -u /dev/null pkgsrc/devel/binutils/patches/patch-configure:1.1
--- /dev/null   Wed Feb  5 06:18:34 2020
+++ pkgsrc/devel/binutils/patches/patch-configure       Wed Feb  5 06:18:34 2020
@@ -0,0 +1,9 @@
+$NetBSD: patch-configure,v 1.1 2020/02/05 06:18:34 rillig Exp $
+
+Remove etc
+
+--- configure.orig
++++ configure
+@@ -2780,1 +2780,1 @@
+-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"



Home | Main Index | Thread Index | Old Index