summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/as/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* More correct version of prev. fix.ache2012-12-181-1/+1
|
* Fix:ache2012-12-171-1/+1
| | | | | line 11: Malformed conditional (${TARGET} == "arm" || ${TARGET_ARCH} == "powerpc64")
* Also remove -Werror on arm with clang as there are warnings.andrew2012-12-151-1/+1
|
* Dont use -Werror when building libbfd and gnu as on powerpc64 with clangrdivacky2012-08-241-0/+4
| | | | | | as there are warnings. Reviewed by: nwhitehorn
* Merging of projects/armv6, part 3gonzo2012-08-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | r238211: Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb This adds a new TARGET_ARCH for building on ARM processors that support the ARMv6K multiprocessor extensions. In particular, these processors have better support for TLS and mutex operations. This mostly touches a lot of Makefiles to extend existing patterns for inferring CPUARCH from ARCH. It also configures: * GCC to default to arm1176jz-s * GCC to predefine __FreeBSD_ARCH_armv6__ * gas to default to ARM_ARCH_V6K * uname -p to return 'armv6' * make so that MACHINE_ARCH defaults to 'armv6' It also changes a number of headers to use the compiler __ARM_ARCH_XXX__ macros to configure processor-specific support routines. Submitted by: Tim Kientzle <kientzle@freebsd.org>
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building thekib2012-04-291-0/+3
| | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks
* Make default ABI for as(1) to be the same as target platform.gonzo2012-03-231-0/+7
| | | | | This change makes object files compiled with default flags by gcc and as compatible.
* Sync: merge r215319 through r215395 from ^/head, so ports can actuallydim2010-11-161-1/+1
| | | | build! :)
* Sync: merge r214895 through r215140 from ^/head.dim2010-11-111-3/+3
|\
| * Complete the integration of tbemd branch into head.imp2010-11-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Update Makefile and config.h for as.dim2010-11-011-2/+1
| |
* | Most of binutils now compiles at WARNS=3, except for libiberty anddim2010-10-221-2/+0
| | | | | | | | libbfd, which still need WARNS=2.
* | Remove bignum-copy.c from SRCS=, as it no longer exists. Removedim2010-10-211-3/+2
| | | | | | | | | | | | tc-sparc-fixed.c entirely, since the fix has been integrated into contrib/binutils/gas/config/tc-sparc.c by upstream. Define TARGET_OS in addition to the other TARGET_XXX defines.
* | Use one file per line in SRCS= definition, to make insertions anddim2010-10-211-6/+31
|/ | | | deletions easier, and sort the file list.
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesnwhitehorn2010-07-101-1/+1
| | | | | | | | 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
* Push mips support for as into the tree.imp2008-12-111-0/+4
|
* Temporarily add newer copy of tc-sparc.c to build tokmacy2006-10-091-1/+2
| | | | | | | | support building of sun4v. This can be removed once the binutils import happens. Reviewed by: kan Approved by: rwatson (mentor)
* Define build 'as' TARGET_BYTES_BIG_ENDIAN if "TARGET_BIG_ENDIAN" is defined.obrien2006-09-111-0/+3
| | | | This is needed for bi-sex architectures.
* NOSHARED -> NO_SHAREDru2004-12-211-1/+1
|
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x.kan2004-07-281-0/+1
|
* MAJOR cleanup of the Bmake framework.obrien2004-07-081-25/+43
| | | | | | | | | 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).
* There is need to have a special BINUTIL_ARCH when we can use our moreobrien2002-09-221-1/+1
| | | | common place TARGET_ARCH.
* Clean up the formatting.obrien2001-10-141-6/+4
|
* s/MACHINE_ARCH/TARGET_ARCH/gmarcel1999-12-171-2/+1
| | | | | | | | | | | | 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.
* ${MACHINE} -> ${MACHINE_ARCH}marcel1999-11-141-2/+1
| | | | | | | | | | | | | | | | 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
* After a repo copy of as_{alpha,i386,mips} to {alpha,i386,mips}-freebsd,jb1999-11-071-6/+9
| | | | | | | 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.
* Change CROSS_TARGETS to CROSS_FORMATS because that makes more sense.jb1999-11-061-1/+21
| | | | | Check if already cross-compiling and only build the cross-tools if not cross-compiling (to save time).
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets.imp1999-03-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | 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.
* Add CROSS_TARGETS to the list of GASES to build. We end up with a separatejb1998-05-111-2/+4
| | | | | | | | 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!
* Add support for cross-architecture gases. Since the GNU code doesn'tjb1998-05-041-19/+6
| | | | | | 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}
* Add the alpha makefile.jb1998-03-121-3/+3
| | | | | Move tc-i386.c from Makefile to Makefile.i386 'cause alpha doesn't like trying to swallow it. Indigestion, I think.
* Restructure the binutils hierarchy somewhat in order to betterjdp1998-03-121-0/+23
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.
OpenPOWER on IntegriCloud