Mercurial > hg > tinycc
diff tccelf.c @ 570:c42c2145d359
The dynamic linker location belongs in configure, move it there.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 15 Mar 2008 21:23:24 -0500 |
parents | d89a6822b7e0 |
children | 6912ed120df3 |
line wrap: on
line diff
--- a/tccelf.c Sat Mar 15 20:10:47 2008 -0500 +++ b/tccelf.c Sat Mar 15 21:23:24 2008 -0500 @@ -1079,15 +1079,7 @@ } /* name of ELF interpreter */ -#ifdef __FreeBSD__ -static char elf_interp[] = "/usr/libexec/ld-elf.so.1"; -#else -#ifdef TCC_ARM_EABI -static char elf_interp[] = "/lib/ld-linux.so.3"; -#else -static char elf_interp[] = "/lib/ld-linux.so.2"; -#endif -#endif +static char elf_interp[] = CC_DYNAMIC_LINKER; static void tcc_output_binary(TCCState *s1, FILE *f, int *section_order)