Add support for runtime selection of float ABI
This commit is contained in:
2
tccelf.c
2
tccelf.c
@ -1592,7 +1592,7 @@ static int elf_output_file(TCCState *s1, const char *filename)
|
||||
/* allow override the dynamic loader */
|
||||
const char *elfint = getenv("LD_SO");
|
||||
if (elfint == NULL)
|
||||
elfint = CONFIG_TCC_ELFINTERP;
|
||||
elfint = DEFAULT_ELFINTERP(s1);
|
||||
/* add interpreter section only if executable */
|
||||
interp = new_section(s1, ".interp", SHT_PROGBITS, SHF_ALLOC);
|
||||
interp->sh_addralign = 1;
|
||||
|
||||
Reference in New Issue
Block a user