aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2014-01-07 15:23:54 +0800
committerThomas Preud'homme <robotux@celest.fr>2014-01-08 15:00:52 +0800
commitb6247d1f3c34e93e8603fddf5fc6da8dc6b81d00 (patch)
tree6515756dee0c2310d59990968675e145c5243651 /tccelf.c
parent70a088af874076d8db5d7c2067afd8f2bcde0592 (diff)
downloadtinycc-b6247d1f3c34e93e8603fddf5fc6da8dc6b81d00.tar.gz
tinycc-b6247d1f3c34e93e8603fddf5fc6da8dc6b81d00.tar.bz2
Add support for runtime selection of float ABI
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccelf.c b/tccelf.c
index aa3daac..43a8086 100644
--- a/tccelf.c
+++ b/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;