summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoneofyourbusiness <noneofyourbusiness@danwin1210.de>2023-12-07 16:27:27 +0100
committernoneofyourbusiness <noneofyourbusiness@danwin1210.de>2023-12-08 17:08:03 +0100
commitc71415b543e49ad42b9b6bbaf12a0202d75d129d (patch)
treeea8c00645cf953d469370829f6fd376f9f317ebc
parentd87801bd50abb04be894628338164537d88654dc (diff)
riscv64 elf flags should be configurable
-rw-r--r--tccelf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tccelf.c b/tccelf.c
index 3ddbe48..8f1d964 100644
--- a/tccelf.c
+++ b/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