aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mkimage/patches/080-remove_compiler_check.patch
blob: 5e0792f25f394cbfb34bd552f34bc9bdd26778a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/include/linux/compiler-gcc.h
+++ b/include/linux/compiler-gcc.h
@@ -146,13 +146,6 @@
 
 #if GCC_VERSION >= 40000
 
-/* GCC 4.1.[01] miscompiles __weak */
-#ifdef __KERNEL__
-# if GCC_VERSION >= 40100 &&  GCC_VERSION <= 40101
-#  error Your version of gcc miscompiles the __weak directive
-# endif
-#endif
-
 #define __used			__attribute__((__used__))
 #define __compiler_offsetof(a, b)					\
 	__builtin_offsetof(a, b)