mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
OpenBSD: elfinterp location looks the same for all architectures. i386 WIP
This commit is contained in:
parent
0e74965d7f
commit
ef7c4388e7
8
tcc.h
8
tcc.h
@ -287,6 +287,8 @@ extern long double strtold (const char *__nptr, char **__endptr);
|
||||
# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2"
|
||||
# elif TARGETOS_NetBSD
|
||||
# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.elf_so"
|
||||
# elif TARGETOS_OpenBSD
|
||||
# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.so"
|
||||
# elif defined __GNU__
|
||||
# define CONFIG_TCC_ELFINTERP "/lib/ld.so"
|
||||
# elif defined(TCC_TARGET_PE)
|
||||
@ -303,11 +305,7 @@ extern long double strtold (const char *__nptr, char **__endptr);
|
||||
# if defined(TCC_MUSL)
|
||||
# define CONFIG_TCC_ELFINTERP "/lib/ld-musl-x86_64.so.1"
|
||||
# else
|
||||
# if TARGETOS_OpenBSD
|
||||
# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.so"
|
||||
# else
|
||||
# define CONFIG_TCC_ELFINTERP "/lib64/ld-linux-x86-64.so.2"
|
||||
# endif
|
||||
# define CONFIG_TCC_ELFINTERP "/lib64/ld-linux-x86-64.so.2"
|
||||
# endif
|
||||
# elif defined(TCC_TARGET_RISCV64)
|
||||
# define CONFIG_TCC_ELFINTERP "/lib/ld-linux-riscv64-lp64d.so.1"
|
||||
|
Loading…
Reference in New Issue
Block a user