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: 7b0b18a48a9282e9c813e0246130ffe30d2cb6c9 (plain)
1
2
3
4
5
6
7
8
#define weak_alias(name, aliasname) \
  extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));

#define weak_extern(symbol) _weak_extern (symbol)
#define _weak_extern(symbol) asm (".weak " #symbol);

#define weak_function __attribute__ ((weak))