newlib-cygwin/newlib/libc/sys/linux/machine/i386/weakalias.h

11 lines
288 B
C

#define weak_alias(name, aliasname) \
extern __typeof (name) aliasname __attribute__ ((__weak__, __alias__ (#name)));
#if 0
#define weak_extern(symbol) _weak_extern (symbol)
#define _weak_extern(symbol) asm (".weak " #symbol);
#endif
#define weak_function __attribute__ ((__weak__))