version 1.34.4.1, 2011/03/05 15:10:51 |
version 1.35, 2011/02/17 21:06:26 |
|
|
__asm(".weak " _C_LABEL_STRING(#sym)); |
__asm(".weak " _C_LABEL_STRING(#sym)); |
|
|
#if __GNUC_PREREQ__(4, 0) |
#if __GNUC_PREREQ__(4, 0) |
#define __weak_reference(sym) __attribute__((__weakref__(#sym))) |
#define __weak_reference(sym) __attribute__((__weakref__)) |
#else |
#else |
#define __weak_reference(sym) ; __asm(".weak " _C_LABEL_STRING(#sym)) |
#define __weak_reference(sym) ; __asm(".weak " _C_LABEL_STRING(#sym)) |
#endif |
#endif |
|
|
#if __GNUC_PREREQ__(4, 2) |
|
#define __weakref_visible static |
|
#else |
|
#define __weakref_visible extern |
|
#endif |
|
|
|
#define __warn_references(sym,msg) \ |
#define __warn_references(sym,msg) \ |
__asm(".pushsection .gnu.warning." #sym "\n" \ |
__asm(".pushsection .gnu.warning." #sym "\n" \ |
".ascii \"" msg "\"\n" \ |
".ascii \"" msg "\"\n" \ |