Commit graph

76 commits

Author SHA1 Message Date
wiz
daedadce4c Use standard GNU HOMEPAGE. 2017-08-16 19:59:50 +00:00
maya
a8fc7d7351 binutils: don't include PLIST.gprof on AIX
gprof requires some OS support to work.

part of PR pkg/44450: devel/binutils from pkgsrc-2010Q4 has
build/install problem on aix 5.3 from J. Raynor
2017-05-28 02:28:24 +00:00
ryoon
438c42eb93 Update to 2.26.1
* Remove merged patches

Changelog:
gas:
* Add a configure option --enable-x86-relax-relocations to decide whether
  x86 assembler should generate relax relocations by default.  Default to
  yes, except for x86 Solaris targets older than Solaris 12.

* New command line option -mrelax-relocations= for x86 target to control
  whether to generate relax relocations.
2016-08-15 19:29:13 +00:00
wiz
2b0a009d0e Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
jperkin
6b95bab0ab Backport SunOS 32-bit -mrelax-relocations fix from 2.26.1. Bump PKGREVISION. 2016-02-03 19:56:34 +00:00
ryoon
1b809da856 Update to 2.26
Changelog:
Changes in 2.26:

* Add option to objcopy to insert new symbols into a file:
  --add-symbol <name>=[<section>:]<value>[,<flags>]

* Add support for the ARC EM/HS, and ARC600/700 architectures.

* Extend objcopy --compress-debug-sections option to support
  --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
  targets.

* Add --update-section option to objcopy.

* Add --output-separator option to strings.
2016-01-30 22:15:11 +00:00
tnn
cbc3834cfd Update to binutils-2.25.1.
This is a bugfix release that primarily fixes out of bounds memory writes
in libbfd when inspecting malicious binaries.
2015-09-25 17:05:33 +00:00
ryoon
a0f89fa59c Update to 2.25
Changelog:
Not available?
As far as I know:
* Add Andes NDS32 architecture support.
* Improve Solaris support.
2015-06-09 20:24:39 +00:00
joerg
8aa80327f4 Has race conditions at least on NetBSD. 2015-03-20 22:46:09 +00:00
joerg
d249dce645 Allow unused static constants with clang. 2015-02-21 00:09:50 +00:00
dholland
e4a3965015 Remove outdated NOT_FOR_PLATFORM. 2015-01-04 02:14:10 +00:00
jperkin
4f71a829de Use --disable-werror with GCC 4.9, there are a number of issues which have
been fixed upstream, so we will remove this when binutils is updated.
2014-09-06 08:55:43 +00:00
jperkin
3a71f4fec5 Remove MAKE_JOBS_SAFE=no, added for the previous release. I cannot
trigger a failure up to MAKE_JOBS=24.
2014-09-01 20:37:21 +00:00
joerg
201e561f5f Redo -ldl handling. Be nicer to libc++. 2014-05-27 09:56:10 +00:00
obache
86a2baa987 indent 2014-05-13 06:41:31 +00:00
marino
4abf9786c5 devel/binutils: Squash erroneous hidden symbol warnings from gold linker
The gold linker is overly pedantic for dynamic references to symbols
with hidden visibility.  It will spew error messages about weak symbols
in libc.so that ld.bfd does not complain about. Until the bug is resolved
disable the hidden symbol warnings.  These warning also cause > 200
false failures in the gcc gnat.dg testsuite.

https://sourceware.org/bugzilla/show_bug.cgi?id=15574

This patch will keep the internal symbol warnings but suppress those
regaring symbols with hidden visibility because they aren't considered
errors by the bfd linker.
2014-05-12 19:10:08 +00:00
marino
4dd8c1fc15 devel/binutils: Change default behavior of gold for NetBSD & OpenBSD
The Gold linker defaults to the use of --new-dtags which uses DT_RUNPATH
instead of DT_RPATH.  In previous version of binutils, --new-dtags would
write set both DT_RUNPATH and DT_PATH, but not anymore.  The problem is
that neither NetBSD nor OpenBSD runtime linkers properly handle it
AFAICT.  Use macros to make DT_RPATH get set when -rpath switch is used
so that linked libraries can get found on these platforms.

Similarly, it appears that DT_INIT_ARRAY tags are also not handled by
rtld, so don't use these tags by default otherwise C++ will not link
on these platforms.

