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
287287 # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2"
288288 # elif TARGETOS_NetBSD
289289 # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.elf_so"
290+# elif TARGETOS_OpenBSD
291+# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.so"
290292 # elif defined __GNU__
291293 # define CONFIG_TCC_ELFINTERP "/lib/ld.so"
292294 # elif defined(TCC_TARGET_PE)
@@ -303,11 +305,7 @@ extern long double strtold (const char *__nptr, char **__endptr); · 10 unmodified lines
303305 # if defined(TCC_MUSL)
304306 # define CONFIG_TCC_ELFINTERP "/lib/ld-musl-x86_64.so.1"
305307 # else
306−# if TARGETOS_OpenBSD
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
308+# define CONFIG_TCC_ELFINTERP "/lib64/ld-linux-x86-64.so.2"
311309 # endif
312310 # elif defined(TCC_TARGET_RISCV64)
313311 # 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