Skip to content

Fix __eh_frame for AArch64 on macOS#1634

Draft
philipc wants to merge 1 commit intorust-lang:mainfrom
philipc:macho-arm64
Draft

Fix __eh_frame for AArch64 on macOS#1634
philipc wants to merge 1 commit intorust-lang:mainfrom
philipc:macho-arm64

Conversation

@philipc
Copy link
Contributor

@philipc philipc commented Mar 12, 2026

The relocations must use symbols (not sections), and the relative relocation needs ARM64_RELOC_SUBTRACTOR.

The section must be in __TEXT rather than __DWARF, which is handled by using StandardSection::EhFrame. This also changes the section type for ELF x86-64.

Depends on gimli-rs/object#856

The relocations must use symbols (not sections), and the relative relocation
needs ARM64_RELOC_SUBTRACTOR.

The section must be in __TEXT rather than __DWARF, which is handled by
using StandardSection::EhFrame. This also changes the section type
for ELF x86-64.
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.

1 participant