Subject: CVS commit: pkgsrc/devel/binutils
To: None <pkgsrc-changes@NetBSD.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 01/07/2006 23:59:46
Module Name:	pkgsrc
Committed By:	wiz
Date:		Sat Jan  7 23:59:46 UTC 2006

Modified Files:
	pkgsrc/devel/binutils: Makefile PLIST.common distinfo
	pkgsrc/devel/binutils/patches: patch-aa

Log Message:
Update to 2.16.1, provided by Andreas Hallmann in PR 32190.

Changes in binutils:

* Binutils-2.16 will be the last release for a number of targets due to
  lack of maintenance (of course, if maintainers step up, then this list
  will change!).  The targets are:

    a29k-*-*
    d10v-*-*
    d30v-*-*
    dlx-*-*
    h8300-*-coff
    h8300-*-rtems*
    h8500-*-coff
    h8500-*-rtems*
    i370-*-*
    i960-*-*
    i960-*-bout
    i960-*-coff
    i960-*-nindy*
    i960-*-rtems*
    i960-*-vxworks*
    i960-*-vxworks5.*
    i960-*-vxworks5.0
    m68k-*-coff
    m68k-*-hpux*
    m68k-*-linux*aout*
    m68k-*-rtemscoff*
    m68k-*-sunos*
    m68k-*-sysv*
    m68k-*-vxworks*
    m68k-apollo-*
    m68k-apple-aux*
    m68k-bull-sysv3*
    m68k-ericsson-ose
    m68k-motorola-sysv*
    m88k-*-*					(*)
    mn10200-*-*
    openrisc-*-*
    or32-*-*
    or32-*-coff
    pj*-*-*
    sh-*-coff*
    sh-*-rtemscoff*
    tic80-*-*
    vax-*-bsd*					(*)
    vax-*-netbsd* excluding vax-*-netbsdelf	(*)
    vax-*-ultrix*				(*)
    w65-*-*
    xscale-*-coff
    *-*-linux*aout*
    *-*-linux*oldld

    (*) bfd and opcodes support will be kept.

* Add "-g/--section-groups" to readelf to display section groups.

* objcopy recognizes two new options --strip-unneeded-symbol and
  --strip-unneeded-symbols, namely for use together with the wildcard
  matching the original --strip-symbol/--strip-symbols provided, but
  retaining any symbols matching but needed by relocations.

* readelf can now display address ranges from .debug_range sections.  This
  happens automatically when a DW_AT_range attribute is encountered.  The
  command line switch --debug-dump=Ranges (or -wR) can also be used to display
  the contents of the .debug_range section.

* nm and objdump now have a switch "--special-syms" to enable the displaying of
  symbols which the target considers to be special.  By default these symbols
  are no longer displayed.  Currently the only special symbols are the Mapping
  symbols used by the ARM port to mark transitions between text and data and
  between ARM and THUMB code.

* dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional
  import and export symbols with <preifx> prepended to them.

Changes in gas:

* Redefinition of macros now results in an error.

* New command line option -mhint.b=[ok|warning|error] for IA64 targets.

* New command line option -munwind-check=[warning|error] for IA64
  targets.

* The IA64 port now uses automatic dependency violation removal as its default
  mode.

* Port to MAXQ processor contributed by HCL Tech.

* Added support for generating unwind tables for ARM ELF targets.

* Add a -g command line option to generate debug information in the target's
  preferred debug format.

* Support for the crx-elf target added.

* Support for the sh-symbianelf target added.

* Added a pseudo-op (.secrel32) to generate 32 bit section relative relocations
  on pe[i]-i386; required for this target's DWARF 2 support.

* Support for Motorola MCF521x/5249/547x/548x added.

* Support for ColdFire EMAC instructions added and Motorola syntax for MAC/EMAC
  instrucitons.

* New command line option -mno-shared for MIPS ELF targets.

* New command line option --alternate and pseudo-ops .altmacro and .noaltmacro
  added to enter (and leave) alternate macro syntax mode.

Changes in ld:

* Support for the R_ARM_V4BX relocation as defined in the ARM AAELF
  specification has been added via the --fix-v4bx command-line option.

* New linker script construct AS_NEEDED(), which sets the --as-needed flag
  for input files listed inside of it.

* A new command-line option, --sysroot, can be used to override the
  default sysroot location.  It only applies to toolchains that were
  configured using --with-sysroot.

* New linker script functions: ORIGIN() and LENGTH() which return information
  about a specified memory region.

* Port to MAXQ processor contributed by HCL Tech.

* Added SEGMENT_START to the linker script language to permit the user to
  override the base address for a segment from the command-line.

* ELF: --warn-shared-textrel option to warn if adding a DT_TEXTREL to a shared
  object.

* Added SORT_BY_NAME and SORT_BY_ALIGNMENT to the linker script
  language to permit sorting sections by section name or section
  maximum alignment.

* Added a new linker command line switch, --sort-section name|alignment,
  to sort sections by section name or maximum alignment.

* ELF: --add-needed/--no-add-needed options to control if a DT_NEEDED tag
  should be added when a shared library comes from DT_NEEDED tags.

* Support for the crx-elf target added.

* Support for the sh-symbianelf target added.

* A new linker command line switch has been added which allows the hash table
  size to be set to a suitable prime value near to its argument.  This switch
  is --hash-size=<NUMBER>.  Also if the switch --reduce-memory-overheads is
  used, and --hash-size has not been used, then the default value will be set
  to 1021.

* Linker map files are now generated with an O(N) algorithm for finding symbols
  that are defined in each section.  This uses about 40% more memory for
  symbols than the old O(N^2) algorithm.  You can use the new
  --reduce-memory-overheads option to select the old algorithm; this option
  might also be used in the future to select similar tradeoffs.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 pkgsrc/devel/binutils/Makefile
cvs rdiff -r1.9 -r1.10 pkgsrc/devel/binutils/PLIST.common
cvs rdiff -r1.5 -r1.6 pkgsrc/devel/binutils/distinfo
cvs rdiff -r1.2 -r1.3 pkgsrc/devel/binutils/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.