diff options
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch | 104 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.16.bb | 2 |
2 files changed, 89 insertions, 17 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch b/meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch index 52890510ce..6ea666b1d6 100644 --- a/meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch +++ b/meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch | |||
@@ -16,9 +16,9 @@ ChangeLog | |||
16 | 16 | ||
17 | Index: libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c | 17 | Index: libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c |
18 | =================================================================== | 18 | =================================================================== |
19 | --- libc.orig/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 2012-01-06 18:07:42.296909187 -0800 | 19 | --- libc.orig/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c |
20 | +++ libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 2012-01-06 18:09:22.572914856 -0800 | 20 | +++ libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c |
21 | @@ -39,14 +39,8 @@ | 21 | @@ -39,14 +39,8 @@ static const float half = 0.5; |
22 | We find the actual square root and half of its reciprocal | 22 | We find the actual square root and half of its reciprocal |
23 | simultaneously. */ | 23 | simultaneously. */ |
24 | 24 | ||
@@ -33,16 +33,16 @@ Index: libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c | |||
33 | { | 33 | { |
34 | if (__builtin_expect (b > 0, 1)) | 34 | if (__builtin_expect (b > 0, 1)) |
35 | { | 35 | { |
36 | @@ -132,3 +126,4 @@ | 36 | @@ -132,3 +126,4 @@ __ieee754_sqrt (b) |
37 | } | 37 | } |
38 | return f_wash (b); | 38 | return f_wash (b); |
39 | } | 39 | } |
40 | +strong_alias (__ieee754_sqrt, __sqrt_finite) | 40 | +strong_alias (__ieee754_sqrt, __sqrt_finite) |
41 | Index: libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c | 41 | Index: libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c |
42 | =================================================================== | 42 | =================================================================== |
43 | --- libc.orig/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 2012-01-06 18:10:37.068917644 -0800 | 43 | --- libc.orig/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c |
44 | +++ libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 2012-01-06 18:11:33.408920635 -0800 | 44 | +++ libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c |
45 | @@ -37,14 +37,8 @@ | 45 | @@ -37,14 +37,8 @@ static const float threehalf = 1.5; |
46 | We find the reciprocal square root and use that to compute the actual | 46 | We find the reciprocal square root and use that to compute the actual |
47 | square root. */ | 47 | square root. */ |
48 | 48 | ||
@@ -57,16 +57,16 @@ Index: libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c | |||
57 | { | 57 | { |
58 | if (__builtin_expect (b > 0, 1)) | 58 | if (__builtin_expect (b > 0, 1)) |
59 | { | 59 | { |
60 | @@ -99,3 +93,4 @@ | 60 | @@ -99,3 +93,4 @@ __ieee754_sqrtf (b) |
61 | } | 61 | } |
62 | return f_washf (b); | 62 | return f_washf (b); |
63 | } | 63 | } |
64 | +strong_alias (__ieee754_sqrtf, __sqrtf_finite) | 64 | +strong_alias (__ieee754_sqrtf, __sqrtf_finite) |
65 | Index: libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c | 65 | Index: libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c |
66 | =================================================================== | 66 | =================================================================== |
67 | --- libc.orig/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 2012-01-06 18:11:51.460925644 -0800 | 67 | --- libc.orig/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c |
68 | +++ libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 2012-01-06 18:12:39.344924405 -0800 | 68 | +++ libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c |
69 | @@ -39,14 +39,8 @@ | 69 | @@ -39,14 +39,8 @@ static const float half = 0.5; |
70 | We find the actual square root and half of its reciprocal | 70 | We find the actual square root and half of its reciprocal |
71 | simultaneously. */ | 71 | simultaneously. */ |
72 | 72 | ||
@@ -81,16 +81,16 @@ Index: libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c | |||
81 | { | 81 | { |
82 | if (__builtin_expect (b > 0, 1)) | 82 | if (__builtin_expect (b > 0, 1)) |
83 | { | 83 | { |
84 | @@ -132,3 +126,4 @@ | 84 | @@ -132,3 +126,4 @@ __ieee754_sqrt (b) |
85 | } | 85 | } |
86 | return f_wash (b); | 86 | return f_wash (b); |
87 | } | 87 | } |
88 | +strong_alias (__ieee754_sqrt, __sqrt_finite) | 88 | +strong_alias (__ieee754_sqrt, __sqrt_finite) |
89 | Index: libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c | 89 | Index: libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c |
90 | =================================================================== | 90 | =================================================================== |
91 | --- libc.orig/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 2012-01-06 18:13:00.892924586 -0800 | 91 | --- libc.orig/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c |
92 | +++ libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 2012-01-06 18:15:27.992931106 -0800 | 92 | +++ libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c |
93 | @@ -37,14 +37,8 @@ | 93 | @@ -37,14 +37,8 @@ static const float threehalf = 1.5; |
94 | We find the reciprocal square root and use that to compute the actual | 94 | We find the reciprocal square root and use that to compute the actual |
95 | square root. */ | 95 | square root. */ |
96 | 96 | ||
@@ -105,7 +105,79 @@ Index: libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c | |||
105 | { | 105 | { |
106 | if (__builtin_expect (b > 0, 1)) | 106 | if (__builtin_expect (b > 0, 1)) |
107 | { | 107 | { |
108 | @@ -99,3 +93,4 @@ | 108 | @@ -99,3 +93,4 @@ __ieee754_sqrtf (b) |
109 | } | ||
110 | return f_washf (b); | ||
111 | } | ||
112 | +strong_alias (__ieee754_sqrtf, __sqrtf_finite) | ||
113 | Index: libc/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c | ||
114 | =================================================================== | ||
115 | --- libc.orig/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c | ||
116 | +++ libc/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c | ||
117 | @@ -132,3 +132,4 @@ __ieee754_sqrt (b) | ||
118 | } | ||
119 | return f_wash (b); | ||
120 | } | ||
121 | +strong_alias (__ieee754_sqrt, __sqrt_finite) | ||
122 | Index: libc/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c | ||
123 | =================================================================== | ||
124 | --- libc.orig/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c | ||
125 | +++ libc/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c | ||
126 | @@ -99,3 +99,4 @@ __ieee754_sqrtf (b) | ||
127 | } | ||
128 | return f_washf (b); | ||
129 | } | ||
130 | +strong_alias (__ieee754_sqrtf, __sqrtf_finite) | ||
131 | Index: libc/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c | ||
132 | =================================================================== | ||
133 | --- libc.orig/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c | ||
134 | +++ libc/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c | ||
135 | @@ -132,3 +132,4 @@ __ieee754_sqrt (b) | ||
136 | } | ||
137 | return f_wash (b); | ||
138 | } | ||
139 | +strong_alias (__ieee754_sqrt, __sqrt_finite) | ||
140 | Index: libc/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c | ||
141 | =================================================================== | ||
142 | --- libc.orig/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c | ||
143 | +++ libc/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c | ||
144 | @@ -99,3 +99,4 @@ __ieee754_sqrtf (b) | ||
145 | } | ||
146 | return f_washf (b); | ||
147 | } | ||
148 | +strong_alias (__ieee754_sqrtf, __sqrtf_finite) | ||
149 | Index: libc/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c | ||
150 | =================================================================== | ||
151 | --- libc.orig/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c | ||
152 | +++ libc/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c | ||
153 | @@ -132,3 +132,4 @@ __ieee754_sqrt (b) | ||
154 | } | ||
155 | return f_wash (b); | ||
156 | } | ||
157 | +strong_alias (__ieee754_sqrt, __sqrt_finite) | ||
158 | Index: libc/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c | ||
159 | =================================================================== | ||
160 | --- libc.orig/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c | ||
161 | +++ libc/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c | ||
162 | @@ -99,3 +99,4 @@ __ieee754_sqrtf (b) | ||
163 | } | ||
164 | return f_washf (b); | ||
165 | } | ||
166 | +strong_alias (__ieee754_sqrtf, __sqrtf_finite) | ||
167 | Index: libc/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c | ||
168 | =================================================================== | ||
169 | --- libc.orig/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c | ||
170 | +++ libc/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c | ||
171 | @@ -132,3 +132,4 @@ __ieee754_sqrt (b) | ||
172 | } | ||
173 | return f_wash (b); | ||
174 | } | ||
175 | +strong_alias (__ieee754_sqrt, __sqrt_finite) | ||
176 | Index: libc/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c | ||
177 | =================================================================== | ||
178 | --- libc.orig/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c | ||
179 | +++ libc/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c | ||
180 | @@ -99,3 +99,4 @@ __ieee754_sqrtf (b) | ||
109 | } | 181 | } |
110 | return f_washf (b); | 182 | return f_washf (b); |
111 | } | 183 | } |
diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb index 750e3ec193..4f07c1c049 100644 --- a/meta/recipes-core/eglibc/eglibc_2.16.bb +++ b/meta/recipes-core/eglibc/eglibc_2.16.bb | |||
@@ -3,7 +3,7 @@ require eglibc.inc | |||
3 | SRCREV = "20393" | 3 | SRCREV = "20393" |
4 | 4 | ||
5 | DEPENDS += "gperf-native kconfig-frontends-native" | 5 | DEPENDS += "gperf-native kconfig-frontends-native" |
6 | PR = "r11" | 6 | PR = "r12" |
7 | PR_append = "+svnr${SRCPV}" | 7 | PR_append = "+svnr${SRCPV}" |
8 | 8 | ||
9 | EGLIBC_BRANCH="eglibc-2_16" | 9 | EGLIBC_BRANCH="eglibc-2_16" |