Skip to content

drop support for powerpc64 ELF v1#25478

Merged
alexrp merged 1 commit intoziglang:masterfrom
alexrp:drop-ppc64-elfv1
Oct 5, 2025
Merged

drop support for powerpc64 ELF v1#25478
alexrp merged 1 commit intoziglang:masterfrom
alexrp:drop-ppc64-elfv1

Conversation

@alexrp
Copy link
Copy Markdown
Member

@alexrp alexrp commented Oct 5, 2025

  • ELF v1 on powerpc64 is only barely kept on life support in a couple of Linux distros. I don't anticipate that this will last much longer.
  • Most of the Linux world has moved to powerpc64le which requires ELF v2.
  • Some Linux distros have even started supporting powerpc64 with ELF v2.
  • The BSD world has long since moved to ELF v2.
  • We have no actual linking support for ELF v1.
  • ELF v1 had confused DWARF register mappings which is becoming a problem in our DWARF code in std.debug.

It's clear that ELF v1 is on its way out, and we never fully supported it anyway. So let's not waste any time or energy on it going forward.

closes #5927

* ELF v1 on powerpc64 is only barely kept on life support in a couple of Linux
  distros. I don't anticipate that this will last much longer.
* Most of the Linux world has moved to powerpc64le which requires ELF v2.
* Some Linux distros have even started supporting powerpc64 with ELF v2.
* The BSD world has long since moved to ELF v2.
* We have no actual linking support for ELF v1.
* ELF v1 had confused DWARF register mappings which is becoming a problem in
  our DWARF code in std.debug.

It's clear that ELF v1 is on its way out, and we never fully supported it
anyway. So let's not waste any time or energy on it going forward.

closes #5927
@alexrp alexrp enabled auto-merge (rebase) October 5, 2025 16:52
@alexrp alexrp merged commit ddc815e into ziglang:master Oct 5, 2025
17 of 18 checks passed
@alexrp alexrp deleted the drop-ppc64-elfv1 branch October 6, 2025 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support for linking powerpc64 ELFv1 ABI objects

1 participant