Page MenuHomeFreeBSD

Support XLD for setting X_LINKER_TYPE and X_LINKER_VERSION.
ClosedPublic

Authored by bdrewery on Jun 22 2017, 8:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 5:36 AM
Unknown Object (File)
Sat, Dec 21, 4:33 AM
Unknown Object (File)
Wed, Dec 11, 11:16 AM
Unknown Object (File)
Dec 1 2024, 7:03 PM
Unknown Object (File)
Oct 28 2024, 12:35 PM
Unknown Object (File)
Oct 28 2024, 12:35 PM
Unknown Object (File)
Oct 28 2024, 12:35 PM
Unknown Object (File)
Oct 28 2024, 12:35 PM
Subscribers
None

Details

Summary

This is similar to r300350 for bsd.compiler.mk.

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

Test Plan
~/git/freebsd/bin/sh # make -V LINKER_TYPE -V LINKER_VERSION -V X_LINKER_TYPE -V X_LINKER_VERSION
binutils
21750
~/git/freebsd/bin/sh # make -V LINKER_TYPE -V LINKER_VERSION -V X_LINKER_TYPE -V X_LINKER_VERSION XLD=/usr/bin/ld.lld
binutils
21750
lld
40000

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10069
Build 10493: arc lint + arc unit

Event Timeline

The X_ magic makes a lot more sense when viewed as this change to the basic non-XLD case.

This revision is now accepted and ready to land.Jun 22 2017, 8:35 PM

The X_ magic makes a lot more sense when viewed as this change to the basic non-XLD case.

Yeah, that's why I split it up into 3 pieces. It's really odd and confusing to read.

This revision was automatically updated to reflect the committed changes.