aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/elfcopy
Commit message (Collapse)AuthorAgeFilesLines
* packages: rename elftoolchain to toolchain, add more thingsLexi Winter2025-05-281-1/+1
| | | | | | | | | | | | | | Rename the existing "elftoolchain" package to "toolchain", and move everything which is gated by MK_TOOLCHAIN (e.g. lex, yacc, ...) to the toolchain package. This means we have one package called "toolchain" which contains all the development-related utilities which are not compilers or already part of some other package (e.g., llvm). Reviewed by: des, emaste Approved by: des (mentor) Differential Revision: https://reviews.freebsd.org/D50286
* elfcopy: Restore upstream nameEd Maste2025-04-112-0/+69
| | | | | | | | | | ELF Tool Chain's objcopy-equivalent is called elfcopy. Restore the upstream name in our build infrastructure to make it more clear where different binary utility components come from. Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49784
* Rename usr.bin/elfcopy to usr.bin/objcopyEd Maste2018-06-212-69/+0
| | | | | | | | | | | | We always install ELF Tool Chain's elfcopy as objcopy, so to avoid confusion rename the src directory containing our reach-over Makefile to match. Requested by: jhb Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=335482
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Adopt SRCTOP in usr.binWarner Losh2017-03-121-1/+1
| | | | | | | | | | | | Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice) Notes: svn path=/head/; revision=315170
* Retire WITHOUT_ELFCOPY_AS_OBJCOPY optionEd Maste2016-10-031-4/+0
| | | | | | | | | | | | | | | | | 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
* Use the in-tree sys/elf_common.hBryan Drewery2016-06-051-0/+13
| | | | | | | This is the same fix as r301471. Notes: svn path=/head/; revision=301476
* elftoolchain: Use ${SRCTOP} for the top of the FreeBSD treeEd Maste2016-04-211-1/+1
| | | | | | | | | | | It's provided by sys.mk so there's no need to derive it from ${.CURDIR}. Suggested by: ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5998 Notes: svn path=/head/; revision=298401
* Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchainEd Maste2016-04-181-1/+1
| | | | | | | | | | This produces a nicer path in debug info and build logs. MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=298204
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2016-02-161-0/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295650
* elfcopy: enable PE and EFI supportEd Maste2016-02-121-3/+4
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=295582
* Allow ELF Tool Chain elfcopy to be installed as objcopyEd Maste2015-07-291-2/+10
| | | | | | | | | | | | | | | | 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
* new dependsSimon J. Gerraty2015-06-161-0/+2
| | | | Notes: svn path=/head/; revision=284481
* Pay attention to MK_ELFTOOLCHAIN_TOOLS so we build the desired tools.Simon J. Gerraty2015-06-151-0/+25
| | | | Notes: svn path=/head/; revision=284424
* Build infrastructure for elftoolchain toolsEd Maste2014-12-011-0/+24
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