View | Details | Raw Unified | Return to bug 44290 | Differences between
and this patch

Collapse All | Expand All | Context: (Patch / File /
)

(-)linux-2.6.34/include/linux/compiler-gcc.h.~1~ (-1 / +9 lines)
Line 1    Link Here 
1
#define __naked				__attribute__((naked)) notrace
1
 *
2
 * The asm() bodies of naked functions often depend on standard calling conventions,
3
 * therefore they must be noinline and noclone.  GCC 4.[56] currently fail to enforce
4
 * this, so we must do so ourselves.  See GCC PR44290.
5
#define __naked				__attribute__((naked)) noinline __noclone notrace
6
7
#if !defined(__noclone)
8
#define __noclone	/* not needed */
9
#endif
(-)linux-2.6.34/include/linux/compiler-gcc4.h.~1~ (+5 lines)
Line 1    Link Here 
1
2
/* Mark a function definition as prohibited from being cloned. */
3
#if __GNUC_MINOR__ >= 5
4
#define __noclone	__attribute__((__noclone__))
5
#endif