Page MenuHomeFreeBSD

[PowerPC64] starting from FreeBSD 13.0, default 64-bit ELF ABI is V2 (ELFv2)
ClosedPublic

Authored by alfredo on May 23 2019, 4:19 PM.
Referenced Files
F82020263: D20383.id57781.diff
Wed, Apr 24, 3:57 PM
F81984914: D20383.id.diff
Wed, Apr 24, 3:41 AM
Unknown Object (File)
Sat, Apr 20, 3:17 PM
Unknown Object (File)
Sat, Apr 20, 3:17 PM
Unknown Object (File)
Sat, Apr 20, 3:17 PM
Unknown Object (File)
Sat, Apr 20, 3:17 PM
Unknown Object (File)
Fri, Apr 19, 12:16 PM
Unknown Object (File)
Thu, Apr 18, 2:31 PM

Details

Summary

Warning: to be commited on "flag day"

This changes LLVM default powerpc64 ABI to ELFv2, if target OS is FreeBSD >= 13.0

This patch should be sent to upstream after flag day.

Diff Detail

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

Event Timeline

Of course this will need to go upstream as well.

Of course this will need to go upstream as well.

Yes, I'm planning to send it to upstream (9.x) as well file backport to 8.x request release after flag day, or at least when plan is officially announced.
What do you and @jhibbits think about it?

The change itself LGTM.

From a previous discussion these days, it seems the consensus was to propose it to LLVM upstream some time after FreeBSD itself commits the ELFv2 changes.
As this changes a previous default, I'm not sure if this change is eligible for backporting, but LLVM community knows better about it.

Patch updated as base LLVM switched from version 8 to 9

Marking as Plan Changes again to avoid accidental commit before flag day

alfredo added a project: PowerPC.
alfredo added a subscriber: PowerPC.
alfredo removed a subscriber: PowerPC.

Back to review as no changes planned

This revision is now accepted and ready to land.Dec 23 2019, 10:34 PM