History log of /freebsd-9.3-release/gnu/usr.bin/binutils/as/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

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


235398 13-May-2012 kib

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

MFC r235152 (by imp):
Make is part of the bootstrap path, so we need to guard against this
not being defined. Otherwise we don't make a new make when the old
make is incompatible.


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


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


215352 15-Nov-2010 nwhitehorn

Garbage-collect some code made obsolete by the TBEMD import.


215082 10-Nov-2010 imp

Complete the integration of tbemd branch into head.

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.


209867 10-Jul-2010 nwhitehorn

Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes
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


185922 11-Dec-2008 imp

Push mips support for as into the tree.


163147 09-Oct-2006 kmacy

Temporarily add newer copy of tc-sparc.c to build to
support building of sun4v. This can be removed once
the binutils import happens.

Reviewed by: kan
Approved by: rwatson (mentor)


162297 14-Sep-2006 imp

Config file for arm assembler


162219 11-Sep-2006 obrien

Define build 'as' TARGET_BYTES_BIG_ENDIAN if "TARGET_BIG_ENDIAN" is defined.
This is needed for bi-sex architectures.


139112 21-Dec-2004 ru

NOSHARED -> NO_SHARED


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


132754 28-Jul-2004 kan

Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x.


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


130754 19-Jun-2004 marcel

Update to binutils 2.15.


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


118903 14-Aug-2003 ru

The as(1) manpage was missing on i386 and amd64.


116886 26-Jun-2003 obrien

Update the target.


114050 26-Apr-2003 obrien

The AMD64 Hammer bits.


114049 26-Apr-2003 obrien

Remove first attempt at x86-64 bits. We're going to call it "amd64" now.

Sponsored by: Microsoft


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.


107642 05-Dec-2002 obrien

Set WARNS=0 as a temp work around until I can get access to an IA-64 box
to do this right.

Approved by: RE


107504 02-Dec-2002 obrien

Update for the Binutils 2.13.2 20021127 snapshot import.


107502 02-Dec-2002 obrien

Binutils 2.13.2 is WARNS=2 clean for all our architectures.


105502 20-Oct-2002 obrien

We HAVE_STPCPY now.


104959 12-Oct-2002 obrien

Talk about punting and not going to any trouble to DTRT:

contrib/binutils/include/getopt.h
/* Many other libraries have conflicting prototypes for getopt, with
differences in the consts, in stdlib.h. To avoid compilation
errors, only prototype getopt for the GNU C library. */

so manually define HAVE_DECL_GETOPT since configure doesn't offer any way
to set it... and its unistd.h not stdlib.h dang it.


104958 12-Oct-2002 obrien

Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
all 64-bit machines.


104923 11-Oct-2002 obrien

Binutils 2.13 grew some warnings that make WARNS != 0 now impossible on
sparc64.


104852 11-Oct-2002 obrien

Update for 2.13 10-Oct-2002 import.


103780 22-Sep-2002 obrien

There is need to have a special BINUTIL_ARCH when we can use our more
common place TARGET_ARCH.


96853 18-May-2002 obrien

The AMD x86-64 Hammer bits.


96834 18-May-2002 obrien

Style sync with other platforms.


96642 15-May-2002 obrien

We won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
Same for any m68k platform.


92840 20-Mar-2002 obrien

Update to Binutils 2.12.0 release.


92308 15-Mar-2002 obrien

Minor style nit.


92257 14-Mar-2002 obrien

Tune WARNS for Alpha.


92206 13-Mar-2002 obrien

Turn up WARNS as high as possible.

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


89886 27-Jan-2002 obrien

Change the way the version strings are handled.


87433 06-Dec-2001 obrien

Upgrade to Binutils 2.11.2.


84954 15-Oct-2001 obrien

Binutils 2.11.2 build framework for the FreeBSD/IA-64 target.


84949 15-Oct-2001 obrien

We can easily share obj-format.h and targ-env.h files across all FreeBSD
platforms, which reduces the upgrade effort.
Also tidy up the Makefiles.


84908 14-Oct-2001 obrien

Clean up the formatting.


84907 14-Oct-2001 obrien

We do "sparc64", not "sparc".


77570 01-Jun-2001 obrien

Upgrade to Binutils 2.11.0.


77324 28-May-2001 obrien

Upgrade to Binutils 2.11.0.


75400 11-Apr-2001 obrien

Remove MIPS support.
It has rotted quite badly and no one has provided updates for it.


74861 27-Mar-2001 ru

MAN[1-9] -> MAN.


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.


72798 21-Feb-2001 obrien

Our OS name is "freebsd", not "freebsdelf"


60781 22-May-2000 obrien

version 2.10 config file.


60780 22-May-2000 obrien

Conditionally define "CROSS_COMPILE" here.


60777 22-May-2000 obrien

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


58953 02-Apr-2000 steve

