Unified · Split
| @@ -287,6 +287,8 @@ extern long double strtold (const char *__nptr, char **__endptr); · 286 unmodified lines | |||
| 287 | # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2" | 287 | # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2" |
| 288 | # elif TARGETOS_NetBSD | 288 | # elif TARGETOS_NetBSD |
| 289 | # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.elf_so" | 289 | # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.elf_so" |
| 290 | # elif TARGETOS_OpenBSD | ||
| 291 | # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.so" | ||
| 290 | # elif defined __GNU__ | 292 | # elif defined __GNU__ |
| 291 | # define CONFIG_TCC_ELFINTERP "/lib/ld.so" | 293 | # define CONFIG_TCC_ELFINTERP "/lib/ld.so" |
| 292 | # elif defined(TCC_TARGET_PE) | 294 | # elif defined(TCC_TARGET_PE) |
| @@ -303,11 +305,7 @@ extern long double strtold (const char *__nptr, char **__endptr); · 10 unmodified lines | |||
| 303 | # if defined(TCC_MUSL) | 305 | # if defined(TCC_MUSL) |
| 304 | # define CONFIG_TCC_ELFINTERP "/lib/ld-musl-x86_64.so.1" | 306 | # define CONFIG_TCC_ELFINTERP "/lib/ld-musl-x86_64.so.1" |
| 305 | # else | 307 | # else |
| 306 | # if TARGETOS_OpenBSD | 308 | # define CONFIG_TCC_ELFINTERP "/lib64/ld-linux-x86-64.so.2" |
| 307 | # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.so" | ||
| 308 | # else | ||
| 309 | # define CONFIG_TCC_ELFINTERP "/lib64/ld-linux-x86-64.so.2" | ||
| 310 | # endif | ||
| 311 | # endif | 309 | # endif |
| 312 | # elif defined(TCC_TARGET_RISCV64) | 310 | # elif defined(TCC_TARGET_RISCV64) |
| 313 | # define CONFIG_TCC_ELFINTERP "/lib/ld-linux-riscv64-lp64d.so.1" | 311 | # define CONFIG_TCC_ELFINTERP "/lib/ld-linux-riscv64-lp64d.so.1" |