aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo: s/LIBSERACHPATH/LIBSEARCHPATH/gMarcel Moolenaar2011-03-219-11/+11
| | | | Notes: svn path=/head/; revision=219811
* Merge binutils 2.17.50 to head. This brings a number of improvements toDimitry Andric2011-02-188-164/+2297
|\ | | | | | | | | | | | | | | | | | | | | | | x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING. Thanks to the many people that have helped to test this. Obtained from: projects/binutils-2.17 Notes: svn path=/head/; revision=218822
| * Sync: merge r215396 through r215463 from ^/head.Dimitry Andric2010-11-181-1/+1
| |\ | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215464
| * \ Sync: merge r214895 through r215140 from ^/head.Dimitry Andric2010-11-112-4/+2
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215143
| * | | Update config.h for ld.Dimitry Andric2010-11-011-99/+15
| | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214642
| * | | Add manpages under gnu/usr.bin/binutils, since they are generated.Dimitry Andric2010-11-011-0/+2156
| | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214640
| * | | Most of binutils now compiles at WARNS=3, except for libiberty andDimitry Andric2010-10-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | libbfd, which still need WARNS=2. Notes: svn path=/projects/binutils-2.17/; revision=214223
| * | | Update ldscript extension list.Dimitry Andric2010-10-211-1/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214183
| * | | Use one file per line in SRCS= definition, to make insertions andDimitry Andric2010-10-211-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | deletions easier, and sort the file list. Notes: svn path=/projects/binutils-2.17/; revision=214182
| * | | Apply upstream changes to genscripts.sh, while attempting to keep theDimitry Andric2010-10-211-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | diff as small as possible. Notes: svn path=/projects/binutils-2.17/; revision=214180
| * | | Remove weird double-pasted sections in armelfb?_fbsd.sh.Dimitry Andric2010-10-212-19/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214179
| * | | Regenerate config.h for ld.Dimitry Andric2010-10-211-108/+153
| | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214178
* | | | Retire TARGET_ABI.Warner Losh2011-01-071-7/+6
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree. Notes: svn path=/head/; revision=217123
* | | Let gcc and ld know where to find 32 bit libraries on amd64.Tijl Coosemans2010-11-171-1/+1
| |/ |/| | | | | | | | | | | | | Reviewed by: arch@ Approved by: kib (mentor) Notes: svn path=/head/; revision=215439
* | Complete the integration of tbemd branch into head.Warner Losh2010-11-102-4/+2
|/ | | | | | | | | | | | | | | | | | | TARGET_BIG_ENDIAN is now completely dead, except where it was originally supposed to be used (internally in the toolchain building). TARGET_ARCH has changed in three cases: (1) Little endian mips has changed to mipsel. (2) Big endian mips has changed to mipseb. (3) Big endian arm has changed to armeb. Some additional changes are needed to make 'make universe' work on arm and mips after this change, so those are commented out for now. UPDATING information will be forthcoming. Any remaining rough edges will be hammered out in -current. Notes: svn path=/head/; revision=215082
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesNathan Whitehorn2010-07-101-0/+29
| | | | | | | | | | | a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64 Notes: svn path=/head/; revision=209867
* Add an alignment of 8 for sections in the n32 ABI. The default alignmentJayachandran C.2010-06-252-0/+2
| | | | | | | | | | | | of of 4 causes _end to be word aligned, which will be returned by sbrk. malloc(3), when compiled for n32, expects sbrk to return an 8-byte aligned value. Approved by: rrs (mentor) Notes: svn path=/head/; revision=209520
* Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.Juli Mallett2010-06-021-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier. Reviewed by: imp Notes: svn path=/head/; revision=208737
* Make the n32 scripts actually generate, ummm, n32 binaries... <blush>Warner Losh2010-03-042-2/+2
| | | | | | | Submitted by: jmallet Notes: svn path=/head/; revision=204685
* Add n32 ABI generators...Warner Losh2010-03-024-1/+11
| | | | | | | Submitted by: neel, jmallet Notes: svn path=/head/; revision=204548
* Remove alpha support from here too. FreeBSD 6 was the last branch toWarner Losh2010-02-031-33/+0
| | | | | | | support it. Notes: svn path=/head/; revision=203435
* Merge r195575 and 195530 from projects/mips to head by hand:Warner Losh2010-01-081-7/+14
| | | | | | | | | | | | | r195575 | imp | 2009-07-10 12:24:02 -0600 (Fri, 10 Jul 2009) | 2 lines quick hack for the problem gonzo is seeing. r195530 | imp | 2009-07-10 01:18:30 -0600 (Fri, 10 Jul 2009) | 5 lines Always build all 4 emulators into the mips toolchain. # I think we have a gcc spec file issue with abi=64 since I have to do other # hacks to get it mostly kinda right. Notes: svn path=/head/; revision=201851
* Push mips support for ld into the tree.Warner Losh2008-12-115-0/+40
| | | | Notes: svn path=/head/; revision=185923
* Force -O1 compilation when targeted for ia64. GCC 4 generatesMarcel Moolenaar2007-09-261-0/+4
| | | | | | | | | | | | | bad code at -O2. Since this is likely caused by the low-level optimizer, testing TARGET_ARCH rather than MACHINE_ARCH should handle ia64 cross-compilation as well. With this work-around in place, we can release using the current GCC and Binutils code at the default optimization level on ia64. Approved by: re (kensmith) Notes: svn path=/head/; revision=172326
* Reduce diff to vendor for maintance purposes.David E. O'Brien2007-09-191-5/+6
| | | | | | | Approved by: re(ken) Notes: svn path=/head/; revision=172243
* In the case of a native build, set NATIVE to yes so that the code circuitsThomas Quinot2007-09-191-1/+4
| | | | | | | | | | | | | | that need to be activated specifically for the case of a native linker actually are enabled. Specifically, this makes ld(1) look for shared libraries in LD_LIBRARY_PATH in the native case, as documented in the man page. PR: gnu/96481 Approved by: re (kensmith) MFC after: 2 weeks Notes: svn path=/head/; revision=172241
* scripts for the arm port.Warner Losh2006-09-143-0/+45
| | | | | | | | Submitted by: cognet@ Reviewed by: obrien and kan Notes: svn path=/head/; revision=162301
* Fix the build and minor cleanup.Warner Losh2006-09-141-3/+4
| | | | Notes: svn path=/head/; revision=162300
* Build 'ld' supporting a big endian ARM if "TARGET_BIG_ENDIAN" is defined.David E. O'Brien2006-09-121-1/+5
| | | | Notes: svn path=/head/; revision=162241
* Be consistent in quoting.David E. O'Brien2006-07-224-8/+8
| | | | Notes: svn path=/head/; revision=160578
* Create a genscripts driver based on the PowerPC one.David E. O'Brien2006-07-221-0/+12
| | | | Notes: svn path=/head/; revision=160576
* NOSHARED -> NO_SHAREDRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139112
* MAJOR cleanup of the Bmake framework.David E. O'Brien2004-07-088-197/+57
| | | | | | | | | | | | This includes removing all vestiges of the old not-really supported ability to build cross tools targeting non-FreeBSD systems, such as m68k Lynx and NetBSD. Move as much duplicated code from platform Makefiles into the shared Makefiles. Add a simple mechanism for specifying ELF 'ldscripts'. Also share as many .h files as possible (now a single bfd.h vs. one per platform). Notes: svn path=/head/; revision=131832
* Our 'TOOLS_PREFIX' and not 'DESTDIR' matches what the stock GNU buildDavid E. O'Brien2004-06-201-2/+2
| | | | | | | framework wants. Notes: svn path=/head/; revision=130757
* Updated Bmake framework for Binutils 2.15.David E. O'Brien2004-06-169-60/+113
| | | | Notes: svn path=/head/; revision=130575
* style.Makefile(5):Johan Karlsson2004-02-241-1/+1
| | | | | | | | | | | | | | Use WARNS?= instead of WARNS= For this to work properly for all part is the subdirectories the WARNS assignments in Makefile.inc0 are moved to the correspondning Makefile.inc. Approved by: obrien (binutils maintainer) Tested by: make universe Notes: svn path=/head/; revision=126197
* Properly quote the lib path.David E. O'Brien2003-08-196-6/+6
| | | | Notes: svn path=/head/; revision=119136
* Stage 3 of dynamic root support, con't.David E. O'Brien2003-08-176-6/+6
| | | | | | | 'ld' should also search /lib for dynamic libraries. Notes: svn path=/head/; revision=119051
* s/x86_64/amd64/g where possible.David E. O'Brien2003-08-171-2/+2
| | | | Notes: svn path=/head/; revision=119050
* Add elf_i386_fbsd emulation.David E. O'Brien2003-07-011-0/+14
| | | | | | | Obtained from: p4 Notes: svn path=/head/; revision=117130
* The AMD64 Hammer bits.David E. O'Brien2003-04-261-0/+20
| | | | Notes: svn path=/head/; revision=114050
* Remove first attempt at x86-64 bits. We're going to call it "amd64" now.David E. O'Brien2003-04-261-20/+0
| | | | | | | Sponsored by: Microsoft Notes: svn path=/head/; revision=114049
* Removed invasion into these makefiles by the "legacy" stuff;Ruslan Ermilov2003-04-121-3/+2
| | | | | | | I have a better fix in the works. Notes: svn path=/head/; revision=113398
* libbinutils.a needs basename(3); when the latter is providedRuslan Ermilov2003-04-111-2/+3
| | | | | | | by -legacy, liblegacy.a should come last in the LDADD list. Notes: svn path=/head/; revision=113369
* Migrate to a new way of dealing with building from old revisions ofWarner Losh2003-04-051-9/+1
| | | | | | | | | | | | | | | | | | | | FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries. This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work. Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better. Notes: svn path=/head/; revision=113136
* The PowerPC-specfic scripttempl file was depreciated in favor of the genericDavid E. O'Brien2003-01-211-1/+1
| | | | | | | ELF one. Notes: svn path=/head/; revision=109618
* Change the default emulation to elf64_sparc_fbsd. This emulation knows theDavid E. O'Brien2002-12-051-10/+16
| | | | | | | correct spelling of our rtld. Notes: svn path=/head/; revision=107643
* Change the default emulation to elf64_ia64_fbsd. This knows the properDavid E. O'Brien2002-12-051-5/+13
| | | | | | | spelling of our rtld. Notes: svn path=/head/; revision=107641
* Update for the Binutils 2.13.2 20021127 snapshot import.David E. O'Brien2002-12-022-4/+10
| | | | Notes: svn path=/head/; revision=107504
* We HAVE_STPCPY now.David E. O'Brien2002-10-201-2/+2
| | | | Notes: svn path=/head/; revision=105502