History log of /freebsd-10.1-release/gnu/usr.bin/binutils/ld/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 257662 04-Nov-2013 brooks

MFC r257530

Reimplement r257525 such that it work with the historic FreeBSD make
implementation. This fixes the toolchain and kernel-toolchain targets
when building from older FreeBSD versions where make is fmake.

Sponsored by: DARPA/AFRL
Approved by: re (glebius)


# 257459 31-Oct-2013 brooks

MFC r257268:

Enable the --sysroot=/foo option in ld by always building with a sysroot
defined. When not building as a cross linker, the sysroot is set to "/".

Exp-run by: bdrewery (ports/183206)
Approved by: re (gjb)


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 234782 29-Apr-2012 kib

Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked. Option is disabled by
default.

Reviewed by: ru (previous version)
MFC after: 2 weeks


# 219811 21-Mar-2011 marcel

Fix typo: s/LIBSERACHPATH/LIBSEARCHPATH/g


# 218822 18-Feb-2011 dim

Merge binutils 2.17.50 to head. This brings a number of improvements to
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


# 172326 25-Sep-2007 marcel

Force -O1 compilation when targeted for ia64. GCC 4 generates
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)


# 139112 21-Dec-2004 ru

NOSHARED -> NO_SHARED


# 131832 08-Jul-2004 obrien

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).


# 130757 19-Jun-2004 obrien

Our 'TOOLS_PREFIX' and not 'DESTDIR' matches what the stock GNU build
framework wants.


# 130575 16-Jun-2004 obrien

Updated Bmake framework for Binutils 2.15.


# 126197 24-Feb-2004 johan

style.Makefile(5):
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


# 113398 12-Apr-2003 ru

Removed invasion into these makefiles by the "legacy" stuff;
I have a better fix in the works.


# 113369 11-Apr-2003 ru

libbinutils.a needs basename(3); when the latter is provided
by -legacy, liblegacy.a should come last in the LDADD list.


# 113136 05-Apr-2003 imp

Migrate to a new way of dealing with building from old revisions of
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.


# 100872 29-Jul-2002 ru

Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by: bde


# 93361 28-Mar-2002 obrien

Make it easier to change the native emulation.

Tested on: alpha, i386, sparc64


# 92206 13-Mar-2002 obrien

Turn up WARNS as high as possible.

Tested by: gcc31, gcc32, /usr/bin/cc


# 90330 06-Feb-2002 obrien

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


# 89886 27-Jan-2002 obrien

Change the way the version strings are handled.


# 84911 13-Oct-2001 obrien

Clean up a little bit more.


# 84910 13-Oct-2001 obrien

Clean up the formatting.


# 83877 24-Sep-2001 ru

Fixed the buildworld breakage in cross-tools caused by
misuse of /usr/src/include headers. This REALLY fixes
the 20010919 src/UPDATING entry.

With this patch the 4.2-RELEASE box was able to survive
the 5.0-CURRENT "make world".

Beat over the head with this patch: obrien


# 77570 01-Jun-2001 obrien

Upgrade to Binutils 2.11.0.


# 76253 03-May-2001 obrien

Total hack to fix broken bootstrap. Add -I/usr/src/include at the tail
end of the include searching. We really need a real fix for the issue of
which set of headers to use in compiling the cross-tools -- /usr/include,
or /usr/src/include.


# 73218 28-Feb-2001 obrien

Allow "NOSHARED" to be overridden.

Submitted by: bde


# 73146 27-Feb-2001 obrien

Make critical toolchain binaries staticly linked in this development
version of the OS.


# 69164 25-Nov-2000 obrien

`stringify.sed' has been replaced by `astring.sed' [on ANSI-C systems].


# 60777 22-May-2000 obrien

Pull the switch and activate our Binutils to a snapshot of the up and
comming 2.10 release.


# 58683 27-Mar-2000 bde

Use `${dir}/libfoo.a' instead of `-L${dir} -lfoo' for local static
libraries in LDADD so that `make checkdpadd' doesn't report non-errors.

Fixed some style bugs (the usual ones for DPADD and LDADD, and misformatting
of $FreeBSD$).


# 52938 06-Nov-1999 jb

Add a BINUTILSDISTDIR hook here too.


# 50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 36623 04-Jun-1998 bde

Don't use beforedepend; just put generated headers in SRCS. ldgram.h
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.


# 36615 03-Jun-1998 peter

Add missing DPADD's.


# 35946 11-May-1998 jb

The yacc makefile changes don't seem to know when to generate the
header file and when not to, so for the time being make sure the
sucker gets generated up front.


# 35717 04-May-1998 jb

Work out the list of emulations based on the cross-architectures
defined. The TARGET is now set from an included makefile.


# 35692 04-May-1998 bde

Fixed races in `make -jN' using new yacc rules. This also fixes plain
`make' (without a previous `make depend').


# 34495 12-Mar-1998 jdp

Restructure the binutils hierarchy somewhat in order to better
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.