[BACK]Return to cdefs_elf.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / sys

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/sys/cdefs_elf.h between version 1.34.4.1 and 1.35

version 1.34.4.1, 2011/03/05 15:10:51 version 1.35, 2011/02/17 21:06:26
Line 65 
Line 65 
     __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"                                        \

Legend:
Removed from v.1.34.4.1  
changed lines
  Added in v.1.35

CVSweb <webmaster@jp.NetBSD.org>