x86_64-win-tcc elfinterp: a bug correction
./x86_64-win-tcc -vv Before elfinterp: /lib64/ld-linux-x86-64.so.2 After elfinterp: - This output is identical to the output of the i386-win-tcc
This commit is contained in:
parent
2d83ec7aa3
commit
cd4f3d962d
1 changed files with 4 additions and 4 deletions
8
tcc.h
8
tcc.h
|
@ -265,14 +265,14 @@
|
||||||
# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2"
|
# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2"
|
||||||
# elif defined __GNU__
|
# elif defined __GNU__
|
||||||
# define CONFIG_TCC_ELFINTERP "/lib/ld.so"
|
# define CONFIG_TCC_ELFINTERP "/lib/ld.so"
|
||||||
|
# elif defined(TCC_TARGET_PE)
|
||||||
|
# define CONFIG_TCC_ELFINTERP "-"
|
||||||
|
# elif defined(TCC_UCLIBC)
|
||||||
|
# define CONFIG_TCC_ELFINTERP "/lib/ld-uClibc.so.0" /* is there a uClibc for x86_64 ? */
|
||||||
# elif defined TCC_TARGET_ARM64
|
# elif defined TCC_TARGET_ARM64
|
||||||
# define CONFIG_TCC_ELFINTERP "/lib/ld-linux-aarch64.so.1"
|
# define CONFIG_TCC_ELFINTERP "/lib/ld-linux-aarch64.so.1"
|
||||||
# elif defined(TCC_TARGET_X86_64)
|
# elif defined(TCC_TARGET_X86_64)
|
||||||
# define CONFIG_TCC_ELFINTERP "/lib64/ld-linux-x86-64.so.2"
|
# define CONFIG_TCC_ELFINTERP "/lib64/ld-linux-x86-64.so.2"
|
||||||
# elif defined(TCC_UCLIBC)
|
|
||||||
# define CONFIG_TCC_ELFINTERP "/lib/ld-uClibc.so.0"
|
|
||||||
# elif defined(TCC_TARGET_PE)
|
|
||||||
# define CONFIG_TCC_ELFINTERP "-"
|
|
||||||
# elif !defined(TCC_ARM_EABI)
|
# elif !defined(TCC_ARM_EABI)
|
||||||
# define CONFIG_TCC_ELFINTERP "/lib/ld-linux.so.2"
|
# define CONFIG_TCC_ELFINTERP "/lib/ld-linux.so.2"
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in a new issue