Stream: git-wasmtime

Topic: wasmtime / PR #5550 aarch64: Support GOT Relative relocat...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 08 2023 at 20:21):

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 do 0.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

view this post on Zulip Wasmtime GitHub notifications bot (Jan 09 2023 at 21:23):

afonso360 updated PR #5550 from aarch64-got to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 09 2023 at 21:25):

afonso360 updated PR #5550 from aarch64-got to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2023 at 22:57):

cfallin updated PR #5550 from aarch64-got to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 26 2023 at 11:43):

afonso360 updated PR #5550 from aarch64-got to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 26 2023 at 19:43):

afonso360 updated PR #5550 from aarch64-got to main.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2023 at 10:09):

afonso360 updated PR #5550 from aarch64-got to main.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 15 2023 at 12:11):

afonso360 updated PR #5550 from aarch64-got to main.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 15 2023 at 23:18):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 15 2023 at 23:19):

jameysharp merged PR #5550.


Last updated: Nov 22 2024 at 17:03 UTC