Fully switch powerpc32 to LLD10.
Details
- Reviewers
emaste jhibbits - Group Reviewers
PowerPC manpages - Commits
- rS359347: [PowerPC] Switch powerpc and powerpcspe to lld
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Also update share/man/man7/arch.7, tools/build/options/WITH_BINUTILS, and tools/build/options/WITHOUT_BINUTILS.
gnu/usr.bin/binutils/Makefile | ||
---|---|---|
20 ↗ | (On Diff #69669) | This also implies that the entire ld/ subdirectory can go away after this is in. |
tools/build/mk/OptionalObsoleteFiles.inc | ||
418 ↗ | (On Diff #69669) | Someone double check this, but as far as I can tell, we want NEITHER a MK_BINUTILS nor a MK_LLD_IS_LD check at this point -- the existence of this file should be based purely on whether or not base/binutils is installed. |
gnu/usr.bin/binutils/Makefile | ||
---|---|---|
20 ↗ | (On Diff #69669) | Yep. IMO you could also do it in the same commit (because ld/ is pretty much trivial), fine with me either way. |
tools/build/mk/OptionalObsoleteFiles.inc | ||
418 ↗ | (On Diff #69669) | I believe you are correct, paging @jhb |
tools/build/mk/OptionalObsoleteFiles.inc | ||
---|---|---|
418 ↗ | (On Diff #69669) | Yes, this should probably move to the top-level at some point. I think it would be fine to do that separately as part of removing support for in-tree ld.bfd and perhaps not part of this change? I would also put removing ld in that change as well. They may be small, but I think it's worth splitting those up. |
tools/build/mk/OptionalObsoleteFiles.inc | ||
---|---|---|
418 ↗ | (On Diff #69669) | Yep, fine with me either way |
stand/defs.mk | ||
---|---|---|
102 ↗ | (On Diff #69905) | will take this comment back out, powerpc is lowest common denominator and should work fine even for stuff for use on book-E. |
head/share/mk/bsd.compat.mk | ||
---|---|---|
59 | Shouldn't this be LD="${LD} -m elf32ppc_fbsd"? It seems like this would pass -m elf32ppc_fbsd to make and make ignores it since the directory doesn't exist? -m directory Specify a directory in which to search for sys.mk and makefiles included via the <file>-style include statement. The -m flag doesn't do much for lld since it will just set infer everything from the first .o file if not present. The only thing that the _fbsd suffix does is set the OSABI field (which might not be required since the crt files add the freebsd note section). |