First cut at the (non-contrib) bits needed to build the binutils
distribution for FreeBSD/Sparc64.

Reviewed by: obrien


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


54748 17-Dec-1999 marcel

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.


53152 14-Nov-1999 marcel

${MACHINE} -> ${MACHINE_ARCH}

All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.

Tags added to:
sys/boot/Makefile
sys/boot/arc/loader/Makefile
sys/kern/Makefile
usr.bin/cpp/Makefile
usr.bin/gcore/Makefile
usr.bin/truss/Makefile

usr.bin/gcore/Makefile:
fixed typo: MACHINDE -> MACHINE_ARCH


52962 07-Nov-1999 jb

Replace freebsdelf with freebsd in BINDIR

Requested by: obrien


52959 07-Nov-1999 jb

These have been repo-copied to i386-freebsd.


52958 07-Nov-1999 jb

These have been repo-copied to alpha-freebsd.


52956 07-Nov-1999 jb

After a repo copy of as_{alpha,i386,mips} to {alpha,i386,mips}-freebsd,
tidy up the logic that works out which sub-directories to build.

The new directories with freebsdelf suffixes now have freebsd suffixes
after a repo move by Peter at the request of David O'Brien.


52954 07-Nov-1999 jb

Replace freebsdelf with freebsd in BINDIR.

[ alpha-freebsd, i386-freebsd and mips-freebsd were repo-copied
by Peter (one of the repo-men) ]

Requested by: obrien


52937 06-Nov-1999 jb

This one might be a bit controversial. 8-)

gas for i386 targeted to NT for those (like me) who have to do work
targeted to NT, but can't stand actually looking at it all day long.
I cross build apps on FreeBSD and just run them on NT later. Life is
better that way.


52936 06-Nov-1999 jb

gas for m68k targeted to NetBSD's a.out format. Useful for porting or
even just building applications targeted to NetBSD.

I know this will upset some people (outside FreeBSD).


52935 06-Nov-1999 jb

gas for powerpc targeted to FreeBSD.


52934 06-Nov-1999 jb

gas for m68k targeted to FreeBSD.


52933 06-Nov-1999 jb

gas for sparc targeted to FreeBSD as ELF32 for a start (suject to change).


52932 06-Nov-1999 jb

Don't change the name when building a cross-tool. Just set the BINDIR
to /usr/libexec/cross/${MACHINE_ARCH}-freebsdelf.


52931 06-Nov-1999 jb

Add the BINUTILSDISTDIR hook here too.


52930 06-Nov-1999 jb

Change CROSS_TARGETS to CROSS_FORMATS because that makes more sense.

Check if already cross-compiling and only build the cross-tools if
not cross-compiling (to save time).


50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


45932 22-Apr-1999 imp

For mips assembler, we need to define TARGET_BYTES_BIG_ENDIAN to be
zero when building for little endian machines.

Correct the target names for mips. We just use the generic targets
for mips elf, so the mipse[lb]-unknown-freebsd emulation types don't
exist.


44360 01-Mar-1999 imp

Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets.
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.


38892 06-Sep-1998 jdp

Update for import of binutils-2.9.1.

Submitted by: Doug Rabson <dfr>


36616 03-Jun-1998 peter

Missing DPADD's.


35945 11-May-1998 jb

Add CROSS_TARGETS to the list of GASES to build. We end up with a separate
gas for each target format. So for m68k targets that means several
gases. I wanted a m68k gas for VxWorks which uses aout in sun3 big
endian format, cross compiled on i386 under FreeBSD using libraries
supplied by DEC and intended by them for cross compilation on Alpha
under OSF/1. And it actually works!


35944 11-May-1998 jb

Make a path absolute.


35743 05-May-1998 jb

Fix the path.


35742 05-May-1998 jb

Specify an absolute include path.

Backout the previous commit in favour of the Makefile.inc added to
the parent directory.


35741 05-May-1998 jb

One of those silently included files that just about guarantee that
nobody has any idea how something like BINDIR gets defined.


35740 05-May-1998 jb

The BINDIR definition is an extra directory level away, so include it
explicitly.


35739 05-May-1998 jb

Oops, missed the common part of gas.


35724 04-May-1998 jb

Support cross architectures by using specific directories instead of
the ones that match the host.


35723 04-May-1998 jb

i386 gas config files.


35722 04-May-1998 jb

Alpha gas config files.


35721 04-May-1998 jb

Support cross-architectures using sub-directories.


35720 04-May-1998 jb

Add support for cross-architecture gases. Since the GNU code doesn't
support more than one architecture at a time, build as from the
default for the host and if CROSS_TOOLS defines other architectures,
build them as as_${arch}


34503 12-Mar-1998 jb

Add the alpha makefile.

Move tc-i386.c from Makefile to Makefile.i386 'cause alpha doesn't
like trying to swallow it. Indigestion, I think.


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.