mirror of
git://c9x.me/qbe.git
synced 2026-08-02 15:44:39 +00:00
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 |
||
|---|---|---|
| .. | ||
| abi.c | ||
| all.h | ||
| emit.c | ||
| isel.c | ||
| targ.c | ||