History

OpenBSD: elfinterp location looks the same for all architectures. i386 WIP

Christian Jullien committed 5 years ago

Commit ef7c4381 parent 0e749651 file · +3 −5Browse files

Unified · Split

tcc.h+3−5
@@ -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_NetBSD288# 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# else307# else
306# if TARGETOS_OpenBSD308# 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# endif309# 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"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t