qbe/arm64
Michael Forney 80d745c842 arm64: fix extern with offset
We need to add the offset after loading from the GOT.

This is a fix for the issue reported in [0], and removes the offsets
in isel to avoid the problem with large offsets in the naive patch.
This is similar to what is done on amd64.

Tested with cproc bootstrap using extern on aarch64.

[0] https://lists.sr.ht/~mpu/qbe/%3Cd71fac06-1208-4e4f-85a4-e5edc7fd979c@app.fastmail.com%3E#%3C2F4DUTRJ9GA5V.3VK2QXK848F7U@mforney.org%3E
2026-06-08 11:56:20 +02:00
..
abi.c reduce memory footprint of strings 2026-05-13 09:03:09 +02:00
all.h mark apple targets with a boolean 2022-10-08 21:48:47 +02:00
emit.c arm64: fix extern with offset 2026-06-08 11:56:20 +02:00
isel.c arm64: fix extern with offset 2026-06-08 11:56:20 +02:00
targ.c If-conversion RFC 4 - x86 only (for now), use cmovXX 2026-01-13 18:11:30 +01:00