afonso360 opened PR #5550 from aarch64-got
to main
:
:wave: Hey,
This PR adds support for using the GOT in PIC mode on AArch64. It implements the relocations for both ELF and MachO.
In order to support the MachO relocations we need to update the object crate. Unfortunately that also brings a few other dependencies which also need to be vetted.
@cfallin has already validated the object crate update up to
0.30.0
in #5434 so we just need to do0.30.0 -> 0.30.1
and the rest of the new dependencies.Tested this using the awesome example provided by @acw in zulip.
On aarch64-linux I was able to fully test this, on aarch64-darwin the decompiled file seems correct but I don't have a M1/2 machine to link and run it. Maybe @acw can test and report back if anything is wrong?Fixes #2907
Fixes #5544
afonso360 updated PR #5550 from aarch64-got
to main
.
afonso360 updated PR #5550 from aarch64-got
to main
.
cfallin updated PR #5550 from aarch64-got
to main
.
afonso360 updated PR #5550 from aarch64-got
to main
.
afonso360 updated PR #5550 from aarch64-got
to main
.
afonso360 updated PR #5550 from aarch64-got
to main
.
afonso360 updated PR #5550 from aarch64-got
to main
.
jameysharp submitted PR review.
jameysharp merged PR #5550.
Last updated: Dec 23 2024 at 12:05 UTC