diff options
| author | seyko <seyko2@gmail.com> | 2015-03-03 17:05:44 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-03 17:05:44 +0300 |
| commit | cd4f3d962d3d6f28bef49f00caac223092c6b4b6 (patch) | |
| tree | 8cd8384f53ec63f192207a6f8078806ad204e0e6 | |
| parent | 2d83ec7aa33e095ae0cc0d61a38bfd6061633811 (diff) | |
| download | tinycc-cd4f3d962d3d6f28bef49f00caac223092c6b4b6.tar.gz tinycc-cd4f3d962d3d6f28bef49f00caac223092c6b4b6.tar.bz2 | |
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
| -rw-r--r-- | tcc.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -265,14 +265,14 @@ # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2" # elif defined __GNU__ # 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 # define CONFIG_TCC_ELFINTERP "/lib/ld-linux-aarch64.so.1" # elif defined(TCC_TARGET_X86_64) # 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) # define CONFIG_TCC_ELFINTERP "/lib/ld-linux.so.2" # endif |
