diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2022-08-29 18:45:52 +0200 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-08-31 21:42:49 +0200 |
commit | 8dddb971d923fa19dced39013e6d4a39676e065a (patch) | |
tree | 88192ecf3a60de73f06d03dab51dc51f17fb4ab7 /rv64/targ.c | |
parent | 5490268683c82ad07eac6d2e8296a45702a8381e (diff) | |
download | roux-8dddb971d923fa19dced39013e6d4a39676e065a.tar.gz |
drop -G flag and add target amd64_apple
apple support is more than assembly syntax in case of arm64 machines, and apple syntax is currently useless in all cases but amd64; rather than having a -G option that only makes sense with amd64, we add a new target amd64_apple
Diffstat (limited to 'rv64/targ.c')
-rw-r--r-- | rv64/targ.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rv64/targ.c b/rv64/targ.c index 9360cf7..70701db 100644 --- a/rv64/targ.c +++ b/rv64/targ.c @@ -47,6 +47,8 @@ Target T_rv64 = { .abi = rv64_abi, .isel = rv64_isel, .emitfn = rv64_emitfn, + .emitfin = elf_emitfin, + .asloc = ".L", }; MAKESURE(rsave_size_ok, sizeof rv64_rsave == (NGPS+NFPS+1) * sizeof(int)); |