Page MenuHomeFreeBSD

For arm targets, place ABI at the end of the target triple
ClosedPublic

Authored by dim on May 21 2017, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 8, 9:49 PM
Unknown Object (File)
Apr 11 2024, 9:28 PM
Unknown Object (File)
Feb 22 2024, 1:00 AM
Unknown Object (File)
Dec 20 2023, 7:16 AM
Unknown Object (File)
Jul 11 2023, 11:34 PM
Unknown Object (File)
Jul 11 2023, 11:32 PM
Unknown Object (File)
Jul 11 2023, 11:32 PM
Unknown Object (File)
Jul 8 2023, 10:04 PM
Subscribers

Details

Summary

For some reason, we have been inserting the ABI specification into the
middle of the target triple, when building LLVM, like so:

armv6-gnueabi-freebsd12.0

This is the wrong way around. LLVM even auto-canonicalizes it to:

armv6--freebsd12.0-gnueabi

Let's do this the right way in llvm.build.mk instead. While here,
define a proper VENDOR macro which can be overridden easily.

Diff Detail

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

Event Timeline

This seems correct to me, although I'm not sure what unanticipated fallout there might be and perhaps others will comment.

This revision is now accepted and ready to land.May 22 2017, 3:52 AM
This revision was automatically updated to reflect the committed changes.