The copy-as-needed attribute has been left at its binutils default of
--no-copy-dt-needed.  This has been the default since binutils 2.22.
2014-05-12 16:33:20 +00:00
jperkin
025cdbe546 Handle 256 file descriptor limit in 32-bit SunOS environment.
Bump PKGREVISION.
2014-05-12 13:17:01 +00:00
marino
9b8bba62bc devel/binutils: Build gold linker on some platforms
The gold linker isn't a default option on binutils.  Change the Makefile
to make gold build on recent *BSD. Tested on NetBSD 6.1.4 and OpenBSD 5.5.
Gold is known to build on FreeBSD although FreeBSD 10 may need additional
patches.  Gold is part of the system binutils on DragonFly.
2014-05-12 12:49:59 +00:00
ryoon
b0731ffea8 Add OpenBSD/amd64 5.4 support 2014-01-26 03:49:01 +00:00
ryoon
2fb6779746 Fix PR pkg/48504
* Use ksh instead of /bin/sh for NetBSD 5 and 6
* Tested on NetBSD/i386 5.2 and NetBSD/amd64 6.1 with non-PREFER_PKGSRC
2014-01-13 15:06:55 +00:00
wiz
390d61caad Update to 2.24:
binutils:

Changes in 2.24:

* Objcopy now supports wildcard characters in command line options that take
  section names.

* Add support for Altera Nios II.

gas:

Changes in 2.24:

* Add support for the Texas Instruments MSP430X processor.

* Add -gdwarf-sections command line option to enable per-code-section
  generation of DWARF .debug_line sections.

* Add support for Altera Nios II.

* Add support for the Imagination Technologies Meta processor.

* Add support for the v850e3v5.

* Remove assembler support for MIPS ECOFF targets.

ld:

Changes in 2.24:

* Add LOG2CEIL() builtin function to the linker script language

* Add support for the Texas Instruments MSP430X processor.

* Add support for Altera Nios II.

* Add support for the V850E3V5 architecture.

* Add support for the Imagination Technologies Meta processor.

* --enable-new-dtags no longer generates old dtags in addition to new dtags.

* Remove linker support for MIPS ECOFF targets.

* Add ALIGN_WITH_INPUT to the linker script language to force the alignment of
  an output section to use the maximum alignment of all its input sections.
2014-01-06 14:58:41 +00:00
joerg
154ce17bbd Don't bother with unused functions for Clang. Race conditions while
building.
2013-09-23 10:03:14 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
mef
3b6ea30667 Binutils 2.23.2 is released:
http://lists.gnu.org/archive/html/info-gnu/2013-03/msg00020.html

  (previous version 2.22 announce is here):1
  http://lists.gnu.org/archive/html/info-gnu/2011-11/msg00008.html

From the ChangeLog enties:
-----------
2012-08-26  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/4970
	* Makefile.def (host_modules): Rmove lib_path=.libs from bfd
	and opcodes.
	* Makefile.in: Regenerated.

2012-06-28  Christophe Lyon <christophe.lyon@st.com>

	* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
	they contain -O2.
	* configure: Regenerate.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

	* NEWS:  Mention PowerPC VLE port.

2012-05-11  Mike Frysinger  <vapier@gentoo.org>

	* MAINTAINERS (config/): Move to intl/ section.
	(compile; depcomp; install-sh; missing; ylwrap): Likewise.

2012-05-09  Nick Clifton  <nickc@redhat.com>
	    Paul Smith  <psmith@gnu.org>

	PR bootstrap/50461
	* configure.ac (mpfr-dir): When using in-tree MPFR sources
	allow for the fact that from release v3.1.0 of MPFR the source
	files were moved into a src sub-directory.
	* configure: Regenerate.

2012-05-02  Roland McGrath  <mcgrathr@google.com>

	* configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF.
	* configure: Regenerate.

2012-04-25  Joel Brobecker  <brobecker@adacore.com>

	* config.sub: Update to 2012-04-18 version from official repo.

2012-03-19  Tristan Gingold  <gingold@adacore.com>

	* configure.ac (ia64*-*-*vms*): Add support for ld.
	* configure: Regenerate.

2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.ac (enable_libgomp): Remove *-*-irix6*.
	(unsupported_languages): Remove mips-sgi-irix6.*.
	(noconfigdirs): Don't add ${libgcj} for mips*-*-irix6*.
	(with_stabs): Remove.
	* configure: Regenerate.

