Add support for runtime selection of float ABI

This commit is contained in:
Thomas Preud'homme
2014-01-07 15:23:54 +08:00
parent 70a088af87
commit b6247d1f3c
7 changed files with 114 additions and 71 deletions

View File

@ -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;