diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch | 95 |
1 files changed, 28 insertions, 67 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch b/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch index bee251c335..d2a8a81b94 100644 --- a/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch +++ b/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch | |||
@@ -5,9 +5,9 @@ Upstream-Status: Pending | |||
5 | 5 | ||
6 | Index: git/libpthread/nptl/pthread_mutex_timedlock.c | 6 | Index: git/libpthread/nptl/pthread_mutex_timedlock.c |
7 | =================================================================== | 7 | =================================================================== |
8 | --- git.orig/libpthread/nptl/pthread_mutex_timedlock.c | 8 | --- git.orig/libpthread/nptl/pthread_mutex_timedlock.c 2013-01-21 16:22:20.000000000 -0800 |
9 | +++ git/libpthread/nptl/pthread_mutex_timedlock.c | 9 | +++ git/libpthread/nptl/pthread_mutex_timedlock.c 2013-01-21 16:24:12.275557670 -0800 |
10 | @@ -29,7 +29,9 @@ | 10 | @@ -28,7 +28,9 @@ |
11 | * error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ | 11 | * error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ |
12 | */ | 12 | */ |
13 | int | 13 | int |
@@ -19,9 +19,9 @@ Index: git/libpthread/nptl/pthread_mutex_timedlock.c | |||
19 | const struct timespec *abstime) | 19 | const struct timespec *abstime) |
20 | Index: git/libc/sysdeps/linux/powerpc/bits/mathinline.h | 20 | Index: git/libc/sysdeps/linux/powerpc/bits/mathinline.h |
21 | =================================================================== | 21 | =================================================================== |
22 | --- git.orig/libc/sysdeps/linux/powerpc/bits/mathinline.h | 22 | --- git.orig/libc/sysdeps/linux/powerpc/bits/mathinline.h 2013-01-21 16:22:20.000000000 -0800 |
23 | +++ git/libc/sysdeps/linux/powerpc/bits/mathinline.h | 23 | +++ git/libc/sysdeps/linux/powerpc/bits/mathinline.h 2013-01-21 16:24:12.275557670 -0800 |
24 | @@ -27,7 +27,7 @@ | 24 | @@ -26,7 +26,7 @@ |
25 | #ifdef __cplusplus | 25 | #ifdef __cplusplus |
26 | # define __MATH_INLINE __inline | 26 | # define __MATH_INLINE __inline |
27 | #else | 27 | #else |
@@ -32,9 +32,9 @@ Index: git/libc/sysdeps/linux/powerpc/bits/mathinline.h | |||
32 | #if defined __GNUC__ && !defined _SOFT_FLOAT | 32 | #if defined __GNUC__ && !defined _SOFT_FLOAT |
33 | Index: git/libc/sysdeps/linux/alpha/bits/mathinline.h | 33 | Index: git/libc/sysdeps/linux/alpha/bits/mathinline.h |
34 | =================================================================== | 34 | =================================================================== |
35 | --- git.orig/libc/sysdeps/linux/alpha/bits/mathinline.h | 35 | --- git.orig/libc/sysdeps/linux/alpha/bits/mathinline.h 2013-01-21 16:22:20.000000000 -0800 |
36 | +++ git/libc/sysdeps/linux/alpha/bits/mathinline.h | 36 | +++ git/libc/sysdeps/linux/alpha/bits/mathinline.h 2013-01-21 16:24:12.275557670 -0800 |
37 | @@ -25,7 +25,7 @@ | 37 | @@ -24,7 +24,7 @@ |
38 | #ifdef __cplusplus | 38 | #ifdef __cplusplus |
39 | # define __MATH_INLINE __inline | 39 | # define __MATH_INLINE __inline |
40 | #else | 40 | #else |
@@ -43,24 +43,11 @@ Index: git/libc/sysdeps/linux/alpha/bits/mathinline.h | |||
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | #if defined __USE_ISOC99 && defined __GNUC__ && !__GNUC_PREREQ(3,0) | 45 | #if defined __USE_ISOC99 && defined __GNUC__ && !__GNUC_PREREQ(3,0) |
46 | Index: git/libc/sysdeps/linux/common/bits/socket.h | ||
47 | =================================================================== | ||
48 | --- git.orig/libc/sysdeps/linux/common/bits/socket.h | ||
49 | +++ git/libc/sysdeps/linux/common/bits/socket.h | ||
50 | @@ -302,7 +302,7 @@ extern struct cmsghdr *__cmsg_nxthdr (st | ||
51 | libc_hidden_proto(__cmsg_nxthdr) | ||
52 | #ifdef __USE_EXTERN_INLINES | ||
53 | # ifndef _EXTERN_INLINE | ||
54 | -# define _EXTERN_INLINE extern __inline | ||
55 | +# define _EXTERN_INLINE __extern_inline | ||
56 | # endif | ||
57 | _EXTERN_INLINE struct cmsghdr * | ||
58 | __NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)) | ||
59 | Index: git/libc/sysdeps/linux/i386/bits/mathinline.h | 46 | Index: git/libc/sysdeps/linux/i386/bits/mathinline.h |
60 | =================================================================== | 47 | =================================================================== |
61 | --- git.orig/libc/sysdeps/linux/i386/bits/mathinline.h | 48 | --- git.orig/libc/sysdeps/linux/i386/bits/mathinline.h 2013-01-21 16:22:20.000000000 -0800 |
62 | +++ git/libc/sysdeps/linux/i386/bits/mathinline.h | 49 | +++ git/libc/sysdeps/linux/i386/bits/mathinline.h 2013-01-21 16:24:12.275557670 -0800 |
63 | @@ -26,7 +26,7 @@ | 50 | @@ -25,7 +25,7 @@ |
64 | #ifdef __cplusplus | 51 | #ifdef __cplusplus |
65 | # define __MATH_INLINE __inline | 52 | # define __MATH_INLINE __inline |
66 | #else | 53 | #else |
@@ -71,9 +58,9 @@ Index: git/libc/sysdeps/linux/i386/bits/mathinline.h | |||
71 | 58 | ||
72 | Index: git/libc/sysdeps/linux/ia64/bits/mathinline.h | 59 | Index: git/libc/sysdeps/linux/ia64/bits/mathinline.h |
73 | =================================================================== | 60 | =================================================================== |
74 | --- git.orig/libc/sysdeps/linux/ia64/bits/mathinline.h | 61 | --- git.orig/libc/sysdeps/linux/ia64/bits/mathinline.h 2013-01-21 16:22:20.000000000 -0800 |
75 | +++ git/libc/sysdeps/linux/ia64/bits/mathinline.h | 62 | +++ git/libc/sysdeps/linux/ia64/bits/mathinline.h 2013-01-21 16:24:12.275557670 -0800 |
76 | @@ -24,7 +24,7 @@ | 63 | @@ -23,7 +23,7 @@ |
77 | #ifdef __cplusplus | 64 | #ifdef __cplusplus |
78 | # define __MATH_INLINE __inline | 65 | # define __MATH_INLINE __inline |
79 | #else | 66 | #else |
@@ -84,9 +71,9 @@ Index: git/libc/sysdeps/linux/ia64/bits/mathinline.h | |||
84 | #if defined __USE_ISOC99 && defined __GNUC__ && __GNUC__ >= 2 | 71 | #if defined __USE_ISOC99 && defined __GNUC__ && __GNUC__ >= 2 |
85 | Index: git/libc/sysdeps/linux/m68k/bits/mathinline.h | 72 | Index: git/libc/sysdeps/linux/m68k/bits/mathinline.h |
86 | =================================================================== | 73 | =================================================================== |
87 | --- git.orig/libc/sysdeps/linux/m68k/bits/mathinline.h | 74 | --- git.orig/libc/sysdeps/linux/m68k/bits/mathinline.h 2013-01-21 16:22:20.000000000 -0800 |
88 | +++ git/libc/sysdeps/linux/m68k/bits/mathinline.h | 75 | +++ git/libc/sysdeps/linux/m68k/bits/mathinline.h 2013-01-21 16:24:12.275557670 -0800 |
89 | @@ -92,7 +92,7 @@ | 76 | @@ -91,7 +91,7 @@ |
90 | # ifdef __cplusplus | 77 | # ifdef __cplusplus |
91 | # define __m81_inline __inline | 78 | # define __m81_inline __inline |
92 | # else | 79 | # else |
@@ -95,7 +82,7 @@ Index: git/libc/sysdeps/linux/m68k/bits/mathinline.h | |||
95 | # endif | 82 | # endif |
96 | # define __M81_MATH_INLINES 1 | 83 | # define __M81_MATH_INLINES 1 |
97 | #endif | 84 | #endif |
98 | @@ -351,14 +351,14 @@ __inline_functions (long double,l) | 85 | @@ -350,14 +350,14 @@ |
99 | /* Note that there must be no whitespace before the argument passed for | 86 | /* Note that there must be no whitespace before the argument passed for |
100 | NAME, to make token pasting work correctly with -traditional. */ | 87 | NAME, to make token pasting work correctly with -traditional. */ |
101 | # define __inline_forward_c(rettype, name, args1, args2) \ | 88 | # define __inline_forward_c(rettype, name, args1, args2) \ |
@@ -112,24 +99,11 @@ Index: git/libc/sysdeps/linux/m68k/bits/mathinline.h | |||
112 | { \ | 99 | { \ |
113 | return __CONCAT(__,name) args2; \ | 100 | return __CONCAT(__,name) args2; \ |
114 | } | 101 | } |
115 | Index: git/libc/sysdeps/linux/mips/bits/socket.h | ||
116 | =================================================================== | ||
117 | --- git.orig/libc/sysdeps/linux/mips/bits/socket.h | ||
118 | +++ git/libc/sysdeps/linux/mips/bits/socket.h | ||
119 | @@ -307,7 +307,7 @@ extern struct cmsghdr *__cmsg_nxthdr (st | ||
120 | libc_hidden_proto(__cmsg_nxthdr) | ||
121 | #ifdef __USE_EXTERN_INLINES | ||
122 | # ifndef _EXTERN_INLINE | ||
123 | -# define _EXTERN_INLINE extern __inline | ||
124 | +# define _EXTERN_INLINE __extern_inline | ||
125 | # endif | ||
126 | _EXTERN_INLINE struct cmsghdr * | ||
127 | __NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)) | ||
128 | Index: git/libc/sysdeps/linux/mips/sys/tas.h | 102 | Index: git/libc/sysdeps/linux/mips/sys/tas.h |
129 | =================================================================== | 103 | =================================================================== |
130 | --- git.orig/libc/sysdeps/linux/mips/sys/tas.h | 104 | --- git.orig/libc/sysdeps/linux/mips/sys/tas.h 2013-01-21 16:22:20.000000000 -0800 |
131 | +++ git/libc/sysdeps/linux/mips/sys/tas.h | 105 | +++ git/libc/sysdeps/linux/mips/sys/tas.h 2013-01-21 16:24:12.275557670 -0800 |
132 | @@ -30,7 +30,7 @@ extern int _test_and_set (int *p, int v) | 106 | @@ -29,7 +29,7 @@ |
133 | #ifdef __USE_EXTERN_INLINES | 107 | #ifdef __USE_EXTERN_INLINES |
134 | 108 | ||
135 | # ifndef _EXTERN_INLINE | 109 | # ifndef _EXTERN_INLINE |
@@ -140,9 +114,9 @@ Index: git/libc/sysdeps/linux/mips/sys/tas.h | |||
140 | _EXTERN_INLINE int | 114 | _EXTERN_INLINE int |
141 | Index: git/libc/sysdeps/linux/sparc/bits/mathinline.h | 115 | Index: git/libc/sysdeps/linux/sparc/bits/mathinline.h |
142 | =================================================================== | 116 | =================================================================== |
143 | --- git.orig/libc/sysdeps/linux/sparc/bits/mathinline.h | 117 | --- git.orig/libc/sysdeps/linux/sparc/bits/mathinline.h 2013-01-21 16:22:20.000000000 -0800 |
144 | +++ git/libc/sysdeps/linux/sparc/bits/mathinline.h | 118 | +++ git/libc/sysdeps/linux/sparc/bits/mathinline.h 2013-01-21 16:24:12.279557671 -0800 |
145 | @@ -131,7 +131,7 @@ | 119 | @@ -130,7 +130,7 @@ |
146 | # ifdef __cplusplus | 120 | # ifdef __cplusplus |
147 | # define __MATH_INLINE __inline | 121 | # define __MATH_INLINE __inline |
148 | # else | 122 | # else |
@@ -151,24 +125,11 @@ Index: git/libc/sysdeps/linux/sparc/bits/mathinline.h | |||
151 | # endif /* __cplusplus */ | 125 | # endif /* __cplusplus */ |
152 | 126 | ||
153 | /* The gcc, version 2.7 or below, has problems with all this inlining | 127 | /* The gcc, version 2.7 or below, has problems with all this inlining |
154 | Index: git/libc/sysdeps/linux/sparc/bits/socket.h | ||
155 | =================================================================== | ||
156 | --- git.orig/libc/sysdeps/linux/sparc/bits/socket.h | ||
157 | +++ git/libc/sysdeps/linux/sparc/bits/socket.h | ||
158 | @@ -292,7 +292,7 @@ extern struct cmsghdr *__cmsg_nxthdr (st | ||
159 | libc_hidden_proto(__cmsg_nxthdr) | ||
160 | #ifdef __USE_EXTERN_INLINES | ||
161 | # ifndef _EXTERN_INLINE | ||
162 | -# define _EXTERN_INLINE extern __inline | ||
163 | +# define _EXTERN_INLINE __extern_inline | ||
164 | # endif | ||
165 | _EXTERN_INLINE struct cmsghdr * | ||
166 | __NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)) | ||
167 | Index: git/libc/sysdeps/linux/x86_64/bits/mathinline.h | 128 | Index: git/libc/sysdeps/linux/x86_64/bits/mathinline.h |
168 | =================================================================== | 129 | =================================================================== |
169 | --- git.orig/libc/sysdeps/linux/x86_64/bits/mathinline.h | 130 | --- git.orig/libc/sysdeps/linux/x86_64/bits/mathinline.h 2013-01-21 16:22:20.000000000 -0800 |
170 | +++ git/libc/sysdeps/linux/x86_64/bits/mathinline.h | 131 | +++ git/libc/sysdeps/linux/x86_64/bits/mathinline.h 2013-01-21 16:24:12.279557671 -0800 |
171 | @@ -25,7 +25,7 @@ | 132 | @@ -24,7 +24,7 @@ |
172 | #ifdef __cplusplus | 133 | #ifdef __cplusplus |
173 | # define __MATH_INLINE __inline | 134 | # define __MATH_INLINE __inline |
174 | #else | 135 | #else |