2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.ac (enable_libgomp): Remove *-*-osf*.
	(with_stabs): Remove alpha*-*-osf*.
	* configure: Regenerate.

2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

	* COPYING.NEWLIB: Modify DJ Delorie license to include
	modification rights in clause as permitted by DJ Delorie.
	* COPYING.LIBGLOSS: Ditto.

2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

	* COPYING.NEWLIB: Remove two unused licenses.

2012-03-05  Tristan Gingold  <gingold@adacore.com>

	* configure.ac: Enable gdb and readline for ia64*-*-*vms*.
	* configure: Regenerate.

2012-02-21  Joern Rennecke  <joern.rennecke@embecosm.com>

	* COPYING.NEWLIB: Add Adapteva notice.
	* COPYING.LIBGLOSS: Add Adapteva notice.

2011-12-18  Eric Botcazou  <ebotcazou@adacore.com>

	* configure: Regenerate.

2011-12-15  Jeff Johnston  <jjohnstn@redhat.com>

	* COPYING.LIBGLOSS: Add GPL with exception license.
2013-04-08 06:03:03 +00:00
sbd
43f14832af Use ${PKGGNUDIR} and ${PKGMANDIR} in INSTALLATION_DIRS. 2012-12-31 00:27:36 +00:00
jperkin
cefff77d66 Add PKGGNUDIR support. 2012-12-06 11:38:19 +00:00
jperkin
103f578a54 PLIST vars need to be undefined if not used. 2012-11-21 07:46:40 +00:00
jperkin
0bbb968065 Ensure variables are defined. Add whitespace for clarity. 2012-11-21 00:17:11 +00:00
jperkin
8ef1e5de10 Do not install 'ld' symlinks on Solaris, to avoid accidental usage.
Bump PKGREVISION.
2012-11-20 23:05:22 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
joerg
d7d099cb05 Add some more warnings to remove for clang. 2012-10-20 22:06:55 +00:00
jperkin
a5a4365988 Remove makeinfo requirement, it was added back in 2003 but doesn't appear
to be necessary any more.  Ordinarily it wouldn't hurt to leave it, but it
can cause cyclic dependencies if binutils is required by gcc, and this will
suffice in lieu of a proper fix for that problem.
2012-07-27 12:34:03 +00:00
jperkin
62587b37b5 Update to binutils-2.22, mostly from wip/binutils.
Changes since binutils-2.17 are too numerous to mention, see the various
NEWS files for details.

Tested on NetBSD 6.0_BETA2 and SmartOS.
2012-07-23 12:24:34 +00:00
cheusov
046ffb9517 Remove variable GNU_PROGRAM_PREFIX as discussed in pkgsrc-users@, always
use prefix 'g' instead, and add symlinks
with original names in gnu/bin and gnu/man.

++pkgrevision
2012-06-02 11:54:38 +00:00
cheusov
b92b1fe4ef Fix compilation failure with gcc-4.6 (PR 45541) 2011-11-01 20:47:07 +00:00
joerg
ebb8502969 Hide some potential bugs by disabling default warnings with clang. 2011-09-07 23:41:04 +00:00
wiz
b021662d07 Fix build with gcc-4.5.
Set LICENSE. Fix a pkglint warning.
2011-08-22 08:51:46 +00:00
shattered
3b05a61c76 Follow HTTP redirects to new HOMEPAGEs and/or MASTER_SITES. 2010-11-13 21:08:54 +00:00
wiz
107da423dc Remove empty PLIST.common_end. 2009-07-22 09:23:47 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
tnn
299456f4e3 Use GNU_PROGRAM_PREFIX?= gnu-
This is a stopgap measure for PR pkg/38106.
Bump PKGREVISION.
2008-02-28 19:06:34 +00:00
martti
5a1e5447b1 Updated devel/binutils to 2.17
List of changes unknown. Should fix CVE-2006-2362.
2007-05-29 12:25:03 +00:00
wiz
f5b8945cb9 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:35:58 +00:00
jlam
792529759b * Honor PKGINFODIR.
* List the info files directly in the PLIST.
2006-03-30 03:44:41 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
wiz
259d99738f 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.
2006-01-07 23:59:46 +00:00
kristerw
af47962dce binutils-2.15 does not support Darwin's object file format. 2005-07-17 15:58:55 +00:00