summaryrefslogtreecommitdiff
path: root/devel/binutils
AgeCommit message (Collapse)AuthorFilesLines
2006-04-17Strip ${PKGLOCALEDIR} from PLISTs of packages that already obeyjlam1-45/+45
PKGLOCALEDIR and which install their locale files directly under ${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now on, pkgsrc/mk/plist/plist-locale.awk will automatically handle transforming the PLIST to refer to the correct locale directory.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed2-4/+4
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30* Honor PKGINFODIR.jlam2-4/+8
* List the info files directly in the PLIST.
2006-03-05* Teach the tools framework how to supply the pkgsrc version ofjlam1-2/+2
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-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
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-02-26Use the same configuration for DragonFly as FreeBSD is using.joerg5-1/+92
2006-01-07Update to 2.16.1, provided by Andreas Hallmann in PR 32190.wiz4-14/+16
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.
2005-07-17binutils-2.15 does not support Darwin's object file format.kristerw1-2/+2
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-23/+53
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-17add missing REPLACE_LOCALEDIR_PATTERNSdmcmahill1-1/+2
2005-02-23Add RMD160 digests.agc1-1/+2
2005-02-06Fix typo.reed1-1/+1
2005-01-21Temporarily mark as not for Interix until platform config is integrated.tv1-1/+3
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-3/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-08-13Add some missing locale files.jlam1-1/+5
2004-08-13Remove unnecessary one-off variable NO_GPROF.jlam1-5/+3
2004-08-07s/can not/cannot/jschauma1-2/+2
Pointed out by Georg Schwarz in private email.
2004-07-04Apply patch provided by Georg Schwarz in PR pkg/26157:jschauma2-12/+24
binutils does not build gprof on all platforms.
2004-06-30Update to 2.15, the latest release of GNU binutils.shannonjr2-5/+5
2004-06-30Updated to release 2.15. This release incorporates a number of bug fixes ↵shannonjr1-3/+3
along with support for MIPS64 Release 2 in gas and improved handling of unresolved symbols in the linker.
2004-04-25Unused.wiz1-79/+0
2004-04-02When building devel/gtexinfo as a build dependency (possibly pulledjlam1-1/+2
in via USE_TEXINFO=yes), build it without locale support. This makes it easier to "bootstrap" the installation of a pkgsrc compiler without a lot of additional indirect build dependencies on gettext, libiconv, libtool, etc.
2004-03-29Match the template builtin.mk file in bsd.builtin.mk, and make the twojlam1-6/+6
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links) use the new format correctly.
2004-03-10Split out the code that deals with checking whether the software isjlam2-75/+51
built-in or not into a separate builtin.mk file. The code to deal checking for built-in software is much simpler to deal with in pkgsrc. The buildlink3.mk file for a package will be of the usual format regardless of the package, which makes it simpler for packagers to update a package. The builtin.mk file for a package must define a single yes/no variable USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether to use the built-in software or to use the pkgsrc software.
2004-02-18Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in thejlam1-19/+21
environment overrides all other settings.
2004-02-13Remove info files entries from PLIST file.seb1-18/+1
2004-02-12Create a new variable PREFER_NATIVE that has the opposite semanticsjlam2-6/+26
as PREFER_PKGSRC. Preferences are determined by the most specific instance of the package in either PREFER_PKGSRC or PREFER_NATIVE. If a package is specified in neither or in both variables, then PREFER_PKGSRC has precedence over PREFER_NATIVE.
2004-02-12Reorganize code so that any dependencies are checked as part of decidingjlam2-26/+29
whether the software is built-in or not. This facilitates implementing the forthcoming PKGSRC_NATIVE variable.
2004-02-11Move the INCOMPAT_FOO checks to a more natural location within thejlam1-19/+19
block that decides whether package FOO is built-in or not. If the platform is listed in IMCOMPAT_FOO, then treat FOO as being not built-in.
2004-02-06If we're passing through MAKEFLAGS variables whose values may containjlam1-2/+2
spaces, use the :Q modifier instead of double-quoting the value. This avoids breakage when executing the just-in-time su targets.
2004-02-05Make PREFER_PKGSRC just yes/no or a list of packages. This makes itjlam2-10/+6
simpler to understand.
2004-02-05Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use itsjlam2-10/+8
value outside of buildlink-related files.
2004-02-05Support a new global variable:jlam2-2/+18
BUILDLINK_PREFER_PKGSRC This variable determines whether or not to prefer the pkgsrc versions of software that is also present in the base system. This variable is multi-state: defined, or "yes" always prefer the pkgsrc versions not defined, or "no" only use the pkgsrc versions if needed by dependency requirements This can also take a list of packages for which to prefer the pkgsrc-installed software. The package names may be found by consulting the value added to BUILDLINK_PACKAGES in the buildlink[23].mk files for that package.
2004-01-31bl3ify, and clean up Makefile for whitespace.jlam1-15/+18
2004-01-24Support BUILDLINK_DEPENDS.<pkg> being a list of values.jlam1-2/+2
2004-01-05Use S/+$// instead of C/\+$// to save a backslash. Very highlyjlam1-2/+2
recommended by seb :)
2004-01-05Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables.jlam1-16/+13
2004-01-04Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.jlam1-4/+4
2004-01-03Initial sprinkling of work-in-progress buildlink3.mk files for using thejlam1-0/+74
buildlink3 framework.
2003-10-28clarify comment (thanks to tv at duh org)heinz1-3/+3
2003-09-19Add CONFLICTS with avr-binutils<2.13.2.1 -- they installed infowiz1-1/+3
files and localizations in the same place.
2003-08-12A somewhat recent makeinfo is needed.seb1-1/+3
As suggested in PR pkg/22450 by <Ian dot Fry at sophos dot com>. But version 4.0 is good enough and this is what is available on the 1.6 branch.
2003-08-09USE_NEW_TEXINFO is unnecessary now.seb1-2/+1
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-14Update to binutils "2.14.0.0". (The ".0.0" is to allow any PKGREVISIONfredb5-86/+68
bumps to correctly sort before "2.14.1", and "2.14.1.1", and so on.) Follows is a list of additions to the "NEWS" files since 2.13. The "NEWS" files were apparently not updated for "2.13.2.1" however, so all of this is not really new. The "--with-sysroot" and "--with-lib-path" configure options for "ld" are truly new, though, and the package now takes advantage of "--with-lib-path" to prevent picking up crud from "${PREFIX}/lib", to better support using this "ld" with which to build pkgsrc packages. ----- binutils/binutils/NEWS ----- * Added --info switch to objcopy and strip. * Support for Vitesse IQ2000 added by Red Hat. * Added 'S' encoding to strings to allow the display of 8-bit characters. * Added --prefix-symbols=<text>, --prefix-sections=<text> and --prefix-alloc-sections=<text> to objcopy. * readelf can handle the extensions to the DWARF2 spec used by the Unified Parallel C compiler. * BFD no longer declares a "boolean" type, to avoid clashes with other headers that declare the same. Users of BFD should replace boolean, false and true, with int, 0 and 1, or define their own boolean type. * Support for IP2K added by Denis Chertykov. ----- binutils/gas/NEWS ----- * Added support for MIPS32 Release 2. * Added support for Xtensa architecture. * Support for Intel's iWMMXt processor (an ARM variant) added. * An assembler test generator has been contributed and an example file that uses it (gas/testsuite/gas/all/test-gen.c and test-exmaple.c). * Support for SH2E added. * GASP has now been removed. * Support for Texas Instruments TMS320C4x and TMS320C3x series of DSP's contributed by Michael Hayes and Svein E. Seldal. * Support for the Ubicom IP2xxx microcontroller added. ----- binutils/ld/NEWS ----- * Added support for Xtensa architecture. * Added --with-sysroot configure switch to specify a target system root, for linking against a target filesystem image. * Added --accept-unknown-linker-format to restore old linker behaviour (pre 2.14) of silently accepting and linking in any files in an unknown binary file format. * Added --no-omagic to undo the effects of the -N option. * Support for Texas Instruments TMS320C4x and TMS320C3x series of DSP's contributed by Michael Hayes and Svein E. Seldal. * Added --with-lib-path configure switch to specify default value for LIB_PATH. * ARM port to QNX operating system added by Graeme Peterson. * IP2K support added by Denis Chertykov.
2003-06-23Back out previous PKGREVISION bump, it is not really needed.seb1-2/+1
2003-06-23Convert to USE_NEW_TEXINFO.seb2-13/+16
While here fix hidden build dependency on Perl hence bump PKGREVISION.
2003-06-11Dont' try to register "configure.info" and "standards.info".fredb1-3/+1
I'd already removed every other trace of these files from the package, so as not to conflict with "autoconf", but I missed these two "@exec"'s.