Page MenuHomeFreeBSD

Rename MACHINE_ABI and TARGET_ABI
ClosedPublic

Authored by brooks on Sep 1 2022, 10:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 7:14 AM
Unknown Object (File)
Oct 5 2024, 1:00 AM
Unknown Object (File)
Oct 4 2024, 2:57 PM
Unknown Object (File)
Oct 3 2024, 2:58 PM
Unknown Object (File)
Sep 30 2024, 5:32 AM
Unknown Object (File)
Sep 30 2024, 5:24 AM
Unknown Object (File)
Sep 30 2024, 5:21 AM
Unknown Object (File)
Sep 30 2024, 3:32 AM
Subscribers

Details

Summary

The MACHINE_ABI and TARGET_ABI variables are used to set the middle of
the target triple (e.g., "-unknown-" or "-gnueabihf-"). The are not set
by any tool in the base system and I've only found the latter mentioned
in one review online. As such, rename them to to MACHINE_TRIPLE_ABI and
TARGET_TRIPLE_ABI to clear the way to use MACHINE_ABI as a suplement to
MACHINE_CPU, etc.

Obtained from: CheriBSD
Sponsored by: DARPA, AFRL

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

They're not exported so they can't be being used elsewhere

UPDATING
35 ↗(On Diff #110062)

Needed? Is this really something people set?

UPDATING
35 ↗(On Diff #110062)

I doubt it, but maybe there's someone setting them to undermydesk or the like (as always, see https://xkcd.com/1172/ :). Happy to drop this, but in the unlikely event someone is using them it makes the change discoverable.

This revision is now accepted and ready to land.Sep 30 2022, 8:49 PM
This revision was automatically updated to reflect the committed changes.