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, Dec 21, 4:33 AM
Unknown Object (File)
Wed, Dec 11, 11:16 AM
Unknown Object (File)
Sun, Dec 1, 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
Unknown Object (File)
Oct 28 2024, 12:14 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.