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)
Fri, Oct 24, 4:46 AM
Unknown Object (File)
Wed, Oct 22, 9:53 AM
Unknown Object (File)
Wed, Oct 22, 9:52 AM
Unknown Object (File)
Tue, Oct 21, 9:19 PM
Unknown Object (File)
Tue, Oct 21, 9:19 PM
Unknown Object (File)
Tue, Oct 21, 9:46 AM
Unknown Object (File)
Thu, Oct 9, 12:06 PM
Unknown Object (File)
Mon, Sep 29, 11:26 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.