summaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorwiz <wiz>2006-01-07 23:59:46 +0000
committerwiz <wiz>2006-01-07 23:59:46 +0000
commit970c1ccef28cb380a319ebf12abf441483cd2c6e (patch)
treef9158173e1ac168eb6a8ef119941ddfa045be255 /devel/binutils
parentc7531ee69d3fda82a232cbb27088e434229d996b (diff)
downloadpkgsrc-970c1ccef28cb380a319ebf12abf441483cd2c6e.tar.gz
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.
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/Makefile5
-rw-r--r--devel/binutils/PLIST.common5
-rw-r--r--devel/binutils/distinfo10
-rw-r--r--devel/binutils/patches/patch-aa10
4 files changed, 16 insertions, 14 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index d2b280ee9cc..401312e004b 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2005/07/17 15:58:55 kristerw Exp $
+# $NetBSD: Makefile,v 1.28 2006/01/07 23:59:46 wiz Exp $
-DISTNAME= binutils-2.15
-PKGNAME= binutils-2.15.0.0
+DISTNAME= binutils-2.16.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
diff --git a/devel/binutils/PLIST.common b/devel/binutils/PLIST.common
index e3994b90f21..43726be1ff3 100644
--- a/devel/binutils/PLIST.common
+++ b/devel/binutils/PLIST.common
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST.common,v 1.9 2004/09/22 08:09:24 jlam Exp $
+@comment $NetBSD: PLIST.common,v 1.10 2006/01/07 23:59:46 wiz Exp $
${MACHINE_GNU_PLATFORM}/bin/ar
${MACHINE_GNU_PLATFORM}/bin/as
${MACHINE_GNU_PLATFORM}/bin/ld
${MACHINE_GNU_PLATFORM}/bin/nm
+${MACHINE_GNU_PLATFORM}/bin/objdump
${MACHINE_GNU_PLATFORM}/bin/ranlib
${MACHINE_GNU_PLATFORM}/bin/strip
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/bfd.mo
@@ -32,6 +33,7 @@ ${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/opcodes.mo
${NO_GPROF}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gprof.mo
${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/bfd.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/binutils.mo
${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/binutils.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/bfd.mo
@@ -47,6 +49,7 @@ ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/ld.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/binutils.mo
+${NO_GPROF}${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/gprof.mo
bin/addr2line
bin/ar
bin/as
diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo
index c72a3f3f1eb..38843fa7d74 100644
--- a/devel/binutils/distinfo
+++ b/devel/binutils/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 22:24:10 agc Exp $
+$NetBSD: distinfo,v 1.6 2006/01/07 23:59:46 wiz Exp $
-SHA1 (binutils-2.15.tar.gz) = 4caf693b8cbaf1118d2bfddb40a2fc91eaf51a6f
-RMD160 (binutils-2.15.tar.gz) = d23535cb8ba5f68f095e34b7c5f7163c9c15c80e
-Size (binutils-2.15.tar.gz) = 15134701 bytes
-SHA1 (patch-aa) = 34f4efe9ab793c38eccb016bd9498a7db1494953
+SHA1 (binutils-2.16.1.tar.gz) = df79ed47b4388a205adf3089d4e36ce47724c940
+RMD160 (binutils-2.16.1.tar.gz) = 304b2b53f9aa15794962af842f4f93b71308c495
+Size (binutils-2.16.1.tar.gz) = 16378360 bytes
+SHA1 (patch-aa) = 3f0b6cc9c0aff0dd2e400334f08da4a22cfc443e
diff --git a/devel/binutils/patches/patch-aa b/devel/binutils/patches/patch-aa
index 012fd7f0479..3f6af3930d0 100644
--- a/devel/binutils/patches/patch-aa
+++ b/devel/binutils/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.2 2003/07/14 19:01:36 fredb Exp $
+$NetBSD: patch-aa,v 1.3 2006/01/07 23:59:46 wiz Exp $
---- configure.orig Mon Jul 14 09:36:26 2003
+--- configure.orig Mon Feb 28 15:06:59 2005
+++ configure
-@@ -784,7 +784,7 @@ host_libs="intl mmalloc libiberty opcode
+@@ -914,7 +914,7 @@ host_libs="intl mmalloc libiberty opcode
# know that we are building the simulator.
# binutils, gas and ld appear in that order because it makes sense to run
# "make check" in that particular order.
--host_tools="texinfo byacc flex bison binutils gas ld gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar"
-+host_tools="texinfo byacc flex bison binutils gas ld gcc sid sim gdb make patch prms send-pr gprof expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar"
+-host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
++host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
# libgcj represents the runtime libraries only used by gcj.
libgcj="target-libffi \