diff options
author | noneofyourbusiness <noneofyourbusiness@danwin1210.de> | 2023-12-07 16:27:27 +0100 |
---|---|---|
committer | noneofyourbusiness <noneofyourbusiness@danwin1210.de> | 2023-12-08 17:08:03 +0100 |
commit | c71415b543e49ad42b9b6bbaf12a0202d75d129d (patch) | |
tree | ea8c00645cf953d469370829f6fd376f9f317ebc | |
parent | d87801bd50abb04be894628338164537d88654dc (diff) |
riscv64 elf flags should be configurable
-rw-r--r-- | tccelf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |