History

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

seyko committed 11 years ago

Commit cd4f3d91 parent 2d83ec71 file · +4 −4Browse files

Unified · Split

tcc.h+4−4
@@ -265,14 +265,14 @@ · 264 unmodified lines
265265 # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2"
266266 # elif defined __GNU__
267267 # define CONFIG_TCC_ELFINTERP "/lib/ld.so"
268+# elif defined(TCC_TARGET_PE)
269+# define CONFIG_TCC_ELFINTERP "-"
270+# elif defined(TCC_UCLIBC)
271+# define CONFIG_TCC_ELFINTERP "/lib/ld-uClibc.so.0" /* is there a uClibc for x86_64 ? */
268272 # elif defined TCC_TARGET_ARM64
269273 # define CONFIG_TCC_ELFINTERP "/lib/ld-linux-aarch64.so.1"
270274 # elif defined(TCC_TARGET_X86_64)
271275 # define CONFIG_TCC_ELFINTERP "/lib64/ld-linux-x86-64.so.2"
272−# elif defined(TCC_UCLIBC)
273−# define CONFIG_TCC_ELFINTERP "/lib/ld-uClibc.so.0"
274−# elif defined(TCC_TARGET_PE)
275−# define CONFIG_TCC_ELFINTERP "-"
276276 # elif !defined(TCC_ARM_EABI)
277277 # define CONFIG_TCC_ELFINTERP "/lib/ld-linux.so.2"
278278 # endif

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