aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/libbfd
Commit message (Collapse)AuthorAgeFilesLines
* Retire obsolete GDB 6.1.1Ed Maste2020-12-1513-6049/+0
| | | | | | | | | | | | | | | | | | | | | GDB 6.1.1 was released in June 2004 and is long obsolete. It does not support all of the architectures that FreeBSD does, and imposes limitations on the FreeBSD kernel build, such as the continued use of DWARF2 debugging information. It was kept (in /usr/libexec/) only for use by crashinfo(8), which extracts some basic information from a kernel core dump after a crash. Crashinfo already prefers gdb from port/package if installed. Future work may add kernel debug support to LLDB or find another path for crashinfo's needs, but in any case we do not want to ship the excessively outdated GDB in FreeBSD 13. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27610 Notes: svn path=/head/; revision=368667
* Teach binutils that arm64 is a 64bit architecture. This is needed to crossAndrew Turner2018-07-061-1/+1
| | | | | | | | | build from arm64 to other architectures that use binutils. Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=336027
* Remove redundant source and object files.Jonathan Anderson2017-09-091-1/+0
| | | | | | | | | | Reviewed by: bdrewery, ngie MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D12208 Notes: svn path=/head/; revision=323365
* Convert all the arm big endian tests into a regexp rather than a list.Warner Losh2017-08-141-2/+2
| | | | | | | Suggested by: emaste@ Notes: svn path=/head/; revision=322521
* Add full softfloat and hardfloat support for MIPS.Ruslan Bukin2016-10-311-1/+1
| | | | | | | | | | | | | | This adds new target architectures for hardfloat: mipselhf mipshf mips64elhf mips64hf. Tested in QEMU only. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D8376 Notes: svn path=/head/; revision=308130
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-243-229/+13
| | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* Add missing CLEANFILES.Bryan Drewery2015-09-241-0/+2
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288199
* Avoid circular dependency with nmSimon J. Gerraty2015-06-141-0/+3
| | | | Notes: svn path=/head/; revision=284373
* Add META_MODE support.Simon J. Gerraty2015-06-132-0/+240
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-082-4/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-272-4/+129
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-193-38/+3
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Updated/new Makefile.dependSimon J. Gerraty2012-11-081-0/+20
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
| * | Sync from headSimon J. Gerraty2012-11-042-2/+3
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | Add new PowerPC relocations to binutilsJustin Hibbits2014-12-121-4/+9
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: LLVM/Clang generates relocations that our binutils doesn't understand, but newer binutils does. I got permission from the author of a series of patches to relicense them as GPLv2 for use in FreeBSD. The upstream git hashes are: ac2df442ac7901f00af15b272fc48b594b433713 2b95367962dc14f69d3c338c4d54195266e2e169 102890f04c44b64cf5cef4588267dd9f24086ac7 b7fcf6f6bb53b5027e111107f5416769cb9a5798 1d483afedd5a628dc84fb58d1d570f79fdfbfa7b 90aecf7a80c1cefeb45fc10a6cd02c8338e34b4c 3a71aa26df2a372a58e9c11ef9ba51fd0e83320a 727fc41e077139570ea8b8ddfd6c546b2a55627c With the import of clang 3.5, and a few backported patches, we should be able to move powerpc and powerpc64 to clang-as-cc soon. Test Plan: Passes make tinderbox, so no regressions. Binaries built with clang run on powerpc64. Reviewers: #committers, dim Reviewed By: dim Differential Revision: https://reviews.freebsd.org/D1297 Obtained from: Alan Modra, upstream binutils-gdb git MFC after: 3 weeks Relnotes: yes Notes: svn path=/head/; revision=275718
* | | Remove ia64.Marcel Moolenaar2014-07-073-37/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan Notes: svn path=/head/; revision=268351
* | | With the move away from GNATS, point end users to a better web pageGavin Atkinson2014-06-141-1/+1
| |/ |/| | | | | | | | | | | | | | | | | detailing how to report bugs. Hat: bugmeister MFC after: 3 days Notes: svn path=/head/; revision=267483
* | Dont use -Werror when building libbfd and gnu as on powerpc64 with clangRoman Divacky2012-08-241-0/+1
| | | | | | | | | | | | | | | | | | as there are warnings. Reviewed by: nwhitehorn Notes: svn path=/head/; revision=239654
* | Merging of projects/armv6, part 3Oleksandr Tymoshenko2012-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> Notes: svn path=/head/; revision=239272
* Merge binutils 2.17.50 to head. This brings a number of improvements toDimitry Andric2011-02-188-479/+1473
|\ | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=218822
| * For ia64, add a proper 'elf64-ia64-freebsd' output format to BFD, so theDimitry Andric2010-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. Notes: svn path=/projects/binutils-2.17/; revision=216200
| * Sync: merge r215319 through r215395 from ^/head, so ports can actuallyDimitry Andric2010-11-161-2/+0
| |\ | | | | | | | | | | | | | | | | | | build! :) Notes: svn path=/projects/binutils-2.17/; revision=215396
| * \ Sync: merge r214895 through r215140 from ^/head.Dimitry Andric2010-11-112-7/+3
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215143
| * | | Simply our custom OSABI branding 'stub'. It is presently still neededDimitry Andric2010-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. Notes: svn path=/projects/binutils-2.17/; revision=214750
| * | | Update Makefile, bfd.h and config.h.bsd for libbfd.Dimitry Andric2010-11-016-169/+343
| | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214637
| * | | Make sure elf_fbsd_post_process_headers() is actually called for ia64.Dimitry Andric2010-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. Notes: svn path=/projects/binutils-2.17/; revision=214385
| * | | Most of binutils now compiles at WARNS=3, except for libiberty andDimitry Andric2010-10-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | libbfd, which still need WARNS=2. Notes: svn path=/projects/binutils-2.17/; revision=214223
| * | | Update BFD version and date, and add new upstream files. Also removeDimitry Andric2010-10-213-27/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the elf32-arm-fbsd.c kludge; it is now integrated cleanly into contrib/binutils/bfd/elf32-arm.c. Notes: svn path=/projects/binutils-2.17/; revision=214170
| * | | Use one file per line in SRCS= definition, to make insertions andDimitry Andric2010-10-211-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | deletions easier, and sort the file list. Notes: svn path=/projects/binutils-2.17/; revision=214169
| * | | Regenerate bfd.h and config.h.fbsd.Dimitry Andric2010-10-212-372/+1206
| | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214168
| * | | Update the BFD and binutils version defines.Dimitry Andric2010-10-191-1/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214075
* | | | Retire TARGET_ABI.Warner Losh2011-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. Notes: svn path=/head/; revision=217123
* | | Garbage-collect some code made obsolete by the TBEMD import.Nathan Whitehorn2010-11-151-2/+0
| |/ |/| | | | | Notes: svn path=/head/; revision=215352
* | Complete the integration of tbemd branch into head.Warner Losh2010-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. Notes: svn path=/head/; revision=215082
* Remove target peigen.c so that make doesn't warn us about it.Rui Paulo2010-09-301-2/+0
| | | | Notes: svn path=/head/; revision=213294
* Add support for the BFD target efi-app-x86_64.Rui Paulo2010-09-291-2/+11
| | | | | | | | This uses only GPL2 source code and is a requirement for a 64 bit EFI boot loader. Notes: svn path=/head/; revision=213274
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesNathan Whitehorn2010-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 Notes: svn path=/head/; revision=209867
* Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.Juli Mallett2010-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 Notes: svn path=/head/; revision=208737
* Remove alpha support from here too. FreeBSD 6 was the last branch toWarner Losh2010-02-031-16/+0
| | | | | | | support it. Notes: svn path=/head/; revision=203435
* Remove more traces of the Alpha port.Warner Losh2010-02-031-2/+1
| | | | Notes: svn path=/head/; revision=203434
* Push mips support into the tree.Warner Losh2008-12-112-1/+28
| | | | Notes: svn path=/head/; revision=185924
* Enable EFI target.Rui Paulo2008-08-311-1/+3
| | | | | | | While there, make use of the DEFAULT_VECTOR variable. Notes: svn path=/head/; revision=182523
* Add support for the 32-bit EFI target.Marcel Moolenaar2008-04-171-3/+10
| | | | Notes: svn path=/head/; revision=178291
* Fix PowerPC-targeted cross-builds performed on 64-bit platforms.Marcel Moolenaar2007-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 Notes: svn path=/head/; revision=166638
* Remove redundant default vectorWarner Losh2006-09-141-2/+0
| | | | | | | Submitted by: ru@ Notes: svn path=/head/; revision=162304
* fix the build: add missing end of line cont characterWarner Losh2006-09-141-3/+5
| | | | Notes: svn path=/head/; revision=162302
* .end -> .endifWarner Losh2006-09-141-1/+1
| | | | Notes: svn path=/head/; revision=162299
* Craft the FreeBSD/ARM ABI by hacking the New ARM ABI source.David E. O'Brien2006-09-121-0/+24
| | | | | | | Submitted by: cognet Notes: svn path=/head/; revision=162243