summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/libbfd
AgeCommit message (Collapse)Author
2020-12-15Retire obsolete GDB 6.1.1Ed Maste
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
2018-07-06Teach binutils that arm64 is a 64bit architecture. This is needed to crossAndrew Turner
build from arm64 to other architectures that use binutils. Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=336027
2017-09-09Remove redundant source and object files.Jonathan Anderson
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
2017-08-14Convert all the arm big endian tests into a regexp rather than a list.Warner Losh
Suggested by: emaste@ Notes: svn path=/head/; revision=322521
2016-10-31Add full softfloat and hardfloat support for MIPS.Ruslan Bukin
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
2016-02-24DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery
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
2015-09-24Add missing CLEANFILES.Bryan Drewery
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288199
2015-06-14Avoid circular dependency with nmSimon J. Gerraty
Notes: svn path=/head/; revision=284373
2015-06-13Add META_MODE support.Simon J. Gerraty
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
2015-06-08dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=284172
2015-05-27Merge sync of headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=283595
2014-12-12Add new PowerPC relocations to binutilsJustin Hibbits
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
2014-08-19Merge head from 7/28Simon J. Gerraty
Notes: svn path=/projects/bmake/; revision=270164
2014-07-07Remove ia64.Marcel Moolenaar
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
2014-06-14With the move away from GNATS, point end users to a better web pageGavin Atkinson
detailing how to report bugs. Hat: bugmeister MFC after: 3 days Notes: svn path=/head/; revision=267483
2013-02-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=246868
2012-11-08Updated/new Makefile.dependSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=242788
2012-11-04Sync from headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=242545
2012-08-24Dont use -Werror when building libbfd and gnu as on powerpc64 with clangRoman Divacky
as there are warnings. Reviewed by: nwhitehorn Notes: svn path=/head/; revision=239654
2012-08-22Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar
Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
2012-08-15Merging of projects/armv6, part 3Oleksandr Tymoshenko
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
2011-02-18Merge binutils 2.17.50 to head. This brings a number of improvements toDimitry Andric
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
2011-01-07Retire TARGET_ABI.Warner Losh
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
2010-12-05For ia64, add a proper 'elf64-ia64-freebsd' output format to BFD, so theDimitry Andric
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
2010-11-16Sync: merge r215319 through r215395 from ^/head, so ports can actuallyDimitry Andric
build! :) Notes: svn path=/projects/binutils-2.17/; revision=215396
2010-11-15Garbage-collect some code made obsolete by the TBEMD import.Nathan Whitehorn
Notes: svn path=/head/; revision=215352
2010-11-11Sync: merge r214895 through r215140 from ^/head.Dimitry Andric
Notes: svn path=/projects/binutils-2.17/; revision=215143
2010-11-10Complete the integration of tbemd branch into head.Warner Losh
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
2010-11-03Simply our custom OSABI branding 'stub'. It is presently still neededDimitry Andric
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
2010-11-01Update Makefile, bfd.h and config.h.bsd for libbfd.Dimitry Andric
Notes: svn path=/projects/binutils-2.17/; revision=214637
2010-10-26Make sure elf_fbsd_post_process_headers() is actually called for ia64.Dimitry Andric
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
2010-10-22Most of binutils now compiles at WARNS=3, except for libiberty andDimitry Andric
libbfd, which still need WARNS=2. Notes: svn path=/projects/binutils-2.17/; revision=214223
2010-10-21Update BFD version and date, and add new upstream files. Also removeDimitry Andric
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
2010-10-21Use one file per line in SRCS= definition, to make insertions andDimitry Andric
deletions easier, and sort the file list. Notes: svn path=/projects/binutils-2.17/; revision=214169
2010-10-21Regenerate bfd.h and config.h.fbsd.Dimitry Andric
Notes: svn path=/projects/binutils-2.17/; revision=214168
2010-10-19Update the BFD and binutils version defines.Dimitry Andric
Notes: svn path=/projects/binutils-2.17/; revision=214075
2010-09-30Remove target peigen.c so that make doesn't warn us about it.Rui Paulo
Notes: svn path=/head/; revision=213294
2010-09-29Add support for the BFD target efi-app-x86_64.Rui Paulo
This uses only GPL2 source code and is a requirement for a 64 bit EFI boot loader. Notes: svn path=/head/; revision=213274
2010-07-10Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesNathan Whitehorn
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
2010-06-02Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.Juli Mallett
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
2010-02-03Remove alpha support from here too. FreeBSD 6 was the last branch toWarner Losh
support it. Notes: svn path=/head/; revision=203435
2010-02-03Remove more traces of the Alpha port.Warner Losh
Notes: svn path=/head/; revision=203434
2008-12-11Push mips support into the tree.Warner Losh
Notes: svn path=/head/; revision=185924
2008-08-31Enable EFI target.Rui Paulo
While there, make use of the DEFAULT_VECTOR variable. Notes: svn path=/head/; revision=182523
2008-04-17Add support for the 32-bit EFI target.Marcel Moolenaar
Notes: svn path=/head/; revision=178291
2007-02-11Fix PowerPC-targeted cross-builds performed on 64-bit platforms.Marcel Moolenaar
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
2006-09-14Remove redundant default vectorWarner Losh
Submitted by: ru@ Notes: svn path=/head/; revision=162304
2006-09-14fix the build: add missing end of line cont characterWarner Losh
Notes: svn path=/head/; revision=162302
2006-09-14.end -> .endifWarner Losh
Notes: svn path=/head/; revision=162299
2006-09-12Craft the FreeBSD/ARM ABI by hacking the New ARM ABI source.David E. O'Brien
Submitted by: cognet Notes: svn path=/head/; revision=162243