summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/Makefile.tgt
Commit message (Collapse)AuthorAgeFilesLines
* Merging of projects/armv6, part 3gonzo2012-08-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.jmallett2012-03-291-2/+3
| | | | | | | | | | | | | | | This makes our naming scheme more closely match other systems and the expectations of much third-party software. MIPS builds which are little-endian should require and exhibit no changes. Big-endian TARGET_ARCHes must be changed: From: To: mipseb mips mipsn32eb mipsn32 mips64eb mips64 An entry has been added to UPDATING and some foot-shooting protection (complete with warnings which should become errors in the near future) to the top-level base system Makefile.
* Retire TARGET_ABI.imp2011-01-071-2/+2
| | | | | | | | | | | | | | | Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree.
* We need to add powerpc64->powerpc translations (I knew I hated copyingimp2010-11-141-1/+1
| | | | | | | | this code in the first place). Also MACHINE_ARCH powerpc is 32-bit, not MACHINE_CPUARCH == powerpc. Submitted by: nathanw
* Complete the integration of tbemd branch into head.imp2010-11-101-9/+10
| | | | | | | | | | | | | | | | 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.
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesnwhitehorn2010-07-101-1/+5
| | | | | | | | 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
* Back-merge (by hand) r195668:imp2010-01-081-3/+0
| | | | | | r195668 | gonzo | 2009-07-13 17:01:12 -0600 (Mon, 13 Jul 2009) | 3 lines - Get rid of ugly TARGET_CPU_DEFAULT default. 16 is MASK_DSP and was set there due to my ignroance.
* Add FreeBSD/MIPS support to GCC.obrien2008-09-011-0/+3
|
* Turn cc_tools/Makefile and Makefile.tgt into a "linear" read. Sharedobrien2008-08-311-6/+9
| | | | | parts of the configuration aren't duplicated, and arch-specific exceptions are made "in-place". Also clean up the FreeBSD/amd64 config a little.
* Update bmake glue to build GCC 4.2.kan2007-05-191-7/+1
| | | | | | | | | | | | | | | | | | | | | Also: Switch FreeBSD to use libgcc_s.so.1. Use dl_iterate_phdr to locate shared objects' exception frame info instead of depending on older register_frame_info machinery. This allows us to avoid depending on libgcc_s.so.1 in binaries that do not use exception handling directly. As an additional benefit it breaks circular libc <=> libgcc_s.so.1 dependency too. Build newly added libgomp.so.1 library, the runtime support bits for OpenMP. Build LGPLed libssp library. Our libc provides our own BSD-licensed SSP callbacks implementation, so this library is only built to benefit applications that have hadcoded knowledge of libssp.so and libssp_nonshared.a. When linked in from command line, these libraries override libc implementation.
* A TARGET_CPU_DEFAULT of xscale for arm results in illegal instructionsimp2006-09-151-1/+1
| | | | during buildworld. Comment it out for now.
* Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined, and set an ARMobrien2006-09-121-0/+4
| | | | target default.
* Bmake glue for GCC 3.4.2-prerelease.kan2004-07-281-1/+1
|
* We're changing the platform name from x86[_-]86 to amd64.obrien2003-04-261-1/+1
|
* Better emulate the FSF build for Sparc64.obrien2002-11-061-0/+1
|
* We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"obrien2002-09-121-1/+1
| | | | to make building GCC happy.
* Doh! Add IA-64 to our target list.obrien2002-05-101-0/+2
|
* Bmake bits for Gcc 3.1.obrien2002-05-101-0/+15
| | | | Partially made possible by: Wilko.Bulte@compaq.com
* Break some things out of Makefile.inc that cannot be used build-wideobrien2002-04-061-0/+1
for GCC 3.1.
OpenPOWER on IntegriCloud