Subversion Repositories Kolibri OS

Rev

Rev 1970 | Rev 3243 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1970 Rev 3031
Line 27... Line 27...
27
   gcc also has a __attribute__((__hot__)) to move hot functions into
27
   gcc also has a __attribute__((__hot__)) to move hot functions into
28
   a special section, but I don't see any sense in this right now in
28
   a special section, but I don't see any sense in this right now in
29
   the kernel context */
29
   the kernel context */
30
#define __cold			__attribute__((__cold__))
30
#define __cold			__attribute__((__cold__))
Line -... Line 31...
-
 
31
 
Line 31... Line 32...
31
 
32
#define __linktime_error(message) __attribute__((__error__(message)))
32
 
33
 
33
#if __GNUC_MINOR__ >= 5
34
#if __GNUC_MINOR__ >= 5
34
/*
35
/*
Line 46... Line 47...
46
#define __noclone	__attribute__((__noclone__))
47
#define __noclone	__attribute__((__noclone__))
Line 47... Line 48...
47
 
48
 
48
#endif
49
#endif
Line -... Line 50...
-
 
50
#endif
-
 
51
 
-
 
52
#if __GNUC_MINOR__ >= 6
-
 
53
/*
-
 
54
 * Tell the optimizer that something else uses this function or variable.
-
 
55
 */
-
 
56
#define __visible __attribute__((externally_visible))
49
#endif
57
#endif
50
 
58
 
51
#if __GNUC_MINOR__ > 0
59
#if __GNUC_MINOR__ > 0
52
#define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
60
#define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
53
#endif
61
#endif
54
#if __GNUC_MINOR__ >= 4 && !defined(__CHECKER__)
62
#if __GNUC_MINOR__ >= 3 && !defined(__CHECKER__)
55
#define __compiletime_warning(message) __attribute__((warning(message)))
63
#define __compiletime_warning(message) __attribute__((warning(message)))