Welcome to mirror list, hosted at ThFree Co, Russian Federation.

weakalias.h « i386 « machine « linux « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2813bfe264f353660282bdba0c89467b220c1936 (plain)
1
2
3
4
5
6
7
8
9
10
#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))