summaryrefslogtreecommitdiff
path: root/devel/binutils
AgeCommit message (Collapse)AuthorFilesLines
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam2-20/+19
through PLIST_SUBST to the plist module.
2008-03-24- Split out the code for overriding as(1) into it's own file.tnn2-8/+28
- In override-as.mk, fabricate a "specs" file and use it to force gcc into execvp'ing the correct as(1). Apparently having it in $PATH is not enough. This only affects multimedia/mplayer and perhaps sysutils/memtest86. (The latter probably doesn't need binutils at all, at least on modern NetBSD, and should be revisited.)
2008-03-24If a package includes this bl3.mk, then ensure that it uses as(1) providedtnn1-1/+8
by binutils. This should fix multimedia/m{encoder,player} when using the mplayer-ssse3 option. (huh, what's with the extra s in the option name?) Reported in private mail from Dennis den Brok.
2008-02-28Use GNU_PROGRAM_PREFIX?= gnu-tnn2-33/+38
This is a stopgap measure for PR pkg/38106. Bump PKGREVISION.
2007-08-14Fixed a gcc warning reported in PR 36777:rillig2-1/+15
read.c:1426: warning: 'stopc' may be used uninitialized in this function
2007-08-13A binutils installation that doesn't even provide the basic header filesrillig1-2/+9
can be considered incomplete and therefore unusable.
2007-05-29Regeneratedmartti1-6/+6
2007-05-29Updated devel/binutils to 2.17martti9-53/+68
List of changes unknown. Should fix CVE-2006-2362.
2006-10-04Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev.wiz1-2/+2
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
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