./devel/binutils, GNU binary utilities

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.41, Package name: binutils-2.41, Maintainer: pkgsrc-users

The GNU binutils package contains essential tools to assemble, link and
manipulate binary and object files. They are often used with a compiler
and additional libraries for building software.

It includes the GNU linker, the portable GNU assembler, ar for modifying
archives (such as libraries), nm for listing symbols from object files,
objdump for displaying object file information, ranlib for generating
archive indexes, size for listing section sizes of object files,
strings for outputing the printable characters in files, strip for
stripping out symbols (like debugging information) from object files,
and other tools.


Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 36262.634 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-26 15:11:40 by Jason Bacon | Files touched by this commit (2)
Log message:
devel/binutils: Unbreak build on Darwin

Disable ldint in PLIST
Other platforms should be unaffected
   2023-08-28 17:09:33 by Frederic Cambus | Files touched by this commit (4)
Log message:
*: reset MAINTAINER to pkgsrc-users@NetBSD.org.
   2023-07-31 16:08:34 by Frederic Cambus | Files touched by this commit (6) | Package updated
Log message:
binutils: update to 2.41.

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

  In the assembler:
    * Add support for Intel FRED instructions.
    * Add support for Intel LKGS instructions.
    * Add support for Intel AMX-COMPLEX instructions.
    * Add SME2 support to the AArch64 port.
    * A new .insn directive is recognized by x86 gas.
    * Add support for LoongArch LSX instructions.
    * Add support for LoongArch LASX instructions.
    * Add support for LoongArch LVZ instructions.
    * Add support for LoongArch LBT instructions.
    * Initial LoongArch support for linker relaxation has been added.
    * Deprecate the LoongArch register aliases $v0, $v1, $x, $fv0 and $fv1.

  In the linker:
    * The linker now accepts a command line option of --remap-inputs
      <PATTERN>=<FILE> to relace any input file that matches \ 
<PATTERN> with
      <FILE>.  In addition the option --remap-inputs-file=<FILE> can \ 
be used to
      specify a file containing any number of these remapping directives.

    * The linker command line option --print-map-locals can be used to include
      local symbols in a linker map.  (ELF targets only).

    * For most ELF based targets, if the --enable-linker-version option is used
      then the version of the linker will be inserted as a string into the .comment
      section.

    * The linker script syntax has a new command for output sections: ASCIZ \ 
"string"
      This will insert a zero-terminated string at the current location.

    * Add command-line option, -z nosectionheader, to omit ELF section
      header.

  In the other binary tools:
    * The MIPS port now supports the Sony Interactive Entertainment Allegrex
      processor, used with the PlayStation Portable, which implements the MIPS
      II ISA along with a single-precision FPU and a few implementation-specific
      integer instructions.

    * Objdump's --private option can now be used on PE format files to display the
      fields in the file header and section headers.

    * New versioned release of libsframe: libsframe.so.1.  This release introduces
      versioned symbols with version node name LIBSFRAME_1.0.  This release also
      updates the ABI in an incompatible way: this includes removal of
      sframe_get_funcdesc_with_addr API, change in the behavior of
      sframe_fre_get_ra_offset and sframe_fre_get_fp_offset APIs.

    * SFrame Version 2 is now the default (and only) format version supported by
      gas, ld, readelf and objdump.

    * Add command-line option, --strip-section-headers, to objcopy and strip to
      remove ELF section header from ELF file.

    * The RISC-V port now supports the following new standard extensions:
      - Zicond (conditional zero instructions)
      - Zfa (additional floating-point instructions)
      - Zvbb, Zvbc, Zvkg, Zvkned, Zvknh[ab], Zvksed, Zvksh, Zvkn, Zvknc, Zvkng,
        Zvks, Zvksc, Zvkg, Zvkt (vector crypto instructions)

    * The RISC-V port now supports the following vendor-defined extensions:
       - XVentanaCondOps

    * The LoongArch port now supports the following extensions:
      - LSX (Loongson SIMD eXtension; 128-bit vectors)
      - LASX (Loongson Advanced SIMD eXtension; 256-bit vectors)
      - LVZ (Loongson Virtualization extension)
      - LBT (Loongson Binary Translation extension)

    * The LoongArch disassembly output received the following tweaks:
      - Colored output is now supported.
      - Some pseudo-instructions are now shown in place of the canonical forms,
        where semantics are equivalent. A disassembler option '-M no-aliases' is
        added to disable the new behavior.
      - Signed immediates are no longer printed with their hex representation.
      - Unrecognized instruction words are now shown with '.word'.
   2023-01-29 10:54:32 by Jonathan Perkin | Files touched by this commit (1)
Log message:
binutils: Revert previous.

It looks like binutils 2.40 just completely broke gstrip(1) on SunOS rather
than this being a problem with binutils files being stripped.  We'll have to
fix this some other way, but for now this release is marked toxic.
   2023-01-28 13:26:05 by Jonathan Perkin | Files touched by this commit (1) | Package updated
Log message:
binutils: Disable STRIP_DEBUG_SUPPORTED.

Something changed in the 2.40 update that means stripping ar(1) results
in a broken binary.
   2023-01-14 21:11:04 by Frederic Cambus | Files touched by this commit (7) | Package updated
Log message:
binutils: update to 2.40.

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

  * Support for more Intel, ARM, Risc-V architecture extensions.

  * Support for generating and reading compressed debug sections
    using the zstd compression format.

  * Support for the SFRAME unwind format.

  * Support for the CTF debug format.

  * The objdump tool now has an option to enhance its disassembly
    output by showing all of the symbols that match an address,
    instead of just the first symbol.

  * The objdump tool's disassembler is now also able to use colors to
    distinguish differents parts of each instruction.  This feature
    is only supported by a limited set of architectures at the
    moment.

  * The linker (ld) has a new command line option to disable the
    generation of warning and error messages.  This can be useful
    when it is known that the link will not be successful, but there
    is still a need to create a binary.
   2022-12-11 17:43:11 by Frederic Cambus | Files touched by this commit (3)
Log message:
binutils: add fix for CVE-2022-38533 (heap buffer-overflow in strip).

From upstream commit log:

PR29482 - strip: heap-buffer-overflow

PR 29482
* coffcode.h (coff_set_section_contents): Sanity check _LIB.
   2022-08-06 11:49:32 by Frederic Cambus | Files touched by this commit (3) | Package updated
Log message:
binutils: update to 2.39.

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

  * The ELF linker will now generate a warning message if the stack is made
    executable.  Similarly it will warn if the output binary contains a
    segment with all three of the read, write and execute permission
    bits set.  These warnings are intended to help developers identify
    programs which might be vulnerable to attack via these executable
    memory regions.

    The warnings are enabled by default but can be disabled via a command
    line option.  It is also possible to build a linker with the warnings
    disabled, should that be necessary.

  * The ELF linker now supports a --package-metadata option that allows
    embedding a JSON payload in accordance to the Package Metadata
    specification.

  * In linker scripts it is now possible to use TYPE=<type> in an output
    section description to set the section type value.

  * The objdump program now supports coloured/colored syntax
    highlighting of its disassembler output for some architectures.
    (Currently: AVR, RiscV, s390, x86, x86_64).

  * The nm program now supports a --no-weak/-W option to make it ignore
    weak symbols.

  * The readelf and objdump programs now support a -wE option to prevent
    them from attempting to access debuginfod servers when following
    links.

  * The objcopy program's --weaken, --weaken-symbol, and
    --weaken-symbols options now works with unique symbols as well.