summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/libbfd
Commit message (Collapse)AuthorAgeFilesLines
* Dont use -Werror when building libbfd and gnu as on powerpc64 with clangrdivacky2012-08-241-0/+1
| | | | | | as there are warnings. Reviewed by: nwhitehorn
* 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>
* Merge binutils 2.17.50 to head. This brings a number of improvements todim2011-02-188-480/+1474
|\ | | | | | | | | | | | | | | | | 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
| * For ia64, add a proper 'elf64-ia64-freebsd' output format to BFD, so thedim2010-12-051-2/+3
| | | | | | | | | | | | ELF branding for FreeBSD is done in the same way as amd64, i386 and sparc. Something similar should probably also be done for arm, mips and powerpc.
| * Sync: merge r215319 through r215395 from ^/head, so ports can actuallydim2010-11-161-2/+0
| | | | | | | | build! :)
| * Sync: merge r214895 through r215140 from ^/head.dim2010-11-112-7/+3
| |\
| * | Simply our custom OSABI branding 'stub'. It is presently still neededdim2010-11-031-25/+2
| | | | | | | | | | | | | | | for ia64, but I will integrate it into contrib/binutils/bfd/elfxx-ia64.c later on, after which it can be removed entirely.
| * | Update Makefile, bfd.h and config.h.bsd for libbfd.dim2010-11-016-169/+343
| | |
| * | Make sure elf_fbsd_post_process_headers() is actually called for ia64.dim2010-10-263-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | This is done by prepending the file to elfxx-ia64, not appending it. Additionally, reduce diffs between Makefile.amd64 and Makefile.ia64; instead of echo'ing defines in Makefiles, just add the needed define to elf-fbsd-brand.c directly, as it is only used for amd64 and ia64.
| * | Most of binutils now compiles at WARNS=3, except for libiberty anddim2010-10-221-1/+0
| | | | | | | | | | | | libbfd, which still need WARNS=2.
| * | Update BFD version and date, and add new upstream files. Also removedim2010-10-213-27/+6
| | | | | | | | | | | | | | | the elf32-arm-fbsd.c kludge; it is now integrated cleanly into contrib/binutils/bfd/elf32-arm.c.
| * | Use one file per line in SRCS= definition, to make insertions anddim2010-10-211-5/+35
| | | | | | | | | | | | deletions easier, and sort the file list.
| * | Regenerate bfd.h and config.h.fbsd.dim2010-10-212-372/+1206
| | |
| * | Update the BFD and binutils version defines.dim2010-10-191-1/+1
| | |
* | | Retire TARGET_ABI.imp2011-01-071-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Garbage-collect some code made obsolete by the TBEMD import.nwhitehorn2010-11-151-2/+0
| |/ |/|
* | Complete the integration of tbemd branch into head.imp2010-11-102-7/+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.
* Remove target peigen.c so that make doesn't warn us about it.rpaulo2010-09-301-2/+0
|
* Add support for the BFD target efi-app-x86_64.rpaulo2010-09-291-2/+11
| | | | | This uses only GPL2 source code and is a requirement for a 64 bit EFI boot loader.
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesnwhitehorn2010-07-102-0/+29
| | | | | | | | 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
* Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.jmallett2010-06-022-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier. Reviewed by: imp
* Remove alpha support from here too. FreeBSD 6 was the last branch toimp2010-02-031-16/+0
| | | | support it.
* Remove more traces of the Alpha port.imp2010-02-031-2/+1
|
* Push mips support into the tree.imp2008-12-112-1/+28
|
* Enable EFI target.rpaulo2008-08-311-1/+3
| | | | While there, make use of the DEFAULT_VECTOR variable.
* Add support for the 32-bit EFI target.marcel2008-04-171-3/+10
|
* Fix PowerPC-targeted cross-builds performed on 64-bit platforms.marcel2007-02-111-4/+0
| | | | | | | | | | | | | | | Only PowerPC supports both 32-bit and 64-bit targets and the BFD_DEFAULT_TARGET_SIZE is used by the binutils code to reflect the preferred ABI. We define BFD_DEFAULT_TARGET_SIZE for all platforms, but based on the build machine. As such 64-bit build machines defined BFD_DEFAULT_TARGET_SIZE incorrectly for 32-bit targets, but since this only affects PowerPC it went unnoticed for a long time. The fix is to define BFD_DEFAULT_TARGET_SIZE based on the target architecture. PR: amd64/102996 MFC after: 1 month
* Remove redundant default vectorimp2006-09-141-2/+0
| | | | Submitted by: ru@
* fix the build: add missing end of line cont characterimp2006-09-141-3/+5
|
* .end -> .endifimp2006-09-141-1/+1
|
* Craft the FreeBSD/ARM ABI by hacking the New ARM ABI source.obrien2006-09-121-0/+24
| | | | Submitted by: cognet
* Default vector to big endian ARM if "TARGET_BIG_ENDIAN" is defined.obrien2006-09-121-4/+11
|
* Add rs6000 to the architectures on PowerPC. It's needed by gdb(1).marcel2006-08-241-0/+2
|
* Fix typo.obrien2006-08-101-1/+1
| | | | Submitted by: kevlo
* Add ARM platform Makefile for building BFD. We include the New ARM ABI only.obrien2006-07-221-17/+7
| | | | (rev 1.1 was an accidental commit)
* Be consistent in quoting.obrien2006-07-221-0/+24
|
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* MAJOR cleanup of the Bmake framework.obrien2004-07-0813-21705/+58
| | | | | | | | | 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).
* With tmm's latest change to the sparc64 dynamic loader, we can remove thisobrien2004-06-202-19/+1
| | | | hack to binutils and use the stock sparc64 sources.
* Add the necessary branding of ELF files. This is relatively easy tomarcel2004-06-191-3/+2
| | | | | | | | | | achieve on ia64, because we need to generate the ELF64/ia64 code and simply tag elf-fbsd-brand.c at the end of it. This hasn't actually been tested beyond trivial compilation testing. A buildworld has been started and it's time I wait for my changes to loop back to my local repo anyway. I'll get back to this in a couple of hours...
* Add bfdwin.c to SRCS. The file contains support for mmap(2) windowsmarcel2004-06-191-1/+1
| | | | | into a BFD. It's included in stock BFD on the platforms I checked (i386 and ia64).
* Move the elf32-target.h and elf64-target.h targets from the MDmarcel2004-06-197-20/+6
| | | | | | makefiles to the centralized makefile. This not only reduces duplication, it also makes the MD quirks stand out better and thus improves maintenance.
* Update to binutils 2.15:marcel2004-06-191-3/+3
| | | | | | | | | o BFD_VERSION_DATE now reflects the release date of 2.15, o BFD_VERSION now has the correct version number. Previous values reflected 2.14.92 from a week prior to release. While here, fix a whitespace (tab) nit.
* Update to binutils 2.15:marcel2004-06-191-5/+26
| | | | | o HAVE_SEEKO and HAVE_TELLO are defined now. These are used in bfdio.c. o HAVE_STRTOULL is defined now. This is used in bfd.c.
* Update to binutils 2.15.marcel2004-06-191-891/+1251
|
* Commit a crude hack so we get sparc64 snapshots working again with aobrien2004-06-172-1/+19
| | | | | | stable ld.so. We need to revisit the rtld-elf/sparc64/rtld_start.S rev. 1.5 and rtld-elf/sparc64/rtld_machdep.h rev. 1.5, which was suppose to allow stock Binutils 2.13 (and later) to be used.
* Updated Bmake framework for Binutils 2.15.obrien2004-06-167-3562/+5028
|
* Revert rev 1.21 which configured with --enable-64-bit-bfd.obrien2004-04-181-1/+1
| | | | | GDB 5.2 can't handle a 64-bit BFD on a 32-bit host. We can revisit configuring with --enable-64-bit-bfd when we get a modern GDB.
* Configure as --enable-64-bit-bfd.obrien2004-03-182-2/+2
|
* Fix style bug in last commit,johan2004-02-251-2/+3
| | | | | | | | add a tab after WARNS?=. While I'm here fix other style bugs. Submitted by: bde (libbdf/Makefile)
OpenPOWER on IntegriCloud