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 |
||
|---|---|---|
| amd64 | ||
| arm64 | ||
| doc | ||
| minic | ||
| rv64 | ||
| test | ||
| tools | ||
| .gitignore | ||
| abi.c | ||
| alias.c | ||
| all.h | ||
| cfg.c | ||
| copy.c | ||
| emit.c | ||
| fold.c | ||
| gcm.c | ||
| gvn.c | ||
| ifopt.c | ||
| LICENSE | ||
| live.c | ||
| load.c | ||
| main.c | ||
| Makefile | ||
| mem.c | ||
| ops.h | ||
| parse.c | ||
| README | ||
| rega.c | ||
| simpl.c | ||
| spill.c | ||
| ssa.c | ||
| util.c | ||
QBE - Backend Compiler http://c9x.me/compile/ doc/ Documentation. minic/ An example C frontend for QBE. tools/ Miscellaneous tools (testing). test/ Tests. amd64/ arm64/ rv64/ Architecture-specific code. The LICENSE file applies to all files distributed. - Compilation and Installation Invoke make in this directory to create the executable file qbe. Install using 'make install', the standard DESTDIR and PREFIX environment variables are supported. Alternatively, you may simply copy the qbe binary.