Commit Graph

16 Commits

Author SHA1 Message Date
David E. O'Brien
7d0fc2f49e MAJOR cleanup of the Bmake framework.
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).
2004-07-08 17:05:34 +00:00
David E. O'Brien
e223c68bfc Updated Bmake framework for Binutils 2.15. 2004-06-16 07:09:44 +00:00
David E. O'Brien
9d6f37e490 Properly quote the lib path. 2003-08-19 17:30:46 +00:00
David E. O'Brien
21df0f6f8f Stage 3 of dynamic root support, con't.
'ld' should also search /lib for dynamic libraries.
2003-08-17 21:45:26 +00:00
David E. O'Brien
61de3d8db1 The PowerPC-specfic scripttempl file was depreciated in favor of the generic
ELF one.
2003-01-21 06:12:56 +00:00
David E. O'Brien
e3dd58ccbc Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:10:33 +00:00
David E. O'Brien
eb294035cb Make it easier to change the native emulation.
Tested on:	alpha, i386, sparc64
2002-03-29 00:41:01 +00:00
David E. O'Brien
87120eee8e Support linking with -z combreloc (combine and sort reloc sections) and with
--shared -z combreloc (shared library, combine & sort relocs)

Submitted by:		peter
Bribed by:		peter
Fixes:			IA-64, Kaffe, and QT
Doesn't fix ports by:	kris
Tested on:		make(1) release w/docproj
Desired for:		5.0-DP#1
Approved by:		murray
Seconded by:		jhb
2002-03-13 18:26:59 +00:00
David E. O'Brien
25a59bcfe7 Set the SCRIPTDIR to be rooted at TOOLS_PREFIX rather than DESTDIR.
(the two may be different (ie, build vs. runtime))
Allow ldscript's SEARCH_DIR do be rooted somewhere other than `/'.
(in this case at TOOLS_PREFIX)

These changes are most helpful during `make buildworld' so that the shared
libs built in the middle of `make buildworld' are used vs. the ones in
/usr/lib on the build machine.

Submitted by:	ru
2002-02-07 01:37:53 +00:00
David E. O'Brien
b3119f80e8 You know the last revision will work better if the TARGET_TUPLE is set
conditionally....
2001-10-14 02:13:55 +00:00
David E. O'Brien
4ac9161617 Allow easier override of the configure tuple, in case you wanted to build
as "powerpc-obrien-freebsd" rahter than "powerpc-unknown-freebsd" for example.
2001-10-14 02:12:40 +00:00
David E. O'Brien
4ab605cf6d Clean up the formatting. 2001-10-14 01:57:19 +00:00
David E. O'Brien
5ce16708c7 stringify.sed' has been replaced by astring.sed' [on ANSI-C systems]. 2000-11-25 13:56:28 +00:00
Marcel Moolenaar
ecc4dcbd82 s/MACHINE_ARCH/TARGET_ARCH/g
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.
1999-12-17 15:50:45 +00:00
John Birrell
4ed1406b4c Replace freebsdelf with freebsd in most places.
Requested by: obrien
1999-11-07 06:01:35 +00:00
John Birrell
4fecd2e259 Add support for additional architectures. 1999-11-06 22:52:33 +00:00