summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Upgrade to Binutils 2.10.0.David E. O'Brien2000-07-066-26/+159
| | | | Notes: svn path=/stable/4/; revision=62697
* s/MACHINE_ARCH/TARGET_ARCH/gMarcel Moolenaar1999-12-175-5/+5
| | | | | | | | | | | | | | | The target machine is represented by TARGET_ARCH. MACHINE_ARCH always represents the host machine. When TARGET_ARCH is not defined, it is assumed to be equal to MACHINE_ARCH. This means that we're building a native toolset by default. We're creating cross-compilation tools when MACHINE_ARCH != TARGET_ARCH. TARGET_ARCH is defined when building binutils as part of the bootstrap build and is set to reflect the architecture we're currently cross- building. With this change binutils is ready for cross-building. Notes: svn path=/head/; revision=54748
* Replace freebsdelf with freebsd in most places.John Birrell1999-11-076-16/+16
| | | | | | | Requested by: obrien Notes: svn path=/head/; revision=52957
* Add support for additional architectures.John Birrell1999-11-066-0/+197
| | | | Notes: svn path=/head/; revision=52943
* Use the simplified genscripts.sh and set the cross-compiled libraryJohn Birrell1999-11-061-2/+22
| | | | | | | | | | | | | | directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that the cross tools behave the same way that the host versions do. When building cross tools, Cygnus doesn't set the default library directory. This doesn't suit FreeBSD IMHO. Add WinNT emulation support too. You only get this if you've set BINUTILSDISTDIR because the contrib/binutils repository doesn't contain the required sources. Notes: svn path=/head/; revision=52941
* Use the simplified genscripts.sh and set the cross-compiled libraryJohn Birrell1999-11-062-8/+12
| | | | | | | | | | directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that the cross tools behave the same way that the host versions do. When building cross tools, Cygnus doesn't set the default library directory. This doesn't suit FreeBSD IMHO. Notes: svn path=/head/; revision=52940
* This is a simplified version of the binutils script which better suitsJohn Birrell1999-11-061-0/+107
| | | | | | | the (few) things that the FreeBSD makefiles need to specify. Notes: svn path=/head/; revision=52939
* Add a BINUTILSDISTDIR hook here too.John Birrell1999-11-061-0/+8
| | | | Notes: svn path=/head/; revision=52938
* $Id$ -> $FreeBSD$Peter Wemm1999-08-274-4/+4
| | | | Notes: svn path=/head/; revision=50472
* TARGET was being defined wrong, causing ld to always fail. It is theWarner Losh1999-04-211-5/+5
| | | | | | | | | | | | | | | | name of the bfd target, not the gnu-standard target name. Corrected to be elf32-{big,little}mips from mipse[bl]-unknown-freebsd. DEFAULT_EMULATION was bogusly defined, causing ld to always fail (this was masked by the TARGET bogosity). Define correctly as elf32bmip and elf32lmip. Mips doesn't follow the same conventions as i386 and alpha do in this area. ld now appears to work correctly for the uncommitted mips changes to egcs. Notes: svn path=/head/; revision=45904
* Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets.Warner Losh1999-03-012-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | Unlike the unisex architecutres we've had so far, mips is bisexual. These tools can produce either byte sex, and the compiler/make determines the proper gender to use. Otherwise, we'd have to have had mipsel and mipseb in all the places that we have just mips. And there are other complications with doing that (binutils doesn't like to build mips tools without both byte genders, it seems). Introduced BINUTIL_ARCH so that other bisexual architectures can a generic mechanism. We cannot just define MACHINE_ARCH as mips because we need to differentiate big and little endian types of binaries. Discussions on freebsd-arch have hashed out this issue (and the parallel libc issues). NetBSD is moving towards mipsel and mipseb for their two flavors of mips ports (in time for 1.4, if this change hasn't already been accomplished). I've been building i386 worlds with this tree for a three months with these files in place with no ill effects. Notes: svn path=/head/; revision=44360
* Update for import of binutils-2.9.1.John Polstra1998-09-061-0/+9
| | | | | | | Submitted by: Doug Rabson <dfr> Notes: svn path=/head/; revision=38892
* Removed superfluous beforedepends. Their files were already in SRCS.Bruce Evans1998-06-042-6/+2
| | | | Notes: svn path=/head/; revision=36627
* Don't use beforedepend; just put generated headers in SRCS. ldgram.hBruce Evans1998-06-041-4/+3
| | | | | | | | | | was already put in SRCS by the general yacc rules. Putting ldemul-list.h in SRCS fixes races in `make -jN' when .depend hasn't been made. Don't forget to clean ldemul-list.h. Notes: svn path=/head/; revision=36623
* Add missing DPADD's.Peter Wemm1998-06-031-1/+3
| | | | Notes: svn path=/head/; revision=36615
* The yacc makefile changes don't seem to know when to generate theJohn Birrell1998-05-111-2/+2
| | | | | | | | header file and when not to, so for the time being make sure the sucker gets generated up front. Notes: svn path=/head/; revision=35946
* Work out the list of emulations based on the cross-architecturesJohn Birrell1998-05-041-3/+14
| | | | | | | defined. The TARGET is now set from an included makefile. Notes: svn path=/head/; revision=35717
* Add cross-architecture support.John Birrell1998-05-042-15/+20
| | | | Notes: svn path=/head/; revision=35716
* Fixed races in `make -jN' using new yacc rules. This also fixes plainBruce Evans1998-05-041-8/+2
| | | | | | | `make' (without a previous `make depend'). Notes: svn path=/head/; revision=35692
* Give up on a.out support in binutils. It has too many problems toJohn Polstra1998-03-301-14/+6
| | | | | | | | | | be worth much effort. Install all i386 binutils programs in "/usr/libexec/elf". Disable a.out support in libbfd. It's too dangerous to leave it in. Some of the utilities think they can handle a.out, but they generate bad object files. Notes: svn path=/head/; revision=34955
* Restructure the binutils hierarchy somewhat in order to betterJohn Polstra1998-03-126-0/+143
support building it for variant architectures. It was already becoming clear that the former structure was too rigid and didn't scale well. The usual sort of makefile magic arranges to .include an architecture specific makefile "Makefile.${MACHINE_ARCH}" in each directory where it exists. Also, sources will be found in each subdirectory "${MACHINE_ARCH}" that exists. This is all taken care of automatically by the top level "Makefile.inc0". This all seems to work right for the i386 now. I have also converted those alpha pieces already present to the new schema as best I could. Also: change the BINDIR on the i386 to /usr/libexec/elf for "ar" and "ranlib". They are not object format independent enough to put into /usr/bin. Notes: svn path=/head/; revision=34495