Skip to content

Commit

Permalink
riscv64 elf flags should be configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
noneofyourbusiness committed Dec 8, 2023
1 parent d87801b commit c71415b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tccelf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c71415b

Please sign in to comment.