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)
Sat, Nov 22, 9:44 PM
Unknown Object (File)
Fri, Nov 21, 5:01 AM
Unknown Object (File)
Fri, Nov 21, 5:01 AM
Unknown Object (File)
Fri, Nov 21, 5:00 AM
Unknown Object (File)
Fri, Nov 21, 4:59 AM
Unknown Object (File)
Fri, Nov 21, 4:59 AM
Unknown Object (File)
Fri, Nov 7, 1:00 AM
Unknown Object (File)
Tue, Nov 4, 4:44 AM
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 10066
Build 10490: 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.