aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/as/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove now-unused GNU as build infrastructureEd Maste2020-06-071-103/+0
| | | | Notes: svn path=/head/; revision=361894
* Apply WITH_PIE changes to other binutils componentsEd Maste2019-03-251-3/+3
| | | | | | | | | | Followon to r345489, explicitly specified bare .a libraries need ${PIE_SUFFIX} (although these still built). MFC with: r345489 Notes: svn path=/head/; revision=345490
* Rename RELTOP since it will mean something else globally.Bryan Drewery2017-10-311-3/+3
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325189
* Support armv7 builds for userlandWarner Losh2017-10-051-1/+4
| | | | | | | | | | | | | | | | | | | Make armv7 as a new MACHINE_ARCH. Copy all the places we do armv6 and add armv7 as basically an alias. clang appears to generate code for armv7 by default. armv7 hard float isn't supported by the the in-tree gcc, so it hasn't been updated to have a new default. Support armv7 as a new valid MACHINE_ARCH (and by extension TARGET_ARCH). Add armv7 to the universe build. Differential Revision: https://reviews.freebsd.org/D12010 Notes: svn path=/head/; revision=324340
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* More correct version of prev. fix.Andrey A. Chernov2012-12-181-1/+1
| | | | Notes: svn path=/head/; revision=244377
* Fix:Andrey A. Chernov2012-12-171-1/+1
| | | | | | | | line 11: Malformed conditional (${TARGET} == "arm" || ${TARGET_ARCH} == "powerpc64") Notes: svn path=/head/; revision=244362
* Also remove -Werror on arm with clang as there are warnings.Andrew Turner2012-12-151-1/+1
| | | | Notes: svn path=/head/; revision=244277
* Dont use -Werror when building libbfd and gnu as on powerpc64 with clangRoman Divacky2012-08-241-0/+4
| | | | | | | | | as there are warnings. Reviewed by: nwhitehorn Notes: svn path=/head/; revision=239654
* Merging of projects/armv6, part 3Oleksandr Tymoshenko2012-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> Notes: svn path=/head/; revision=239272
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building theKonstantin Belousov2012-04-291-0/+3
| | | | | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks Notes: svn path=/head/; revision=234782
* Make default ABI for as(1) to be the same as target platform.Oleksandr Tymoshenko2012-03-231-0/+7
| | | | | | | | This change makes object files compiled with default flags by gcc and as compatible. Notes: svn path=/head/; revision=233388
* Sync: merge r215319 through r215395 from ^/head, so ports can actuallyDimitry Andric2010-11-161-1/+1
|\ | | | | | | | | | | | | build! :) Notes: svn path=/projects/binutils-2.17/; revision=215396
| * Garbage-collect some code made obsolete by the TBEMD import.Nathan Whitehorn2010-11-151-1/+1
| | | | | | | | Notes: svn path=/head/; revision=215352
* | Sync: merge r214895 through r215140 from ^/head.Dimitry Andric2010-11-111-3/+3
|\| | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215143
| * Complete the integration of tbemd branch into head.Warner Losh2010-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. Notes: svn path=/head/; revision=215082
* | Update Makefile and config.h for as.Dimitry Andric2010-11-011-2/+1
| | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214641
* | Most of binutils now compiles at WARNS=3, except for libiberty andDimitry Andric2010-10-221-2/+0
| | | | | | | | | | | | | | libbfd, which still need WARNS=2. Notes: svn path=/projects/binutils-2.17/; revision=214223
* | Remove bignum-copy.c from SRCS=, as it no longer exists. RemoveDimitry Andric2010-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. Notes: svn path=/projects/binutils-2.17/; revision=214177
* | Use one file per line in SRCS= definition, to make insertions andDimitry Andric2010-10-211-6/+31
|/ | | | | | | deletions easier, and sort the file list. Notes: svn path=/projects/binutils-2.17/; revision=214176
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesNathan Whitehorn2010-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 Notes: svn path=/head/; revision=209867
* Push mips support for as into the tree.Warner Losh2008-12-111-0/+4
| | | | Notes: svn path=/head/; revision=185922
* Temporarily add newer copy of tc-sparc.c to build toKip Macy2006-10-091-1/+2
| | | | | | | | | | | support building of sun4v. This can be removed once the binutils import happens. Reviewed by: kan Approved by: rwatson (mentor) Notes: svn path=/head/; revision=163147
* Define build 'as' TARGET_BYTES_BIG_ENDIAN if "TARGET_BIG_ENDIAN" is defined.David E. O'Brien2006-09-111-0/+3
| | | | | | | This is needed for bi-sex architectures. Notes: svn path=/head/; revision=162219
* NOSHARED -> NO_SHAREDRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139112
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x.Alexander Kabaev2004-07-281-0/+1
| | | | Notes: svn path=/head/; revision=132754
* MAJOR cleanup of the Bmake framework.David E. O'Brien2004-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). Notes: svn path=/head/; revision=131832
* There is need to have a special BINUTIL_ARCH when we can use our moreDavid E. O'Brien2002-09-221-1/+1
| | | | | | | common place TARGET_ARCH. Notes: svn path=/head/; revision=103780
* Clean up the formatting.David E. O'Brien2001-10-141-6/+4
| | | | Notes: svn path=/head/; revision=84908
* s/MACHINE_ARCH/TARGET_ARCH/gMarcel Moolenaar1999-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. Notes: svn path=/head/; revision=54748
* ${MACHINE} -> ${MACHINE_ARCH}Marcel Moolenaar1999-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 Notes: svn path=/head/; revision=53152
* After a repo copy of as_{alpha,i386,mips} to {alpha,i386,mips}-freebsd,John Birrell1999-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. Notes: svn path=/head/; revision=52956
* Change CROSS_TARGETS to CROSS_FORMATS because that makes more sense.John Birrell1999-11-061-1/+21
| | | | | | | | Check if already cross-compiling and only build the cross-tools if not cross-compiling (to save time). Notes: svn path=/head/; revision=52930
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets.Warner Losh1999-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. Notes: svn path=/head/; revision=44360
* Add CROSS_TARGETS to the list of GASES to build. We end up with a separateJohn Birrell1998-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! Notes: svn path=/head/; revision=35945
* Add support for cross-architecture gases. Since the GNU code doesn'tJohn Birrell1998-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} Notes: svn path=/head/; revision=35720
* Add the alpha makefile.John Birrell1998-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. Notes: svn path=/head/; revision=34503
* Restructure the binutils hierarchy somewhat in order to betterJohn Polstra1998-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. Notes: svn path=/head/; revision=34495