Unified · Split
| @@ -1335,15 +1335,15 @@ ST_FUNC void tcc_add_linker_symbols(TCCState *s1) · 1334 unmodified lines | |||
| 1335 | #if defined __FreeBSD__ | 1335 | #if defined __FreeBSD__ |
| 1336 | static const char elf_interp[] = "/libexec/ld-elf.so.1"; | 1336 | static const char elf_interp[] = "/libexec/ld-elf.so.1"; |
| 1337 | #elif defined __FreeBSD_kernel__ | 1337 | #elif defined __FreeBSD_kernel__ |
| 1338 | static char elf_interp[] = "/lib/ld.so.1"; | 1338 | static char elf_interp[] = CONFIG_TCC_LDDIR"/ld.so.1"; |
| 1339 | #elif defined TCC_ARM_EABI | 1339 | #elif defined TCC_ARM_EABI |
| 1340 | static const char elf_interp[] = "/lib/ld-linux.so.3"; | 1340 | static const char elf_interp[] = CONFIG_TCC_LDDIR"/ld-linux.so.3"; |
| 1341 | #elif defined(TCC_TARGET_X86_64) | 1341 | #elif defined(TCC_TARGET_X86_64) |
| 1342 | static const char elf_interp[] = CONFIG_TCC_LDDIR"/ld-linux-x86-64.so.2"; | 1342 | static const char elf_interp[] = CONFIG_TCC_LDDIR"/ld-linux-x86-64.so.2"; |
| 1343 | #elif defined(TCC_UCLIBC) | 1343 | #elif defined(TCC_UCLIBC) |
| 1344 | static const char elf_interp[] = "/lib/ld-uClibc.so.0"; | 1344 | static const char elf_interp[] = CONFIG_TCC_LDDIR"/ld-uClibc.so.0"; |
| 1345 | #else | 1345 | #else |
| 1346 | static const char elf_interp[] = "/lib/ld-linux.so.2"; | 1346 | static const char elf_interp[] = CONFIG_TCC_LDDIR"/ld-linux.so.2"; |
| 1347 | #endif | 1347 | #endif |
| 1348 | 1348 | ||
| 1349 | static void tcc_output_binary(TCCState *s1, FILE *f, | 1349 | static void tcc_output_binary(TCCState *s1, FILE *f, |