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:
Thomas Preud'homme 2010-09-11 17:57:15 +02:00
parent 3f829d11ff
commit 2596273fce

View File

@ -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)