mirror of
https://github.com/frida/tinycc
synced 2024-12-25 22:46:49 +03:00
Add support for __REDIRECT_NTH needed with eglibc.
Add support for __REDIRECT_NTH as eglibc makes use of this macro to redirect long double functions to long functions on arch not supporting long double.
This commit is contained in:
parent
3f829d11ff
commit
2596273fce
3
libtcc.c
3
libtcc.c
@ -971,6 +971,9 @@ LIBTCCAPI TCCState *tcc_new(void)
|
||||
tcc_define_symbol(s, "__WCHAR_TYPE__", "int");
|
||||
#endif
|
||||
|
||||
/* glibc defines */
|
||||
tcc_define_symbol(s, "__REDIRECT_NTH(name, proto, alias)", "name proto __asm__ (#alias) __THROW");
|
||||
|
||||
#ifndef TCC_TARGET_PE
|
||||
/* default library paths */
|
||||
# if defined(TCC_TARGET_X86_64_CENTOS)
|
||||
|
Loading…
Reference in New Issue
Block a user