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: 4242960c5dbbfd8d7cea6d1f79b5a366658101c3 (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__))