aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Retire obsolete GDB 6.1.1Ed Maste2020-12-151-13/+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
* Retire BINUTILS and BINUTILS_BOOTSTRAP optionsEd Maste2020-06-071-12/+0
| | | | | | | | | | | | | As of r361857 all BINUTILS options are disabled by default - ports have been changed to depend on binutils if they require GNU as, and all base system assembly files have been switched to use Clang's integrated assembler. Relnotes: Yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=361880
* binutils: build as with BINUTILS || BINUTILS_BOOTSTRAPEd Maste2020-05-301-2/+3
| | | | | | | | | | | | | | | | | Previously we descended into as only if MK_BINUTILS was true, including during the bootstrap tool phase. BINUTILS is now disabled by default on all archs, and we failed to build it during amd64 bootstrap. Descend into as if either BINUTILS or BINUTILS_BOOTSTRAP is enabled. This is not quite correct: we should either have the test also depend on BOOTSTRAPPING, or set BINUTILS to the value of BINUTILS_BOOTSTRAP during the bootstrap phase. However, this simple change fixes the build and has been tested, and binutils will be removed completely in the near future. Notes: svn path=/head/; revision=361656
* binutils: disconnect objdump from the buildEd Maste2020-05-061-4/+0
| | | | | | | | | | | | | | | | | | | | | The in-tree binutils is old and will not be updated. It does not support all archs supported by FreeBSD, and for the archs it does support not all CPU features are supported. Other tools have migrated to copyfree alternatives. Although llvm-objdump is nearly a drop-in replacement for GNU objdump it is missing a few options and has some differences in output format. For now just remove GNU objdump; ports and developers can use a contemporary, maintained version from ports or packages. We can revisit installing llvm-objdump as objdump in the future. PR: 212319 [exp-run] Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7338 Notes: svn path=/head/; revision=360698
* remove binutils ld leftoversEd Maste2020-03-271-1/+0
| | | | Notes: svn path=/head/; revision=359376
* [PowerPC] Switch powerpc and powerpcspe to lldBrandon Bergren2020-03-271-6/+0
| | | | | | | | | | | | | | | Now that LLD 10 is out, and required patches have landed, we are now ready to finally switch away from the ancient in-tree ld.bfd. Special thanks to Fangrui Song for many hours of work on getting the 32-bit powerpc lld ready for prime-time. Reviewed by: emaste (earlier revision), jhibbits Relnotes: yes Differential Revision: https://reviews.freebsd.org/D24111 Notes: svn path=/head/; revision=359347
* limit building GNU assembler (as) to x86Ed Maste2020-01-191-1/+7
| | | | | | | | | | | | | GNU as 2.17.50 is currently required by amd64 and i386 for at least one file that cannot be assembled by Clang's integrated assembler (IAS). Other supported CPU architectures either use Clang IAS for all assembly files, or rely on external toolchain. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23180 Notes: svn path=/head/; revision=356889
* limit ld.bfd to powerpcEd Maste2020-01-141-5/+3
| | | | | | | | | | | | All archs except powerpc either use lld or require external toolchain. powerpc still needs binutils ld to link 32-bit binaries. Reviewed by: jhibbits Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23107 Notes: svn path=/head/; revision=356736
* [PPC] Enable build/install of ld.bfd on baseLeandro Lupori2019-05-201-1/+3
| | | | | | | | | | | | | | When using LLVM+clang+lld on PowerPC64, ld.bfd is also needed, to link 32-bit binaries correctly, as lld support for 32-bit is still minimal. This change enables it to be built and installed when lld is used. Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D20259 Notes: svn path=/head/; revision=347992
* Divorce MK_GDB from MK_BINUTILS.John Baldwin2019-03-061-7/+8
| | | | | | | | | | | | This permits legacy GDB to still be built and installed if WITHOUT_BINUTILS is set (e.g. if base/binutils is installed). Reviewed by: emaste MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D19480 Notes: svn path=/head/; revision=344854
* Do not install GNU ld if lld is /usr/bin/ldEd Maste2018-11-261-1/+5
| | | | | | | | | | | | | | GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken binaries when ifuncs are in use. When LLD_IS_LD is default we have an ifunc-capable system linker and can just avoid installing ld.bfd. Reported by: theraven Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18340 Notes: svn path=/head/; revision=340984
* Retire WITHOUT_ELFCOPY_AS_OBJCOPY optionEd Maste2016-10-031-6/+1
| | | | | | | | | | | | | | | | | In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by default, with the option to switch back to GNU objcopy by setting WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf. We plan to remove the outdated in-tree binutils in FreeBSD 12, so remove the temporary transition aid. Reviewed by: brooks, imp Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7337 Notes: svn path=/head/; revision=306649
* Remove .WAIT hacks and put in specific dependencies.Warner Losh2015-08-281-2/+5
| | | | Notes: svn path=/head/; revision=287262
* Add another .WAIT since sometimes we lose the race.Warner Losh2015-08-281-0/+1
| | | | Notes: svn path=/head/; revision=287241
* Drop a .WAIT into the list. Items later in the list than this dependWarner Losh2015-08-261-0/+6
| | | | | | | on items earlier. Enable parallel builds. Notes: svn path=/head/; revision=287150
* Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAINEd Maste2015-08-131-1/+1
| | | | | | | | | | | | | | The option was added only to ease the transition from GNU Binutils to ELF Tool Chain tools, and that process is now complete (for the viable replacements). Noting the removal in UPDATING is sufficient as we have not shipped a release with the option. Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3240 Notes: svn path=/head/; revision=286730
* Remove old GNU Binutils tools now provided by ELF Tool ChainEd Maste2015-08-051-14/+0
| | | | | | | | | Reviewed by: bapt, brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3238 Notes: svn path=/head/; revision=286332
* Allow ELF Tool Chain elfcopy to be installed as objcopyEd Maste2015-07-291-1/+4
| | | | | | | | | | | | | | | | ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy, but does not currently support PE output which is needed for building x86 UEFI bits. Add a src.conf knob to allow installing it as objcopy and set it by default for aarch64 only, where we don't have a native binutils. Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2887 Notes: svn path=/head/; revision=286030
* Switch to ELF toolchain readelf(1)Ed Maste2015-03-301-1/+2
| | | | | | | | | | | | | | | | ELF toolchain readelf lacked some functionality at the time other tools (like size, strip, nm, etc.) were switched over to the ELF toolchain versions. That has been addressed as of the last update, so we can add it to the list. PR: 198950 [exp-run] Reviewed by: bapt, imp, rpaulo Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2156 Notes: svn path=/head/; revision=280859
* Add pregenerated documentation for as(1) and ld(1)Baptiste Daroussin2015-01-041-1/+2
| | | | Notes: svn path=/head/; revision=276651
* Remove GNU texinfo from base along with all info pages.Baptiste Daroussin2015-01-021-3/+2
| | | | | | | | | | | | To be able to info pages consider installing texinfo from ports print/texinfo or via pkg: pkg install texinfo Differential Revision: https://reviews.freebsd.org/D1409 Reviewed by: emaste, imp (previous version) Relnotes: yes Notes: svn path=/head/; revision=276551
* Build infrastructure for elftoolchain toolsEd Maste2014-12-011-5/+15
| | | | | | | | | | | | | | | | | | Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version of the following tools: * addr2line * elfcopy (strip / mcs) * nm * size * strings Reviewed by: bapt (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1224 Notes: svn path=/head/; revision=275373
* Put each SUBDIR on a separate lineEd Maste2014-11-271-3/+15
| | | | | | | | This makes it easier to review or merge changes that modify some subset of SUBDIRs. Notes: svn path=/head/; revision=275193
* Remove long-unused GNU ar and ranlibEd Maste2013-10-011-1/+1
| | | | | | | | | | The libarchive-based replacements have been used since 2009; the GNU ones were kept to support source upgrades from FreeBSD 6. Approved by: re@ (delphij) Notes: svn path=/head/; revision=255974
* GDB has moved up one level.David E. O'Brien2004-06-251-8/+0
| | | | Notes: svn path=/head/; revision=131090
* Disable building of GDB info files until the gdb6 upgrade is finished.David E. O'Brien2004-06-211-1/+2
| | | | Notes: svn path=/head/; revision=130859
* Updated Bmake framework for Binutils 2.15.David E. O'Brien2004-06-161-1/+1
| | | | Notes: svn path=/head/; revision=130575
* Disable gdb from the build due to the impending binutils 2.15 import.David E. O'Brien2004-06-161-1/+1
| | | | | | | GDB 5.12 cannot consume the 2.15 bfd and libiberty. Notes: svn path=/head/; revision=130558
* Remove MAINTAINER lines.David E. O'Brien2003-06-141-4/+0
| | | | Notes: svn path=/head/; revision=116346
* GDB 5.2.1 doesn't build on sparc64 right now.David E. O'Brien2002-10-201-2/+1
| | | | Notes: svn path=/head/; revision=105564
* GDB plays nice with Binutils again.David E. O'Brien2002-10-111-1/+0
| | | | Notes: svn path=/head/; revision=104934
* Turn off GDB for now. It and the new binutils just aren't agreeing on ourDavid E. O'Brien2002-10-111-0/+1
| | | | | | | binary format. Notes: svn path=/head/; revision=104914
* gdb now builds on sparc64.David E. O'Brien2002-09-191-1/+3
| | | | Notes: svn path=/head/; revision=103644
* Turn back on GDB.David E. O'Brien2002-06-291-2/+1
| | | | | | | | gdbserver does not build, but I've gone about as far with GDB as I'm going to right now. Notes: svn path=/head/; revision=99016
* NO_GDB while it is being upgraded.David E. O'Brien2002-06-271-0/+1
| | | | Notes: svn path=/head/; revision=98942
* For the benefit of those Emacs users amongst us, only cut out gdb.infoDavid E. O'Brien2002-06-221-1/+1
| | | | | | | rather than *.info. Notes: svn path=/head/; revision=98623
* Take the guaranteed fix -- turn off .info docs for now until we get theDavid E. O'Brien2002-06-221-1/+1
| | | | | | | gdb docs sorted out. Notes: svn path=/head/; revision=98620
* Make the logic more explicit.David E. O'Brien2001-10-191-1/+1
| | | | Notes: svn path=/head/; revision=85193
* We don't support GDB for IA-64, PowerPC, or sparc64 yet.David E. O'Brien2001-10-151-1/+3
| | | | Notes: svn path=/head/; revision=84951
* Remove MIPS support.David E. O'Brien2001-04-111-4/+0
| | | | | | | It has rotted quite badly and no one has provided updates for it. Notes: svn path=/head/; revision=75400
* Note rules of enguagement.David E. O'Brien2001-03-151-2/+4
| | | | Notes: svn path=/head/; revision=74313
* Build and install the useful `readelf' util that is new with Binutils 2.10.0.David E. O'Brien2000-11-131-1/+1
| | | | Notes: svn path=/head/; revision=68675
* Don't make gdb, objc and f77 when building tools.Marcel Moolenaar1999-12-091-0/+2
| | | | Notes: svn path=/head/; revision=54368
* Build gasp (GAS Preprocessor). This is needed for building Glide.Doug Rabson1999-12-071-1/+1
| | | | Notes: svn path=/head/; revision=54261
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* * Merge gdb/doc/Makefile into binutils/doc/MakefileDoug Rabson1999-05-021-2/+2
| | | | | | | | | | * Update build for gdbserver and gdbreplay to work under binutils * Fix gdbserver to use PT_GETREGS etc to access registers, removing the dependancy on the u-area. * Make gdbserver work on the alpha. Notes: svn path=/head/; revision=46328
* Enable gdb on the alpha.Doug Rabson1999-05-021-3/+4
| | | | Notes: svn path=/head/; revision=46320
* Enable building gdb under binutils for i386. I can't enable the alpha buildDoug Rabson1999-05-021-1/+6
| | | | | | | yet since CVS is hiding one of my files. Notes: svn path=/head/; revision=46291
* This duplicates gnu/usr.bin/cc/c++filt.David E. O'Brien1999-04-181-2/+2
| | | | Notes: svn path=/head/; revision=45772
* Don't build the info pages for the old assembler. Instead, buildJohn Polstra1998-10-031-2/+2
| | | | | | | and install the info pages for the new assembler and linker. Notes: svn path=/head/; revision=39909