mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-29 06:10:09 +08:00
riscv64 elf flags should be configurable
This commit is contained in:
parent
d87801bd50
commit
c71415b543
1
tccelf.c
1
tccelf.c
@ -2504,6 +2504,7 @@ static int tcc_output_elf(TCCState *s1, FILE *f, int phnum, ElfW(Phdr) *phdr,
|
||||
#elif defined TCC_TARGET_ARM
|
||||
ehdr.e_ident[EI_OSABI] = ELFOSABI_ARM;
|
||||
#elif defined TCC_TARGET_RISCV64
|
||||
/* XXX should be configurable */
|
||||
ehdr.e_flags = EF_RISCV_FLOAT_ABI_DOUBLE;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user