]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix MIPS n64 readahead (bug 21026).
[thirdparty/glibc.git] / ChangeLog
1 2017-01-05 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #21026]
4 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
5 (readahead): New syscall entry.
6
7 2017-01-04 Joseph Myers <joseph@codesourcery.com>
8
9 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10 around tests of strncat with large sizes.
11
12 * malloc/tst-malloc.c: Include <libc-internal.h>.
13 (do_test): Disable -Walloc-size-larger-than= around tests of
14 malloc with negative sizes.
15 * malloc/tst-mcheck.c: Include <libc-internal.h>.
16 (do_test): Disable -Walloc-size-larger-than= around tests of
17 malloc and realloc with negative sizes.
18 * malloc/tst-realloc.c: Include <libc-internal.h>.
19 (do_test): Disable -Walloc-size-larger-than= around tests of
20 realloc with negative sizes.
21
22 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
23 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
24 allowed to 16 ulps.
25 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
26 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
27 * math/auto-libm-test-out: Regenerated.
28
29 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30
31 * math/Makefile (libm-calls): Move wrappers...
32 (libm-compat-call-auto): Here.
33 (libm-routines): Add items in libm-compat-calls-auto.
34 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
35 the filenames of the wrappers that have been renamed.
36 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
37 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38
39 * math/w_acos.c: Add _compat suffix to filename.
40 * math/w_acosf.c: Likewise.
41 * math/w_acosh.c: Likewise.
42 * math/w_acoshf.c: Likewise.
43 * math/w_acoshl.c: Likewise.
44 * math/w_acosl.c: Likewise.
45 * math/w_asin.c: Likewise.
46 * math/w_asinf.c: Likewise.
47 * math/w_asinl.c: Likewise.
48 * math/w_atan2.c: Likewise.
49 * math/w_atan2f.c: Likewise.
50 * math/w_atan2l.c: Likewise.
51 * math/w_atanh.c: Likewise.
52 * math/w_atanhf.c: Likewise.
53 * math/w_atanhl.c: Likewise.
54 * math/w_cosh.c: Likewise.
55 * math/w_coshf.c: Likewise.
56 * math/w_coshl.c: Likewise.
57 * math/w_exp10.c: Likewise.
58 * math/w_exp10f.c: Likewise.
59 * math/w_exp10l.c: Likewise.
60 * math/w_exp2.c: Likewise.
61 * math/w_exp2f.c: Likewise.
62 * math/w_exp2l.c: Likewise.
63 * math/w_fmod.c: Likewise.
64 * math/w_fmodf.c: Likewise.
65 * math/w_fmodl.c: Likewise.
66 * math/w_hypot.c: Likewise.
67 * math/w_hypotf.c: Likewise.
68 * math/w_hypotl.c: Likewise.
69 * math/w_j0.c: Likewise.
70 * math/w_j0f.c: Likewise.
71 * math/w_j0l.c: Likewise.
72 * math/w_j1.c: Likewise.
73 * math/w_j1f.c: Likewise.
74 * math/w_j1l.c: Likewise.
75 * math/w_jn.c: Likewise.
76 * math/w_jnf.c: Likewise.
77 * math/w_jnl.c: Likewise.
78 * math/w_log10.c: Likewise.
79 * math/w_log10f.c: Likewise.
80 * math/w_log10l.c: Likewise.
81 * math/w_log2.c: Likewise.
82 * math/w_log2f.c: Likewise.
83 * math/w_log2l.c: Likewise.
84 * math/w_log.c: Likewise.
85 * math/w_logf.c: Likewise.
86 * math/w_logl.c: Likewise.
87 * math/w_pow.c: Likewise.
88 * math/w_powf.c: Likewise.
89 * math/w_powl.c: Likewise.
90 * math/w_remainder.c: Likewise.
91 * math/w_remainderf.c: Likewise.
92 * math/w_remainderl.c: Likewise.
93 * math/w_scalb.c: Likewise.
94 * math/w_scalbf.c: Likewise.
95 * math/w_scalbl.c: Likewise.
96 * math/w_sinh.c: Likewise.
97 * math/w_sinhf.c: Likewise.
98 * math/w_sinhl.c: Likewise.
99 * math/w_sqrt.c: Likewise.
100 * math/w_sqrtf.c: Likewise.
101 * math/w_sqrtl.c: Likewise.
102 * math/w_tgamma.c: Likewise.
103 * math/w_tgammaf.c: Likewise.
104 * math/w_tgammal.c: Likewise.
105
106 * math/w_acos_compat.c: New file copied from above and
107 adjusted for new #includes path
108 * math/w_acosf_compat.c: Likewise.
109 * math/w_acosh_compat.c: Likewise.
110 * math/w_acoshf_compat.c: Likewise.
111 * math/w_acoshl_compat.c: Likewise.
112 * math/w_acosl_compat.c: Likewise.
113 * math/w_asin_compat.c: Likewise.
114 * math/w_asinf_compat.c: Likewise.
115 * math/w_asinl_compat.c: Likewise.
116 * math/w_atan2_compat.c: Likewise.
117 * math/w_atan2f_compat.c: Likewise.
118 * math/w_atan2l_compat.c: Likewise.
119 * math/w_atanh_compat.c: Likewise.
120 * math/w_atanhf_compat.c: Likewise.
121 * math/w_atanhl_compat.c: Likewise.
122 * math/w_cosh_compat.c: Likewise.
123 * math/w_coshf_compat.c: Likewise.
124 * math/w_coshl_compat.c: Likewise.
125 * math/w_exp10_compat.c: Likewise.
126 * math/w_exp10f_compat.c: Likewise.
127 * math/w_exp10l_compat.c: Likewise.
128 * math/w_exp2_compat.c: Likewise.
129 * math/w_exp2f_compat.c: Likewise.
130 * math/w_exp2l_compat.c: Likewise.
131 * math/w_fmod_compat.c: Likewise.
132 * math/w_fmodf_compat.c: Likewise.
133 * math/w_fmodl_compat.c: Likewise.
134 * math/w_hypot_compat.c: Likewise.
135 * math/w_hypotf_compat.c: Likewise.
136 * math/w_hypotl_compat.c: Likewise.
137 * math/w_j0_compat.c: Likewise.
138 * math/w_j0f_compat.c: Likewise.
139 * math/w_j0l_compat.c: Likewise.
140 * math/w_j1_compat.c: Likewise.
141 * math/w_j1f_compat.c: Likewise.
142 * math/w_j1l_compat.c: Likewise.
143 * math/w_jn_compat.c: Likewise.
144 * math/w_jnf_compat.c: Likewise.
145 * math/w_jnl_compat.c: Likewise.
146 * math/w_log10_compat.c: Likewise.
147 * math/w_log10f_compat.c: Likewise.
148 * math/w_log10l_compat.c: Likewise.
149 * math/w_log2_compat.c: Likewise.
150 * math/w_log2f_compat.c: Likewise.
151 * math/w_log2l_compat.c: Likewise.
152 * math/w_log_compat.c: Likewise.
153 * math/w_logf_compat.c: Likewise.
154 * math/w_logl_compat.c: Likewise.
155 * math/w_pow_compat.c: Likewise.
156 * math/w_powf_compat.c: Likewise.
157 * math/w_powl_compat.c: Likewise.
158 * math/w_remainder_compat.c: Likewise.
159 * math/w_remainderf_compat.c: Likewise.
160 * math/w_remainderl_compat.c: Likewise.
161 * math/w_scalb_compat.c: Likewise.
162 * math/w_scalbf_compat.c: Likewise.
163 * math/w_scalbl_compat.c: Likewise.
164 * math/w_sinh_compat.c: Likewise.
165 * math/w_sinhf_compat.c: Likewise.
166 * math/w_sinhl_compat.c: Likewise.
167 * math/w_sqrt_compat.c: Likewise.
168 * math/w_sqrtf_compat.c: Likewise.
169 * math/w_sqrtl_compat.c: Likewise.
170 * math/w_tgamma_compat.c: Likewise.
171 * math/w_tgammaf_compat.c: Likewise.
172 * math/w_tgammal_compat.c: Likewise.
173
174 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
175 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
176 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
177 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
178 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
179 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
180 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
181 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
182 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
183 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
184 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
185 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
186 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
187 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
188 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
189 * sysdeps/ia64/fpu/w_powl.c: Likewise.
190 * sysdeps/ia64/fpu/w_powf.c: Likewise.
191 * sysdeps/ia64/fpu/w_pow.c: Likewise.
192 * sysdeps/ia64/fpu/w_logl.c: Likewise.
193 * sysdeps/ia64/fpu/w_logf.c: Likewise.
194 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
195 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
196 * sysdeps/ia64/fpu/w_log2.c: Likewise.
197 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
198 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
199 * sysdeps/ia64/fpu/w_log10.c: Likewise.
200 * sysdeps/ia64/fpu/w_log.c: Likewise.
201 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
202 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
203 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
204 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
205 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
206 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
207 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
208 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
209 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
210 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
211 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
212 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
213 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
214 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
215 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
216 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
217 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
218 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
219 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
220 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
221 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
222 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
223 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
224 * sysdeps/ia64/fpu/w_asin.c: Likewise.
225 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
226 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
227 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
228 * sysdeps/ia64/fpu/w_acos.c: Likewise.
229 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
230 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
231 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
232 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
233 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
234 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
235 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
236 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
237 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
238 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
239 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
240 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
241 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
242 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
243 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
244 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
245 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
246 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
247 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
248 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
249 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
250 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
251 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
252 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
253 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
254 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
255 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
256 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
257 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
258 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
259 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
260 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
261 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
262 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
263 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
264 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
265 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
266 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
267 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
268 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
269 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
270 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
271 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
272 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
273 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
275 Likewise.
276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
277 Likewise.
278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
280 Likewise.
281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
282 Likewise.
283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
284 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
285 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
286 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
287 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
288 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
289 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
294 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
295 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
296 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
297 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
298
299 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
300 and adjusted for new #includes path
301 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
302 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
303 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
304 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
305 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
306 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
307 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
308 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
309 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
310 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
311 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
312 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
313 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
314 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
315 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
316 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
317 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
318 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
319 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
320 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
321 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
322 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
323 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
324 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
325 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
326 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
327 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
328 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
329 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
330 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
331 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
332 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
333 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
334 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
335 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
336 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
337 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
338 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
339 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
340 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
341 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
342 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
343 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
344 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
345 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
346 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
347 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
348 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
349 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
350 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
351 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
352 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
353 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
354 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
355 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
356 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
357 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
358 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
359 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
360 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
361 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
362 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
363 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
364 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
365 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
366 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
367 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
368 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
369 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
370 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
371 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
372 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
373 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
374 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
375 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
376 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
377 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
378 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
379 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
380 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
381 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
382 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
383 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
384 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
385 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
386 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
387 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
388 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
389 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
390 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
391 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
392 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
393 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
394 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
395 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
396 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
397 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
398 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
399 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
401 Likewise.
402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
403 Likewise.
404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
405 Likewise.
406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
407 Likewise.
408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
409 Likewise.
410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
411 Likewise.
412 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
413 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
414 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
415 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
416 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
417 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
419 Likewise.
420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
421 Likewise.
422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
423 Likewise.
424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
425 Likewise.
426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
427 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
428 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
429 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
430
431 2017-01-04 Joseph Myers <joseph@codesourcery.com>
432
433 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
434 __jmp_buf_internal_tag.
435
436 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
437 preserve NaN payload if [__mips_nan2008].
438 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
439
440 [BZ #21022]
441 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
442
443 2017-01-03 Joseph Myers <joseph@codesourcery.com>
444
445 * sysdeps/i386/fpu/libm-test-ulps: Update.
446
447 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
448
449 * sysdeps/ia64/strcat.c: Remove file.
450 * sysdeps/powerpc/strcat.c: Likewise.
451 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
452 C implementation.
453 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
454 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
455
456 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
457 Steven Munroe <sjmunroe@us.ibm.com>
458 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
459
460 [BZ #20822]
461 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
462 (__lll_lock_elision): Access adapt_count via C11 atomics.
463 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
464 (__lll_trylock_elision): Likewise.
465 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
466 (__lll_unlock_elision): Update adapt_count variable inside the
467 critical section using C11 atomics.
468
469 2017-01-03 Joseph Myers <joseph@codesourcery.com>
470
471 * math/test-fenvinline.c (do_test): Disable tests of raised
472 exceptions if !EXCEPTION_TESTS (FLOAT).
473
474 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
475
476 [BZ #19390]
477 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
478 maximum string size.
479 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
480 in pointer addition.
481 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
482 Likewise.
483
484 2017-01-03 Joseph Myers <joseph@codesourcery.com>
485
486 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
487 passed to tst-ldconfig-X.sh.
488
489 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
490
491 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
492
493 2017-01-02 Joseph Myers <joseph@codesourcery.com>
494
495 [BZ #21019]
496 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
497 New syscall entry.
498 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
499 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
500 lseek.
501
502 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
503 power4 glibc for powerpc-linux-gnu.
504
505 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
506
507 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
508 semctl.
509
510 2017-01-02 Joseph Myers <joseph@codesourcery.com>
511
512 * math/test-nearbyint-except.c: Include <stdbool.h>.
513 (any_supported): New variable.
514 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
515 set any_supported.
516 (do_test): Return 77 if no floating-point type supported
517 exceptions.
518
519 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
520 condition on [__mips_hard_float].
521
522 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
523
524 [BZ #21014]
525 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
526 in pointer addition.
527 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
528
529 2017-01-02 Torvald Riegel <triegel@redhat.com>
530
531 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
532 new condvar.
533
534 2017-01-02 Joseph Myers <joseph@codesourcery.com>
535
536 * scripts/build-many-glibcs.py (Context.checkout): Default
537 binutils version to 2.28 branch.
538
539 2017-01-01 Florian Weimer <fweimer@redhat.com>
540
541 * support/support_format_netent.c (support_format_netent): Work
542 around alpha struct netent definition difference.
543
544 2017-01-01 Florian Weimer <fweimer@redhat.com>
545
546 * support/xwrite.c (xwrite): Use %td for pointer difference.
547
548 2017-01-01 Florian Weimer <fweimer@redhat.com>
549
550 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
551 have-tunables only.
552 (tests-static): Add tst-malloc-usable-static-tunables for
553 have-tunables only.
554
555 2017-01-01 Joseph Myers <joseph@codesourcery.com>
556
557 * scripts/config.guess: Update to version 2017-01-01.
558 * scripts/config.sub: Update to version 2017-01-01.
559
560 * NEWS: Update copyright dates.
561 * catgets/gencat.c (print_version): Likewise.
562 * csu/version.c (banner): Likewise.
563 * debug/catchsegv.sh: Likewise.
564 * debug/pcprofiledump.c (print_version): Likewise.
565 * debug/xtrace.sh (do_version): Likewise.
566 * elf/ldconfig.c (print_version): Likewise.
567 * elf/ldd.bash.in: Likewise.
568 * elf/pldd.c (print_version): Likewise.
569 * elf/sotruss.sh: Likewise.
570 * elf/sprof.c (print_version): Likewise.
571 * iconv/iconv_prog.c (print_version): Likewise.
572 * iconv/iconvconfig.c (print_version): Likewise.
573 * locale/programs/locale.c (print_version): Likewise.
574 * locale/programs/localedef.c (print_version): Likewise.
575 * login/programs/pt_chown.c (print_version): Likewise.
576 * malloc/memusage.sh (do_version): Likewise.
577 * malloc/memusagestat.c (print_version): Likewise.
578 * malloc/mtrace.pl: Likewise.
579 * manual/libc.texinfo: Likewise.
580 * nptl/version.c (banner): Likewise.
581 * nscd/nscd.c (print_version): Likewise.
582 * nss/getent.c (print_version): Likewise.
583 * nss/makedb.c (print_version): Likewise.
584 * posix/getconf.c (main): Likewise.
585 * scripts/test-installation.pl: Likewise.
586 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
587
588 * All files with FSF copyright notices: Update copyright dates
589 using scripts/update-copyrights.
590 * intl/plural.c: Regenerated.
591 * locale/programs/charmap-kw.h: Likewise.
592 * locale/programs/locfile-kw.h: Likewise.
593
594 2016-12-31 Florian Weimer <fweimer@redhat.com>
595
596 [BZ #20593]
597 Update DNS RR type definitions.
598 * scripts/gen-rrtypes.py: New file.
599 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
600 BIND-internal RR type not used on the Internet. Add ns_t_ds,
601 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
602 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
603 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
604 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
605 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
606 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
607 ns_t_ta, ns_t_dlv.
608 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
609 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
610 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
611 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
612 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
613 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
614 Define.
615 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
616 entry for ns_t_zxfr.
617
618 2016-12-31 Florian Weimer <fweimer@redhat.com>
619
620 [BZ #18784]
621 CVE-2015-5180
622 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
623 T_UNSPEC. Adjust value.
624 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
625 * resolv/res_query.c (__libc_res_nquery): Likewise.
626 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
627 QTYPEs.
628 * resolv/tst-resolv-qtypes.c: New file.
629 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
630 (tst-resolv-qtypes): Link against libresolv and libpthread.
631
632 2016-12-31 Florian Weimer <fweimer@redhat.com>
633
634 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
635
636 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
637
638 * manual/tunables.texi: New chapter.
639 * manual/Makefile (chapters): Add it.
640 * manual/probes.texi (@node): Point to the Tunables chapter.
641
642 * Makeconfig (have-tunables): Check for non-negative instead
643 of positive.
644 * configure.ac: Add 'valstring' as a valid value for
645 --enable-tunables.
646 * configure: Regenerate.
647 * elf/Makefile (have-tunables): Check for non-negative instead
648 of positive.
649 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
650 dl-tunables.c.
651 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
652 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
653 (tunables_strdup): Likewise.
654 (disable_tunables): Likewise.
655 (parse_tunables): Likewise.
656 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
657 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
658 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
659 (TUNABLES_FRONTEND_yes): New macro, define as
660 TUNABLES_FRONTEND_valstring by default.
661 * manual/install.texi: Document new acceptable values for
662 --enable-tunables.
663 * INSTALL: Regenerate.
664
665 * config.make.in (have-loop-to-function): Define.
666 * elf/Makefile (CFLAGS-dl-tunables.c): Add
667 -fno-tree-loop-distribute-patterns.
668 * elf/dl-tunables.c: Include libc-internals.h.
669 (GLIBC_TUNABLES): New macro.
670 (tunables_strdup): New function.
671 (parse_tunables): New function.
672 (min_strlen): New function.
673 (__tunables_init): Use the new functions and macro.
674 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
675 * malloc/tst-malloc-usable-tunables.c: New test case.
676 * malloc/tst-malloc-usable-static-tunables.c: New test case.
677 * malloc/Makefile (tests, tests-static): Add tests.
678
679 * manual/install.texi: Add --enable-tunables option.
680 * INSTALL: Regenerate.
681 * README.tunables: New file.
682 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
683 (before-compile): Generate dl-tunable-list.h early.
684 * config.h.in: Add HAVE_TUNABLES.
685 * config.make.in: Add have-tunables.
686 * configure.ac: Add --enable-tunables option.
687 * configure: Regenerate.
688 * csu/init-first.c (__libc_init_first): Move
689 __libc_init_secure earlier...
690 * csu/init-first.c (LIBC_START_MAIN):... to here.
691 Include dl-tunables.h, libc-internal.h.
692 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
693 binaries.
694 * elf/Makefile (dl-routines): Add dl-tunables.
695 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
696 namespace.
697 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
698 only when !HAVE_TUNABLES.
699 * elf/rtld.c (process_envvars): Likewise.
700 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
701 (_dl_sysdep_start): Call __tunables_init.
702 * elf/dl-tunable-types.h: New file.
703 * elf/dl-tunables.c: New file.
704 * elf/dl-tunables.h: New file.
705 * elf/dl-tunables.list: New file.
706 * malloc/tst-malloc-usable-static.c: New test case.
707 * malloc/Makefile (tests-static): Add it.
708 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
709 Define TUNABLE_NAMESPACE.
710 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
711 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
712 callback functions.
713 (ptmalloc_init): Set tunable values.
714 * scripts/gen-tunables.awk: New file.
715 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
716 (_dl_sysdep_start): Call __tunables_init.
717
718 2016-12-31 Florian Weimer <fweimer@redhat.com>
719
720 * resolv/resolv.h (RES_BLAST): Deprecate.
721 * resolv/res_debug.c (p_option): Remove RES_BLAST.
722 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
723 to RES_BLAST.
724
725 2016-12-27 Florian Weimer <fweimer@redhat.com>
726
727 [BZ #19582]
728 Deprecate RES_USE_INET6.
729 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
730 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
731 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
732 RES_USE_INET6.
733 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
734 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
735 (_nss_nisplus_gethostbyaddr_r): Likewise.
736 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
737 of res_use_inet6.
738 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
739 instead of RES_USE_INET6.
740 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
741 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
742 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
743 Likewise.
744 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
745 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
746 Likewise.
747 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
748 (_nss_dns_gethostbyname_r): Likewise.
749 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
750 alternate RES_USE_INET6 handling.
751 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
752 instead of RES_USE_INET6.
753 * resolv/res_init.c (res_setoptions): Likewise.
754 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
755 * resolv/resolv-internal.h: New file.
756 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
757 make the deprecation warning non-fatal.
758 * resolv/README (Using the resolver in multi-threaded code): Drop
759 reference to RES_USE_INET6.
760 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
761 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
762
763 2016-12-31 Florian Weimer <fweimer@redhat.com>
764
765 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
766 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
767 tst-resolv-search.
768 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
769 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
770 with libresolv and libpthread.
771 * resolv/tst-bug18665.c: New file.
772 * resolv/tst-bug18665-tcp: Likewise.
773 * resolv/tst-res_use_inet6: Likewise.
774 * resolv/tst-resolv-basic: Likewise.
775 * resolv/tst-resolv-network: Likewise.
776 * resolv/tst-resolv-search: Likewise.
777 * support/Makefile (libsupport-routines): Add check_addrinfo,
778 check_dns_packet, check_hostent, check_netent, resolv_test,
779 support_format_address_family, support_format_addrinfo,
780 support_format_dns_packet, support_format_herrno,
781 support_format_hostent, support_format_netent, support_run_diff,
782 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
783 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
784 xstrdup, xwrite.
785 * support/check_addrinfo.c: New file.
786 * support/check_dns_packet.c: Likewise.
787 * support/check_hostent.c: Likewise.
788 * support/check_netent.c: Likewise.
789 * support/check_nss.h: Likewise.
790 * support/format_nss.h: Likewise.
791 * support/resolv_test.c: Likewise.
792 * support/resolv_test.h: Likewise.
793 * support/run_diff.h: Likewise.
794 * support/support_format_address_family.c: Likewise.
795 * support/support_format_addrinfo.c: Likewise.
796 * support/support_format_dns_packet.c: Likewise.
797 * support/support_format_herrno.c: Likewise.
798 * support/support_format_hostent.c: Likewise.
799 * support/support_format_netent.c: Likewise.
800 * support/support_run_diff.c: Likewise.
801 * support/xaccept.c: Likewise.
802 * support/xbind.c: Likewise.
803 * support/xconnect.c: Likewise.
804 * support/xfclose.c: Likewise.
805 * support/xfopen.c: Likewise.
806 * support/xgetsockname.c: Likewise.
807 * support/xlisten.c: Likewise.
808 * support/xmemstream.c: Likewise.
809 * support/xmemstream.h: Likewise.
810 * support/xpoll.c: Likewise.
811 * support/xpthread_once.c: Likewise.
812 * support/xrecvfrom.c: Likewise.
813 * support/xsendto.c: Likewise.
814 * support/xsetsockopt.c: Likewise.
815 * support/xstdio.h: Likewise.
816 * support/xstrdup.c: Likewise.
817 * support/support.h (xstrdup): Declare.
818 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
819 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
820 * support/xthread.h (xpthread_once): Likwise.
821 * support/xunistd.h (xwrite): Declare.
822
823 2016-12-31 Florian Weimer <fweimer@redhat.com>
824
825 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
826 (test_verbose): Declare.
827 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
828 * support/support_test_main.c (default_options): Likewise.
829 (usage, support_test_main): Handle 'v'.
830 (test_verbose): Define.
831 * support/tst-support_record_failure.c (do_test): Use
832 test_verbose.
833 * support/tst-support_record_failure-2.sh (different_status): Add
834 --verbose test.
835
836 2016-12-31 Florian Weimer <fweimer@redhat.com>
837
838 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
839 test failures are recorded.
840 * support/check.c (support_print_failure_impl): Call
841 support_record_failure.
842 (support_exit_failure_impl): Call support_record_failure if status
843 indicates failure.
844 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
845 * support/xasprintf.c (xasprintf): Likewise.
846 * support/xfork.c (xfork): Likewise.
847 * support/xpthread_check_return.c (xpthread_check_return):
848 Likewise.
849 * support/xsocket.c (xsocket): Likeweise.
850 * support/xwaitpid.c (xwaitpid): Likewise.
851 * support/support_record_failure.c (struct test_failures): Adjust
852 to coding style.
853 * support/support_test_verify_impl.c (support_test_verify_impl):
854 Adjust error messages.
855 * support/tst-support_record_failure-2.sh (different_status):
856 Adjust error messages.
857
858 2016-12-31 Florian Weimer <fweimer@redhat.com>
859
860 * support/namespace.h: New file.
861 * support/support_become_root.c: Likewise.
862 * support/support_enter_network_namespace.c: Likewise.
863 * support/tst-support-namespace.c: Likewise.
864 * support/xsocket.c: Likewise.
865 * support/xsocket.h: Likewise.
866 * support/Makefile (libsupport-routines): Add support_become_root,
867 support_enter_network_namespace, xsocket.
868 (tests): Add tst-support-namespace.
869
870 2016-12-31 Florian Weimer <fweimer@redhat.com>
871
872 [BZ #17252]
873 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
874 __USE_GNU.
875
876 2016-12-31 Torvald Riegel <triegel@redhat.com>
877
878 [BZ #13165]
879 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
880 use new algorithm.
881 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
882 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
883 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
884 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
885 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
886 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
887 __condvar_cleanup_waiting, __condvar_dec_grefs,
888 __pthread_cond_wait_common): New.
889 (__condvar_cleanup): Remove.
890 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
891 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
892 Likewise.
893 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
894 Likewise.
895 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
896 * nptl/tst-cond1.c: Add comment.
897 * nptl/tst-cond20.c (do_test): Adapt.
898 * nptl/tst-cond22.c (do_test): Likewise.
899 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
900 structure.
901 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
902 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
903 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
904 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
905 Likewise.
906 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
907 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
908 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
909 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
910 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
911 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
912 Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
914 Likewise.
915 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
916 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
917 (COND_CLOCK_BITS): Adapt.
918 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
919 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
920 __PTHREAD_COND_SHARED_MASK): New.
921 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
922 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
923 * nptl/nptl_lock_constants.pysym: Adapt.
924 * nptl/test-cond-printers.py: Adapt.
925 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
926 cond_compat_check_and_clear): Adapt.
927 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
928 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
929 (__pthread_cond_timedwait): ... and move here.
930 * nptl/DESIGN-condvar.txt: Remove file.
931 * nptl/lowlevelcond.sym: Likewise.
932 * nptl/pthread_cond_timedwait.c: Likewise.
933 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
934 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
935 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
936 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
937 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
938 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
939 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
940 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
941 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
942 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
943 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
944 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
945 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
946 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
947 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
948 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
949
950 2016-12-31 Joseph Myers <joseph@codesourcery.com>
951
952 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
953 (fromfp): New declaration.
954 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
955 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
956 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
957 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
958 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
959 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
960 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
961 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
962 * math/math.h: Include <bits/types.h>.
963 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
964 constant and macro.
965 (FP_INT_DOWNWARD): Likewise.
966 (FP_INT_TOWARDZERO): Likewise.
967 (FP_INT_TONEARESTFROMZERO): Likewise.
968 (FP_INT_TONEAREST): Likewise.
969 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
970 (fromfpf): Likewise.
971 (fromfpl): Likewise.
972 (ufromfp): Likewise.
973 (ufromfpf): Likewise.
974 (ufromfpl): Likewise.
975 (fromfpx): Likewise.
976 (fromfpxf): Likewise.
977 (fromfpxl): Likewise.
978 (ufromfpx): Likewise.
979 (ufromfpxf): Likewise.
980 (ufromfpxl): Likewise.
981 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
982 s_fromfpxF and s_ufromfpxF.
983 * math/gen-fromfp-tests.py: New file.
984 * math/gen-fromfp-tests-inputs: Likewise.
985 * math/libm-test.inc: Include <stdint.h>
986 (check_intmax_t): New function.
987 (check_uintmax_t): Likewise.
988 (struct test_fiu_M_data): New type.
989 (struct test_fiu_U_data): Likewise.
990 (RUN_TEST_fiu_M): New macro.
991 (RUN_TEST_LOOP_fiu_M): Likewise.
992 (RUN_TEST_fiu_U): Likewise.
993 (RUN_TEST_LOOP_fiu_U): Likewise.
994 (fromfp_test_data): New array.
995 (fromfp_test): New function.
996 (fromfpx_test_data): New array.
997 (fromfpx_test): New function.
998 (ufromfp_test_data): New array.
999 (ufromfp_test): New function.
1000 (ufromfpx_test_data): New array.
1001 (ufromfpx_test): New function.
1002 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1003 ufromfpx_test.
1004 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1005 characters.
1006 * math/test-tgmath-ret.c: Include <stdint.h>.
1007 (rm): New variable.
1008 (width): Likewise.
1009 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1010 called function.
1011 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1012 CHECK_RET_CONST_TYPE.
1013 (CHECK_RET_CONST_DOUBLE): Likewise.
1014 (CHECK_RET_CONST_LDOUBLE): Likewise.
1015 (CHECK_RET_CONST): Take extra arguments and pass them to calls
1016 macros.
1017 (fromfp): New CHECK_RET_CONST call.
1018 (ufromfp): Likewise.
1019 (fromfpx): Likewise.
1020 (ufromfpx): Likewise.
1021 (do_test): Call check_return_fromfp, check_return_ufromfp,
1022 check_return_fromfpx and check_return_ufromfpx.
1023 * math/test-tgmath.c: Include <stdint.h>
1024 (NCALLS): Increase to 138.
1025 (F(compile_test)): Initialize i. Call fromfp functions.
1026 (F(fromfp)): New function.
1027 (F(fromfpx)): Likewise.
1028 (F(ufromfp)): Likewise.
1029 (F(ufromfpx)): Likewise.
1030 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1031 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1032 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1033 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1034 ufromfpxl.
1035 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1036 ufromfp and ufromfpx.
1037 * math/fromfp.h: New file.
1038 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1039 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1040 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1041 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1042 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1043 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1044 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1045 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1046 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1047 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1048 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1049 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1050 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1051 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1052 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1053 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1054 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1055 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1056 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1057 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1058 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1059 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1060 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1061 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1062 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1063 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1064 ufromfp, fromfpx and ufromfpx.
1065 (CFLAGS-nldbl-fromfp.c): New variable.
1066 (CFLAGS-nldbl-fromfpx.c): Likewise.
1067 (CFLAGS-nldbl-ufromfp.c): Likewise.
1068 (CFLAGS-nldbl-ufromfpx.c): Likewise.
1069 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1070 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1071 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1072 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1073 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1074 * sysdeps/nacl/libm.abilist: Update.
1075 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1076 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1077 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1078 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1079 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1080 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1081 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1082 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1083 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1084 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1085 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1086 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1088 Likewise.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1090 Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1092 Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1094 Likewise.
1095 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1096 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1097 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1098 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1099 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1101 Likewise.
1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1103 Likewise.
1104 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1105 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1106 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1107
1108 2016-12-30 Florian Weimer <fweimer@redhat.com>
1109
1110 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1111 compat-gethnamaddr.
1112 (CPPFLAGS): Remove.
1113 * resolv/gethnamaddr.c: Rename ...
1114 * resolv/compat-gethnamaddr.c: ... to this file.
1115 (_endhtent): Make static.
1116 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
1117 symbol.
1118 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
1119 compat symbol.
1120 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
1121 symbol.
1122 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1123 Turn into compat symbol.
1124 * include/resolv.h (_endhtent): Remove declaration.
1125
1126 2016-12-30 Joseph Myers <joseph@codesourcery.com>
1127
1128 * bits/types.h (__intmax_t): New typedef.
1129 (__uintmax_t): Likewise.
1130 * sysdeps/generic/stdint.h: Include <bits/types.h>.
1131 (intmax_t): Define using __intmax_t.
1132 (uintmax_t): Define using __uintmax_t.
1133
1134 * support/Makefile (tests-special): Make definition conditional on
1135 [$(run-built-tests) = yes].
1136 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1137 on [$(run-built-tests) = yes].
1138
1139 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
1140
1141 * Rules (tests): Add tests-printers-programs to tests to be
1142 built.
1143
1144 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1145
1146 * sysvipc/Makefile (tests): Add test-sysvshm.
1147 * sysvipc/test-sysvshm.c: New file.
1148
1149 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1150 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1151 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1152 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1153 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1154 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1155 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1156 Likewise.
1157 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1158 Likewise.
1159 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1160 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1161 is defined.
1162
1163 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1164 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1165 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1166 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1167 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1168 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1169 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1170 Likewise.
1171 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1172 Likewise.
1173 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1174 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1175 defined.
1176
1177 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1178 oldshmctl.
1179 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1180 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1181 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1182 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1183 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1184 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1185 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1186 Likewise.
1187 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1188 Likewise.
1189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1190 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1191 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1192 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1193 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1194 implementation.
1195 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1196 if it is defined.
1197
1198 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1199 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1200 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1201 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1202 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1203 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1204 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1205 Likewise.
1206 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1207 Likewise.
1208 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1209 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1210 Define to __NR_osf_shmat.
1211 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1212 defined.
1213
1214 * sysvipc/Makefile (tests): Add test-sysvsem.
1215 * sysvipc/test-sysvsem.c: New file.
1216
1217 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1218 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1219 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1220 Likewise.
1221 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1222 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1223 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1224 Likewise.
1225 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1226 Likewise.
1227 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1228 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1229 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1230 add a comment about s390 syscall difference from default one.
1231 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1232 syscall if it is defined.
1233
1234 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1235 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1236 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1237 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1238 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1239 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1240 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1241 Likewise.
1242 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1243 Likewise.
1244 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1245 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1246 defined.
1247
1248 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1249 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1250 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1251 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1252 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1253 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1254 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1255 Likewise.
1256 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1257 Likewise.
1258 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1259 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1260 if it is defined.
1261
1262 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1263 oldsemctl.
1264 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1265 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1266 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1267 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1268 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1269 implementation.
1270 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1271 syscall if it is defined.
1272 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1273 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1274 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1275 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1276 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1277 Likewise.
1278 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1279
1280 * sysvipc/Makefile (tests): Add test-sysvmsg.
1281 * sysvipc/test-sysvmsg.c: New file.
1282 * support/check.h (FAIL_UNSUPPORTED): New define.
1283
1284 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1285 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1286 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1287 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1288 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1289 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1290 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1291 Likewise.
1292 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1293 Likewise.
1294 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1295 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1296 define.
1297
1298 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1299 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1300 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1301 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1302 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1303 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1304 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1305 Likewise.
1306 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1307 Likewise.
1308 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1309 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1310 if defined.
1311
1312 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1313 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1314 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1315 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1316 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1317 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1318 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1319 Likewise.
1320 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1321 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1322 Likewise.
1323 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1324 if defined.
1325 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1326
1327 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1328 oldmsgctl.
1329 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1330 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1331 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1332 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1333 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1334 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1335 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1336 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1337 Likewise.
1338 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1339 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1340 implementation.
1341 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1342 if defined.
1343
1344 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1345 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1346 definition and define its own.
1347 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1348 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1349 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1350 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1351 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1352 definitions to common header.
1353 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1354 operation from ipc_ops.h.
1355
1356 * sysdeps/unix/sysv/linux/kernel-features.h
1357 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1358 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1359 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1360 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1361 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1362 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1363 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1364 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1365 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1366 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1367 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1368 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1369 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1370 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1371 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1372
1373 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1374
1375 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1376 overflow in pointer addition.
1377
1378 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1379
1380 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1381 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1383 (strchr): Add __strchr_power8 to list of strchr functions.
1384 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1385 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1386 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1387 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1388 (strchr): Add __strchr_power8 to ifunc list.
1389 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1390 (__strchrnul): Add __strchrnul_power8 to ifunc list.
1391 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1392 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1393
1394 2016-12-28 Florian Weimer <fweimer@redhat.com>
1395
1396 * support/Makefile (libsupport-routines): Add
1397 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1398 (tests): Add tst-support_record_failure.
1399 (tests-special): tst-support_record_failure-2.
1400 (tst-support_record_failure-2.out): Depend on
1401 tst-support_record_failure-2.sh and tst-support_record_failure.
1402 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1403 (support_test_verify_impl, support_record_failure)
1404 (support_report_failure, support_report_failure_reset): Declare.
1405 * support/support_test_main.c (adjust_exit_status): New function.
1406 (support_test_main): Call it to incorporate record test failures.
1407 * support/support_test_verify_impl.c: New file.
1408 * support/support_record_failure.c: Likewise.
1409 * support/tst-support_record_failure.c: Likewise.
1410 * support/tst-support_record_failure-2.sh: Likewise.
1411 * support/xunistd.h: Likewise.
1412 * support/xfork.c: Likewise.
1413 * support/xwaitpid.c: Likewise.
1414
1415 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
1416
1417 * scripts/check-c++-types.sh: Add comments.
1418
1419 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
1420
1421 [BZ #19514]
1422 * resolv/res_send.c: Fix typo in comment.
1423 * sysdeps/i386/i386-mcount.S: Likewise.
1424 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1425 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1426 * sysdeps/sparc/sparc-mcount.S: Likewise.
1427
1428 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1429
1430 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1431 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1432 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1433 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1434 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1435 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1436 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1437 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1438
1439 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1440
1441 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1442
1443 2016-12-27 Florian Weimer <fweimer@redhat.com>
1444
1445 [BZ #17252]
1446 * posix/unistd.h (getentropy): Declare.
1447
1448 2016-12-27 Florian Weimer <fweimer@redhat.com>
1449
1450 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1451 Remove.
1452 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1453 (cmd): Remove spoof, nospoof, spoofalert.
1454 (parse_line): Ignore spoof-related lines.
1455 (do_init): Do not process RESOLV_SPOOF_CHECK.
1456
1457 2016-12-27 Florian Weimer <fweimer@redhat.com>
1458
1459 [BZ #20964]
1460 sunrpc: Always obtain AF_INET addresses from NSS.
1461 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1462 * sunrpc/rpc_gethostbyname.c: New file.
1463 * sunrpc/Makefile (routines): Add it.
1464 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1465 * sunrpc/clnt_simp.c (callrpc): Likewise.
1466 * sunrpc/getrpcport.c (getrpcport): Likewise.
1467
1468 2016-12-27 Florian Weimer <fweimer@redhat.com>
1469
1470 * sunrpc/rpcinfo.c: Remove.
1471 * sunrpc/Makefile: Remove comments referring to rpcinfo.
1472
1473 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1474
1475 [BZ# 19387]
1476 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1477 addition.
1478 * string/test-memchr.c (do_test): Remove alignment limitation.
1479 (test_main): Add test that trigger BZ# 19387.
1480
1481 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1482
1483 [BZ #7065]
1484 Enable stack protectore if requested by ./configure.
1485 * Makeconfig (+stack-protector): New variable.
1486 (+cflags): Use it.
1487
1488 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1489
1490 [BZ #7065]
1491 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1492 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1493 (__rt_sigreturn_stub): Use inhibit_stack_protector.
1494 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1495 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1496
1497 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1498
1499 [BZ #7065]
1500 * login/Makefile (pt_chown-cflags): Remove.
1501 * nscd/Makefile (CFLAGS-nscd): Likewise.
1502 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1503
1504 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1505
1506 [BZ #7065]
1507 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1508 non-libc-linking testcase.
1509
1510 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1511 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1512 Florian Weimer <fweimer@redhat.com>
1513
1514 [BZ #7065]
1515 PLT avoidance for __stack_chk_fail*.
1516 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1517 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1518 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1519 __stack_chk_fail_local alias.
1520 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1521 (__stack_chk_fail): Turn into hidden reference to
1522 __stack_chk_fail_local.
1523
1524 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1525
1526 [BZ #7065]
1527 * configure.ac: Add check for unsupported stack-protection level.
1528 (libc_cv_predef_stack_protector): Remove.
1529 (no_ssp): New variable.
1530 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1531 (stack_protector): Set to -fno-stack-protector similarly.
1532 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1533 (libc_cv_asm_set_directive): Likewise.
1534 (libc_cv_protected_data): Likewise.
1535 (libc_cv_z_combreloc): Likewise.
1536 (libc_cv_hashstyle): Likewise.
1537 (libc_cv_has_glob_dat): Likewise.
1538 (libc_cv_output_format): Likewise.
1539 (libc_cv_output_format): Likewise.
1540 (libc_cv_ehdr_start): Likewise.
1541 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1542 (LIBC_LINKER_FEATURE): Likewise.
1543 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1544
1545 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1546
1547 [BZ #7065]
1548 * elf/Makefile (dummy-stack-chk-fail): New.
1549 (librtld.map): Use it.
1550
1551 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1552
1553 [BZ #7065]
1554 Compile the dynamic linker without stack protection.
1555 * elf/Makefile (elide-stack-protector): New.
1556 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1557 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1558 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1559 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1560
1561 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1562
1563 [BZ #7065]
1564 * config.make.in (have-ssp, no-stack-protector): New.
1565 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1566 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1567 (CFLAGS-sbrk.op): Likewise.
1568 (CFLAGS-brk.o): Likewise.
1569 (CFLAGS-brk.op): Likewise.
1570 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1571 (CFLAGS-wordcopy.c): Likewise.
1572
1573 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1574
1575 [BZ #7065]
1576 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1577 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1578 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1579 (__ifunc_resolver): Use it.
1580 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1581 inhibit_stack_protector.
1582 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1583 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1584 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1585 (foo_protected_ifunc): Likewise.
1586 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1587 (foo_protected_ifunc): Likewise.
1588 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1589 * sysdeps/nacl/nacl_interface_query.c
1590 (nacl_interface_query_ifunc): Likewise.
1591 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1592 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1593 Likewise.
1594 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1595 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1596 the generated vDSO syscall resolver.
1597
1598 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1599 Florian Weimer <fweimer@redhat.com>
1600
1601 [BZ #7065]
1602 Initialize the stack guard earlier when linking statically.
1603 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1604 (__pthread_initialize_minimal): Declare.
1605 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1606 declaration.
1607 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1608 stack canary and apply_irel initialization up. Call
1609 __pthread_initialize_minimal only if linked in.
1610 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1611 constant values.
1612 (__pthread_initialize_minimal): Remove.
1613 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1614 (__pthread_initialize_minimal_internal): Do not call
1615 __libc_setup_tls.
1616
1617 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1618
1619 [BZ #7065]
1620 * configure.ac (libc_cv_ssp): Move up.
1621 (libc_cv_ssp_strong): Likewise.
1622 (libc_cv_ssp_all): New.
1623 (stack_protector): Augment, adding -fstack-protector-all.
1624 (no_stack_protector): New.
1625 (STACK_PROTECTOR_LEVEL): New.
1626 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1627 * manual/install.texi (--enable-stack-protector): Document it.
1628 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1629
1630 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1631
1632 * README.pretty-printers: Must specify CPPFLAGS-* also.
1633 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1634 (CPPFLAGS-test-mutex-printers.c): Define.
1635 (CPPFLAGS-test-condattr-printers.c): Define.
1636 (CPPFLAGS-test-cond-printers.c): Define.
1637 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1638 (CPPFLAGS-test-rwlock-printers.c): Define.
1639
1640 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1641 (tests): Add tst-cancel-getpwuid_r.
1642 * nss/tst-cancel-getpwuid_r.c: New file.
1643
1644 [BZ #11941]
1645 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1646 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1647 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1648 tst-nodelete-dlclose.
1649 (modules-names): Add tst-nodelete-dlclose-dso and
1650 tst-nodelete-dlclose-plugin.
1651 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1652 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1653 ($(objpfx)tst-nodelete-dlclose): Define.
1654 ($(objpfx)tst-nodelete-dlclose.out): Define.
1655
1656 2016-12-23 Florian Weimer <fweimer@redhat.com>
1657
1658 * scripts/test_printers_common.py: Log GDB output in case of
1659 Python detection failure.
1660
1661 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1662
1663 * configure.ac: Check for python3 or python.
1664 * configure: Regenerated.
1665 * config.make.in (PYTHON): New variable.
1666 * benchtests/Makefile: Don't define PYTHON.
1667 (bench): Define target only if PYTHON was defined.
1668 * Rules: Don't define PYTHON.
1669 Define pretty printer targets only if PYTHON was defined.
1670 (tests-printers): Add to tests-unsupported if PYTHON is not
1671 found.
1672 (python-flags, python-invoke): Remove.
1673 (tests-printers-out): Use PYTHON instead of python-invoke.
1674
1675 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1676
1677 [BZ #20978]
1678 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1679 Compare name == NULL, not name != NULL.
1680
1681 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1682 trailing whitespace removed.
1683 * scripts/config.guess: Update to version 2016-10-02.
1684 * scripts/config.sub: Update to version 2016-11-19.
1685 * scripts/install-sh: Update to version 2016-01-11.22.
1686 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1687 * scripts/move-if-change: Update to version 2016-01-11 22:04.
1688
1689 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1690
1691 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1692 (do_one_test) Restore original string so iteration works.
1693 * string/string-inlines.c (do_test): Create better input strings.
1694 (test_main) Reduce number of testruns.
1695 * string/string-inlines.c (__old_strsep_1c): New function.
1696 (__old_strsep_2c): Likewise.
1697 (__old_strsep_3c): Likewise.
1698 * string/strsep.c (__strsep): Remove case of small delim string.
1699 Call strcspn directly rather than strpbrk.
1700 * string/bits/string2.h (__strsep): Remove define.
1701 (__strsep_1c): Remove.
1702 (__strsep_2c): Remove.
1703 (__strsep_3c): Remove.
1704 (strsep): Remove.
1705 * sysdeps/unix/sysv/linux/internal_statvfs.c
1706 (__statvfs_getflags): Rename to __strsep.
1707
1708 2016-12-21 Florian Weimer <fweimer@redhat.com>
1709
1710 * csu/libc-tls.c (_dl_tls_setup): Remove.
1711 * elf/dl-tls.c (_dl_tls_setup): Likewise.
1712 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1713 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1714
1715 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1716
1717 [BZ #7065]
1718 * sysdeps/x86_64/Makefile [$(subdir) = elf]
1719 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1720
1721 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1722 Florian Weimer <fweimer@redhat.com>
1723
1724 [BZ #7065]
1725 * csu/Makefile (tests): Empty assignment and document it.
1726 (tests-static): Remove.
1727 * csu/tst-empty.c: Move to...
1728 * misc/tst-empty.c: ... here. Switch to new test driver.
1729 * csu/tst-atomic.c: Move to...
1730 * misc/tst-atomic.c: ... here. Switch to new test driver.
1731 * csu/tst-atomic-long.c: Move to...
1732 * misc/tst-atomic-long.c: ... here.
1733 * misc/Makefile (tests): Add tst-empty, tst-atomic,
1734 tst-atomic-long.
1735 (tests-static): Add tst-empty.
1736
1737 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
1738
1739 * manual/nss.texi: Change incorrect @vtable to @table.
1740 * manual/arith.texi: Convert @tables of variables to @vtables
1741 and remove unnecessary indexing.
1742 * manual/filesys.texi: Likewise.
1743 * manual/llio.texi: Likewise.
1744 * manual/memory.texi: Likewise.
1745 * manual/process.texi: Likewise.
1746 * manual/resource.texi: Likewise.
1747 * manual/search.texi: Likewise.
1748 * manual/signal.texi: Likewise.
1749 * manual/socket.texi: Likewise.
1750 * manual/stdio.texi: Likewise.
1751 * manual/sysinfo.texi: Likewise.
1752 * manual/syslog.texi: Likewise.
1753 * manual/terminal.texi: Likewise.
1754 * manual/time.texi: Likewise.
1755 * manual/users.texi: Likewise.
1756
1757 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1758
1759 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1760 (roundeven): New declaration.
1761 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1762 macro.
1763 * math/Versions (roundeven): New libm symbol at version
1764 GLIBC_2.25.
1765 (roundevenf): Likewise.
1766 (roundevenl): Likewise.
1767 * math/Makefile (libm-calls): Add s_roundevenF.
1768 * math/libm-test.inc (roundeven_test_data): New array.
1769 (roundeven_test): New function.
1770 (main): Call roundeven_test.
1771 * math/test-tgmath.c (NCALLS): Increase to 134.
1772 (F(compile_test)): Call roundeven.
1773 (F(roundeven)): New function.
1774 * manual/arith.texi (Rounding Functions): Document roundeven,
1775 roundevenf and roundevenl.
1776 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1777 * include/math.h (roundeven): Use libm_hidden_proto.
1778 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1779 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1780 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1781 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1782 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1785 roundeven.
1786 (CFLAGS-nldbl-roundeven.c): New variable.
1787 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1788 * sysdeps/nacl/libm.abilist: Update.
1789 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1790 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1791 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1792 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1793 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1794 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1795 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1796 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1797 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1798 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1799 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1800 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1802 Likewise.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1804 Likewise.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1806 Likewise.
1807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1808 Likewise.
1809 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1810 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1811 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1812 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1813 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1815 Likewise.
1816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1817 Likewise.
1818 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1819 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1820 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1821
1822 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1823
1824 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1825 preprocessor indentation inside #if.
1826
1827 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1828
1829 * math/libm-test.inc (fmt_ftostr): New function.
1830 (print_float, check_float_internal): Replace some uses of
1831 FTOSTR with uses of fmt_ftostr.
1832 (print_max_error, print_complex_max_error, print_function_ulps)
1833 (print_complex_function_ulps): Remove uses of the macros
1834 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1835 * math/test-double.h (FTOSTR): Define to strfromd.
1836 (PRINTF_EXPR): Delete.
1837 (PRINTF_XEXPR): Likewise.
1838 (PRINTF_NEXPR): Likewise.
1839 * math/test-float.h (FTOSTR): Define to strfromf.
1840 (PRINTF_EXPR): Delete.
1841 (PRINTF_XEXPR): Likewise.
1842 (PRINTF_NEXPR): Likewise.
1843 * math/test-ldouble.h (FTOSTR): Define to strfroml.
1844 (PRINTF_EXPR): Delete.
1845 (PRINTF_XEXPR): Likewise.
1846 (PRINTF_NEXPR): Likewise.
1847
1848 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1849
1850 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1851 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1852 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1853 (__lll_lock_elision): Decrement adapt_count while unlocking
1854 instead of before locking.
1855 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1856 (__lll_trylock_elision): Likewise.
1857 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1858 (__lll_unlock_elision): Likewise.
1859
1860 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1861
1862 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1863 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1864 Use __libc_tbegin_retry macro.
1865
1866 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1867
1868 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1869 Add -msoft-float.
1870 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1871 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1872 Use __libc_t* transaction macros instead of __builtin_t*.
1873 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1874 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1875
1876 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1877
1878 * sysdeps/unix/sysv/linux/s390/elision-lock.c
1879 (__lll_lock_elision): Use atomics to load / store adapt_count.
1880 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1881 (__lll_trylock_elision): Likewise.
1882
1883 2016-12-20 Florian Weimer <fweimer@redhat.com>
1884
1885 Do not require memset elimination in explicit_bzero test.
1886 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1887 (enum test_expectation): Add NO_EXPECTATIONS.
1888 (subtests): NO_EXPECTATIONS for ordinary clear.
1889 (check_test_buffer): Handle NO_EXPECTATIONS.
1890 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1891
1892 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1893
1894 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1895 (fmaxmag): New declaration.
1896 (fminmag): Likewise.
1897 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1898 macro.
1899 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1900 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1901 (fmaxmagf): Likewise.
1902 (fmaxmagl): Likewise.
1903 (fminmag): Likewise.
1904 (fminmagf): Likewise.
1905 (fminmagl): Likewise.
1906 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1907 * math/s_fmaxmag_template.c: New file.
1908 * math/s_fminmag_template.c: Likewise.
1909 * math/libm-test.inc (fmaxmag_test_data): New array.
1910 (fmaxmag_test): New function.
1911 (fminmag_test_data): New array.
1912 (fminmag_test): New function.
1913 (main): Call fmaxmag_test and fminmag_test.
1914 * math/test-tgmath.c (NCALLS): Increase to 132.
1915 (F(compile_test)): Call fmaxmag and fminmag.
1916 (F(fminmag)): New function.
1917 (F(fmaxmag)): Likewise.
1918 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1919 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1920 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1921 fminmag.
1922 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1923 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1924 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1927 and fminmag.
1928 (CFLAGS-nldbl-fmaxmag.c): New variable.
1929 (CFLAGS-nldbl-fminmag.c): Likewise.
1930 * sysdeps/nacl/libm.abilist: Update.
1931 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1932 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1933 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1934 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1935 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1936 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1937 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1938 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1939 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1940 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1941 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1942 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1944 Likewise.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1946 Likewise.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1948 Likewise.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1950 Likewise.
1951 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1952 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1953 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1954 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1955 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1957 Likewise.
1958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1959 Likewise.
1960 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1961 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1962 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1963
1964 2016-12-19 Torvald Riegel <triegel@redhat.com>
1965
1966 [BZ #20973]
1967 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1968 wake-up in robust mutexes.
1969 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1970
1971 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1972
1973 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1974 (CFLAGS-bench-fmaxf.c): New rule.
1975 (CFLAGS-bench-fminf.c): Likewise.
1976 * benchtests/fmaxf-inputs: New file.
1977 * benchtests/fminf-inputs: Likewise.
1978
1979 * benchtests/Makefile (bench-math): Add fmin and fmax.
1980 (CFLAGS-bench-fmax.c): New rule.
1981 (CFLAGS-bench-fmin.c): Likewise.
1982 * benchtests/fmax-inputs: New file.
1983 * benchtests/fmin-inputs: Likewise.
1984
1985 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1986 parenthesis.
1987 (CMDLINE_PROCESS): Define using function instead of macro.
1988 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1989 of test-skeleton.
1990 * benchtests/bench-memchr.c: Likewise.
1991 * benchtests/bench-memcmp.c: Likewise.
1992 * benchtests/bench-memcpy-large.c: Likewise.
1993 * benchtests/bench-memcpy.c: Likewise.
1994 * benchtests/bench-memmem.c: Likewise.
1995 * benchtests/bench-memmove-large.c: Likewise.
1996 * benchtests/bench-memmove.c: Likewise.
1997 * benchtests/bench-memset-large.c: Likewise.
1998 * benchtests/bench-memset.c: Likewise.
1999 * benchtests/bench-rawmemchr.c: Likewise.
2000 * benchtests/bench-strcasecmp.c: Likewise.
2001 * benchtests/bench-strcasestr.c: Likewise.
2002 * benchtests/bench-strcat.c: Likewise.
2003 * benchtests/bench-strchr.c: Likewise.
2004 * benchtests/bench-strcmp.c: Likewise.
2005 * benchtests/bench-strcpy.c: Likewise.
2006 * benchtests/bench-strcpy_chk.c: Likewise.
2007 * benchtests/bench-strlen.c: Likewise.
2008 * benchtests/bench-strncasecmp.c: Likewise.
2009 * benchtests/bench-strncmp.c: Likewise.
2010 * benchtests/bench-strncpy.c: Likewise.
2011 * benchtests/bench-strnlen.c: Likewise.
2012 * benchtests/bench-strpbrk.c: Likewise.
2013 * benchtests/bench-strrchr.c: Likewise.
2014 * benchtests/bench-strsep.c: Likewise.
2015 * benchtests/bench-strspn.c: Likewise.
2016 * benchtests/bench-strstr.c: Likewise.
2017 * benchtests/bench-strtok.c: Likewise.
2018
2019 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2020
2021 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2022 stepping identification.
2023 (init_cpu_features): Add handle of Haswell.
2024
2025 2016-11-25 Jim Meyering <meyering@fb.com>
2026
2027 [BZ #20386]
2028 Let gcc detect assert(a = 1) errors.
2029 * assert/assert.h (assert): Rewrite, retaining the old definintion
2030 when required, but otherwise putting the expression as-is in an "if"
2031 expression (hence, with no added parentheses) within a statement
2032 expression.
2033
2034 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
2035
2036 * benchtests/Makefile (binaries-benchset): Depend on libsupport
2037 DSO.
2038
2039 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
2040
2041 * Rules (python-flags, python-invoke): New.
2042 ($(test-printers-out)): Use $(python-flags).
2043
2044 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2045
2046 * manual/arith.texi (Math Error Reporting): Document that sNaN
2047 arguments are not considered domain errors.
2048
2049 2016-12-16 Zack Weinberg <zackw@panix.com>
2050 Florian Weimer <fweimer@redhat.com>
2051 Nick Mathewson <nickm@torproject.org>
2052
2053 * string/explicit_bzero.c: New routine.
2054 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2055 * string/Makefile (routines, strop-tests, tests): Add them.
2056 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2057 * string/string.h [__USE_MISC]: Declare explicit_bzero.
2058
2059 * debug/explicit_bzero_chk.c: New routine.
2060 * debug/Makefile (routines): Add it.
2061 * debug/tst-chk1.c: Test fortification of explicit_bzero.
2062 * string/bits/string3.h: Fortify explicit_bzero.
2063
2064 * manual/string.texi: Document explicit_bzero.
2065 * NEWS: Mention addition of explicit_bzero.
2066
2067 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2068 data before returning, using explicit_bzero.
2069 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2070 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2071 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2072
2073 * include/string.h: Redirect internal uses of explicit_bzero
2074 to __explicit_bzero_chk[_internal].
2075 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2076 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2077 * sysdeps/arm/nacl/libc.abilist
2078 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2079 * sysdeps/unix/sysv/linux/alpha/libc.abilist
2080 * sysdeps/unix/sysv/linux/arm/libc.abilist
2081 * sysdeps/unix/sysv/linux/hppa/libc.abilist
2082 * sysdeps/unix/sysv/linux/i386/libc.abilist
2083 * sysdeps/unix/sysv/linux/ia64/libc.abilist
2084 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2085 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2086 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2087 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2088 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2089 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2090 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2091 * sysdeps/unix/sysv/linux/nios2/libc.abilist
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2096 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2097 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2098 * sysdeps/unix/sysv/linux/sh/libc.abilist
2099 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2100 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2103 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2104 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2105 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2106 Add entries for explicit_bzero and __explicit_bzero_chk.
2107
2108 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2109
2110 * math/fenv.h
2111 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2112 (FE_SNANS_ALWAYS_SIGNAL): New macro.
2113 * math/test-fe-snans-always-signal.c: New file.
2114 * math/Makefile (tests): Add test-fe-snans-always-signal.
2115 (CFLAGS-test-fe-snans-always-signal.c): New variable.
2116 * manual/arith.texi (Infinity and NaN): Document
2117 FE_SNANS_ALWAYS_SIGNAL.
2118
2119 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2120
2121 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2122 bracket.
2123
2124 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2125
2126 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2127 before calling execv.
2128
2129 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2130
2131 [BZ# 20971]
2132 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2133 overflow in pointer addition.
2134 * string/test-memchr.c (do_test): Add an argument to pass as
2135 the size on memchr.
2136 (test_main): Add check for SIZE_MAX.
2137
2138 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2139
2140 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2141 (libm-calls): Add w_scalblnF.
2142 * math/w_scalbln.c: Remove.
2143 * math/w_scalblnf.c: Likewise.
2144 * math/w_scalblnl.c: Likewise.
2145 * math/w_scalbln_template.c: New file with type-generic
2146 implementation based on math/w_scalbln.c.
2147 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2148 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2149
2150 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2151
2152 [BZ #20947]
2153 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2154 either is a signaling NaN.
2155 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
2156 follow fmaxl more closely.
2157 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2158 when either is a signaling NaN.
2159 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2160 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2161 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2162 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2163 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2164 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2165 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2166 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2167 (fmin_test_data): Likewise.
2168
2169 2016-12-15 Andreas Schwab <schwab@suse.de>
2170
2171 * support/support_test_main.c (support_test_main): Don't shadow
2172 file-local variable test_pid.
2173
2174 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2175
2176 [BZ #20947]
2177 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2178 either is a signaling NaN.
2179 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2180
2181 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2182
2183 [BZ #20947]
2184 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2185 when either is a signaling NaN.
2186 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2187
2188 * bits/long-double.h: New file.
2189 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2190 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2191 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2192 * sysdeps/mips/bits/long-double.h: Likewise.
2193 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2194 * math/Makefile (headers): Add bits/long-double.h.
2195 * misc/sys/cdefs.h: Include <bits/long-double.h>.
2196 * stdlib/strtold.c: Include <bits/long-double.h> instead of
2197 <bits/wordsize.h>.
2198 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2199 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2200 * math/math.h: Do not include <bits/mathdef.h>.
2201 * sysdeps/aarch64/bits/mathdef.h: Remove file.
2202 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2203 inclusion.
2204 * sysdeps/ia64/bits/mathdef.h: Remove file.
2205 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2206 * sysdeps/mips/bits/mathdef.h: Likewise.
2207 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2208 * sysdeps/s390/bits/mathdef.h: Likewise.
2209 * sysdeps/sparc/bits/mathdef.h: Likewise.
2210 * sysdeps/x86/bits/mathdef.h: Likewise.
2211 * sysdeps/s390/s390-32/bits/wordsize.h
2212 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2213 conditional code.
2214 * sysdeps/s390/s390-64/bits/wordsize.h
2215 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2216 Likewise.
2217 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2218 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2219 Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2221 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2222 Likewise.
2223 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2224 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2225 Likewise.
2226
2227 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2228 <linux/falloc.h>.
2229 (FALLOC_FL_KEEP_SIZE): Remove.
2230 (FALLOC_FL_PUNCH_HOLE): Likewise.
2231 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2232 (FALLOC_FL_ZERO_RANGE): Likewise.
2233
2234 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2235
2236 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2237
2238 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2239
2240 * sysdeps/unix/sysv/linux/renameat.c: New file.
2241 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2242
2243 * sysdeps/unix/sysv/linux/rename.c: New file.
2244 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2245
2246 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2247
2248 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2249 * string/strtok.c (strtok): Change to tailcall __strtok_r.
2250 * string/strtok_r.c (__strtok_r): Optimize for performance.
2251 * string/string-inlines.c (__old_strtok_r_1c): New function.
2252 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2253
2254 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2255
2256 * math/Makefile (gen-libm-calls): Add w_log1pF.
2257 (libm-calls): Remove w_log1pF.
2258 * math/w_log1p.c: Remove.
2259 * math/w_log1pf.c: Likewise.
2260 * math/w_log1pl.c: Likewise.
2261 * math/w_log1p_template.c: New file with type-generic
2262 implementation based on math/w_log1p.c.
2263 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2264 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2265
2266 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2267
2268 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2269
2270 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2271
2272 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2273 kernel version to 4.9.
2274
2275 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
2276
2277 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2278 ($(inst_libdir)/libm.a): Fix rule to create the target only.
2279
2280 2016-12-13 Andreas Schwab <schwab@suse.de>
2281
2282 * sysdeps/powerpc/dl-procinfo.c: Don't define
2283 _dl_powerpc_platforms.
2284 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2285 constants instead of referencing _dl_powerpc_platforms.
2286 (_dl_platform_string): Remove.
2287
2288 2016-12-13 Florian Weimer <fweimer@redhat.com>
2289
2290 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2291
2292 2016-12-13 Florian Weimer <fweimer@redhat.com>
2293
2294 * Rules (binaries-shared-tests, binaries-pie-tests)
2295 (binaries-static-tests): Link with $(link-extra-libs-tests).
2296 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2297 Remove $(link-extra-libs-tests).
2298
2299 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2300
2301 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2302 (sysdep_routines): Add strncmp_power9.
2303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2304 (strncmp): Add __strncmp_power9 to list of strncmp functions.
2305 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2306 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2307 (strncmp): Add __strncmp_power9 to ifunc list.
2308 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2309
2310 2016-12-12 Florian Weimer <fweimer@redhat.com>
2311
2312 [BZ #17252]
2313 Add getentropy, getrandom.
2314 * stdlib/sys/random.h: New file.
2315 (headers): Add it.
2316 * stdlib/Makefile (routines): Add getentropy, getrandom.
2317 (tests): Add tst-getrandom.
2318 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2319 * stdlib/getentropy.c: New file.
2320 * stdlib/getrandom.c: Likewise.
2321 * stdlib/tst-getrandom.c: Likewise.
2322 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2323 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2324 * manual/crypt.texi (Unpredictable Bytes): New section.
2325 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2326 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2327 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2328 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2329 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2330 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2331 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2332 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2333 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2334 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2335 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2336 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2337 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2338 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2339 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2340 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2342 Likewise.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2344 Likewise.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2347 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2348 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2349 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2350 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2354 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2355 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2356 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2357
2358 2016-12-10 Florian Weimer <fweimer@redhat.com>
2359
2360 [BZ #20956]
2361 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2362 as additional compiler barriers.
2363 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2364 (fn2, do_test): Declare with external linkage.
2365 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2366 (do_test): Declare with external linkage.
2367 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2368 (do_test): Declare with external linkage.
2369 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2370 (do_test): Declare with external linkage.
2371
2372 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
2373
2374 * support/support_test_main.c (support_test_main): Use correct
2375 timeout.
2376
2377 2016-12-09 Carlos O'Donell <carlos@redhat.com>
2378 Florian Weimer <fweimer@redhat.com>
2379
2380 [BZ #16421]
2381 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2382 and __u6_addr32 members.
2383 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2384 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2385 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2386 Use __u6_addr32.
2387 * inet/tst-checks.c: Use <support/test-driver.c>
2388 * inet/tst-checks-posix.c: New file.
2389 * inet/Makefile (tests): Add it.
2390 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2391
2392 2016-12-09 Florian Weimer <fweimer@redhat.com>
2393
2394 New subdirectory support for build and test infrastructure.
2395 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
2396 setting install-lib.
2397 * Makeconfig (link-extra-libs-tests): Define.
2398 (+link-pie-tests, +link-static-tests, +link-tests): Use
2399 link-extra-libs-tests.
2400 (rpath-dirs, all-subdirs): Add support.
2401 (built-modules): Add libsupport.
2402 (libsupport): Define.
2403 * support: New directory.
2404 * support/Makefile: New file.
2405 * support/check.c: Likewise.
2406 * support/check.h: Likewise.
2407 * support/delayed_exit.c: Likewise.
2408 * support/ignore_stderr.c: Likewise.
2409 * support/oom_error.c: Likewise.
2410 * support/set_fortify_handler.c: Likewise.
2411 * support/support.h: Likewise.
2412 * support/temp_file-internal.h: Likewise.
2413 * support/temp_file.c: Likewise.
2414 * support/test-driver.c: Likewise.
2415 * support/test-driver.h: Likewise.
2416 * support/test_main.c: Likewise.
2417 * support/write_message.c: Likewise.
2418 * support/xasprintf.c: Likewise.
2419 * support/xcalloc.c: Likewise.
2420 * support/xmalloc.c: Likewise.
2421 * support/xpthread_barrier_destroy.c: Likewise.
2422 * support/xpthread_barrier_init.c: Likewise.
2423 * support/xpthread_barrier_wait.c: Likewise.
2424 * support/xpthread_cancel.c: Likewise.
2425 * support/xpthread_check_return.c: Likewise.
2426 * support/xpthread_cond_wait.c: Likewise.
2427 * support/xpthread_create.c: Likewise.
2428 * support/xpthread_detach.c: Likewise.
2429 * support/xpthread_join.c: Likewise.
2430 * support/xpthread_mutex_lock.c: Likewise.
2431 * support/xpthread_mutex_unlock.c: Likewise.
2432 * support/xpthread_sigmask.c: Likewise.
2433 * support/xpthread_spin_lock.c: Likewise.
2434 * support/xpthread_spin_unlock.c: Likewise.
2435 * support/xrealloc.c: Likewise.
2436 * support/xsignal.h: Likewise.
2437 * support/xthread.h: Likewise.
2438 * support_tempfile.h: Likewise.
2439 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2440 (TEST_DATA_LIMIT): Remove unused macro.
2441 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
2442 <support/check.h>.
2443 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2444 (ignore_stderr, set_fortify_handler): Remove. Now in
2445 <support/support.h>.
2446 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
2447 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2448 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2449 (xpthread_join): Remove. Now in <support/xthread.h>.
2450 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2451 Introduce legacy wrappers.
2452 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2453 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2454 (write_message): Remove.
2455 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2456 test-skeleton.c.
2457 * io/test-open-tmpfile: Likewise.
2458 * io/tst-posix_fallocate-common.c: Likewise.
2459 * libio/tst-fseek.c: Likewise.
2460 * malloc/tst-malloc-backtrace.c: Likewise.
2461 * malloc/tst-malloc-fork-deadlock.c: Likewise.
2462 * malloc/tst-malloc-thread-exit.c: Likewise.
2463 * nptl/tst-cancel7.c: Likewise.
2464 * nptl/tst-cleanup0.c: Likewise.
2465 * posix/tst-posix_fadvise-common.c: Likewise.
2466 * rt/tst-shm.c: Likewise.
2467 * time/bug-getdate1.c: Likewise.
2468 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2469 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2470 * elf/Makefile (tst-piemod1.so): Link against libsupport.
2471
2472 2016-12-08 Joseph Myers <joseph@codesourcery.com>
2473
2474 * Rules [$(run-built-tests) != no] (tests-expected): Add
2475 $(tests-printers).
2476 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2477
2478 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
2479
2480 [BZ #20539]
2481 * math/Makefile (install-lib-ldscripts): Add libm.a.
2482 (install_subdir): Remove.
2483 (install-others): Add.
2484 ($(inst_libdir)/libm.a): Add rule for installation as
2485 linker script.
2486 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2487
2488 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
2489
2490 * INSTALL: Regenerated.
2491 * Makeconfig: Add comments and whitespace to make the control flow
2492 clearer.
2493 (+link-printers-tests, +link-pie-printers-tests,
2494 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2495 built-rtld-LDFLAGS, link-libc-rpath,
2496 link-libc-tests-after-rpath-link,
2497 link-libc-printers-tests): New.
2498 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2499 link-libc-tests): Use the new variables as required.
2500 * Makerules ($(py-const)): New rule.
2501 generated: Add $(py-const).
2502 * README.pretty-printers: New file.
2503 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2504 (others): Depend on $(py-const).
2505 (tests): Depend on $(tests-printers-programs) or
2506 $(tests-printers-out),
2507 as required. Pass $(tests-printers) to merge-test-results.sh.
2508 * manual/install.texi: Add requirements for testing the pretty
2509 printers.
2510 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2511 tests-printers, CFLAGS-test-mutexattr-printers.c
2512 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2513 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2514 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2515 * nptl/nptl-printers.py: New file.
2516 * nptl/nptl_lock_constants.pysym: Likewise.
2517 * nptl/test-cond-printers.c: Likewise.
2518 * nptl/test-cond-printers.py: Likewise.
2519 * nptl/test-condattr-printers.c: Likewise.
2520 * nptl/test-condattr-printers.py: Likewise.
2521 * nptl/test-mutex-printers.c: Likewise.
2522 * nptl/test-mutex-printers.py: Likewise.
2523 * nptl/test-mutexattr-printers.c: Likewise.
2524 * nptl/test-mutexattr-printers.py: Likewise.
2525 * nptl/test-rwlock-printers.c: Likewise.
2526 * nptl/test-rwlock-printers.py: Likewise.
2527 * nptl/test-rwlockattr-printers.c: Likewise.
2528 * nptl/test-rwlockattr-printers.py: Likewise.
2529 * scripts/gen-py-const.awk: Likewise.
2530 * scripts/test_printers_common.py: Likewise.
2531 * scripts/test_printers_exceptions.py: Likewise.
2532
2533 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2534
2535 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2536 argument.
2537 (Glibc.build_glibc): Strip installed shared libraries if
2538 requested.
2539 (get_parser): Add --strip option.
2540 (main): Update Context call.
2541
2542 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2543 Dominik Vogt <vogt@linux.vnet.ibm.com>
2544
2545 [BZ #20847]
2546 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2547 array bounds for else branch.
2548 (__execvpe): Style fixes.
2549 * posix/tst-vfork3.c (run_script): New function.
2550 (create_script): Likewise.
2551 (do_test): Use run_script internal function.
2552 (do_prepare): Use create_script internal function.
2553
2554 2016-12-07 Andreas Schwab <schwab@suse.de>
2555
2556 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2557 (__elision_available): Don't declare.
2558 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2559 (__elision_available): Don't define.
2560 (elision_init): Don't set __elision_available.
2561
2562 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2563
2564 [BZ #20940]
2565 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2566 return Inf for arguments Inf and sNaN.
2567 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2568 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2569 Likewise.
2570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2571 Likewise.
2572 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2573 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2574 for arguments Inf and sNaN. When returning a NaN, compute it by
2575 arithmetic on the arguments.
2576 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2577 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2578 arguments.
2579
2580 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2581
2582 [BZ #20916]
2583 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2584 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2585 to compute result.
2586 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2587 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2588
2589 2016-12-05 Torvald Riegel <triegel@redhat.com>
2590
2591 * include/atomic.h (__atomic_check_size_ls): New.
2592 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2593 atomic_store_release): Use it.
2594 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2595 (elision_adapt, ELIDE_LOCK): Use atomics.
2596 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2597 atomics and improve code comments.
2598 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2599 (__lll_trylock_elision): Likewise.
2600
2601 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2602
2603 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2604 programs.
2605
2606 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2607
2608 [BZ #20916]
2609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2610 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2611 arguments to compute result.
2612 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2613 1 for arguments (sNaN, 0) or (1, sNaN).
2614 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2616
2617 [BZ #20919]
2618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2619 NaN first argument when raised to power 0.
2620 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2621 raising to power zero.
2622 * math/w_powf.c (__powf): Likewise.
2623 * math/w_powl.c (__powl): Likewise.
2624 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2625 pow (0, 0) or pow (NaN, 0).
2626
2627 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2628
2629 [BZ #20918]
2630 * configure.ac: Test for static NSS cryptographic libraries and set
2631 libc_cv_static_nss_crypt.
2632 * configure: Regenerate.
2633 * config.make.in (static-nss-crypt): Define.
2634 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2635 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2636 (CFLAGS-tst-linkall-static.c): Define.
2637 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2638 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2639 ($(objpfx)tst-linkall-static): Define.
2640 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2641 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2642
2643 2016-12-02 Florian Weimer <fweimer@redhat.com>
2644
2645 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2646 (one-hundred, tst-tls-many-dynamic-modules): Define.
2647 (modules-names): Add $(tst-tls-many-dynamic-modules).
2648 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2649 macros.
2650 (tst-tls-manydynamic): Link against libdl, libpthread.
2651 (tst-tls-manydynamic.out): The test needs the test modules at run
2652 time.
2653 * elf/tst-tls-manydynamic.c: New file.
2654 * elf/tst-tls-manydynamic.h: Likewise.
2655 * elf/tst-tls-manydynamicmod.c: Likewise.
2656
2657 2016-12-02 Florian Weimer <fweimer@redhat.com>
2658
2659 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2660 (TLS_DTV_UNALLOCATED): Add.
2661 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2662 offsets.
2663
2664 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2665
2666 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2667
2668 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2669
2670 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2671 Add -fno-optimize-sibling-calls.
2672
2673 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2674
2675 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2676 New declaration.
2677 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2678 macro.
2679 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2680 New macro.
2681 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2682 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2683 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2684 (llogbf): Likewise.
2685 (llogbl): Likewise.
2686 * math/Makefile (gen-libm-calls): Add w_llogbF.
2687 (tests): Add test-fp-llogb-constants.
2688 * math/w_llogb_template.c: New file. Based on
2689 math/w_ilogb_template.c.
2690 * math/libm-test.inc (llogb_test_data): New array.
2691 (llogb_test): New function.
2692 (main): Call llogb_test.
2693 * math/test-fp-llogb-constants.c: New file. Based on
2694 math/test-fp-ilogb-constants.c.
2695 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2696 (do_test): Call check_return_llogb.
2697 * math/test-tgmath.c (NCALLS): Increase to 126.
2698 (F(compile_test)): Call llogb.
2699 (F(llogb)): New function.
2700 * manual/math.texi (Exponents and Logarithms): Document llogb,
2701 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2702 * manual/libm-err-tab.pl (@all_functions): Add llogb.
2703 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2704 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2705 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2706 (CFLAGS-nldbl-llogb.c): New variable.
2707 * sysdeps/nacl/libm.abilist: Update.
2708 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2709 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2710 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2711 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2712 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2713 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2714 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2715 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2716 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2717 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2718 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2719 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2721 Likewise.
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2723 Likewise.
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2725 Likewise.
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2727 Likewise.
2728 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2729 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2730 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2731 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2732 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2734 Likewise.
2735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2736 Likewise.
2737 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2738 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2739 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2740
2741 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2742
2743 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2744 _Float128 instead of long double.
2745 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2746
2747 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2748 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2749 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2750 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2751 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2752 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2753 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2754 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2755 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2756 Likewise.
2757
2758 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2759
2760 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2761 Remove redirection to __strrchr_ppc.
2762
2763 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2764
2765 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2766 (sysdep_routines): Add strcmp_power9.
2767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2768 (strcmp): Add __strcmp_power9 to list of strcmp functions.
2769 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2770 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2771 (strcmp): Add __strcmp_power9 to ifunc list.
2772 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2773
2774 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2775
2776 * bits/fp-logb.h: New file.
2777 * sysdeps/ia64/bits/fp-logb.h: Likewise.
2778 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2779 * sysdeps/x86/bits/fp-logb.h: Likewise.
2780 * math/Makefile (headers): Add bits/fp-logb.h.
2781 * math/math.h: Include <bits/fp-logb.h>.
2782 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2783 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2784 * bits/mathdef.h (FP_ILOGB0): Remove.
2785 (FP_ILOGBNAN): Likewise.
2786 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2787 (FP_ILOGBNAN): Likewise.
2788 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2789 (FP_ILOGBNAN): Likewise.
2790 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2791 (FP_ILOGBNAN): Likewise.
2792 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2793 (FP_ILOGBNAN): Likewise.
2794 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2795 (FP_ILOGBNAN): Likewise.
2796 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2797 (FP_ILOGBNAN): Likewise.
2798 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2799 (FP_ILOGBNAN): Likewise.
2800 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2801 (FP_ILOGBNAN): Likewise.
2802 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2803 (FP_ILOGBNAN): Likewise.
2804
2805 * scripts/build-many-glibcs.py: Add bot to usage message. Import
2806 time module.
2807 (Context.__init__): Initialize self.logsdir_old.
2808 (Context.run_builds): Handle bot action.
2809 (Context.bot_cycle): Copy logs directory before running builds.
2810 (Context.bot_run_self): Take argument for whether to check
2811 subprocess result. Flush stdout before running subprocess.
2812 (Context.bot): New function.
2813 (get_parser): Allow bot action.
2814
2815 2016-11-30 Joseph Myers <joseph@codesourcery.com>
2816
2817 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2818 Import email.mime.text, email.utils and smtplib modules.
2819 (Context.__init__): Initialize self.bot_config_json.
2820 (Context.run_builds): Handle bot-cycle action.
2821 (Context.load_bot_config_json): New function.
2822 (Context.part_build_old): Likewise.
2823 (Context.bot_cycle): Likewise.
2824 (Context.bot_build_mail): Likewise.
2825 (Context.bot_run_self): Likewise.
2826 (get_parser): Allow bot-cycle action.
2827
2828 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2829
2830 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2831 Remove redirection to __stpcpy_ppc.
2832
2833 2016-11-30 Florian Weimer <fweimer@redhat.com>
2834
2835 Remove __libc_memalign from ld.so because it is unused.
2836 * elf/dl-minimal.c: Update comment on the malloc implementation.
2837 (malloc): Renamed from __libc_memalign, replacing the original
2838 malloc implementation. Replace the align parameter with
2839 MALLOC_ALIGNMENT.
2840 * elf/Versions (ld): Update comment and remove __libc_memalign.
2841 * sysdeps/nacl/ld.abilist: Likewise.
2842 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2843 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2844 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2845 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2846 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2847 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2848 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2849 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2850 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2851 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2852 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2853 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2854 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2858 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2859 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2860 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2861 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2862 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2865 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2866 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2867 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2868 * sysdeps/generic/localplt.data (ld.so): Likewise.
2869 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2870 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2871 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2872 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2873 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2874 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2875 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2876 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2877 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2879 (ld.so): Likewise.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2881 (ld.so): Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2883 Likewise.
2884 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2885 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2886 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2887 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2888 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2889
2890 2016-11-30 Florian Weimer <fweimer@redhat.com>
2891
2892 [BZ #16628]
2893 Implement _dl_catch_error, _dl_signal_error in libc.so.
2894 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2895 (catch_hook): Define as thread-local or regular variable,
2896 depending on DL_ERROR_BOOTSTRAP.
2897 (CATCH_HOOK): Remove.
2898 (dl_signal_error, _dl_catch_error): Use
2899 catch_hook. Add hidden definition for libc.
2900 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
2901 for DL_ERROR_BOOTSTRAP only.
2902 * elf/dl-error.c: New file.
2903 * elf/dl-error-minimal.c: Likewise.
2904 * elf/tst-latepthread.c: Likewise.
2905 * elf/tst-latepthreadmod.c: Likewise.
2906 * elf/Makefile (routines): Add dl-error.
2907 (dl-routines): Remove dl-error.
2908 (rtld-routines): Add dl-error-minimal.
2909 [build-shared] (tests): Add tst-latepthread.
2910 (module-names): Add tst-latepthreadmod.
2911 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2912 symbol.
2913 (tst-latepthreadmod.so): Link against libpthread.
2914 (tst-latepthread): Link against libdbl.
2915 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2916 _dl_catch_error.
2917 [ld] (GLIBC_PRIVATE): Likewise.
2918 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2919 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2920 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2921 directly.
2922 * elf/dl-tsd.c: Remove file.
2923 * elf/rtld.c (_rtld_global_ro): Remove initializers for
2924 _dl_catch_error, _dl_signal_error.
2925 (_dl_initial_error_catch_tsd): Remove definition.
2926 (do_preload): Remove initialization of dl_error_catch_tsd.
2927 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2928 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2929 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2930 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2931 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2932 set dl_error_catch_tsd.
2933 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2934 _dl_error_catch_tsd member.
2935 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2936 members.
2937 (_dl_initial_error_catch_tsd): Remove declaration.
2938 (_dl_dprintf): Provide definition for use outside of ld.so.
2939 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2940 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
2941 prototype for libc.
2942 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2943 _dl_catch_error.
2944 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2945 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2946 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2947 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2948 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2949 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2950 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2951 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2952 Likewise.
2953 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2955 (ld.so): Likewise.
2956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2957 (ld.so): Likewise.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2959 Likewise.
2960 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2961 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2962 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2963 Likewise.
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2965 Likewise.
2966 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2967
2968 2016-11-30 Florian Weimer <fweimer@redhat.com>
2969
2970 [BZ #4099]
2971 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2972 _IO_BUFSIZ (8192).
2973
2974 2016-11-30 Carlos O'Donell <carlos@redhat.com>
2975
2976 * PROJECTS: Remove file.
2977
2978 2016-11-29 Florian Weimer <fweimer@redhat.com>
2979
2980 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2981
2982 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
2983 Steve Ellcey <sellcey@caviumnetworks.com>
2984
2985 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2986 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2987 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2988 fxstatat.
2989 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2990 lxstat.
2991 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2992 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2993 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2994 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2995 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2996 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2997 __xstat.
2998
2999 2016-11-29 Florian Weimer <fweimer@redhat.com>
3000
3001 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3002 Define.
3003 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3004 definition.
3005
3006 2016-11-29 Florian Weimer <fweimer@redhat.com>
3007
3008 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3009 version and turn into strong alias. Remove compat symbol.
3010
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3012 (__longjmp): Remove.
3013
3014 2016-11-29 Joseph Myers <joseph@codesourcery.com>
3015
3016 * bits/fp-fast.h: New file.
3017 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3018 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3019 * math/Makefile (headers): Add bits/fp-fast.h.
3020 * math/math.h: Include <bits/fp-fast.h>.
3021 * bits/mathdef.h (FP_FAST_FMA): Remove.
3022 (FP_FAST_FMAF): Likewise.
3023 (FP_FAST_FMAL): Likewise.
3024 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3025 (FP_FAST_FMAF): Likewise.
3026 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3027 (FP_FAST_FMAF): Likewise.
3028 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3029 (FP_FAST_FMAF): Likewise.
3030 (FP_FAST_FMAL): Likewise.
3031 * sysdeps/arm/bits/mathdef.h: Remove file.
3032 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3033 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3034 * sysdeps/tile/bits/mathdef.h: Likewise.
3035
3036 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3037
3038 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
3039 * math/w_ilogb.c: Remove.
3040 * math/w_ilogbf.c: Likewise.
3041 * math/w_ilogbl.c: Likewise.
3042 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3043 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3044 * math/Makefile (gen-libm-calls): Add w_ilogbF.
3045 (libm-calls): Remove w_ilogbF.
3046 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3047 (LDOUBLE_ilogbl_libm_version): New macro.
3048
3049 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3050
3051 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3052 [!__STRICT_ANSI__ && !__cplusplus].
3053
3054 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
3055
3056 [BZ #20750]
3057 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3058 of PIC.
3059
3060 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3061 Yury Norov <ynorov@caviumnetworks.com>
3062 Steve Ellcey <sellcey@caviumnetworks.com>
3063
3064 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3065 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3066 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3067 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3068 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3069 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3070 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3071 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3072 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3073 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3074 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3075 to get correct reg name for ILP32.
3076 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3077 (RELA_SIZE): New Macro.
3078 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3079 to support ILP32.
3080 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3081 cast for ILP32 mode.
3082 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3083 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3084 * sysdeps/aarch64/memset.S (__memset): Ditto.
3085 * sysdeps/aarch64/strchr.S (strchr): Ditto.
3086 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3087 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3088 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3089 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3090 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3091 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3092 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3093 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3094 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3095 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3096 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3097 change PTR_MANGLE call to use register numbers instead of names.
3098 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3099 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3100 ILP32 mode, change PTR_MANGLE calls to use register numbers.
3101 * sysdeps/aarch64/start.S (_start): Ditto.
3102 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3103 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3104 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3105 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3106 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3107 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3108 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3109 Make defined values dependent on __ILP32__.
3110 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3111 (sem_t): Change __align type.
3112 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3113 PTR_SIZE): New Macros.
3114 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3115 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3116 Set when in ILP32 mode.
3117 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3118 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3119 Set elf flags for ILP32.
3120 (add_system_dir): Set ILP32 library directories.
3121 * sysdeps/unix/sysv/linux/aarch64/init-first.c
3122 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3123 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3124 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3125 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3126 New Macros.
3127 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3128
3129 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
3130
3131 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3132 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3133 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3134
3135 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3136
3137 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3138 <asm/cachectl.h>.
3139
3140 2016-11-27 Zack Weinberg <zackw@panix.com>
3141
3142 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3143 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3144
3145 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3146
3147 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3148 error_t to fix usage in C++ programs.
3149
3150 2016-11-26 Joseph Myers <joseph@codesourcery.com>
3151
3152 * scripts/build-many-glibcs.py: Import datetime module.
3153 (Context.__init__): Load JSON build state. Initialize list of
3154 status logs.
3155 (Context.run_builds): Update saved build state.
3156 (Context.add_makefile_cmdlist): Update list of status logs.
3157 (Context.load_build_state_json): New function.
3158 (Context.store_build_state_json): Likewise.
3159 (Context.clear_last_build_state): Likewise.
3160 (Context.update_build_state): Likewise.
3161 (CommandList.status_logs): Likewise.
3162
3163 2016-11-25 Joseph Myers <joseph@codesourcery.com>
3164
3165 * scripts/build-many-glibcs.py (Context.__init__): Save text of
3166 script being executed.
3167 (Context.get_script_text): New function.
3168 (Context.exec_self): Likewise.
3169 (Context.checkout): Re-exec script if changed by checkout process.
3170
3171 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3172
3173 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3174 (setpayloadsig): New declaration.
3175 * math/Versions (setpayloadsig): New libm symbol at version
3176 GLIBC_2.25.
3177 (setpayloadsigf): Likewise.
3178 (setpayloadsigl): Likewise.
3179 * math/Makefile (libm-calls): Add s_setpayloadsigF.
3180 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3181 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3182 (setpayloadsig_test_data): New array.
3183 (setpayloadsig_test): New function.
3184 (main): Call setpayloadsig_test.
3185 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3186 setpayloadsigf and setpayloadsigl.
3187 * manual/libm-err-tab.pl: Update comment on interfaces without
3188 ulps tabulated.
3189 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3190 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3195 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3196 setpayloadsig.
3197 (CFLAGS-nldbl-setpayloadsig.c): New variable.
3198 * sysdeps/nacl/libm.abilist: Update.
3199 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3200 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3201 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3202 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3203 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3204 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3205 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3206 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3207 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3208 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3209 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3210 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3212 Likewise.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3214 Likewise.
3215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3216 Likewise.
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3218 Likewise.
3219 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3220 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3221 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3222 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3223 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3225 Likewise.
3226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3227 Likewise.
3228 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3229 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3230 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3231
3232 * scripts/build-many-glibcs.py: Import json module.
3233 (Context.__init__): Take replace_sources argument. Load
3234 versions.json.
3235 (Context.load_versions_json): New function.
3236 (Context.store_json): Likewise.
3237 (Context.store_versions_json): Likewise.
3238 (Context.set_component_version): Likewise.
3239 (Context.checkout): Update versions.json. Check for and handle
3240 changes of version. Prefer previously explicitly specified
3241 version to default version.
3242 (Context.checkout_vcs): Return a revision identifier.
3243 (Context.git_checkout): Likewise.
3244 (Context.gcc_checkout): Likewise.
3245 (get_parser): Add --replace-sources option.
3246 (main): Pass replace_sources argument to Context call.
3247
3248 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3249
3250 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3251 * nptl/allocatestack.c (allocate_stack): Likewise.
3252 (__reclaim_stacks): Likewise.
3253 (setxid_signal_thread): Obtain pid through syscall.
3254 * nptl/nptl-init.c (sigcancel_handler): Likewise.
3255 (sighandle_setxid): Likewise.
3256 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3257 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3258 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3259 Likewise.
3260 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3261 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3262 comment.
3263 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3264 * nptl/descr.h (struct pthread): Change comment about pid value.
3265 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3266 pid assert.
3267 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3268 Do not set pid value.
3269 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3270 pid cache check.
3271 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3272 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3273 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3274 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3275 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3276 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3277 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3278 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3279 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3280 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3281 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3282 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3283 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3284 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3285 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3286 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3287 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3288 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3289 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3290 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3291 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3292 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3293 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3294 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3295 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3298 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3299 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3300 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3301 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3302 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3303 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3304 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3305 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3306 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3307 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3308 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3309 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3310 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3311 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3312 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3313 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3316 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3317 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3318 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3319 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3320 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3321 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3322 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3323 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3324 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3325 struct access.
3326 (clone_test): Remove function.
3327 (do_test): Rewrite to take in consideration pid is not cached anymore.
3328
3329 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3330
3331 * bits/flt-eval-method.h: New file.
3332 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3333 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3334 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3335 * math/Makefile (headers): Add bits/flt-eval-method.h.
3336 * math/math.h: Include <bits/flt-eval-method.h>.
3337 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3338 [__USE_ISOC99] (double_t): Likewise.
3339 * bits/mathdef.h (float_t): Remove.
3340 (double_t): Likewise.
3341 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3342 (double_t): Likewise.
3343 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3344 (double_t): Likewise.
3345 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3346 (double_t): Likewise.
3347 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3348 (double_t): Likewise.
3349 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3350 (double_t): Likewise.
3351 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3352 (double_t): Likewise.
3353 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3354 (double_t): Likewise.
3355 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3356 (double_t): Likewise.
3357 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3358 (double_t): Likewise.
3359 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3360 (double_t): Likewise.
3361 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3362 (double_t): Likewise.
3363 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3364 (double_t): Likewise.
3365 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3366 (double_t): Likewise.
3367
3368 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
3369
3370 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3371 instead of PIC.
3372
3373 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3374
3375 [BZ #20859]
3376 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3377 (-0x7fffffff) instead of 0x80000001.
3378 * math/test-fp-ilogb-constants.c: New file.
3379 * math/Makefile (tests): Add test-fp-ilogb-constants.
3380
3381 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
3382
3383 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3384 (_init): Use it in place of hardcoded R_MIPS_JALR.
3385 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3386 (_init): Use it in place of hardcoded R_MIPS_JALR.
3387 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3388 (_init): Use it in place of hardcoded R_MIPS_JALR.
3389
3390 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3391
3392 [BZ #20787]
3393 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3394 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3395 (double_t): Do not define to double if [__x86_64__] when
3396 __FLT_EVAL_METHOD__ is nonzero.
3397 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3398 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3399 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3400 test-flt-eval-method-387 and test-flt-eval-method-sse.
3401 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3402 variable.
3403 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3404
3405 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
3406
3407 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3408 use of -fno-isolate-erroneous-paths options for tilepro.
3409
3410 2016-11-23 Florian Weimer <fweimer@redhat.com>
3411
3412 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3413 structure initialization is no longer needed.
3414
3415 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3416
3417 [BZ #20855]
3418 * bits/mathdef.h (float_t): Define to float.
3419 * math/test-flt-eval-method.c: New file.
3420 * math/Makefile (tests): Add test-flt-eval-method.
3421 (CFLAGS-test-flt-eval-method.c): New variable.
3422
3423 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
3424
3425 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3426 and __fstatfs. Make them aliases of __fstatfs64 if
3427 STATFS_IS_STATFS64 is set to non-zero.
3428 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3429 and __statfs64.
3430 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3431 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3432 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3433 for __statfs and statfs.
3434 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3435 to 0.
3436 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3437 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3438 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3439 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3440 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3441 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3444 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3445 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3446 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3447 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3448
3449 2016-11-22 Andreas Schwab <schwab@suse.de>
3450
3451 * misc/mkstemp.c: Include <fcntl.h>.
3452 * misc/mkstemps.c: Likewise.
3453 * misc/mkostemp.c: Likewise.
3454 * misc/mkostemps.c: Likewise.
3455
3456 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
3457
3458 [BZ #20847]
3459 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3460 array bounds.
3461 (__execvpe): Likewise.
3462
3463 2016-11-22 Joseph Myers <joseph@codesourcery.com>
3464
3465 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3466 -fno-isolate-erroneous-paths options for tilepro.
3467
3468 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
3469
3470 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3471 to 0 when in 32 bit mode.
3472 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3473 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3474 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3475 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3477 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3478 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3479 XSTAT_IS_XSTAT64 test.
3480 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3481 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3482 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3483 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3484 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3485 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3486 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3487 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3488 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3489 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3490 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3491
3492 2016-11-19 Joseph Myers <joseph@codesourcery.com>
3493
3494 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3495 (setpayload): New declaration.
3496 * math/Versions (setpayload): New libm symbol at version
3497 GLIBC_2.25.
3498 (setpayloadf): Likewise.
3499 (setpayloadl): Likewise.
3500 * math/Makefile (libm-calls): Add s_setpayloadF.
3501 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3502 test_Ff_b1_data.
3503 (RUN_TEST_Ff_b1): New macro.
3504 (RUN_TEST_LOOP_Ff_b1): Likewise.
3505 (canonicalize_test_data): Update type.
3506 (setpayload_test_data): New array.
3507 (setpayload_test): New function.
3508 (main): Call setpayload_test.
3509 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3510 setpayloadf and setpayloadl.
3511 * manual/libm-err-tab.pl: Update comment on interfaces without
3512 ulps tabulated.
3513 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3514 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3515 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3516 Likewise.
3517 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3518 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3519 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3520 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3521 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3522 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3523 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3524 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3525 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3526 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3527 setpayload.
3528 (CFLAGS-nldbl-setpayload.c): New variable.
3529 * sysdeps/nacl/libm.abilist: Update.
3530 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3531 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3532 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3533 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3534 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3536 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3537 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3538 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3539 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3540 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3541 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3543 Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3545 Likewise.
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3547 Likewise.
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3549 Likewise.
3550 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3551 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3552 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3553 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3556 Likewise.
3557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3558 Likewise.
3559 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3560 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3561 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3562
3563 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3564
3565 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3566 * include/unistd.h: Extend comment about __access_noerrno return
3567 semantics.
3568 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3569 (access_common): Correct typo for EACCES.
3570
3571 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3572
3573 * sysdeps/tile/math-tests.h: New file.
3574
3575 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3576 (__old_set_dataplane): Rename from set_dataplane and make a
3577 compatibility symbol.
3578 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3579 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3580 sys/dataplane.h.
3581
3582 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3583
3584 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3585 script quote words in command output to log suitably for input to
3586 the shell.
3587
3588 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3589 Maciej W. Rozycki <macro@imgtec.com>
3590
3591 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3592 `.Lno_weak_fn' label.
3593 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3594 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3595
3596 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3597 Yury Norov <ynorov@caviumnetworks.com>
3598
3599 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3600 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3601 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3602 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3603 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3605 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3607 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3608 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3609 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3610 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3611 (sysdep_routines): Remove oldgetrlimit64.
3612 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3613 (sysdep_routines): Likewise.
3614 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3615 (sysdep_routines): Likewise.
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3617 [$(subdir) = resource] (sysdep_routines): Likewise.
3618 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3619 [$(subdir) = resource] (sysdep_routines): Likewise.
3620 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3621 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3622 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3623 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3624 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3625 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3626 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3627 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3628 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3629 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3630 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3631 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3632 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3633 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3634 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3635 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3636 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3637 setrlimit and getrlimit.
3638 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3640 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3643 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3644 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3645 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3647 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3648 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3649 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3650 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3651 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3652 (__old_getrlimit64): Add compatibility symbol.
3653 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3654
3655 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3656
3657 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3658 newly built gmp, mpfr and mpc.
3659
3660 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3661
3662 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3663
3664 * conform/Makefile (linknamespace-libs): Rename to
3665 linknamespace-libs-thr.
3666 (linknamespace-libs-posix): New variable.
3667 (linknamespace-libs-xsi): Likewise.
3668 (linknamespace-libs-XPG3): Include libcrypt.a.
3669 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3670 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3671 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3672 (linknamespace-libs-XOPEN2K): Likewise.
3673 (linknamespace-libs-XOPEN2K8): Likewise.
3674 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3675
3676 [BZ #20829]
3677 * stdio-common/Versions (__snprintf): Add to version
3678 GLIBC_PRIVATE.
3679 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3680 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3681 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3682 of snprintf.
3683 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3684
3685 2016-11-16 Zack Weinberg <zackw@panix.com>
3686
3687 * string/string.h: Remove obsolete comment stating that
3688 strcoll_l and strxfrm_l have not yet been standardized.
3689
3690 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3691
3692 * hurd/hurd.h (__hurd_fail_noerrno): New function.
3693 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3694 __access_noerrno.
3695 * io/access.c (__access_noerrno): New function.
3696 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3697 (hurd_fail_seterrno): Likewise.
3698 (access_common): Likewise.
3699 (__access_noerrno): Likewise.
3700 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3701 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3702 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3703 macro.
3704
3705 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3706
3707 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3708 Only declare fpregs if [__SH_FPU_ANY__].
3709
3710 2016-11-15 Joseph Myers <joseph@codesourcery.com>
3711
3712 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3713 Make code unconditional.
3714 [!(__SH4__ || __SH4A__)]: Remove conditional code.
3715
3716 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
3717
3718 * manual/sysinfo.texi (S_APPEND): Delete.
3719 (S_IMMUTABLE): Likewise.
3720
3721 2016-11-15 Denis Kaganovich <mahatma@eu.by>
3722 Magnus Granberg <zorry@gentoo.org>
3723 Mike Frysinger <vapier@gentoo.org>
3724
3725 [BZ #20662]
3726 * configure.ac (libc_cv_predef_stack_protector): Also check for
3727 __stack_chk_fail_local symbols.
3728 * configure: Regenerated.
3729
3730 2016-11-15 Florian Weimer <fweimer@redhat.com>
3731
3732 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3733 (libc_hidden_def): Remove redefinition.
3734 (__sigsetjmp): Add hidden definition.
3735 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3736 (libc_hidden_def): Remove redefinition.
3737 (__sigsetjmp): Add hidden definition.
3738
3739 2016-11-14 Joseph Myers <joseph@codesourcery.com>
3740
3741 * scripts/build-many-glibcs.py (os.path): Do not import.
3742 (Context): Inherit explicitly from object. Remove blank line
3743 between class and docstring.
3744 (Config): Likewise.
3745 (Glibc): Likewise.
3746 (Command): Likewise.
3747 (CommandList): Likewise.
3748 (Context.write_files): Store chmod mode in a variable.
3749
3750 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3751 LIBC_SLIBDIR_RTLDDIR for tilegx32.
3752 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3753
3754 2016-11-14 Zack Weinberg <zackw@panix.com>
3755
3756 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3757 creating or re-creating it.
3758
3759 * string/bits/string2.h: Fix typo in comment.
3760
3761 2016-11-14 Zack Weinberg <zackw@panix.com>
3762
3763 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3764 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3765 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3766 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3767 of redirected function names.
3768
3769 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3770 as well. Document that MESSAGE must be a single string literal.
3771
3772 2016-11-11 Joseph Myers <joseph@codesourcery.com>
3773
3774 * scripts/build-many-glibcs.py: New file.
3775
3776 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3777 (do_test): Disable -Wmaybe-uninitialized around uses of
3778 except_mask.
3779
3780 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3781
3782 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
3783
3784 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3785 (atomic_store_release): Provide tilepro-specific implementations.
3786
3787 2016-11-10 Joseph Myers <joseph@codesourcery.com>
3788
3789 * math/math.h (__MATH_TG): New macro.
3790 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3791 [__USE_ISOC99] (signbit): Likewise.
3792 [__USE_ISOC99] (isfinite): Likewise.
3793 [__USE_ISOC99] (isnan): Likewise.
3794 [__USE_ISOC99] (isinf): Likewise.
3795 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3796 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3797 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3798 __MATH_TG and __MATH_EVAL_FMT2.
3799 * sysdeps/generic/math_private.h (fabs_tg): Define using
3800 __MATH_TG.
3801 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3802 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3803 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3804 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3805 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3806 macro.
3807 (__iscanonical): Likewise.
3808 (iscanonical): Define using __MATH_TG.
3809
3810 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3811
3812 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3813 guards.
3814
3815 * sysdeps/unix/sysv/linux/access.c: New file.
3816 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3817
3818 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
3819
3820 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3821 and __WORDSIZE32_PTRDIFF_LONG.
3822
3823 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3824
3825 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3826
3827 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3828
3829 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3830 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3831 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3832 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3833 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3835 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3836 * sysdeps/unix/sysv/linux/truncate.c: New file.
3837 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3838 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3839 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3840 Remove.
3841 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3842 Likewise.
3843
3844 * posix/tst-truncate-common.c: New file.
3845 * posix/tst-truncate.c: Use tst-truncate-common.c.
3846 * posix/tst-truncate64.c: Likewise and add LFS tests.
3847 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3848 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3849 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3850 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3851 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3853 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3854 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3855 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3856 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3857 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3858 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3859 Remove.
3860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3861 Likewise.
3862
3863 2016-11-08 Joseph Myers <joseph@codesourcery.com>
3864
3865 [BZ #20790]
3866 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3867 to MAXLINESIZE.
3868 * sunrpc/bug20790.x: New file.
3869 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3870 variable.
3871 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3872 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3873
3874 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3875
3876 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3877
3878 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3879 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
3880 calloc, realloc, free, memalign and __libc_memalign rather than
3881 making them optional.
3882
3883 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3884 for libc.so.
3885
3886 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3887
3888 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3889 ptw-lseek64.
3890 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3891 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
3892 Likewise.
3893 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3894 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3895 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3896 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3897 * sysdeps/unix/sysv/linux/lseek.c: New file.
3898 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3899 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3900 __libc_lseek64 from auto-generation.
3901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3902 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3903
3904 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3905
3906 * nptl/tst-basic1.c (tf, do_test): Use write_message.
3907 * nptl/tst-cleanup1.c (do_test): Likewise.
3908 * nptl/tst-cleanup3.c (do_test): Likewise.
3909 * nptl/tst-key1.c (do_test): Likewise.
3910 * nptl/tst-key2.c (tf, do_test): Likewise.
3911 * nptl/tst-key3.c (tf, do_test): Likewise.
3912 * nptl/tst-stdio1.c (do_test): Likewise.
3913 * nptl/tst-stdio2.c (do_test): Likewise.
3914
3915 * nptl/tst-kill3.c (handler): Use write_message in place of write.
3916 * nptl/tst-kill6.c (handler): Likewise.
3917 * nptl/tst-tls2.c (CB): Likewise.
3918 * nptl/tst-tls3.c (CB): Likewise.
3919
3920 2016-11-07 Joseph Myers <joseph@codesourcery.com>
3921
3922 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3923
3924 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
3925 Steve Ellcey <sellcey@caviumnetworks.com>
3926
3927 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3928 __ASSUME_ST_INO_64_BIT as 0
3929 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3930 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3931 over the code where __ASSUME_ST_INO_64_BIT is used.
3932 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3933 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3934 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3935
3936 2016-11-07 Florian Weimer <fweimer@redhat.com>
3937
3938 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3939 Document ABI exposure of the __kind offset.
3940 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3941 Mention reason for the __kind offset exposure in the ABI.
3942 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3943 Likewise.
3944 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3945 Likewise.
3946 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3947 Likewise.
3948 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3949 (struct __pthread_mutex_s): Likewise.
3950 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3951 Likewise.
3952 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3953 Likewise.
3954 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3955 Likewise.
3956 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3957 Likewise.
3958 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3959 Likewise.
3960 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3961 Likewise.
3962 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3963 (struct __pthread_mutex_s): Likewise.
3964 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3965 (struct __pthread_mutex_s): Likewise.
3966 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3967 Likewise.
3968
3969 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
3970
3971 * test-skeleton.c: Document do_test usage.
3972
3973 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
3974
3975 * iconv/gconv.h (__gconv_info): Define __data element using a
3976 zero-length array.
3977
3978 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
3979
3980 * math/test-tgmath2.c: Split up test function.
3981
3982 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3983
3984 * Rules (tests-expected): New variable, depending on
3985 $(run-built-tests).
3986 (tests): Pass $(tests-expected) to merge-test-results.sh, not
3987 $(tests).
3988
3989 * Rules [$(run-built-tests) = no] (tests): Do not depend on
3990 $(tests-unsupported).
3991
3992 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3993
3994 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3995 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
3996
3997 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3998
3999 [BZ #20768]
4000 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4001 __fegetenv instead of fegetenv.
4002
4003 [BZ #14139]
4004 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4005 (find_files): Obtain platform name from libm-test-ulps-name and
4006 store in %pplatforms.
4007 (canonicalize_platform): Remove.
4008 (print_platforms): Use $pplatforms directly.
4009 (by_platforms): Do not allow for platforms missing from
4010 %pplatforms.
4011 * sysdeps/aarch64/libm-test-ulps-name: New file.
4012 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4013 * sysdeps/arm/libm-test-ulps-name: Likewise.
4014 * sysdeps/generic/libm-test-ulps-name: Likewise.
4015 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4016 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4017 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4018 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4019 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4020 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4021 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4022 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4023 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4024 * sysdeps/nios2/libm-test-ulps-name: Likewise.
4025 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4026 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4027 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4028 * sysdeps/sh/libm-test-ulps-name: Likewise.
4029 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4030 * sysdeps/tile/libm-test-ulps-name: Likewise.
4031 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4032
4033 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4034
4035 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4036 (test-xfail-check-execstack): New variable.
4037
4038 * sysdeps/mips/localplt.data: New file.
4039
4040 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
4041 Steve Ellcey <sellcey@caviumnetworks.com>
4042
4043 * bits/wordsize.h: Add documentation.
4044 * sysdeps/aarch64/bits/wordsize.h : New file
4045 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4046 definitions.
4047 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4048 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4049 with #if instead of #ifdef.
4050 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4051 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4052 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4053 Add or change defines.
4054 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4055 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4056 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4057 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4058 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4059 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4060 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4061 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4062 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4063 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4064 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4065 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4066 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4067 * sysdeps/x86/bits/wordsize.h: Likewise.
4068
4069 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
4070 Kevin Petit <kevin.petit@arm.com>
4071
4072 * sysdeps/aarch64/memchr.S (__memchr): New file.
4073
4074 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4075
4076 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4077
4078 2016-11-03 Joseph Myers <joseph@codesourcery.com>
4079
4080 [BZ #19398]
4081 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4082 $(linknamespace-symlists-tests).
4083
4084 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
4085
4086 * time/tst-strptime2.c: Ignore -Wformat-length warning.
4087
4088 2016-11-02 Florian Weimer <fweimer@redhat.com>
4089 Carlos O'Donell <carlos@redhat.com>
4090
4091 [Bug #20729]
4092 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4093 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
4094 for -Os related change.
4095
4096 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
4097
4098 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4099
4100 2016-11-01 Joseph Myers <joseph@codesourcery.com>
4101
4102 [BZ #19673]
4103 * manual/math.texi (Exponents and Logarithms): Correct description
4104 of clog10.
4105
4106 2016-10-31 Carlos O'Donell <carlos@redhat.com>
4107
4108 [Bz #20729]
4109 * locale/weight.h: Include libc-internal.h.
4110 * locale/weightwc.h: Likewise.
4111 * nptl/nptl_dbP.h: Likewise.
4112
4113 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
4114
4115 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4116 when it is MACH_PORT_NULL.
4117
4118 2016-10-31 Andreas Schwab <schwab@suse.de>
4119
4120 [BZ #20707]
4121 * posix/glob.c (glob): Initialize pglob before checking for
4122 GLOB_BRACE. Don't call glob recursively if pattern contains no
4123 valid brace expression despite GLOB_BRACE.
4124 * posix/globtest.sh: Test it.
4125
4126 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4127
4128 [BZ #20729]
4129 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4130 Define.
4131 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4132 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4133 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4134 for seq2.back_us and seq1.back_us only for -Os compiles.
4135 * locale/weightwc.h (findix): Likewise.
4136 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4137 DB_GET_FIELD_ADDRESS only for -Os compiles.
4138 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4139 for slen only for -Os compiles.
4140 * string/strcoll_l.c (get_next_seq): Ignore
4141 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4142 for -Os compiles.
4143
4144 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4145 * include/crypt.h: New file.
4146
4147 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4148
4149 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4150 from test-skeleton.c.
4151 (statclass): Replace calls to write with calls to write_message.
4152
4153 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4154
4155 * math/math.h
4156 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4157 New macro.
4158 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4159 Likewise.
4160 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4161 Likewise.
4162 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4163 SNANL.
4164 * math/test-double.h (snan_value_MACRO): New macro.
4165 * math/test-float.h (snan_value_MACRO): Likewise.
4166 * math/test-ldouble.h (snan_value_MACRO): Likewise.
4167 * math/libm-test.inc (issignaling_test_data): Add tests of
4168 snan_value_MACRO.
4169
4170 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4171
4172 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4173 behavior when eliding a lock not held by the current thread.
4174 * sysdeps/powerpc/nptl/elide.h: Likewise.
4175
4176 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4177
4178 [BZ #20728]
4179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4180 branch to _exit() by a function call.
4181
4182 2016-10-28 Florian Weimer <fweimer@redhat.com>
4183
4184 * malloc/malloc.c: Update chunk layout comments.
4185 (chunk_main_arena): Update comment.
4186
4187 2016-10-28 Florian Weimer <fweimer@redhat.com>
4188
4189 * crypt/sha256.c, crypt/sha256-block.c,
4190 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4191 sha256_process_block to __sha256_process_block.
4192 * crypt/sha512.c, crypt/sha512-block.c,
4193 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4194 sha512_process_block to __sha512_process_block.
4195
4196 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4197
4198 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4199
4200 * math/test-nan-overflow.c: Include stdlib.h for malloc.
4201
4202 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
4203
4204 [BZ #20019]
4205 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4206 definition in unrelocated shared library.
4207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4208
4209 2016-10-28 Florian Weimer <fweimer@redhat.com>
4210
4211 [BZ #20729]
4212 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4213 * sysdeps/unix/sysv/linux/i386/Makefile
4214 (uses-6-syscall-arguments): Define.
4215 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4216 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4217 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4218 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4219 Likewise.
4220 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4221 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4222 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4223 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4224 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4225 (CFLAGS-fallocate64.os): Likewise.
4226 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4227 (CFLAGS-pthread_rwlock_timedrdlock.os)
4228 (CFLAGS-pthread_rwlock_timedwrlock.o)
4229 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4230 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4231 (CFLAGS-sem_timedwait.os): Likewise.
4232
4233 2016-10-28 Florian Weimer <fweimer@redhat.com>
4234
4235 * elf/tst-linkall-static.c: New file.
4236 * elf/Makefile (tests-static): Add tst-linkall-static.
4237 (tst-linkall-static): Link against static libraries.
4238
4239 2016-10-27 Florian Weimer <fweimer@redhat.com>
4240
4241 * malloc/malloc.c (sysmalloc): Initialize previous size field of
4242 mmaped chunks.
4243
4244 2016-10-28 Florian Weimer <fweimer@redhat.com>
4245
4246 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4247 members to mchunk_prev_size, mchunk_size.
4248 (chunk_main_arena): Reverse sense and rename from
4249 chunk_non_main_arena.
4250 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4251 mchunk_size instead of size.
4252 (set_non_main_arena): Define.
4253 (chunksize): Use chunksize_nomask instead of direct member access.
4254 (chunksize_nomask): Define.
4255 (next_chunk): Use chunksize instead of direct member access.
4256 (prev_size, set_prev_size): Define.
4257 (prev_chunk): Use prev_size instead of direct member access.
4258 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4259 (inuse_bit_at_offset, set_inuse_bit_at_offset)
4260 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4261 (mchunk_prev_size, mchunk_size): Poison tokens.
4262 (unlink): Use chunksize_nomask, prev_size accessors.
4263 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4264 (do_check_free_chunk): Use prev_size accessor.
4265 (sysmalloc): Use set_prev_size, set_head accessors.
4266 (munmap_chunk, mremap_chunk): Use prev_size accessor.
4267 (__libc_free): Use chunksize_nomask accessor.
4268 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4269 chunk_main_arena accessors.
4270 (_int_free): Use chunksize_nomask, prev_size accessors.
4271 (malloc_consolidate): Use chunksize, prev_size accessors.
4272 (_int_realloc): Use chunksize_nomask accessor.
4273 (_int_memalign): Use set_prev_size accessor.
4274 (__malloc_info): Use chunksize_nomask accessor.
4275 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4276 accessors.
4277 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4278 (heap_trim): Use chunksize_nomask, prev_size accessors.
4279
4280 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4281
4282 [BZ #19380]
4283 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4284 for inexact results.
4285 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4286 of inexact result where mpfr_subnormalize is the only inexact
4287 step.
4288 * stdlib/tst-strtod-round-data.h: Regenerated.
4289 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4290 Define to 0.
4291 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4292
4293 2016-10-27 David S. Miller <davem@davemloft.net>
4294
4295 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4296
4297 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
4298
4299 * malloc/malloc.c (do_set_mallopt_check): New function.
4300 (do_set_mmap_threshold): Likewise.
4301 (do_set_mmaps_max): Likewise.
4302 (do_set_top_pad): Likewise.
4303 (do_set_perturb_byte): Likewise.
4304 (do_set_trim_threshold): Likewise.
4305 (do_set_arena_max): Likewise.
4306 (do_set_arena_test): Likewise.
4307 (__libc_mallopt): Use them.
4308
4309 2016-10-26 Joseph Myers <joseph@codesourcery.com>
4310
4311 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4312 (canonicalize): New declaration.
4313 * math/Versions (canonicalize): New libm symbol at version
4314 GLIBC_2.25.
4315 (canonicalizef): Likewise.
4316 (canonicalizel): Likewise.
4317 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4318 * math/s_canonicalize_template.c: New file.
4319 * math/libm-test.inc: Update comment on functions tested and
4320 testing of NaN payloads.
4321 (TEST_NAN_PAYLOAD): New macro.
4322 (NO_TEST_INLINE): Update value.
4323 (XFAIL_TEST): Likewise.
4324 (ERRNO_UNCHANGED): Likewise.
4325 (ERRNO_EDOM): Likewise.
4326 (ERRNO_ERANGE): Likewise.
4327 (IGNORE_RESULT): Likewise.
4328 (NON_FINITE): Likewise.
4329 (TEST_SNAN): Likewise.
4330 (NO_TEST_MATHVEC): Likewise.
4331 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4332 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4333 (struct test_Ffp_b1_data): New type.
4334 (RUN_TEST_Ffp_b1): New macro.
4335 (RUN_TEST_LOOP_Ffp_b1): Likewise.
4336 (canonicalize_test_data): New array.
4337 (canonicalize_test): New function.
4338 (main): Call canonicalize_test.
4339 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4340 canonicalizef and canonicalizel.
4341 * manual/libm-err-tab.pl: Update comment on interfaces without
4342 ulps tabulated.
4343 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4344 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4345 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4346 canonicalize.
4347 (CFLAGS-nldbl-canonicalize.c): New variable.
4348 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4349 to ...
4350 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4351 ... here.
4352 (do_test): Also test canonicalizel.
4353 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4354 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4355 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4356 file.
4357 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4358 Use libm_hidden_def.
4359 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4360 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4361 (do_test): Also test canonicalizel.
4362 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4363 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4364 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4365 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4366 libm_hidden_def.
4367 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4368 macro.
4369 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4370 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4371 * sysdeps/nacl/libm.abilist: Update.
4372 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4373 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4374 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4375 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4376 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4377 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4378 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4379 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4380 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4381 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4382 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4383 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4385 Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4387 Likewise.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4389 Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4391 Likewise.
4392 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4393 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4394 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4395 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4396 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4398 Likewise.
4399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4400 Likewise.
4401 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4402 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4403 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4404
4405 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4406 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4407 getpayload.
4408 (CFLAGS-nldbl-getpayload.c): New variable.
4409
4410 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4411
4412 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4413 integer from the format string.
4414
4415 2016-10-26 Florian Weimer <fweimer@redhat.com>
4416
4417 [BZ #19473]
4418 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4419 declarations.
4420 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4421 weak aliases.
4422 * malloc/hooks.c (__malloc_get_state): Remove definition.
4423 (malloc_get_state): New stub implementation as
4424 compatibility symbol.
4425 (malloc_set_state): Rename from __malloc_set_state. Turn into
4426 compat symbol.
4427 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4428 malloc_set_state.
4429 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4430
4431 2016-10-26 Florian Weimer <fweimer@redhat.com>
4432
4433 * iconvdata/iso646.c (enum variant): Drop illegal_var.
4434 (names): Turn into concatenation of strings.
4435 (gconv_init): Adapt iteration over names.
4436
4437 2016-10-26 Florian Weimer <fweimer@redhat.com>
4438
4439 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4440 make const.
4441 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4442 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4443 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4444 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4445 character in sbconv.
4446 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4447 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4448 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4449
4450 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
4451
4452 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4453
4454 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4455 (M_TRIM_THRESHOLD): Likewise.
4456
4457 * manual/memory.texi (M_ARENA_TEST): Add documentation.
4458 (M_ARENA_MAX): Likewise.
4459 * malloc/malloc.c: Remove obsolete comment.
4460
4461 * manual/memory.texi: Add environment variable alternatives to
4462 setting mallopt parameters.
4463
4464 2016-10-26 Carlos O'Donell <carlos@redhat.com>
4465
4466 * include/atomic.h
4467 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4468 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4469
4470 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4471
4472 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4473 * stdlib/tst-strfrom.h: New file.
4474 * stdlib/tst-strfrom.c: New file.
4475 * stdlib/tst-strfrom-locale.c: New file.
4476
4477 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4478 * stdlib/bug-strtod2.c: Likewise.
4479 * stdlib/tst-strtod-round-skeleton.c: Likewise.
4480 * stdlib/tst-strtod6.c: Likewise.
4481 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4482
4483 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4484
4485 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4486 * manual/arith.texi: Document strfromd, strfromf, strfroml.
4487 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4488 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4489 * stdlib/stdlib.h (strfromd): New declaration.
4490 (strfromf): Likewise.
4491 (strfroml): Likewise.
4492 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
4493 strfrom.
4494 * stdlib/strfromd.c: New file.
4495 * stdlib/strfromf.c: Likewise.
4496 * stdlib/strfroml.c: Likewise.
4497 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4498 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4499 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4500 * sysdeps/arm/nacl/libc.abilist: Update.
4501 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4502 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4503 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4504 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4505 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4506 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4507 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4508 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4509 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4511 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4512 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4513 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4514 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4519 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4520 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4521 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4522 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4523 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4526 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4527 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4528 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4529
4530 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4531
4532 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4533 instead of cmpli.
4534 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4535 instead of cmpli.
4536
4537 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4538
4539 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4540 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4541 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4542 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4543 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4544 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4545
4546 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4547
4548 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4549 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4550 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4551 SYSCALL_LL64_PRW.
4552 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4553 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4554 __ASSUME_PRW_DUMMY_ARG.
4555 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4556 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4557 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4558 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4559 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4560 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4561
4562 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4563
4564 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4565
4566 2016-10-22 Florian Weimer <fweimer@redhat.com>
4567
4568 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4569 "C++", to override a potential extern "C" directive around the
4570 header file inclusion.
4571
4572 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4573
4574 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4575
4576 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4577
4578 * sysdeps/powerpc/fpu/fenv_private.h:
4579 (_FPU_MASK_ALL): Rename to...
4580 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4581 XE FPSCR bits.
4582
4583 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4584
4585 (_FPU_MASK_ROUNDING): Rename to...
4586 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4587 NI bits.
4588
4589 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4590 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4591 bits and rounding bits.
4592
4593 (__libc_feholdbits_ppc): New inline function to mask, set,
4594 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4595 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4596 (libc_feholdexcept_setround_ppc): Likewise.
4597
4598 (__libc_femergeenv_ppc): New function to dynamically mask both
4599 old and new FP environments and merge.
4600 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4601 (libc_feresetround_ppc): Likewise.
4602 (libc_feupdateenv_test_ppc): Likewise.
4603 (libc_feupdateenv_ppc): Likewise.
4604
4605 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4606 of ISA RN bits, and update macro names.
4607 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4608 effectively the same as the previously mentioned function.
4609
4610 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4611 usage with fe_resetround_ppc.
4612
4613 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4614 to be used.
4615 (libc_feholdexcept_setround_ctxf): Likewise.
4616 (libc_feholdexcept_setround_ctxl): Likewise.
4617
4618 2016-10-21 Florian Weimer <fweimer@redhat.com>
4619
4620 [BZ #20715]
4621 * math/math.h [__cplusplus] (iszero): Define as function template.
4622 * math/Makefile [CXX] (tests): Add test-math-iszero.
4623 (CFLAGS-test-math-iszero.cc): Set.
4624 * math/test-math-iszero.cc: New file.
4625
4626 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4627
4628 [BZ #20660]
4629 * sysdeps/arm/e_sqrt.c: New file.
4630 * sysdeps/arm/e_sqrtf.c: Likewise.
4631
4632 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4633
4634 [BZ #20718]
4635 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4636 not use floating-point comparisons to test sign.
4637 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4638 Likewise.
4639
4640 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4641 (getpayload): New declaration.
4642 * math/Versions (getpayload): New libm symbol at version
4643 GLIBC_2.25.
4644 (getpayloadf): Likewise.
4645 (getpayloadl): Likewise.
4646 * math/Makefile (libm-calls): Add s_getpayloadF.
4647 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4648 (struct test_f_f_data): Add comment.
4649 (RUN_TEST_fp_f): New macro.
4650 (RUN_TEST_LOOP_fp_f): Likewise.
4651 (getpayload_test_data): New array.
4652 (getpayload_test): New function.
4653 (main): Call getpayload_test.
4654 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4655 descriptor.
4656 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4657 getpayloadf and getpayloadl.
4658 * manual/libm-err-tab.pl: Update comment on interfaces without
4659 ulps tabulated.
4660 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4661 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4662 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4666 * sysdeps/nacl/libm.abilist: Update.
4667 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4668 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4669 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4670 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4671 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4672 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4673 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4674 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4675 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4676 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4677 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4678 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4680 Likewise.
4681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4682 Likewise.
4683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4684 Likewise.
4685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4686 Likewise.
4687 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4688 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4689 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4690 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4691 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4693 Likewise.
4694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4695 Likewise.
4696 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4697 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4698 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4699
4700 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4701
4702 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4703 tst-fallocate{64}.
4704 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4705 on syscall return.
4706
4707 2016-10-17 Carlos O'Donell <carlos@redhat.com>
4708
4709 [BZ #20689]
4710 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4711 usable.
4712
4713 2016-10-17 Joseph Myers <joseph@codesourcery.com>
4714
4715 * sysdeps/generic/nan-high-order-bit.h: New file.
4716 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4717 * sysdeps/mips/nan-high-order-bit.h: Likewise.
4718 * sysdeps/hppa/math_private.h: Remove file.
4719 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4720 not define here.
4721 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4722 <nan-high-order-bit.h>.
4723 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4724 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4725 <nan-high-order-bit.h>.
4726 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4727 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4728 <nan-high-order-bit.h>.
4729 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4730 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4731 <nan-high-order-bit.h>.
4732 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4733 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4734 <nan-high-order-bit.h>.
4735 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4736 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4737 <nan-high-order-bit.h>.
4738 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4739 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4740 <nan-high-order-bit.h>.
4741 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4742 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4743 <nan-high-order-bit.h>.
4744 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4745 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4746 <nan-high-order-bit.h>.
4747 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4748 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4749 <nan-high-order-bit.h>.
4750 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4751 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4752 <nan-high-order-bit.h>.
4753 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4754 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4755 <nan-high-order-bit.h>.
4756 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4757 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4758 <nan-high-order-bit.h>.
4759 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4760 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4761 <nan-high-order-bit.h>.
4762 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4763 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4764 <nan-high-order-bit.h>.
4765 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4766 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4767 <nan-high-order-bit.h>.
4768 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4769 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4770 <nan-high-order-bit.h>.
4771 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4772 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4773 <nan-high-order-bit.h>.
4774 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4775
4776 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4777
4778 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4779
4780 2016-09-22 John David Anglin <dave.anglin@bell.net>
4781
4782 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4783 abort-instr.h.
4784 (EFAULT): Remove conditional define.
4785 (ENOSYS): Likewise.
4786 (atomic_compare_and_exchange_val_acq): Use instruction nullification
4787 instead of conditional branch instructions.
4788
4789 2016-10-15 Joseph Myers <joseph@codesourcery.com>
4790
4791 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4792 (totalordermag): New declaration.
4793 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4794 New macro.
4795 * math/Versions (totalordermag): New libm symbol at version
4796 GLIBC_2.25.
4797 (totalordermagf): Likewise.
4798 (totalordermagl): Likewise.
4799 * math/Makefile (libm-calls): Add s_totalordermagF.
4800 * math/libm-test.inc (totalordermag_test_data): New array.
4801 (totalordermag_test): New function.
4802 (main): Call totalordermag_test.
4803 * math/test-tgmath.c (NCALLS): Increase to 125.
4804 (F(compile_test)): Call totalordermag.
4805 (F(totalordermag)): New function.
4806 * manual/arith.texi (FP Comparison Functions): Document
4807 totalordermag, totalordermagf and totalordermagl.
4808 * manual/libm-err-tab.pl: Update comment on interfaces without
4809 ulps tabulated.
4810 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4811 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4812 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4817 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4818 totalordermag.
4819 (CFLAGS-nldbl-totalordermag.c): New variable.
4820 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4821 (do_test): Also test totalordermagl.
4822 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4823 Likewise.
4824 * sysdeps/nacl/libm.abilist: Update.
4825 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4826 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4827 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4828 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4829 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4830 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4831 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4832 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4833 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4834 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4835 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4836 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4838 Likewise.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4840 Likewise.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4842 Likewise.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4844 Likewise.
4845 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4846 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4847 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4848 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4851 Likewise.
4852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4853 Likewise.
4854 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4855 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4856 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4857
4858 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
4859
4860 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4861 boolean.
4862
4863 2016-10-13 Joseph Myers <joseph@codesourcery.com>
4864
4865 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4866 raising FE_INVALID with feraisexcept in case where part of
4867 argument is infinite, subtract that part of argument from itself.
4868 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4869 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4870 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4871
4872 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4873
4874 * math/libm-test.inc (totalorder_test_data): Add more tests.
4875
4876 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4877
4878 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4879 Undefine weak_alias and add a comment why mips64 require
4880 versioning.
4881
4882 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
4883
4884 [BZ #20647]
4885 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4886 maximum CPUID level is less than 2.
4887
4888 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4889
4890 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4891 (totalorder): New declaration.
4892 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4893 New macro.
4894 * math/Versions (totalorder): New libm symbol at version
4895 GLIBC_2.25.
4896 (totalorderf): Likewise.
4897 (totalorderl): Likewise.
4898 * math/Makefile (libm-calls): Add s_totalorderF.
4899 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4900 string.
4901 * math/libm-test.inc (PAYLOAD_DIG): New macro.
4902 (qnan_value_pl): Likewise.
4903 (snan_value_pl): Likewise.
4904 (qnan_value): Define using qnan_value_pl.
4905 (snan_value): Define using snan_value_pl.
4906 (struct test_ff_i_data): Add comment about which tests use this
4907 structure.
4908 (RUN_TEST_ff_b): New macro.
4909 (RUN_TEST_LOOP_ff_b): Likewise.
4910 (totalorder_test_data): New array.
4911 (totalorder_test): New function.
4912 (main): Call totalorder_test.
4913 * math/test-tgmath.c (NCALLS): Increase to 122.
4914 (F(compile_test)): Call totalorder.
4915 (F(totalorder)): New function.
4916 * manual/arith.texi (FP Comparison Functions): Document
4917 totalorder, totalorderf and totalorderl.
4918 * manual/libm-err-tab.pl: Update comment on interfaces without
4919 ulps tabulated.
4920 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4921 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4922 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4927 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4928 totalorder.
4929 (CFLAGS-nldbl-totalorder.c): New variable.
4930 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4931 file.
4932 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4933 Add test-totalorderl-ldbl-128ibm.
4934 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4935 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4936 test-totalorderl-ldbl-96.
4937 * sysdeps/nacl/libm.abilist: Update.
4938 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4939 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4940 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4941 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4942 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4943 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4944 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4945 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4946 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4947 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4948 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4949 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4951 Likewise.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4953 Likewise.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4955 Likewise.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4957 Likewise.
4958 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4959 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4960 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4961 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4962 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4964 Likewise.
4965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4966 Likewise.
4967 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4968 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4969 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4970
4971 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4972
4973 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4974 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4975 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4976 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4977 remove ENOSYS implementation.
4978 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4979 Consolidate all Linux implementations.
4980
4981 2016-10-11 Florian Weimer <fweimer@redhat.com>
4982
4983 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4984 * resolv/herror.c (herror): Cast away const-ness.
4985 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4986 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4987
4988 2016-10-11 Joseph Myers <joseph@codesourcery.com>
4989
4990 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4991 instead of M_NAN + M_NAN.
4992 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4993
4994 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4995
4996 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4997 unused variable 'p'.
4998
4999 2016-10-09 Alan Modra <amodra@gmail.com>
5000 Andreas Schwab <schwab@linux-m68k.org>
5001
5002 [BZ #20554]
5003 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5004 [PIC && !SHARED]: Set up PIC register for PLT call.
5005
5006 2016-10-07 Joseph Myers <joseph@codesourcery.com>
5007
5008 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5009 conditional on value of [__FLT_EVAL_METHOD__].
5010 * math/test-iseqsig-excess-precision.c: New file.
5011 * math/Makefile (tests): Add test-iseqsig-excess-precision.
5012
5013 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5014
5015 * math/s_iseqsig_template.c: Include math-private.h.
5016
5017 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5018 * posix/tst-posix_fadvise.c: New file.
5019 * posix/tst-posix_fadvise64.c: Likewise.
5020 * posix/tst-posix_fadvise-common.c: Likewise.
5021 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5022 (__ASSUME_FADVISE64_64_6ARG): Define.
5023 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5024 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5025 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5026 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5027 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5028 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5029 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5030 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5031 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5032 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5033 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5034 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5037 Likewise.
5038 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5039 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5040 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5041 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5042 Alias to __posix_fadvise64_l32.
5043 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5044 Add compat definition to posix_fadvise64.
5045 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5046 Add versioned definition to posix_fadvise64.
5047 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5048 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5049 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5050 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5051 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5052
5053 * io/Makefile (tests): Add tst-posix_fallocate and
5054 tst-posix_fallocate64.
5055 * io/tst-posix_fallocate-common.c: New file.
5056 * io/tst-posix_fallocate.c: Likewise.
5057 * io/tst-posix_fallocate64.c: Likewise.
5058 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5059 file.
5060 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5061 Likewise.
5062 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5063 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5064 Likewise.
5065 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5066 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5067 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5068 SYSCALL_LL to pass both offset and len arguments.
5069 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5070 Likewise.
5071 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5072 __libc_pwrite64 alias used by posix_fallocate64.
5073
5074 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5075 tst-fallocate64.
5076 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5077 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5078 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5079 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5080 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5081 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5082 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5083 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5084 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5085 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5086 macro on offset argument.
5087 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5088 SYSCALL_LL64 on offset argument.
5089
5090 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5091 tst-fallocate64.
5092 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5093 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5094 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5095 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5096 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5097 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5098 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5099 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5100 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5101 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5102 macro on offset argument.
5103 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5104 SYSCALL_LL64 on offset argument.
5105 * test-skeleton.c (FAIL_RET): Add macro.
5106 (FAIL_EXIT): Likewise.
5107 (FAIL_EXIT1): Likewise.
5108 (_FAIL): Likewise.
5109
5110 2016-10-07 Florian Weimer <fweimer@redhat.com>
5111
5112 [BZ #20629]
5113 resolv: Remove RES_USEBSTRING and its implementation.
5114 * resolv/resolv.h (RES_USEBSTRING): Remove.
5115 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5116 (digitvalue, encode_bitstring, decode_bitstring): Remove.
5117 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5118 (labellen): Remove extended label types support.
5119 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5120 * resolv/res_init.c (res_setoptions): Likewise.
5121 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5122
5123 2016-10-07 Florian Weimer <fweimer@redhat.com>
5124
5125 resolv: Remove RES_NOIP6DOTINT and its implementation.
5126 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5127 (RES_NOIP6DOTINT): Remove.
5128 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5129 handling.
5130 * resolv/res_debug.c (p_option): Likewise.
5131 * resolv/res_init.c (res_setoptions): Likewise.
5132 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5133
5134 2016-10-07 Florian Weimer <fweimer@redhat.com>
5135
5136 resolv: Deprecate unimplemented flags.
5137 * misc/sys/cdefs.h (__glibc_macro_warning1)
5138 (__glibc_macro_warning): Define.
5139 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5140 (RES_KEEPTSIG): Mark as deprecated.
5141 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5142 RES_NOCHECKNAME, RES_KEEPTSIG.
5143 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5144
5145 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5146
5147 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5148 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5149 Use strong_alias to create symbols for glibc verison 2.19.
5150
5151 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5152
5153 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5154
5155 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5156
5157 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5158
5159 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5160
5161 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5162
5163 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5164
5165 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5166 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5167 in header for using it as type for ifunc function because __GI_* symbols
5168 for ppc32 do not target the ifunc symbols.
5169 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5170
5171 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5172
5173 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5174 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5175 libc_ifunc_hidden_def.
5176 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5177 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5178 Redirect ifunced function in header for using it as type of ifunc'ed
5179 function. Redefine libc_hidden_def to use fallback non ifunc'ed
5180 function for __GI_* symbol.
5181 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5182 * include/libc-symbols.h
5183 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5184
5185 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5186
5187 [BZ #20478]
5188 * sysdeps/s390/multiarch/ifunc-resolve.h
5189 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5190 to create ifunc symbols.
5191 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5192 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5193 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5194 for using it as type for ifunc function.
5195 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5196 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5197 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5198 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5199 * sysdeps/s390/multiarch/strcat.c: Likewise.
5200 * sysdeps/s390/multiarch/strchr.c: Likewise.
5201 * sysdeps/s390/multiarch/strcmp.c: Likewise.
5202 * sysdeps/s390/multiarch/strcpy.c: Likewise.
5203 * sysdeps/s390/multiarch/strcspn.c: Likewise.
5204 * sysdeps/s390/multiarch/strlen.c: Likewise.
5205 * sysdeps/s390/multiarch/strncmp.c: Likewise.
5206 * sysdeps/s390/multiarch/strncpy.c: Likewise.
5207 * sysdeps/s390/multiarch/strnlen.c: Likewise.
5208 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5209 * sysdeps/s390/multiarch/strrchr.c: Likewise.
5210 * sysdeps/s390/multiarch/strspn.c: Likewise.
5211 * sysdeps/s390/multiarch/wcschr.c: Likewise.
5212 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5213 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5214 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5215 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5216 * sysdeps/s390/multiarch/wmemset.c: Likewise.
5217 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5218 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5219 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5220 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5221 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5222 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5223
5224 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5225
5226 * include/libc-symbols.h (__ifunc_resolver):
5227 New macro is used by __ifunc* macros.
5228 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5229 depending on HAVE_GCC_IFUNC.
5230 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5231 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5233 Redirect ifunced function in header for using as type for ifunc function.
5234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5238 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5239 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5240 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5241 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5242 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5243 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5244 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5245 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5246 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5247 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5253 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5254 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5255 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5256 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5257 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5258 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5259 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5260 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5261 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5262 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5263 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5264 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5265 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5266 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5268 Add libc_hidden_def() and use libc_ifunc_hidden() macro
5269 instead of libc_ifunc() macro.
5270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5271 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5272
5273 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5274
5275 * config.h.in (HAVE_GCC_IFUNC): New undef.
5276 * configure.ac: Add check if gcc supports attribute ifunc feature.
5277 * configure: Regenerated.
5278 * manual/install.texi: Add recommendation for gcc with
5279 indirect-function support.
5280 * INSTALL: Regenerated.
5281
5282 2016-10-06 Joseph Myers <joseph@codesourcery.com>
5283
5284 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5285 macro.
5286 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5287 (__iseqsig): New declaration.
5288 * math/s_iseqsig_template.c: New file.
5289 * math/Versions (__iseqsigf): New libm symbol at version
5290 GLIBC_2.25.
5291 (__iseqsig): Likewise.
5292 (__iseqsigl): Likewise.
5293 * math/libm-test.inc (iseqsig_test_data): New array.
5294 (iseqsig_test): New function.
5295 (main): Call iseqsig_test.
5296 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5297 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5298 * manual/libm-err-tab.pl: Update comment on interfaces without
5299 ulps tabulated.
5300 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5301 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5302 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5303 * sysdeps/nacl/libm.abilist: Update.
5304 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5305 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5306 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5307 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5308 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5309 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5310 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5311 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5312 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5313 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5314 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5315 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5317 Likewise.
5318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5319 Likewise.
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5321 Likewise.
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5323 Likewise.
5324 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5325 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5326 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5328 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5330 Likewise.
5331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5332 Likewise.
5333 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5334 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5335 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5336
5337 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
5338
5339 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5340 do_sincos_2, sloww, sloww1): Update comments.
5341
5342 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5343 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5344
5345 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5346 K boolean and rename it.
5347 (__sin): Adjust.
5348 (__cos): Adjust.
5349
5350 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5351 Siddhesh Poyarekar <siddhesh@sourceware.org>
5352
5353 * manual/nss.texi: Fix typos in the manual.
5354
5355 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5356
5357 * manual/contrib.texi: Fix typos in the manual.
5358
5359 * manual/maint.texi: Fix typos in the manual.
5360
5361 * manual/install.texi: Fix typos in the manual.
5362 * INSTALL: Regenerated.
5363
5364 * manual/lang.texi: Fix typos in the manual.
5365
5366 * manual/probes.texi: Fix typos in the manual.
5367
5368 * manual/threads.texi: Fix typos in the manual.
5369
5370 * manual/debug.texi: Fix typos in the manual.
5371
5372 * manual/crypt.texi: Fix typos in the manual.
5373
5374 * manual/conf.texi: Fix typos in the manual.
5375
5376 * manual/sysinfo.texi: Fix typos in the manual.
5377
5378 * manual/users.texi: Fix typos in the manual.
5379
5380 * manual/job.texi: Fix typos in the manual.
5381
5382 * manual/process.texi: Fix typos in the manual.
5383
5384 * manual/argp.texi: Fix typos in the manual.
5385 * manual/getopt.texi: Likewise.
5386 * manual/startup.texi: Likewise.
5387
5388 * manual/signal.texi: Fix typos in the manual.
5389
5390 * manual/setjmp.texi: Fix typos in the manual.
5391
5392 * manual/resource.texi: Fix typos in the manual.
5393
5394 * manual/time.texi: Fix typos in the manual.
5395
5396 * manual/arith.texi: Fix typos in the manual.
5397
5398 * manual/math.texi: Fix typos in the manual.
5399
5400 * manual/syslog.texi: Fix typos in the manual.
5401
5402 * manual/terminal.texi: Fix typos in the manual.
5403
5404 * manual/socket.texi: Fix typos in the manual.
5405
5406 * manual/filesys.texi: Fix typos in the manual.
5407
5408 * manual/llio.texi: Fix typos in the manual.
5409
5410 * manual/stdio.text: Fix typos in the manual.
5411
5412 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
5413
5414 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5415 instead of K1.
5416
5417 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5418 SHIFT_QUADRANT and make it bool.
5419 (do_sincos_2): Likewise.
5420 (sloww): Likewise.
5421 (sloww1): Likewise.
5422 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5423 (__cos): Likewise.
5424
5425 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5426
5427 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5428
5429 2016-10-04 Joseph Myers <joseph@codesourcery.com>
5430
5431 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5432 Define to __WORDSIZE, not conditional on [LONG_MAX ==
5433 0x7fffffffL].
5434 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5435
5436 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5437
5438 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5439 inline by __inline__.
5440 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5441 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5442 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5443 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5444 sigset_t from signal.h.
5445 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5446 which is already required.
5447
5448 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5449
5450 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5451
5452 2016-10-03 Joseph Myers <joseph@codesourcery.com>
5453
5454 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5455 (struct tcp_repair_window): New type.
5456
5457 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5458
5459 * libio/tst-memstream3.c: Include string.h.
5460
5461 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5462
5463 [BZ #18241]
5464 [BZ #20181]
5465 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5466 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5467 write position is at the end the buffer.
5468 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5469 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5470 (_IO_str_seekoff): Set correct offset from negative displacement and
5471 set EINVAL for invalid ones.
5472 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5473 buffer length.
5474 (_IO_wstr_switch_to_get_mode): New function.
5475 (_IO_wstr_seekoff): Set correct offset from negative displacement and
5476 set EINVAL for invalid ones.
5477 * libio/tst-memstream3.c: New file.
5478 * libio/tst-wmemstream3.c: Likewise.
5479 * manual/examples/memstrm.c: Remove warning when priting size_t.
5480
5481 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5482
5483 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5484 macro to use __builtin_fma.
5485 * sysdeps/x86_64/fpu/dla.h: Remove file.
5486
5487 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5488 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5489 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5490
5491 2016-09-30 Carlos O'Donell <carlos@redhat.com>
5492
5493 [BZ #20292]
5494 * elf/Makefile (routines): Add dl-addr-obj.
5495 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5496 tst-_dl_addr_inside_object.
5497 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5498 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5499 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5500 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5501 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5502 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5503 * elf/dl-open.c: Likewise.
5504 * elf/dl-addr-obj.c: New file.
5505 * elf/tst-_dl_addr_inside_object.c: New file.
5506
5507 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5508
5509 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5510 <bits/iscanonical.h>.
5511 * bits/iscanonical.h: New file.
5512 * math/s_iscanonicall.c: Likewise.
5513 * math/Versions (__iscanonicall): New libm symbol at version
5514 GLIBC_2.25.
5515 * math/libm-test.inc (iscanonical_test_data): New array.
5516 (iscanonical_test): New function.
5517 (main): Call iscanonical_test.
5518 * math/Makefile (headers): Add bits/iscanonical.h.
5519 (type-ldouble-routines): Add s_iscanonicall.
5520 * manual/arith.texi (Floating Point Classes): Document
5521 iscanonical.
5522 * manual/libm-err-tab.pl: Update comment on interfaces without
5523 ulps tabulated.
5524 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5525 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5527 Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5529 test-iscanonical-ldbl-128ibm.
5530 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5531 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5532 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5533 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5534 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5538 Likewise.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5540 Likewise.
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5542 Likewise.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5544 Likewise.
5545 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5546 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5547
5548 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5549
5550 * string/bits/string3.h: Remove C++ style comments.
5551
5552 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5553
5554 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5555 instead of ternary condition.
5556 (do_sincos_2): Likewise.
5557 (__sin): Likewise.
5558 (__cos): Likewise.
5559 (slow): Likewise.
5560 (sloww): Likewise.
5561 (sloww1): Likewise.
5562 (bsloww): Likewise.
5563 (bsloww1): Likewise.
5564
5565 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5566 instead of ternary condition.
5567 (do_sin_slow): Likewise.
5568 (do_sincos_1): Likewise.
5569 (do_sincos_2): Likewise.
5570 (__cos): Likewise.
5571 (sloww): Likewise.
5572 (sloww1): Likewise.
5573 (sloww2): Likewise.
5574 (bsloww): Likewise.
5575 (bsloww1): Likewise.
5576 (bsloww2): Likewise.
5577
5578 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5579 check from here...
5580 (slow2): ... and here...
5581 (__sin): ... to here.
5582
5583 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5584
5585 * math/math.h
5586 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5587 Cast argument to its own type.
5588 * math/test-iszero-excess-precision.c: New file.
5589 * math/Makefile (tests): Add test-iszero-excess-precision.
5590 (CFLAGS-test-iszero-excess-precision.c): New variable.
5591
5592 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5593
5594 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5595 field, add err field.
5596 (__spawni_child): Report error through err member instead of pipe.
5597 (__spawnix): Likewise.
5598
5599 2016-09-28 Zack Weinberg <zackw@panix.com>
5600
5601 * scripts/check-installed-headers.sh: Generalize treatment of
5602 sys/elf.h to all target architectures.
5603
5604 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5605 deleted typedef ucontext_t.
5606
5607 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5608
5609 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5610 (__INTERNAL_SYSCALL1): Likewise.
5611 (__INTERNAL_SYSCALL2): Likewise.
5612 (__INTERNAL_SYSCALL3): Likewise.
5613 (__INTERNAL_SYSCALL4): Likewise.
5614 (__INTERNAL_SYSCALL5): Likewise.
5615 (__INTERNAL_SYSCALL6): Likewise.
5616 (__INTERNAL_SYSCALL7): Likewise.
5617 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5618 (__INTERNAL_SYSCALL_NARGS): Likewise.
5619 (__INTERNAL_SYSCALL_DISP): Likewise.
5620 (INTERNAL_SYSCALL_CALL): Likewise.
5621 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5622 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5623 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5624 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5625 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5626 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5627 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5628 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5629 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5630 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5631 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5632 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5633 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5634
5635 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5636
5637 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5638 macro.
5639 * math/libm-test.inc (iszero_test_data): New array.
5640 (iszero_test): New function.
5641 (main): Call iszero_test.
5642 * manual/arith.texi (Floating Point Classes): Document iszero.
5643 * manual/libm-err-tab.pl: Update comment on interfaces without
5644 ulps tabulated.
5645
5646 2016-09-23 Zack Weinberg <zackw@panix.com>
5647
5648 * scripts/check-installed-headers.sh: New script.
5649 * Rules: In each directory that defines header files to be installed,
5650 run check-installed-headers.sh on them as a special test.
5651 * Makefile: Likewise for the headers installed at top level.
5652
5653 * include/aliases.h, include/alloca.h, include/argz.h
5654 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5655 * include/elf.h, include/envz.h, include/err.h
5656 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5657 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5658 * include/link.h, include/malloc.h, include/mcheck.h
5659 * include/mntent.h, include/netinet/ether.h
5660 * include/nss.h, include/obstack.h, include/printf.h
5661 * include/pty.h, include/resolv.h, include/rpc/auth.h
5662 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5663 * include/rpc/clnt.h, include/rpc/des_crypt.h
5664 * include/rpc/key_prot.h, include/rpc/netdb.h
5665 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5666 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5667 * include/rpc/rpc_msg.h, include/rpc/svc.h
5668 * include/rpc/svc_auth.h, include/rpc/xdr.h
5669 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5670 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5671 * include/rpcsvc/ypupd.h, include/shadow.h
5672 * include/stdio_ext.h, include/sys/epoll.h
5673 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5674 * include/sys/prctl.h, include/sys/profil.h
5675 * include/sys/statfs.h, include/sys/sysctl.h
5676 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5677 * sysdeps/arm/nacl/include/bits/setjmp.h
5678 * sysdeps/mips/include/sys/asm.h
5679 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5680 * sysdeps/unix/sysv/linux/include/sys/timex.h
5681 * sysdeps/x86/fpu/include/bits/fenv.h:
5682 Add #ifndef _ISOMAC guard around internal declarations.
5683 Add multiple-inclusion guard if not already present.
5684
5685 2016-09-23 Zack Weinberg <zackw@panix.com>
5686
5687 * sysdeps/generic/sys/ucontext.h
5688 * sysdeps/arm/sys/ucontext.h
5689 * sysdeps/i386/sys/ucontext.h
5690 * sysdeps/m68k/sys/ucontext.h
5691 * sysdeps/mips/sys/ucontext.h
5692 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5693 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5694 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5695 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5696 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5697 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5698 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5699 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5700 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5701 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5702 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5703 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5704 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5705 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5706 Include both bits/sigcontext.h and bits/sigstack.h.
5707 Fix grammar error in comment, if present.
5708
5709 * bits/sigstack.h
5710 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5711 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5712 * sysdeps/unix/sysv/linux/bits/sigstack.h
5713 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5714 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5715 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5716 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5717 * bits/sigcontext.h
5718 * sysdeps/mach/hurd/i386/bits/sigcontext.h
5719 * sysdeps/unix/sysv/linux/bits/sigcontext.h
5720 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5721 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5722 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
5723 as well as signal.h, if this was not already allowed. Request
5724 definition of size_t if necessary. Minimize semantically-null
5725 differences across files.
5726
5727 2016-09-23 Zack Weinberg <zackw@panix.com>
5728
5729 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5730 Remove all logic conditional on __need macros. Move all the
5731 conditionally defined types to their own headers...
5732 * time/bits/types/clock_t.h: Define clock_t here.
5733 * time/bits/types/clockid_t.h: Define clockid_t here.
5734 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5735 * time/bits/types/struct_timespec.h: Define struct timespec here.
5736 * time/bits/types/struct_timeval.h: Define struct timeval here.
5737 * time/bits/types/struct_tm.h: Define struct tm here.
5738 * time/bits/types/time_t.h: Define time_t here.
5739 * time/bits/types/timer_t.h: Define timer_t here.
5740 * time/Makefile: Install the new headers.
5741
5742 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5743 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5744 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5745 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5746 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5747 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5748 * sysdeps/unix/sysv/linux/bits/resource.h
5749 * sysdeps/unix/sysv/linux/bits/timex.h
5750 * sysdeps/unix/sysv/linux/mips/bits/resource.h
5751 * sysdeps/unix/sysv/linux/net/ppp_defs.h
5752 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5753 * sysdeps/unix/sysv/linux/sys/acct.h
5754 * sysdeps/unix/sysv/linux/sys/timerfd.h
5755 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5756 * time/sys/time.h, time/sys/timeb.h
5757 Use the new bits/types headers.
5758
5759 * include/time.h: Remove __need logic.
5760 * include/bits/time.h
5761 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5762 * include/bits/types/time_t.h, include/bits/types/timer_t.h
5763 * include/bits/types/struct_itimerspec.h
5764 * include/bits/types/struct_timespec.h
5765 * include/bits/types/struct_timeval.h
5766 * include/bits/types/struct_tm.h:
5767 New wrapper headers.
5768
5769 2016-09-23 Zack Weinberg <zackw@panix.com>
5770
5771 * sysdeps/mach/hurd/net/if_ppp.h
5772 * sysdeps/unix/sysv/linux/net/if_ppp.h:
5773 Only define struct ifpppstatsreq and struct ifpppcstatsreq
5774 if __USE_MISC is defined, to ensure struct ifreq is declared.
5775
5776 * inet/netinet/ether.h: Condition all function prototypes
5777 on __USE_MISC, to ensure struct ether_addr is declared.
5778
5779 * socket/bits/types/struct_osockaddr.h: New header.
5780 * include/bits/types/struct_osockaddr.h: New wrapper.
5781 * socket/Makefile: Install the new header.
5782 * socket/sys/socket.h, inet/protocols/talkd.h:
5783 Refer to bits/types/struct_osockaddr.h for the definition of
5784 struct osockaddr.
5785
5786 2016-09-23 Zack Weinberg <zackw@panix.com>
5787
5788 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5789 * inet/protocols/routed.h, inet/protocols/talkd.h
5790 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5791 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5792 * sysdeps/generic/netinet/if_ether.h
5793 * sysdeps/generic/netinet/in_systm.h
5794 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5795 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5796 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5797 * sysdeps/mach/hurd/net/if_arp.h
5798 * sysdeps/mach/hurd/net/if_ppp.h
5799 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5800 * sysdeps/unix/sysv/linux/bits/in.h
5801 * sysdeps/unix/sysv/linux/net/ethernet.h
5802 * sysdeps/unix/sysv/linux/net/if_arp.h
5803 * sysdeps/unix/sysv/linux/net/if_ppp.h
5804 * sysdeps/unix/sysv/linux/net/if_shaper.h
5805 * sysdeps/unix/sysv/linux/net/route.h
5806 * sysdeps/unix/sysv/linux/netinet/if_ether.h
5807 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5808 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5809 * sysdeps/unix/sysv/linux/netipx/ipx.h
5810 * sysdeps/unix/sysv/linux/sys/acct.h
5811 * include/arpa/nameser.h, include/resolv.h:
5812 Change all uses of u_char to unsigned char,
5813 u_short and ushort to unsigned short, u_int and uint to unsigned int,
5814 u_long and ulong to unsigned long, u_int8_t to uint8_t,
5815 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5816 and u_int64_t and u_quad_t to uint64_t.
5817
5818 * mach/sys/reboot.h: Remove two casts of integer literals
5819 to the types they already have.
5820
5821 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5822 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5823 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5824 from referring to 'unsigned char' to 'uint8_t' for consistency with
5825 the macro definition below.
5826
5827 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5828 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5829 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5830 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5831 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5832 * sysdeps/unix/sysv/linux/sys/acct.h
5833 * include/arpa/nameser.h, include/resolv.h:
5834 Fix indentation disrupted by mechanical edits.
5835
5836 * inet/protocols/talkd.h, resolv/arpa/nameser.h
5837 * sysdeps/generic/netinet/in_systm.h
5838 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5839 * sysdeps/gnu/netinet/udp.h
5840 * sysdeps/unix/sysv/linux/net/ethernet.h
5841 * sysdeps/unix/sysv/linux/net/if_arp.h
5842 * sysdeps/unix/sysv/linux/net/if_ppp.h
5843 * sysdeps/unix/sysv/linux/net/if_shaper.h
5844 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5845 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5846 * sysdeps/unix/sysv/linux/netipx/ipx.h
5847 * sysdeps/unix/sysv/linux/sys/acct.h
5848 Include stdint.h for uintNN_t definitions.
5849 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5850
5851 2016-09-23 Zack Weinberg <zackw@panix.com>
5852
5853 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5854 * sysdeps/unix/sysv/linux/netrose/rose.h:
5855 Include sys/socket.h and netax25/ax25.h.
5856
5857 * inet/netinet/icmp6.h, inet/netinet/ip6.h
5858 * resolv/arpa/nameser_compat.h:
5859 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5860
5861 * sysdeps/unix/sysv/linux/sys/quota.h:
5862 Use __caddr_t instead of caddr_t.
5863 * sysdeps/unix/sysv/linux/sys/timerfd.h:
5864 Use __clockid_t instead of clockid_t.
5865
5866 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5867
5868 * argp/argp.h: Check whether _LIBC is defined before expanding it.
5869 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5870 expanding it.
5871
5872 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5873 Define __glibc_c99_flexarr_available to 1 when the compiler
5874 supports C99-compatible flexible array members, 0 otherwise.
5875 * sysdeps/unix/sysv/linux/bits/socket.h
5876 * sysdeps/mach/hurd/bits/socket.h
5877 * bits/socket.h: Use __glibc_c99_flexarr_available in
5878 definitions of struct cmsghdr and CMSG_DATA.
5879
5880 2016-09-23 Florian Weimer <fweimer@redhat.com>
5881
5882 * manual/nss.texi (NSS Modules Interface): Adjust function return
5883 type to enum nss_status. Document errnop argument. Clarify
5884 h_errnop semantics. Fix cross-reference formatting.
5885 (NSS Module Function Internals): Mention that *errnop needs to be
5886 set on failure, but not to zero.
5887
5888 2016-09-23 Florian Weimer <fweimer@redhat.com>
5889
5890 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5891 (get_random_name): New functions.
5892 (check_wrapper_flags_mode): Use linkat to give the new file a name
5893 determined by get_random_name.
5894 (do_test): Add calls to test open64 and openat64.
5895
5896 2016-09-23 Florian Weimer <fweimer@redhat.com>
5897
5898 * test-skeleton.c: Remove #include <stdarg.h>.
5899
5900 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
5901
5902 [BZ #19826]
5903 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5904 initialization of static TLS entries.
5905 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5906 * nptl/allocatestack.c (init_one_static_tls): Likewise.
5907
5908 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5909
5910 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5911 _hurd_malloc_fork_prepare.
5912 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5913 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5914 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5915 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5916 (_hurd_fork_child_hook): Drop malloc_fork_child.
5917 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5918 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5919 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5920 after locking locks (notably hurd_dtable_lock). Call
5921 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5922 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5923 __malloc_fork_unlock_child.
5924 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5925
5926 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
5927
5928 * soft-fp/extendhftf2.c: New.
5929 * soft-fp/fixhfti.c: Likewise.
5930 * soft-fp/fixunshfti.c: Likewise.
5931 * soft-fp/floattihf.c: Likewise.
5932 * soft-fp/floatuntihf.c: Likewise.
5933 * soft-fp/half.h: Likewise.
5934 * soft-fp/trunctfhf2.c: Likewise.
5935
5936 2016-09-21 Joseph Myers <joseph@codesourcery.com>
5937
5938 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5939 macro.
5940 * math/libm-test.inc (issubnormal_test_data): New array.
5941 (issubnormal_test): New function.
5942 * manual/arith.texi (Floating Point Classes): Document
5943 issubnormal.
5944 * manual/libm-err-tab.pl: Update comment on interfaces without
5945 ulps tabulated.
5946
5947 * sysdeps/generic/stdint.h: Define
5948 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5949 <bits/libc-header-start.h> instead of including <features.h>.
5950 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5951 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5952 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5953 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5954 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5955 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5956 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5957 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5958 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5959 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5960 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5961 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5962 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5963 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5964 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5965 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5966 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5967 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5968 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5969 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5970 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5971 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5972 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5973 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5974 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5975 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5977 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5979 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5980 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5981 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5982 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5983 * manual/arith.texi (Integers): Document these macros for types
5984 specified by width properties.
5985 * manual/lang.texi (Width of Type): Document these macros for
5986 other standard typedefs.
5987 * stdlib/tst-width-stdint.c: New file.
5988 * stdlib/Makefile (tests): Add tst-width-stdint.
5989
5990 2016-09-21 Florian Weimer <fweimer@redhat.com>
5991
5992 [BZ #20016]
5993 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5994 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5995 Move ...
5996 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5997 ... here, as compatibility symbols in a new file.
5998 * resolv/Makefile (libresolv-routines): Add compat-hooks.
5999 * resolv/res_init.c (__res_vinit): Adjust member names.
6000 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6001 * resolv/resolv.h (res_sendhookact, res_send_qhook)
6002 (res_send_rhook): Remove.
6003 (struct __res_state): Rename qhook, rhook members.
6004
6005 2016-09-21 Florian Weimer <fweimer@redhat.com>
6006
6007 malloc: Use __libc_lock wrappers.
6008 * malloc/arena.c (list_lock, free_list_lock): Define using
6009 __libc_lock_define_initialized.
6010 (arena_lock): Adjust formatting.
6011 * malloc/malloc.c (struct malloc_state): Define mutex using
6012 __libc_lock_define.
6013 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6014 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6015 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6016 (mutex_unlock, mutex_trylock): Remove.
6017 (__pthread_initialize): Remove unused macro.
6018 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6019 (mutex_unlock, mutex_trylock): Remove.
6020
6021 2016-09-21 Florian Weimer <fweimer@redhat.com>
6022
6023 [BZ #20592]
6024 Remove RR type classification macros.
6025 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6026 (ns_t_udp_p, ns_t_xfr_p): Remove.
6027
6028 2016-09-21 Florian Weimer <fweimer@redhat.com>
6029
6030 Remove misleading version information.
6031 * resolv/arpa/nameser.h (__NAMESER): Remove.
6032 * resolv/arpa/nameser_compat.h (__BIND): Remove.
6033
6034 2016-09-21 Florian Weimer <fweimer@redhat.com>
6035
6036 Remove the always-defined BIND_4_COMPAT macro.
6037 * resolv/arpa/nameser.h: Unconditionally include
6038 <arpa/nameser_compat.h>.
6039 (BIND_4_COMPAT): Remove.
6040 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6041
6042 2016-09-21 Florian Weimer <fweimer@redhat.com>
6043
6044 [BZ #20591]
6045 Remove obsolete DNSSEC support.
6046 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6047 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6048 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6049 (ns_verify_tcp, ns_verify_tcp_init): Remove.
6050 (ns_cert_types): Add comment.
6051 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6052 separately.
6053 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6054 (dst_s_dns_key_id): Remove.
6055 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6056 variables.
6057
6058 2016-09-21 Florian Weimer <fweimer@redhat.com>
6059
6060 [BZ #20524]
6061 * manual/string.texi (String/Array Comparison): Clarify the
6062 strverscmp behavior.
6063
6064 2016-09-21 Florian Weimer <fweimer@redhat.com>
6065
6066 * test-skeleton.c (xasprintf): Add function.
6067 * io/tst-open-tmpfile.c: New test.
6068 * io/Makefile (tests): Add it.
6069
6070 2016-09-21 Florian Weimer <fweimer@redhat.com>
6071
6072 Avoid running $(CXX) during build to obtain header file paths.
6073 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6074 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6075 * Makerules (cstdlib, cmath): Remove variables. Use
6076 $(c++-cstdlib-header), $(c++-cmath-header) instead.
6077 * configure: Regenerate.
6078
6079 2016-09-21 Florian Weimer <fweimer@redhat.com>
6080
6081 * Makeconfig (all-object-suffixes): Include .op only if
6082 $(build-profile).
6083
6084 2016-09-21 Florian Weimer <fweimer@redhat.com>
6085
6086 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6087 conditionals. Do not define PATH_MAX.
6088
6089 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6090
6091 * posix/Makefile (tests): Add tst-spawn3.
6092 * posix/tst-spawn3.c: New file.
6093 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6094 if it is already opened for open action.
6095
6096 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6097 all signals when executing the clone vfork child.
6098 (SIGALL_SET): Remove macro.
6099
6100 * nptl/Makefile (tests): Add tst-exec5.
6101 * nptl/tst-exec5.c: New file.
6102 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6103 asynchronous cancellation.
6104
6105 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6106
6107 * hurd/exc2signal.c: #include <hurd/signal.h>
6108 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6109 'sigcode', 'error' parameters with 'detail' parameter. Fix code
6110 accordingly.
6111 * mach/mach_error.c (mach_error): Fix old-style function definition.
6112 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6113
6114 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6115
6116 * math/Makefile (libm-calls): Remove s_nanF.
6117 (gen-libm-calls): Add s_nanF.
6118
6119 * math/s_nan.c: Refactor into ...
6120 * math/s_nan_template.c: New file.
6121
6122 * math/s_nanf.c: Removed.
6123 * math/s_nanl.c: Removed.
6124 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6125 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6126
6127 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6128 (LDOUBLE_nanl_libm_version): New macro.
6129
6130 * sysdeps/generic/math-type-macros-double.h:
6131 (M_STRTO_NAN): New macro.
6132 * sysdeps/generic/math-type-macros-float.h: Likewise.
6133 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6134
6135 * sysdeps/generic/math-type-macros.h: Document
6136 M_STRTO_NAN.
6137
6138 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6139
6140 * math/s_nanf.c: Remove __nanf undef.
6141 * math/s_nan.c: Remove __nan undef.
6142 * math/s_nanl.c: Remove __nanl undef.
6143
6144 * sysdeps/generic/math_private.h (__nan): Remove macro
6145 override.
6146 (__nanf): Likewise.
6147 (__nanl): Likewise.
6148
6149 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6150
6151 * math/Makefile (gen-all-calls): New variable.
6152 (generated): Replace gen-libm-calls with gen-all-calls.
6153 (gen-libm-templates.stmp): Likewise. Also, ensure
6154 the output directory exists or is created and add
6155 dependency on the Makefile.
6156 (calls): Move s_ldexpF into gen-calls.
6157 (gen-calls): New variable.
6158
6159 * math/s_ldexpf.c: Removed.
6160 * math/s_ldexpl.c: Removed.
6161 * math/s_ldexp.c: Refactored into ...
6162 * math/s_ldexp_template.c: New file.
6163
6164 * sysdeps/generic/math-type-macros-double.h: Remove
6165 redundant fall-through definition of declare_mgen_alias.
6166 (declare_mgen_alias_2): New macro.
6167
6168 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6169 New macro for function aliased to two exported symbols.
6170
6171 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6172 new template file.
6173 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6174
6175 2016-09-20 Florian Weimer <fweimer@redhat.com>
6176
6177 * Makeconfig (all-object-suffixes): Remove .og.
6178 * Makerules (elide-routines.og): Remove.
6179 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6180 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6181 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6182
6183 2016-09-20 Florian Weimer <fweimer@redhat.com>
6184
6185 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6186 .os objects.
6187
6188 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6189
6190 [BZ #20615]
6191 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6192 fpu directory by non-fpu.
6193 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6194 on non-fpu directory from a fpu directory.
6195
6196 2016-09-19 Joseph Myers <joseph@codesourcery.com>
6197
6198 * include/limits.h: Define
6199 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6200 <bits/libc-header-start.h> instead of including <features.h>.
6201 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6202 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6203 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6204 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6205 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6206 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6207 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6208 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6209 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6210 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6211 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6212 * manual/lang.texi (Width of Type): Document these macros.
6213 * stdlib/tst-width.c: New file.
6214 * stdlib/Makefile (tests): Add tst-width.
6215
6216 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6217
6218 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6219 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6220
6221 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6222
6223 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6224 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6225 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6226
6227 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6228
6229 [BZ #18243]
6230 * rt/Makefile (test): Add tst-shm-cancel.
6231 * rt/tst-shm-cancel.c: New file.
6232 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6233
6234 [BZ #18243]
6235 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6236 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6237 definition.
6238 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6239 uncontended case.
6240 * nptl/sem_wait.c (__new_sem_wait): Likewise.
6241 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6242 (tf): Fix check for uncontended case.
6243 (do_test): Likewise.
6244 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6245 (tf): Fix check for uncontended case.
6246 (do_test): Likewise.
6247 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6248 (tf): Fix check for uncontended case.
6249 (do_test): Likewise.
6250 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6251 (tf): Fix check for uncontended case.
6252 (do_test): Likewise.
6253
6254 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6255 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6256
6257 [BZ #15765]
6258 * nptl/Makefile (tests): Add tst-sem16.
6259 * nptl/tst-sem16.c: New file.
6260 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6261
6262 * nptl/sem_open.c (sem_open): Init pad value to 0.
6263 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6264 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6265
6266 2016-09-15 Florian Weimer <fweimer@redhat.com>
6267
6268 [BZ #20611]
6269 * inet/Makefile (routines): Add inet6_scopeid_pton.
6270 (tests): Add tst-inet6_scopeid_pton.
6271 * inet/inet6_scopeid_pton.c: New file.
6272 * inet/net-internal.h: Likewise.
6273 * inet/tst-inet6_scopeid_pton.c: New test.
6274 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6275 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6277
6278 2016-09-14 Florian Weimer <fweimer@redhat.com>
6279
6280 Remove support for compiling wrappers with PTW.
6281 * sysdeps/nptl/Makeconfig: Drop ptw- support.
6282 * nptl/Makefile (pthread-compat-wrappers): Define.
6283 (libpthread-routines): Use pthread-compat-wrappers.
6284 * sysdeps/unix/sysv/linux/alpha/Makefile
6285 (libpthread-routines, libpthread-shared-only-routines): Remove
6286 ptw- prefix.
6287 * sysdeps/s390/nptl/Makefile
6288 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6289 * sysdeps/ia64/nptl/Makefile
6290 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6291 * sysdeps/nacl/Makefile (libpthread-routines): Use
6292 pthread-compat-wrappers to filter the routines list instead of the
6293 ptw- prefix.
6294
6295 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6296
6297 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6298 with L() and remove explicit suffix, convert real literals
6299 which can be equivalentally substituted with integers, and
6300 transform -L(x) to L(-x).
6301
6302 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6350 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6352
6353 2016-09-13 Florian Weimer <fweimer@redhat.com>
6354
6355 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6356
6357 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
6358
6359 * malloc/Makefile (tests): Remove individual static test names
6360 and just add all of tests-static.
6361
6362 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6363
6364 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6365
6366 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6367 file.
6368
6369 * sysdeps/sparc/fpu/fegetmode.c: New file.
6370 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6371
6372 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6373 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6374
6375 * sysdeps/s390/fpu/fegetmode.c: New file.
6376 * sysdeps/s390/fpu/fesetmode.c: Likewise.
6377
6378 * sysdeps/powerpc/fpu/fegetmode.c: New file.
6379 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6380 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6381 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6382 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6383 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6384
6385 * sysdeps/mips/fpu/fegetmode.c: New file.
6386 * sysdeps/mips/fpu/fesetmode.c: Likewise.
6387
6388 * sysdeps/m68k/fpu/fegetmode.c: New file.
6389 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6390
6391 * sysdeps/ia64/fpu/fegetmode.c: New file.
6392 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6393
6394 * sysdeps/hppa/fpu/fegetmode.c: New file.
6395 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6396
6397 * sysdeps/arm/fegetmode.c: New file.
6398 * sysdeps/arm/fesetmode.c: Likewise.
6399
6400 * sysdeps/alpha/fpu/fegetmode.c: New file.
6401 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6402
6403 * sysdeps/aarch64/fpu/fegetmode.c: New file.
6404 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6405
6406 * math/fegetmode.c: New file.
6407 * math/fesetmode.c: Likewise.
6408 * sysdeps/i386/fpu/fegetmode.c: Likewise.
6409 * sysdeps/i386/fpu/fesetmode.c: Likewise.
6410 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6411 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6412 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6413 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6414 declaration.
6415 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6416 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6417 typedef.
6418 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6419 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6420 (femode_t): New typedef.
6421 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6422 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6423 (femode_t): New typedef.
6424 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6425 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6426 (femode_t): New typedef.
6427 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6428 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6429 (femode_t): New typedef.
6430 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6431 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6432 (femode_t): New typedef.
6433 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6434 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6435 (femode_t): New typedef.
6436 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6437 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6438 (femode_t): New typedef.
6439 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6440 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6441 (femode_t): New typedef.
6442 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6443 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6444 (femode_t): New typedef.
6445 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6446 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6447 (femode_t): New typedef.
6448 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6449 declaration.
6450 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6451 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6452 (femode_t): New typedef.
6453 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6454 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6455 (femode_t): New typedef.
6456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6457 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6458 (femode_t): New typedef.
6459 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6460 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6461 (femode_t): New typedef.
6462 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6463 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6464 (femode_t): New typedef.
6465 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6466 * manual/arith.texi (FE_DFL_MODE): Document macro.
6467 (fegetmode): Document function.
6468 (fesetmode): Likewise.
6469 * math/Versions (fegetmode): New libm symbol at version
6470 GLIBC_2.25.
6471 (fesetmode): Likewise.
6472 * math/Makefile (libm-support): Add fegetmode and fesetmode.
6473 (tests): Add test-femode and test-femode-traps.
6474 * math/test-femode-traps.c: New file.
6475 * math/test-femode.c: Likewise.
6476 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6477 alias for __fe_dfl_env.
6478 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6479 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6480 (__fe_dfl_mode): Likewise.
6481 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6482 version GLIBC_2.25.
6483 * sysdeps/nacl/libm.abilist: Update.
6484 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6485 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6486 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6487 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6488 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6489 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6490 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6491 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6492 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6493 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6494 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6495 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6497 Likewise.
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6499 Likewise.
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6501 Likewise.
6502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6503 Likewise.
6504 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6505 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6506 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6507 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6508 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6510 Likewise.
6511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6512 Likewise.
6513 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6514 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6515 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6516
6517 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6518
6519 [BZ #20495]
6520 [BZ #20508]
6521 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6522 processors, set Use_dl_runtime_resolve_slow and set
6523 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6524 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6525 New.
6526 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6527 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6528 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6529 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6530 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6531 if Use_dl_runtime_resolve_opt is set. Use
6532 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6533 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6534 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6535 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6536 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6537 New.
6538 (_dl_runtime_resolve_opt): Likewise.
6539 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6540 defined.
6541
6542 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6543
6544 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6545 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6546
6547 2016-09-06 Florian Weimer <fweimer@redhat.com>
6548
6549 Convert malloc to __libc_lock. Automated part, using this Perl
6550 s/// command:
6551 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6552 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6553 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6554 conversion.
6555
6556 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6557
6558 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6559 (linknamespace-symlists-tests): Likewise.
6560 (linknamespace-header-tests): Likewise.
6561
6562 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6563
6564 [BZ #19810]
6565 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6566 * elf/tst-noload.c: New test case.
6567 * elf/Makefile (tests): Add tst-noload.
6568
6569 2016-09-02 Roland McGrath <roland@hack.frob.com>
6570
6571 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6572
6573 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6574 not any more.
6575
6576 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6577
6578 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6579
6580 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6581 (do_cos_slow): Likewise.
6582 (do_sin): Likewise.
6583 (do_sin_slow): Likewise.
6584 (slow): Likewise.
6585 (slow1): Likewise.
6586 (slow2): Likewise.
6587 (sloww): Likewise.
6588 (sloww1): Likewise.
6589 (sloww2): Likewise.
6590 (bsloww): Likewise.
6591 (bsloww1): Likewise.
6592 (bsloww2): Likewise.
6593 (cslow2): Likewise.
6594
6595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6596
6597 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6598 arguments. Consolidate input partitioning from callers here.
6599 (do_cos_slow): Likewise.
6600 (do_sin): Likewise.
6601 (do_sin_slow): Likewise.
6602 (do_sincos_1): Remove the no longer necessary input partitioning.
6603 (do_sincos_2): Likewise.
6604 (__sin): Likewise.
6605 (__cos): Likewise.
6606 (slow1): Likewise.
6607 (slow2): Likewise.
6608 (sloww1): Likewise.
6609 (sloww2): Likewise.
6610 (bsloww1): Likewise.
6611 (bsloww2): Likewise.
6612 (cslow2): Likewise.
6613
6614 2016-09-02 Florian Weimer <fweimer@redhat.com>
6615
6616 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6617 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6618 outside of allocated array.
6619
6620 2016-09-02 Florian Weimer <fweimer@redhat.com>
6621
6622 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6623 instead of MB_CUR_MAX to avoid variable-length array.
6624
6625 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6626
6627 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6628 (type-double-routines): Add k_rem_pio2.
6629 (type-float-routines): Add k_rem_pio2f.
6630
6631 * sysdeps/generic/math_private.h:
6632 (__kernel_rem_pio2l): Removed.
6633
6634 * math/k_rem_pio2l.c: Removed.
6635 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6636 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6637 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6638 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6639
6640 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6641
6642 * math/Makefile (gen-libm-calls): Add s_fmin
6643 (libm-calls): Remove above.
6644
6645 * math/s_fmin.c: Refactor into ...
6646 * math/s_fmin_template.c: New file.
6647
6648 * math/s_fminf.c: Removed.
6649 * math/s_fminl.c: Removed.
6650 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6651 (LDOUBLE_fmin_libm_version): New macro.
6652
6653 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6654 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6655
6656 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6657
6658 * math/Makefile: (gen-libm-calls): Add s_fmax.
6659 (libm-calls): Remove above.
6660
6661 * math/s_fmax.c: Refactor into ...
6662 * math/s_fmax_template.c: New file.
6663 * math/s_fmaxf.c: Removed.
6664 * math/s_fmaxl.c: Removed.
6665
6666 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6667 (LDOUBLE_fmaxl_libm_version): New macro.
6668
6669 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6670 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6671
6672 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6673 s_fmin.c to pick the aarch64 version of the file.
6674 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6675 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6676
6677 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6678
6679 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6680 (libm-calls): Remove above.
6681
6682 * math/s_nextdown.c: Refactor into ...
6683 * math/s_nextdown_template.c: New file.
6684 * math/s_nextdownf.c: Removed.
6685 * math/s_nextdownl.c: Removed.
6686
6687 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6688
6689 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6690
6691 * math/Makefile (gen-libm-calls): Add s_fdim.
6692 (libm-calls): Move to above.
6693
6694 * math/s_fdim.c: Renamed and refactored into to ...
6695 * math/s_fdim_template.c: New file.
6696 * math/s_fdiml.c: Removed.
6697 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6698 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6699
6700 * sysdeps/generic/math-type-macros-double.h:
6701 (declare_mgen_alias): Don't declare if already declared.
6702 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6703 Likewise.
6704
6705 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6706 (declare_mgen_alias): Don't declare if already declared.
6707 (M_LIBM_NEED_COMPAT): Likewise.
6708 (declare_mgen_libm_compat): Likewise.
6709 (LDOUBLE_fdiml_libm_version): New macro.
6710
6711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6712 Include math/s_fdim.c now that ldbl-opt version is not needed.
6713 (declare_mgen_alias): New macro to disable aliasing.
6714
6715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6716 (declare_mgen_alias): Likewise.
6717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6718 (declare_mgen_alias): Likewise.
6719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6720 (declare_mgen_alias): Likewise.
6721 (M_LIBM_NEED_COMPAT): Likewise.
6722
6723 2016-09-01 Florian Weimer <fweimer@redhat.com>
6724
6725 [BZ #20525]
6726 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6727 Include <linux/quota.h>.
6728 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6729 and btodb.
6730 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6731 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6732 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6733 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6734 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6735 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6736 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6737 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6738 types.
6739 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6740 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6741
6742 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6743
6744 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6745 (gammal_positive): Fix spacing.
6746 (__ieee754_gammal_r): Likewise.
6747
6748 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6749
6750 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6751 (_Float128): Define as long double, always.
6752 (L): Apply long double type suffix, always.
6753
6754 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6755 _Float128, excepting comments.
6756
6757 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6823 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6825
6826 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6827 _Float128, and include math_private.h.
6828 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6829
6830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6831 long double semantics.
6832 (_Float128): Likewise.
6833 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6837
6838 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6839
6840 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6841 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6842 * sysdeps/s390/configure: Regenerated.
6843 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6844 instruction for raising over-/underflow if z196 zarch is supported
6845 by default.
6846 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6847
6848 2016-08-30 Svante Signell <svante.signell@gmail.com>
6849
6850 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6851 it point to a dumb buffer for RPC to fill it.
6852
6853 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
6854
6855 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6856 instead of if/else.
6857 (do_sin_slow): Likewise.
6858 (do_sincos_1): Use fabs instead of if/else.
6859 (do_sincos_2): Likewise.
6860 (__sin): Likewise.
6861 (__cos): Likewise.
6862 (slow2): Likewise.
6863 (sloww): Likewise.
6864 (sloww1): Likewise. Drop argument M.
6865 (sloww2): Use fabs instead of if/else.
6866 (bsloww): Likewise.
6867 (bsloww1): Likewise.
6868 (bsloww2): Likewise.
6869
6870 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6871 fall through comment.
6872 (do_sincos_1): Likewise.
6873
6874 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6875 Consolidate switch cases 0 and 2.
6876
6877 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6878
6879 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6880 (libm-calls): Remove the above.
6881
6882 * math/s_cexp_template.c: Update using type-generic macros.
6883 * math/s_clog10_template.c: Likewise.
6884 * math/s_cpow_template.c: Likewise.
6885 * math/s_clog_template.c: Likewise.
6886 * math/s_cproj_template.c: Likewise.
6887 * math/s_csqrt_template.c: Likewise.
6888
6889 * math/s_cexp.c: Removed.
6890 * math/s_cexpf.c: Removed.
6891 * math/s_cexpl.c: Removed.
6892 * math/s_clog10.c: Removed.
6893 * math/s_clog10f.c: Removed.
6894 * math/s_clog10l.c: Removed.
6895 * math/s_cpow.c: Removed.
6896 * math/s_cpowf.c: Removed.
6897 * math/s_cpowl.c: Removed.
6898 * math/s_clog.c: Removed.
6899 * math/s_clogf.c: Removed.
6900 * math/s_clogl.c: Removed.
6901 * math/s_cproj.c: Removed.
6902 * math/s_cprojf.c: Removed.
6903 * math/s_cprojl.c: Removed.
6904 * math/s_csqrt.c: Removed.
6905 * math/s_csqrtf.c: Removed.
6906 * math/s_csqrtl.c: Removed.
6907
6908 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6909 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6910 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6911 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6912 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6913 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6914
6915 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6916 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6917 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6918 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6919 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6920 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6921 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6922 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6923 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6924 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6925 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6926
6927 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6928 version.
6929
6930 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6931 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6932 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6933 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6934
6935 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6936
6937 * s_cexp_template.c: Copy of s_cexp.c.
6938 * s_clog_template.c: Copy of s_clog.c.
6939 * s_clog10_template.c: Copy of s_clog10.c.
6940 * s_cpow_template.c: Copy of s_cpow.c.
6941 * s_cproj_template.c: Copy of s_cproj.c.
6942 * s_csqrt_template.c: Copy of s_csqrt.c.
6943
6944 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6945
6946 [BZ #20517]
6947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6948 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6949 exported.
6950
6951 2016-08-29 Joseph Myers <joseph@codesourcery.com>
6952
6953 * math/fetestexceptflag.c: New file.
6954 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
6955 Stefan Liebler.
6956 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6957 (fetestexceptflag): New function declaration.
6958 * manual/arith.texi (fetestexceptflag): Document function.
6959 * math/Versions (fetestexceptflag): New libm symbol at version
6960 GLIBC_2.25.
6961 * math/Makefile (libm-support): Add fetestexceptflag.
6962 (tests): Add test-fetestexceptflag.
6963 * math/test-fetestexceptflag.c: New file.
6964 * sysdeps/nacl/libm.abilist: Update.
6965 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6966 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6967 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6968 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6969 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6970 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6971 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6972 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6973 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6974 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6975 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6976 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6978 Likewise.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6980 Likewise.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6982 Likewise.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6984 Likewise.
6985 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6986 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6987 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6988 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6989 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6991 Likewise.
6992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6993 Likewise.
6994 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6995 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6996 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6997
6998 2016-08-26 Florian Weimer <fweimer@redhat.com>
6999
7000 [BZ #20432]
7001 Avoid strong references to malloc-internal symbols when linking
7002 statically, to support statically interposed mallocs.
7003 * include/libc-symbols.h (call_function_static_weak): New macro.
7004 * malloc/Makefile (tests): Add tst-interpose-nothread,
7005 tst-interpose-thread, tst-interpose-static-nothread,
7006 tst-interpose-static-thread.
7007 (tests-static): Add tst-interpose-static-nothread,
7008 tst-interpose-static-thread.
7009 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7010 tst-interpose-aux-thread.o.
7011 (test-extras): Add tst-interpose-aux-nothread,
7012 tst-interpose-aux-thread.
7013 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7014 tst-interpose-aux-nothread.o.
7015 (tst-interpose-thread, tst-interpose-static-thread): Link with
7016 tst-interpose-aux-thread.o and libthread.
7017 * malloc/tst-interpose-aux-nothread.c: New file.
7018 * malloc/tst-interpose-aux-thread.c: Likewise.
7019 * malloc/tst-interpose-aux.c: Likewise.
7020 * malloc/tst-interpose-aux.h: Likewise.
7021 * malloc/tst-interpose-nothread.c: Likewise.
7022 * malloc/tst-interpose-skeleton.c: Likewise.
7023 * malloc/tst-interpose-static-nothread.c: Likewise.
7024 * malloc/tst-interpose-static-thread.c: Likewise.
7025 * malloc/tst-interpose-thread.c: Likewise.
7026 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7027 * sysdeps/mach/hurd/fork.c (__fork): Only call
7028 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7029 __malloc_fork_unlock_child if defined.
7030 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7031
7032 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7033
7034 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7035 timespec C99 designated initialization.
7036
7037 2016-08-26 Florian Weimer <fweimer@redhat.com>
7038
7039 [BZ #19946]
7040 Avoid expected SIGALRM signals.
7041 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7042 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7043 (xpthread_create, xpthread_detach, xpthread_join)
7044 (delayed_exit_thread, delayed_exit): New functions.
7045 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7046 (tf): Use xpthread_cond_wait.
7047 (do_test): Likewise. Replace alarm with delayed_exit.
7048 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7049 (do_test): Call delayed_exit. Report failure.
7050 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7051 (do_test): Call delayed_exit.
7052 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7053 (do_test): Call delayed_exit. Use xpthread_join. Report error.
7054 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7055 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
7056 error.
7057 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7058 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
7059 error.
7060 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7061 (do_test): Call delayed_exit.
7062 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7063 (do_test): Call delayed_exit.
7064 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7065 (do_test): Call delayed_exit instead of alarm. Use
7066 xpthread_mutex_lock.
7067 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7068 (do_test): Call delayed_exit instead of alarm. Use
7069 xpthread_mutex_lock.
7070 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7071 (do_test): Call delayed_exit instead of alarm.
7072 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7073 (do_test): Call delayed_exit instead of alarm. Use
7074 xpthread_spin_lock.
7075 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7076 (do_test): Call delayed_exit instead of alarm. Use
7077 xpthread_join.
7078
7079 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
7080
7081 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7082 adjust CFA when allocating register save area on re-aligned
7083 stack.
7084
7085 2016-08-26 Florian Weimer <fweimer@redhat.com>
7086
7087 * string/tst-cmp.c: New test.
7088 * string/Makefile (tests): Add it.
7089
7090 2016-08-25 Mark Wielaard <mark@klomp.org>
7091
7092 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7093 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
7094 (check_tree_recurse): Use newly defined accessors.
7095 (check_tree): Likewise.
7096 (maybe_split_for_insert): Likewise.
7097 (__tfind): Likewise.
7098 (__tdelete): Likewise.
7099 (trecurse): Likewise.
7100 (tdestroy_recurse): Likewise.
7101 (__tsearch): Likewise. And add asserts for malloc alignment.
7102 (__twalk): Cast root to node in case CHECK_TREE is defined.
7103
7104 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7105
7106 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7107
7108 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7109
7110 * math/Makefile (libm-gen-calls): Add
7111 catan, catanh, ctan, ctanh.
7112 (libm-calls): Remove the above.
7113
7114 * math/s_catan_template.c: Update using type-generic macros.
7115 * math/s_catanh_template.c: Likewise.
7116 * math/s_ctan_template.c: Likewise.
7117 * math/s_ctanh_template.c: Likewise.
7118
7119 * math/s_catanf.c: Removed.
7120 * math/s_catan.c: Removed.
7121 * math/s_catanl.c: Removed.
7122 * math/s_catanhf.c: Removed.
7123 * math/s_catanh.c: Removed.
7124 * math/s_catanhl.c: Removed.
7125 * math/s_ctanf.c: Removed.
7126 * math/s_ctan.c: Removed.
7127 * math/s_ctanl.c: Removed.
7128 * math/s_ctanhf.c: Removed.
7129 * math/s_ctanh.c: Removed.
7130 * math/s_ctanhl.c: Removed.
7131
7132 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7133 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7134 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7135 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7136 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7137 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7138
7139 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7140 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7141 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7142 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7143
7144 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7145
7146 * s_catan_template.c: Copy of s_catan.c.
7147 * s_catanh_template.c: Copy of s_catanh.c.
7148 * s_ctan_template.c: Copy of s_ctan.c.
7149 * s_ctanh_template.c: Copy of s_ctanh.c.
7150
7151 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7152
7153 * math/Makefile (gen-libm-calls): Move
7154 casin, casinh, csin, csinh here.
7155 (libm-calls): Remove the above.
7156
7157 * math/s_casin_template.c: Update using type-generic macros.
7158 * math/s_casinh_template.c: Likewise.
7159 * math/s_csin_template.c: Likewise.
7160 * math/s_csinh_template.c: Likewise.
7161 * math/k_casinh_template.c: Likewise.
7162
7163 * math/s_casinf.c: Removed.
7164 * math/s_casin.c: Removed.
7165 * math/s_casinl.c: Removed.
7166 * math/s_casinh.c: Removed.
7167 * math/s_casinhf.c: Removed.
7168 * math/s_casinhl.c: Removed.
7169 * math/s_csin.c: Removed.
7170 * math/s_csinf.c: Removed.
7171 * math/s_csinl.c: Removed.
7172 * math/s_csinh.c: Removed.
7173 * math/s_csinhf.c: Removed.
7174 * math/s_csinhl.c: Removed.
7175 * math/k_casinh.c: Removed.
7176 * math/k_casinhf.c: Removed.
7177 * math/k_casinhl.c: Removed.
7178
7179 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7180 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7181 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7182 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7183
7184 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7185 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7186 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7187 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7188 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7189 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7190 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7191 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7192
7193 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7194 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7195 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7196 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7197
7198 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7199 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7200 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7201 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7202
7203 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7204
7205 * s_casin_template.c: Copy of s_casin.c.
7206 * s_casinh_template.c: Copy of s_casinh.c.
7207 * s_csin_template.c: Copy of s_csin.c.
7208 * s_csinh_template.c: Copy of s_csinh.c.
7209 * k_casinh_template.c: Copy of k_casinh.c.
7210
7211 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
7212
7213 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7214
7215 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7216
7217 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7218 (mul_split) Remove, rename as mul_splitl, remove
7219 redundant float.h include, and include via mul_splitl.h
7220
7221 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7223 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7224 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7225 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7226
7227 * math/mul_splitl.h: New file.
7228
7229 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7230 Move into mul_split.h, and remove redundant float.h include.
7231
7232 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7236
7237 * math/mul_split.h: New file.
7238
7239 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7240
7241 * math/Makefile (libm-gen-calls): Move
7242 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7243 (libm-calls): Remove above.
7244
7245 * math/s_cacos_template.c: Update using type-generic macros.
7246 * math/s_cacosh_template.c: Likewise.
7247 * math/s_ccos_template.c: Likewise.
7248 * math/s_ccosh_template.c: Likewise.
7249
7250 * math/s_cacosf.c: Removed.
7251 * math/s_cacos.c: Removed.
7252 * math/s_cacosl.c: Removed.
7253 * math/s_cacoshf.c: Removed.
7254 * math/s_cacosh.c: Removed.
7255 * math/s_cacoshl.c: Removed.
7256 * math/s_ccosf.c: Removed.
7257 * math/s_ccos.c: Removed.
7258 * math/s_ccosl.c: Removed.
7259 * math/s_ccoshf.c: Removed.
7260 * math/s_ccosh.c: Removed.
7261 * math/s_ccoshl.c: Removed.
7262
7263 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7264 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7265 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7266 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7267 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7268 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7269
7270 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7271 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7272 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7273 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7274
7275 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7276 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7277 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7278 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7279
7280 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7281
7282 * s_cacos_template.c: Copy of s_cacos.c.
7283 * s_cacosh_template.c: Copy of s_cacosh.c.
7284 * s_ccos_template.c: Copy of s_ccos.c.
7285 * s_ccosh_template.c: Copy of s_ccosh.c.
7286
7287 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7288
7289 * stdlib/tst-strtod-round-skeleton.c:
7290 Refactored from tst-strtod-round.c.
7291
7292 (L_): New macro to apply literal modifier.
7293 (FNPFX): New macro to select str or wcs prefix.
7294 (CHAR): New macro to choose wchar_t or char.
7295 (STRM): New macro to choose printf for tested character type.
7296
7297 (STRTO): New macro to choose appropriate string -> real function.
7298 (FNPFXS): Stringitized version of FNPFX.
7299 (STR): Support for above macro.
7300 (STRX): Likewise.
7301
7302 (TEST): Update with above macros.
7303 (test): Likewise.
7304 (GEN_ONE_TEST): Likewise.
7305 (test_in_one_mode): Likewise.
7306
7307 * stdlib/tst-strtod-round.c: New file.
7308 * wcsmbs/tst-wcstod-round.c: New file.
7309
7310 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7311 (tst-wcstod-round): Add libm depencency for fesetround.
7312
7313 2016-08-19 Zack Weinberg <zackw@panix.com>
7314
7315 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7316
7317 2016-08-18 Torvald Riegel <triegel@redhat.com>
7318
7319 [BZ #20477]
7320 * resolv/res_hconf.c (do_init): Use atomic access.
7321 * resolv/res_hconf.h: Add comments.
7322 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7323 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7325
7326 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7327
7328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7329 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7330 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7331 Likewise.
7332
7333 2016-08-18 Florian Weimer <fweimer@redhat.com>
7334
7335 [BZ #16907]
7336 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7337 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7338 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7339 (__attribute__): Remove definition.
7340
7341 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7342
7343 * sysdeps/ieee754/ldbl-128/e_asinl.c:
7344 Remove unused sqrtl declaration.
7345
7346 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7347
7348 * math/Makefile: (gen-libm-templates.stmp): New rule.
7349 (libm-calls): Move carg conj cimag and cabs into ...
7350 (gen-libm-calls): New variable.
7351 (generated): Inform Make objects from gen-libm-calls
7352 may be generated.
7353
7354 * sysdeps/generic/math-type-macros.h: New file.
7355 * sysdeps/generic/math-type-macros-float.h: Likewise.
7356 * sysdeps/generic/math-type-macros-double.h: Likewise.
7357 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7358 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7359 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7360
7361 * math/cabs.c: Refactor into
7362 * math/cabs_template.c: new file.
7363 * math/cabsf.c: Removed.
7364 * math/cabsl.c: Removed.
7365 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7366 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7367
7368 * math/carg.c: Refactor into
7369 * math/carg_template.c: new file.
7370 * math/cargf.c: Removed.
7371 * math/cargl.c: Removed.
7372 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7373 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7374
7375 * math/conj.c: Refactor into
7376 * math/conj_template.c: new file.
7377 * math/conjf.c: Removed.
7378 * math/conjl.c: Removed.
7379 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7380 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7381
7382 * math/cimag.c: Refactor into
7383 * math/cimag_template.c: new file.
7384 * math/cimagf.c: Removed.
7385 * math/cimagl.c: Removed.
7386 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7387 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7388
7389 * math/cimag.c: Refactor into
7390 * math/cimag_template.c: new file.
7391 * math/cimagf.c: Removed.
7392 * math/cimagl.c: Removed.
7393 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7394 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7395
7396 2016-08-17 Florian Weimer <fweimer@redhat.com>
7397
7398 Reduce time to expected nptl/tst-once5 failure.
7399 * nptl/tst-once5.cc (TIMEOUT): Define.
7400
7401 2016-08-17 Florian Weimer <fweimer@redhat.com>
7402
7403 [BZ #20452]
7404 Avoid additional copies of objects in libc.a in static libraries.
7405 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7406 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7407 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7408 rt-sysdep.
7409 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7410 Add nptl-sysdep.
7411 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7412 Add ptw-sysdep.
7413 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7414 rt-sysdep.
7415 * sysdeps/unix/sysv/linux/alpha/Makefile
7416 (libpthread-shared-only-routines): Add ptw-sysdep,
7417 ptw-sigprocmask, ptw-rt_sigaction.
7418 * sysdeps/unix/sysv/linux/ia64/Makefile
7419 (librt-shared-only-routines): Add rt-sysdep.
7420 * sysdeps/unix/sysv/linux/i386/Makefile
7421 (libpthread-shared-only-routines): Add libc-do-syscall.
7422 * sysdeps/unix/sysv/linux/microblaze/Makefile
7423 (libpthread-shared-only-routines): Add sysdep.
7424 * sysdeps/unix/sysv/linux/powerpc/Makefile
7425 (librt-shared-only-routines): Add rt-sysdep.
7426 (libpthread-shared-only-routines): Add sysdep.
7427 * sysdeps/unix/sysv/linux/s390/Makefile
7428 (librt-shared-only-routines): Add rt-sysdep.
7429 * sysdeps/unix/sysv/linux/sparc/Makefile
7430 (librt-shared-only-routines): Add rt-sysdep.
7431 (libpthread-shared-only-routines): Add sysdep.
7432 * sysdeps/unix/sysv/linux/tile/Makefile
7433 (libpthread-shared-only-routines): Likewise.
7434
7435 2016-08-16 Joseph Myers <joseph@codesourcery.com>
7436
7437 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7438 Mask implicit bit out of unpacked value.
7439 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7441 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7442
7443 * sysdeps/sparc/fpu/fesetexcept.c: New file.
7444
7445 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7446
7447 * sysdeps/s390/fpu/fesetexcept.c: New file.
7448
7449 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7450 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7451 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7452
7453 * sysdeps/mips/fpu/fesetexcept.c: New file.
7454
7455 * sysdeps/m68k/fpu/fesetexcept.c: New file.
7456
7457 * sysdeps/ia64/fpu/fesetexcept.c: New file.
7458
7459 * sysdeps/hppa/fpu/fesetexcept.c: New file.
7460
7461 * sysdeps/arm/fesetexcept.c: New file.
7462
7463 * sysdeps/alpha/fpu/fesetexcept.c: New file.
7464
7465 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7466
7467 * math/fesetexcept.c: New file.
7468 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7469 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7470 * math/fenv.h: Define
7471 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7472 <bits/libc-header-start.h> instead of including <features.h>.
7473 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7474 declaration.
7475 * manual/arith.texi (fesetexcept): Document function.
7476 * math/Versions (fesetexcept): New libm symbol at version
7477 GLIBC_2.25.
7478 * math/Makefile (libm-support): Add fesetexcept.
7479 (tests): Add test-fesetexcept and test-fesetexcept-traps.
7480 * math/test-fesetexcept.c: New file.
7481 * math/test-fesetexcept-traps.c: Likewise.
7482 * sysdeps/nacl/libm.abilist: Update.
7483 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7484 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7485 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7486 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7487 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7489 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7490 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7491 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7492 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7494 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7496 Likewise.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7498 Likewise.
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7500 Likewise.
7501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7502 Likewise.
7503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7504 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7505 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7506 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7507 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7509 Likewise.
7510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7511 Likewise.
7512 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7513 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7514 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7515
7516 2016-08-16 Florian Weimer <fweimer@redhat.com>
7517
7518 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7519 New.
7520 (do_test): Apply default_stack_size_in_mb if not set.
7521 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7522
7523 2016-08-15 Andreas Schwab <schwab@suse.de>
7524
7525 [BZ #20435]
7526 CVE-2016-6323
7527 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7528 as .cantunwind.
7529
7530 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7531
7532 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7533 comment from fraiseexcpt.c.
7534
7535 * math/test-fexcept.c (feraiseexcept_exact): New function.
7536 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7537 (test_except): Likewise.
7538
7539 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7540
7541 [BZ #20455]
7542 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7543 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7544 to be restored.
7545
7546 * math/test-fexcept-traps.c: New file.
7547 * math/test-fexcept.c: Likewise.
7548 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7549 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7550 macro.
7551 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7552 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7553
7554 2016-08-09 Torvald Riegel <triegel@redhat.com>
7555
7556 * include/atomic.h (atomic_fetch_and_relaxed,
7557 atomic_fetch_and_release, atomic_fetch_or_release,
7558 atomic_fetch_xor_release): New.
7559
7560 2016-08-06 Christian Seiler <christian@iwakd.de>
7561
7562 [BZ #20444]
7563 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7564 MACH_PORT_NULL.
7565
7566 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7567
7568 * math/s_fdim.c: Avoid alias renamed.
7569 * math/s_fdimf.c: Likewise.
7570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7571 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7572 Add s_fdimf-vis3, s_fdim-vis3.
7573 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7574 (CFLAGS-s_fdim-vis3.c): Likewise.
7575 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7576 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7577
7578 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7579
7580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7581 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7582 Remove s_fdimf-vis3, s_fdim-vis3.
7583 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7584 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7591 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7592 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7593
7594 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7595
7596 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7597 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7598 -Wa,-Av9a -mvis.
7599
7600 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7601
7602 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7603 LIT() to individual constants in simple expressions
7604 after splitting on spaces.
7605 (_apply_lit): Rename replaced version, and use it to
7606 apply to what appears to be a token.
7607
7608 * math/libm-test.inc: Fix many, many issues with
7609 spacing.
7610
7611 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7612
7613 * math/math.h: Move comment about <bits/mathdef.h> definitions
7614 above inclusion of <bits/mathdef.h>. Do not mention
7615 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7616
7617 2016-08-05 Torvald Riegel <triegel@redhat.com>
7618
7619 * include/atomic.h (atomic_exchange_relaxed): New.
7620
7621 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7622
7623 * math/e_scalb.c: Do not include <fenv.h>.
7624 (invalid_fn): Do calculation resulting in NaN instead of raising
7625 FE_INVALID and returning a NaN explicitly.
7626 * math/e_scalbf.c: Do not include <fenv.h>.
7627 (invalid_fn): Do calculation resulting in NaN instead of raising
7628 FE_INVALID and returning a NaN explicitly.
7629 * math/e_scalbl.c: Do not include <fenv.h>.
7630 (invalid_fn): Do calculation resulting in NaN instead of raising
7631 FE_INVALID and returning a NaN explicitly.
7632
7633 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7634
7635 * po/de.po: Updated from Translation Project.
7636 * po/fi.po: Likewise.
7637 * po/sv.po: Likewise.
7638
7639 2016-08-04 Florian Weimer <fweimer@redhat.com>
7640
7641 [BZ #20452]
7642 Use sysdep.o from libc.a in static libraries.
7643 * sysdeps/unix/sysv/linux/i386/Makefile
7644 (libpthread-shared-only-routines): Add sysdep.
7645 (librt-shared-only-routines): Likewise.
7646
7647 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7648
7649 * math/tgmath.h (nextdown): Define if
7650 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7651 (nextup): Likewise.
7652
7653 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7654 macro.
7655 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7656 Document.
7657 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7658 Document macro.
7659 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7660 (exp10f): Likewise.
7661 (exp10l): Likewise.
7662 * math/bits/mathcalls.h (exp10): Declare if
7663 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7664
7665 * manual/arith.texi (nextup): Fix typo in last change.
7666
7667 2016-08-03 Zack Weinberg <zackw@panix.com>
7668
7669 [BZ #19239]
7670 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7671 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7672 define major, minor, and makedev to issue deprecation warnings on use.
7673 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7674 previously-activated deprecation warnings for these macros and prevent
7675 subsequent inclusions of this header from having any effect.
7676 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7677 including <sys/sysmacros.h>, and undefine it again afterward.
7678
7679 2016-08-03 Zack Weinberg <zackw@panix.com>
7680
7681 * sysdeps/generic/sys/sysmacros.h: Delete file.
7682 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7683 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7684 * bits/sysmacros.h: ... here; this encoding is now the generic
7685 encoding. Now defines only the following macros:
7686 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7687 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7688 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7689
7690 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7691 bits/sysmacros.h and the above new macros to generate the
7692 public implementations of major, minor, and makedev.
7693 * misc/tst-makedev.c: New test.
7694 * include/sys/sysmacros.h: New wrapper.
7695
7696 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7697 (routines): Add makedev.
7698 (tests): Add tst-makedev.
7699 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7700 gnu_dev_makedev.
7701 * posix/Makefile (headers): Remove sys/sysmacros.h.
7702 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7703
7704 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7705 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7706 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7707 * sysdeps/unix/sysv/linux/alpha/libc.abilist
7708 * sysdeps/unix/sysv/linux/arm/libc.abilist
7709 * sysdeps/unix/sysv/linux/hppa/libc.abilist
7710 * sysdeps/unix/sysv/linux/i386/libc.abilist
7711 * sysdeps/unix/sysv/linux/ia64/libc.abilist
7712 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7713 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7714 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7715 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7716 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7717 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7718 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7719 * sysdeps/unix/sysv/linux/nios2/libc.abilist
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7724 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7725 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7726 * sysdeps/unix/sysv/linux/sh/libc.abilist
7727 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7728 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7731 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7732 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7733 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7734 Add GLIBC_2.25.
7735
7736 * include/features.h (__glibc_clang_prereq): New macro.
7737 * misc/sys/cdefs.h (__glibc_clang_has_extension)
7738 (__attribute_deprecated_msg__): New macros.
7739
7740 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7741
7742 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7743 macro.
7744 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7745 * manual/arith.texi (issignaling): Document as ISO from TS
7746 18661-1:2014.
7747 (nextup): Likewise.
7748 (nextupf): Likewise.
7749 (nextupl): Likewise.
7750 (nextdown): Likewise.
7751 (nextdownf): Likewise.
7752 (nextdownl): Likewise.
7753 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7754 macro.
7755 * math/math.h: Define
7756 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7757 <bits/libc-header-start.h> instead of including <features.h>.
7758 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7759 [__USE_GNU].
7760 * math/bits/mathcalls.h (nextdown): Declare if
7761 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7762 (nextup): Likewise.
7763 (__issignaling): Likewise.
7764
7765 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7766
7767 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7768 check, and remove __glibc_likely hint
7769 from FP_INFINITE check.
7770 * s_csinhf.c (__csinhf): Likewise.
7771
7772 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7773 hint from FP_INFINITE check.
7774 * s_csinhl.c (__csinhl): Likewise.
7775
7776 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7777
7778 * math/Makefile (libm-calls): Insert F placeholder into
7779 object names. Move w_lgamma_compat* routines into
7780 (libm-compat-calls): New variable.
7781 (libm-compat-calls-ldouble-yes): New variable.
7782 (calls): Insert F placeholder.
7783 (generated): Redefine using new type-foreach macro call.
7784 (routines): Likewise.
7785
7786 (types): New variable to hold a list of symbolic names
7787 for each type supported by the target machine.
7788 (libm-routines): Redefine using new types variable.
7789 (type-foreach): macro to replace fooF with the
7790 appropriately suffixed foo for each types.
7791
7792 (type-ldouble-suffix): New variable.
7793 (type-ldouble-routines): Likewise.
7794 (type-ldouble-yes): Likewise.
7795 (type-double-suffix): Likewise.
7796 (type-double-routines): Likewise.
7797 (type-float-suffix): Likewise.
7798 (type-float-routines): Likewise.
7799
7800 (dbl-only-routines): Remove.
7801 (long-c-yes): Likewise.
7802 (long-m-routines): Likewise.
7803 (long-m-support): Likewise.
7804 (long-m-yes): Likewise.
7805 (test-longdouble-yes): Likewise.
7806
7807 (test-float.o): Simplify by increasing the scope of the
7808 recipe which adds libm-test.stmp to the vector types.
7809 (test-ifloat.o): Likewise.
7810 (test-float-finite.o): Likewise.
7811 (test-double.o): Likewise
7812 (test-idouble.o): Likewise.
7813 (test-double-finite.o): Likewise.
7814 (test-ldouble.o): Likewise
7815 (test-ildoubl.o): Likewise.
7816 (test-ldouble-finite.o): Likewise.
7817
7818 (libm-tests): Redefine type tests using foreach and the
7819 list of types in types.
7820
7821 (CPPFLAGS-test-ildoubl.c): Rename to
7822 (CPPFLAGS-test-ildouble.c): New variable
7823
7824 * math/test-ildoubl.c: Rename to
7825 * math/test-ildouble.c: New file.
7826
7827 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7828
7829 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7830 Use fabsl instead of fabs.
7831 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7832 Likewise.
7833 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7834 Add long double suffix to constant to ensure proper
7835 promotion to long double.
7836
7837 2016-08-03 Tom Tromey <tom@tromey.com>
7838
7839 [BZ #20311]
7840 * nptl_db/Makefile (headers): Add proc_service.h.
7841 * nptl_db/proc_service.h: Add include guard. Use
7842 __BEGIN/__END_DECLS.
7843 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7844 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7845 arguments.
7846
7847
7848 2016-08-03 Florian Weimer <fweimer@redhat.com>
7849
7850 [BZ #17730]
7851 Avoid using memalign for TCB allocations.
7852 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7853 (_dl_allocate_tls_storage): Use malloc and manual alignment.
7854 Avoid alignment gap in the TLS_DTV_AT_TP case.
7855 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7856 determine the pointer to free.
7857 * nptl/tst-tls3-malloc.c: New test.
7858 * nptl/Makefile (tests): Add it.
7859 (tst-tls3-malloc): Link with libdl, libpthread.
7860 (LDFLAGS-tst-tls3-malloc): Set.
7861 (tst-tls3-malloc.out): Depend on DSO used in test.
7862
7863 2016-08-03 Florian Weimer <fweimer@redhat.com>
7864
7865 [BZ #17730]
7866 Avoid using memalign for TLS allocations.
7867 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
7868 is_static member with to_free member.
7869 (union dtv): Use struct dtv_pointer.
7870 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7871 dtv_pointer instead of is_static.
7872 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7873 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7874 instead of val.
7875 (allocate_dtv_entry): New function.
7876 (allocate_and_init): Return struct dtv_pointer. Call
7877 allocate_dtv_entry instead of __libc_memalign.
7878 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7879 instead of val.
7880 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7881 instead of is_static. Adjust call to allocate_and_init.
7882 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7883 struct dtv_pointer instead of val.
7884
7885 2016-08-03 Florian Weimer <fweimer@redhat.com>
7886
7887 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7888 (MALLOC_ALIGN_MASK): Move ...
7889 * malloc/malloc-internal.h: ... to here.
7890 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7891
7892 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7893
7894 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7895 (UDP_ENCAP_GTP1U): Likewise.
7896
7897 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7898 (PF_MAX): Update value.
7899 (AF_QIPCRTR): New macro.
7900
7901 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7902
7903 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7904 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7905 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7906 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7907 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7908 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7909 s_truncf-vis3, s_trunc-vis3.
7910 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7911 (CFLAGS-s_ceil-vis3.c): Likewise.
7912 (CFLAGS-s_floorf-vis3.c): Likewise.
7913 (CFLAGS-s_floor-vis3.c): Likewise.
7914 (CFLAGS-s_truncf-vis3.c): Likewise.
7915 (CFLAGS-s_trunc-vis3.c): Likewise.
7916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7924 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7925 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7926 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7927 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7928
7929 2016-08-02 David S. Miller <davem@davemloft.net>
7930
7931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7932 (__nearbyint_vis3): Don't check for sNaN before float register is
7933 loaded with the incoming argument.
7934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7935 (__nearbyintf_vis3): Likewise.
7936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7937 Likewise.
7938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7939 Likewise.
7940
7941 * string/test-strncmp.c (do_test_limit): Make sure the test data
7942 stream is aligned as required for the type "CHAR".
7943 (do_test): Likewise.
7944
7945 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7946
7947 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7948 by beq instructions jumping to the end of the function.
7949 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7950 clobber list. Use "i" constraint instead of "X".
7951 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7952 of "X".
7953
7954 2016-08-02 Joseph Myers <joseph@codesourcery.com>
7955
7956 * bits/libc-header-start.h: New file.
7957 * Makefile (headers): Add bits/libc-header-start.h.
7958 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7959 (__GLIBC_USE): New macro.
7960 * libio/stdio.h: Define
7961 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7962 <bits/libc-header-start.h> instead of including <features.h>.
7963 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7964 (open_memstream): Likewise.
7965 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7966 (__asprintf): Likewise.
7967 (asprintf): Likewise.
7968 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7969 (getdelim): Likewise.
7970 (getline): Likewise.
7971 * string/string.h: Define
7972 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7973 <bits/libc-header-start.h> instead of including <features.h>.
7974 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7975 (strndup): Likewise.
7976 * wcsmbs/wchar.h: Define
7977 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7978 <bits/libc-header-start.h> instead of including <features.h>.
7979 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7980 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7981
7982 2016-08-02 Florian Weimer <fweimer@redhat.com>
7983
7984 Support linking against compatibility symbols, for use in tests.
7985 * include/libc-symbols.h (symbol_version_reference): New macro.
7986 (symbol_version): Use it.
7987 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7988 (compat_symbol): Use compat_symbol_reference.
7989 (compat_symbol_1, compat_symbol_2): Remove.
7990 (compat_symbol_reference, compat_symbol_reference_1)
7991 (compat_symbol_reference_2): New macro. Use
7992 symbol_version_reference.
7993
7994 2016-08-02 Florian Weimer <fweimer@redhat.com>
7995
7996 [BZ #19469]
7997 * malloc/Makefile (CPPFLAGS): Compile tests with
7998 -DTEST_NO_MALLOPT.
7999 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8000
8001 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
8002
8003 [BZ #20033]
8004 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8005 finite version.
8006 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8007 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8008 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8009 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8010 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8011 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8012 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8013 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8014 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8015 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8016 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8017 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8018 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8019 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8020 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8021 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8022 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8023 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8024 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8025 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8026 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8027 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8028 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8029 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8030 in zero power.
8031
8032 2016-08-02 Florian Weimer <fweimer@redhat.com>
8033
8034 [BZ #20370]
8035 * malloc/arena.c (get_free_list): Update comment. Assert that
8036 arenas on the free list have no attached threads.
8037 (remove_from_free_list): New function.
8038 (reused_arena): Call it.
8039
8040 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
8041
8042 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8043 when it is a NaN.
8044 [_IEEE_FP_INEXACT] Remove.
8045 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8046 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8047 when it is a NaN.
8048 [_IEEE_FP_INEXACT] Remove.
8049 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8050 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8051 when it is a NaN.
8052 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8053 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8054 when its absolute value is greater than 0x1.0p52.
8055 [_IEEE_FP_INEXACT] Remove.
8056 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8057 when its absolute value is greater than 0x1.0p23.
8058 [_IEEE_FP_INEXACT] Remove.
8059
8060 2016-08-01 Carlos O'Donell <carlos@redhat.com>
8061
8062 * version.h (RELEASE): Set to "development"
8063 (VERSION): Set to 2.24.90.
8064 * NEWS: Add 2.25 section.
8065
8066 * version.h (RELEASE): Set to "stable"
8067 (VERSION): Set to 2.24.
8068 * include/features.h (__GLIBC_MINOR__): Set to 24.
8069
8070 * NEWS: Add 2.24 fixed bugs.
8071 * po/libc.pot: Regenerate.
8072
8073 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
8074
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8076 [$(subdir) = math] (libm-sysdep_routines): Remove.
8077 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8078 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8079 s_truncf-vis3, s_trunc-vis3.
8080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8082 file.
8083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8116 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8117 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8118 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8119 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8120 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8121 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8122 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8123 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8124 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8125 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8126
8127 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
8128
8129 [BZ #20384]
8130 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8131 test-double-libmvec-sincos-avx-main.o,
8132 test-double-libmvec-sincos-avx2-main.o,
8133 test-double-libmvec-sincos-main.o,
8134 test-float-libmvec-sincosf-avx-main.o,
8135 test-float-libmvec-sincosf-avx2-main.o and
8136 test-float-libmvec-sincosf-main.o.
8137 test-float-libmvec-sincosf-avx512-main.o.
8138 ($(objpfx)test-double-libmvec-sincos): Also link with
8139 $(objpfx)test-double-libmvec-sincos-main.o.
8140 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8141 $(objpfx)test-double-libmvec-sincos-avx-main.o.
8142 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8143 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8144 ($(objpfx)test-float-libmvec-sincosf): Also link with
8145 $(objpfx)test-float-libmvec-sincosf-main.o.
8146 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8147 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8148 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8149 test-double-libmvec-sincos-avx512-main.o and
8150 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8151 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8152 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8153 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8154 (CFLAGS-test-double-libmvec-sincos.c): Removed.
8155 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8156 (CFLAGS-test-double-libmvec-sincos-main.c): New.
8157 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8158 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8159 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8160 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8161 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8162 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8163 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8164 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8165 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8166 -DREQUIRE_AVX2.
8167 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8168 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8169 -DREQUIRE_AVX512F.
8170 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8171 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8172 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8173 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8174 file.
8175 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8176 Likewise.
8177 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8178 Likewise.
8179 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8180 Likewise.
8181 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8182 Likewise.
8183 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8184 Likewise.
8185 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8186 Likewise.
8187 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8188 Likewise.
8189
8190 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
8191
8192 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8193
8194 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
8195
8196 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8197 and typo in a comment about AT_HWCAP entry.
8198
8199 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8200
8201 * sysdeps/aarch64/libm-test-ulps: Updated.
8202
8203 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8204
8205 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8206 of r13 as it is not restored in mvcle case.
8207
8208 2016-07-19 Mike Frysinger <vapier@gentoo.org>
8209
8210 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8211 Rename "ret" to "__ret".
8212 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8213 inline_syscall5, inline_syscall6): Likewise.
8214
8215 2016-07-19 Will Newton <will.newton@gmail.com>
8216
8217 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8218 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8219 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8220 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8221 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8222
8223 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
8224
8225 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8226 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8227 -mfpmath=387 with $(rtld-CFLAGS).
8228 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8229 $(rtld-CFLAGS).
8230
8231 2016-07-18 Ross Burton <ross.burton@intel.com>
8232 Khem Raj <raj.khem@gmail.com>
8233
8234 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8235 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8236 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8237 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8238 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8239 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8240 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8241 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8242 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8243 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8244 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8245 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8246 R_METAG_TLS_DTPOFF): New.
8247
8248 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8249 Matt Clay <mclay@lycos.com>
8250
8251 [BZ #20357]
8252 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8253 to call __mpsin/__mpcos and to negate values.
8254 * math/auto-libm-test-in: Add test.
8255 * math/auto-libm-test-out: Regenerate.
8256
8257 2016-07-18 Zack Weinberg <zackw@panix.com>
8258
8259 * grp/Makefile: Don't install the internal header grp-merge.h.
8260
8261 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
8262
8263 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8264
8265 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8266
8267 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8268
8269 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8270
8271 [BZ #15368]
8272 * sysdeps/unix/sysv/linux/nptl-signals.h
8273 (__nptl_clear_internal_signals): New function.
8274 (__libc_signal_block_all): Likewise.
8275 (__libc_signal_block_app): Likewise.
8276 (__libc_signal_restore_set): Likewise.
8277 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8278 implementation.
8279 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8280 the cached pid/tid value in pthread structure.
8281
8282 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
8283
8284 [BZ #20347]
8285 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8286
8287 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8288
8289 [BZ #20348]
8290 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8291 preadv64, pwrite64 and pwritev64.
8292
8293 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8294
8295 [BZ #20350]
8296 * posix/tst-preadwrite.c: Renamed to ...
8297 * posix/tst-preadwrite-common.c: This.
8298 (PREAD): Removed.
8299 (PWRITE): Likewise.
8300 (STRINGIFY): Likewise.
8301 (STRINGIFY2): Likewise.
8302 (do_prepare): Make it static and remove function arguments.
8303 (do_test): Likewise.
8304 (PREPARE): Updated.
8305 (TEST_FUNCTION): New.
8306 (name): Make it static.
8307 (fd): Likewise.
8308 (do_prepare): Use create_temp_file.
8309 (do_test): Renamed to ...
8310 (do_test_with_offset): This. Make it static and accept offset.
8311 Properly check return value of PWRITE and PREAD. Return bytes
8312 read. Don't close fd nor unlink name.
8313 * posix/tst-preadwrite.c: Rewrite.
8314 * posix/tst-preadwrite64.c: Likewise.
8315
8316 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8317
8318 [BZ #20309]
8319 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8320 -mtls-dialect=gnu2 works.
8321 * configure: Regenerated.
8322 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8323 (tests): Add tst-gnu2-tls1.
8324 (modules-names): Add tst-gnu2-tls1mod.
8325 ($(objpfx)tst-gnu2-tls1): New.
8326 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8327 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8328 * elf/tst-gnu2-tls1.c: New file.
8329 * elf/tst-gnu2-tls1mod.c: Likewise.
8330 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8331 bytes for push in the PLT entry to align the stack.
8332
8333 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
8334
8335 [BZ #20349]
8336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8337
8338 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8339
8340 [BZ #18707]
8341 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8342 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8343
8344 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8345
8346 * sysdeps/unix/sysv/linux/sysdep.h
8347 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8348 guards.
8349 * misc/tst-preadvwritev-common.c: New file.
8350 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8351 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8352 a check for files larger than 2GB.
8353
8354 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8355 (__ASSUME_OFF_DIFF_OFF64): Remove define.
8356 * sysdeps/unix/sysv/linux/pread.c
8357 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8358 __OFF_T_MATCHES_OFF64_T.
8359 * sysdeps/unix/sysv/linux/pread64.c
8360 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8361 * sysdeps/unix/sysv/linux/preadv.c
8362 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8363 * sysdeps/unix/sysv/linux/preadv64.c
8364 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8365 * sysdeps/unix/sysv/linux/pwrite.c
8366 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8367 * sysdeps/unix/sysv/linux/pwrite64.c
8368 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8369 * sysdeps/unix/sysv/linux/pwritev.c
8370 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8371 * sysdeps/unix/sysv/linux/pwritev64.c
8372 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8373
8374 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
8375
8376 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8377 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8378
8379 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8380
8381 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8382
8383 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8384
8385 [BZ #20240]
8386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8387 (CFLAGS-s_modf-ppc32.c): New variable.
8388 (CFLAGS-s_modff-ppc32.c): Likewise.
8389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8390 (CFLAGS-s_modf-ppc64.c): Likewise.
8391 (CFLAGS-s_modff-ppc64.c): Likewise.
8392
8393 2016-07-07 Andreas Schwab <schwab@suse.de>
8394
8395 [BZ #20263]
8396 * nptl/tst-robust10.c: New test.
8397 * nptl/Makefile (tests): Add tst-robust10.
8398
8399 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
8400
8401 [BZ #20263]
8402 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8403
8404 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8405
8406 * sysdeps/s390/linkmap.h (struct link_map_machine):
8407 Remove member gotplt and add member jmprel.
8408 * sysdeps/s390/s390-32/dl-machine.h
8409 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8410 instead of gotplt with &got[3].
8411 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8412 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8413
8414 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
8415
8416 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8417
8418 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8419
8420 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8421 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8422 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8423 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8424 * libio/vtables.c (_IO_vtable_check)
8425 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8426 * libio/libioP.h (IO_set_accept_foreign_vtables)
8427 [!PTR_MANGLE]: Do not call PTR_MANGLE.
8428
8429 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
8430
8431 [BZ #20314]
8432 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8433 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8434 $(common-objpfx)cmath.
8435 ($(common-objpfx)cstdlib): New target.
8436 ($(common-objpfx)cmath): Likewise.
8437
8438 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
8439
8440 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8441
8442 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8443
8444 [BZ #20327]
8445 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8446 are not part of the string.
8447
8448 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8449
8450 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8451 * nptl/tst-cancel4-common.h (fifoname): New variable.
8452 (fifofd): Likewise.
8453 (cl_fifo): New function.
8454 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8455 SIGINT.
8456 (tf_open): Add early cancel test.
8457
8458 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
8459
8460 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8461
8462 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
8463
8464 * sysdeps/generic/ldsodefs.h
8465 (dl_symbol_visibility_binds_local_p): New inline function.
8466 * elf/dl-addr.c (determine_info): Treat hidden and internal
8467 symbols as local.
8468 * elf/dl-lookup.c (do_lookup_x): Likewise.
8469 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8470
8471 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
8472
8473 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8474 invalid exception for a sNaN input.
8475 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8476 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8477 (__nearbyint_vis3): Likewise
8478 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8479 (__nearbyintf_vis3): Likewise
8480 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8481 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8482 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8483 Likewise.
8484 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8485 Likewise.
8486
8487 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
8488
8489 [BZ #20139]
8490 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8491 (HAVE_AVX512DQ_ASM_SUPPORT): This.
8492 * sysdeps/x86_64/configure.ac: Require assembler from binutils
8493 2.24 or above.
8494 (HAVE_AVX512_ASM_SUPPORT): Removed.
8495 (HAVE_AVX512DQ_ASM_SUPPORT): New.
8496 * sysdeps/x86_64/configure: Regenerated.
8497 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8498 check unconditional.
8499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8500 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8501 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8502 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8503 Likewise.
8504 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8505 Likewise.
8506 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8507 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8508 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8509 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8510 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8511 Likewise.
8512 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8513 Likewise.
8514 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8515 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8516 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8517 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8518 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8519 Likewise.
8520 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8521 Likewise.
8522 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8523 Likewise.
8524 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8525 Likewise.
8526 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8527 Likewise.
8528 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8529 Likewise.
8530 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8531 Likewise.
8532 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8533 Likewise.
8534 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8535 Likewise.
8536 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8537 Likewise.
8538 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8539 Likewise.
8540
8541 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8542
8543 [BZ #20024]
8544 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8545 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8546 of this implementation of vector function.
8547 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8548 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8549 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8550 Likewise.
8551 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8552 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8553 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8554 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8555 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8556 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8557 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8558 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8559 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8560 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8561 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8562 for testing vector sincos with fixed ABI.
8563 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8564 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8565 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8566 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8567 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8568 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8569 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8570 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8571 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8572 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8573 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8574 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8575 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8576 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8577 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8578 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8579
8580 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8581
8582 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8583
8584 2016-06-30 Anton Blanchard <anton@samba.org>
8585
8586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8587 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8588 s_sinf-ppc64.
8589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8592 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8593
8594 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8595
8596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8598 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8599 e_expf-ppc64.
8600 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8601 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8602 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8603 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8604
8605 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8606
8607 [BZ #20277]
8608 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8609 when SHARED is defined.
8610
8611 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8612
8613 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8614 (index_arch_Prefer_ERMS): Likewise.
8615 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8616 __memcpy_erms for Prefer_ERMS.
8617 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8618 (__memmove_erms): Enabled for libc.a.
8619 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8620 __memmove_erms or Prefer_ERMS.
8621 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8622 __mempcpy_erms for Prefer_ERMS.
8623 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8624 __memset_erms for Prefer_ERMS.
8625
8626 2016-06-30 Andreas Schwab <schwab@suse.de>
8627
8628 [BZ #20262]
8629 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8630 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8631 of memory.
8632
8633 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8634
8635 [BZ #18645]
8636 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8637 (test-extras): Add tst-cleanupx4aux.
8638 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8639 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8640 tst-cleanupx4aux.o.
8641 * nptl/tst-cleanupx4aux.c: New file.
8642
8643 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8644
8645 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8646
8647 2016-06-29 Andreas Schwab <schwab@suse.de>
8648
8649 [BZ #20260]
8650 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8651 address before the beginning of the string as an integer to avoid
8652 array-bounds warning.
8653
8654 2016-06-28 Richard Henderson <rth@redhat.com>
8655
8656 * elf/elf.h (EM_BPF): New.
8657 (EM_NUM): Update.
8658 (R_BPF_NONE, R_BPF_MAP_FD): New.
8659
8660 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8661 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8662 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8663 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8664 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8665 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8666 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8667 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8668 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8669 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8670 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8671 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8672 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8673 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8674 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8675 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8676 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8677 (EM_NUM): Update.
8678
8679 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8680
8681 [BZ #18960]
8682 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8683 Set _nl_current_LC_CATEGORY_used to two instead of one.
8684
8685 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8686
8687 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8688 (do_test): ... this.
8689 (TEST_FUNCTION): New macro.
8690 Include test-skeleton.c.
8691 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8692 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8693
8694 2016-06-27 Joseph Myers <joseph@codesourcery.com>
8695
8696 [BZ #15479]
8697 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8698 floating-point environment rather than just control word.
8699 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8700 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8701 floating-point environment, with "invalid" exceptions merged in,
8702 rather than just control word.
8703 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8704 * math/libm-test.inc (trunc_test_data): Do not allow spurious
8705 "inexact" exceptions.
8706
8707 [BZ #15479]
8708 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8709 floating-point environment rather than just control word.
8710 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8711 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8712 floating-point environment, with "invalid" exceptions merged in,
8713 rather than just control word.
8714 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8715 * math/libm-test.inc (floor_test_data): Do not allow spurious
8716 "inexact" exceptions.
8717
8718 [BZ #15479]
8719 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8720 floating-point environment rather than just control word.
8721 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8722 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8723 floating-point environment, with "invalid" exceptions merged in,
8724 rather than just control word.
8725 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8726 * math/libm-test.inc (ceil_test_data): Do not allow spurious
8727 "inexact" exceptions.
8728
8729 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
8730
8731 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8732 __libc_vfork.
8733 (__vfork) [IS_IN (libc)]: Remove alias.
8734 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8735 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8736 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8737
8738 2016-06-24 Torvald Riegel <triegel@redhat.com>
8739
8740 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8741 of atomic_compare_and_exchange_bool_rel.
8742 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8743 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8744 catomic_compare_and_exchange_bool_rel): Remove.
8745 * sysdeps/aarch64/atomic-machine.h
8746 (atomic_compare_and_exchange_bool_rel): Likewise.
8747 * sysdeps/alpha/atomic-machine.h
8748 (atomic_compare_and_exchange_bool_rel): Likewise.
8749 * sysdeps/arm/atomic-machine.h
8750 (atomic_compare_and_exchange_bool_rel): Likewise.
8751 * sysdeps/mips/atomic-machine.h
8752 (atomic_compare_and_exchange_bool_rel): Likewise.
8753 * sysdeps/microblaze/atomic-machine.h
8754 ( __arch_compare_and_exchange_bool_8_rel,
8755 __arch_compare_and_exchange_bool_16_rel): Likewise.
8756 * sysdeps/powerpc/atomic-machine.h
8757 ( __arch_compare_and_exchange_bool_8_rel,
8758 __arch_compare_and_exchange_bool_16_rel): Likewise.
8759 * sysdeps/powerpc/powerpc32/atomic-machine.h
8760 ( __arch_compare_and_exchange_bool_32_rel,
8761 __arch_compare_and_exchange_bool_64_rel): Likewise.
8762 * sysdeps/powerpc/powerpc64/atomic-machine.h
8763 ( __arch_compare_and_exchange_bool_32_rel,
8764 __arch_compare_and_exchange_bool_64_rel): Likewise.
8765 * sysdeps/tile/atomic-machine.h
8766 (atomic_compare_and_exchange_bool_rel): Likewise.
8767
8768 2016-06-23 Joseph Myers <joseph@codesourcery.com>
8769
8770 [BZ #20296]
8771 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8772 when either argument is a NaN.
8773 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8774 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8775
8776 * math/libm-test.inc (snan_value_ld): New macro.
8777 (isgreater_test_data): Add sNaN tests.
8778 (isgreaterequal_test_data): Likewise.
8779 (isless_test_data): Likewise.
8780 (islessequal_test_data): Likewise.
8781 (islessgreater_test_data): Likewise.
8782 (isunordered_test_data): Likewise.
8783 (nextafter_test_data): Likewise.
8784 (nexttoward_test_data): Likewise.
8785 (remainder_test_data): Likewise.
8786 (remquo_test_data): Likewise.
8787 (significand_test_data): Likewise.
8788 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8789
8790 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
8791
8792 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8793 environment macros are defined.
8794 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8795
8796 2016-06-23 Florian Weimer <fweimer@redhat.com>
8797
8798 [BZ #20191]
8799 Implement vtable verification in libio.
8800 * Makerules (shlib.lds): Place __libc_IO_vtables section.
8801 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8802 * debug/vdprintf_chk.c (__vdprintf_chk): Call
8803 _IO_new_file_init_internal instead of _IO_file_init.
8804 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8805 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8806 * libio/Makefile (routines): Add vtables.
8807 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8808 (_IO_init): Remove, not for internal use.
8809 (_IO_init_internal): Declare, internal replacement for _IO_init.
8810 (_IO_file_init): Remove, not for internal use.
8811 (_IO_new_file_init): Remove, not for internal use.
8812 (_IO_new_file_init_internal): Declare, internal replacement for
8813 _IO_new_file_init.
8814 (_IO_old_file_init): Remove, not for internal use.
8815 (_IO_old_file_init_internal): Declare, internal replacement for
8816 _IO_old_file_init.
8817 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8818 internal use.
8819 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8820 Declare.
8821 (libio_vtable): New macro.
8822 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8823 functions.
8824 * libio/fileops.c (_IO_new_file_init_internal): Rename from
8825 _IO_new_file_init.
8826 (_IO_new_file_init): New externally visible wrapper which disables
8827 vtable verification.
8828 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8829 Define as vtables.
8830 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8831 (_IO_init): New externally visible wrapper which disables
8832 vtable verification.
8833 * libio/iofdopen.c (_IO_new_fdopen): Call
8834 _IO_new_file_init_internal instead of _IO_file_init. Adjust
8835 comment.
8836 * libio/iofopen.c (__fopen_internal): Call
8837 _IO_new_file_init_internal instead of _IO_file_init.
8838 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8839 Define as vtables.
8840 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8841 _IO_new_file_init_internal instead of _IO_file_init.
8842 * libio/iopopen.c (_IO_new_popen): Likewise.
8843 (_IO_proc_jumps): Define as vtable.
8844 * libio/iovdprintf.c (_IO_vdprintf): Call
8845 _IO_new_file_init_internal instead of _IO_file_init.
8846 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8847 (__open_memstream): Call _IO_init_internal instead of _IO_init.
8848 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8849 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8850 _IO_old_file_init.
8851 (_IO_old_file_init): New externally visible wrapper which disables
8852 vtable verification.
8853 (_IO_old_file_jumps): Define as vtable.
8854 * libio/oldiofdopen.c (_IO_old_fdopen): Call
8855 _IO_old_file_init_internal instead of _IO_old_file_init.
8856 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8857 * libio/oldiopopen.c (_IO_old_popen): Likewise.
8858 (_IO_old_proc_jumps): Define as vtable.
8859 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8860 Define as vtables.
8861 * libio/vtables.c: New file.
8862 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8863 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8864 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8865 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8866 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8867 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8868 instead of _IO_init.
8869
8870 2016-06-23 Florian Weimer <fweimer@redhat.com>
8871
8872 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8873
8874 2016-06-23 Florian Weimer <fweimer@redhat.com>
8875
8876 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8877 potentially unused.
8878
8879 2016-06-22 Florian Weimer <fweimer@redhat.com>
8880
8881 * test-skeleton.c (write_message): New function.
8882 * malloc/tst-mallocfork2.c (write_message): Remove.
8883 * debug/tst-longjmp_chk2.c (write_indented): New function.
8884 (write_message): Remove.
8885 (stackoverflow_handler): Call write_indented.
8886
8887 2016-06-22 Joseph Myers <joseph@codesourcery.com>
8888
8889 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8890 "inexact" exceptions after fnstenv.
8891 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8892 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8893 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8894
8895 2015-06-22 Zack Weinberg <zackw@panix.com>
8896
8897 * sysdeps/generic/bits/hwcap.h: Moved to ...
8898 * bits/hwcap.h: Here.
8899
8900 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
8901
8902 * sysdeps/aarch64/memcpy.S (memcpy):
8903 Further tuning for performance.
8904
8905 2016-06-21 Florian Weimer <fweimer@redhat.com>
8906
8907 [BZ #20284]
8908 * malloc/arena.c (reused_arena): Do not return NULL if we start
8909 out with a non-corrupted arena.
8910
8911 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8912
8913 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8914 * misc/tst-preadvwritev.c: New file.
8915 * misc/tst-preadvwritev64.c: Likewise.
8916 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8917 usage.
8918 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8919 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8920 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8921 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8922
8923 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
8924
8925 [BZ #19654]
8926 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8927 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8928 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8929 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8930 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8931 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8932 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8933 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8934 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8935 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8936 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8937 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8938 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8939 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8940 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8941 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8942 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8943 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8944 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8945 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8946 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8947 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8948 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8949 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8950 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8951 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8952
8953 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8954
8955 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8956 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8957
8958 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8959
8960 * sysdeps/aarch64/memcpy.S (memcpy):
8961 Rewrite of optimized memcpy and memmove.
8962 * sysdeps/aarch64/memmove.S (memmove): Remove
8963 memmove code (merged into memcpy.S).
8964
8965 2016-06-20 Florian Weimer <fweimer@redhat.com>
8966
8967 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8968 * sysdeps/generic/dl-dtv.h: New file.
8969 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8970 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8971 (dtv_t): Remove.
8972 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8973 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8974 (dtv_t): Remove.
8975 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8976 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8977 (dtv_t): Remove.
8978 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8979 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8980 (dtv_t): Remove.
8981 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8982 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8983 (dtv_t): Remove.
8984 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8985 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8986 (dtv_t): Remove.
8987 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8988 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8989 (dtv_t): Remove.
8990 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8991 (dtv_t): Remove.
8992 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8993 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8994 (dtv_t): Remove.
8995 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8996 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8997 (dtv_t): Remove.
8998 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8999 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9000 (dtv_t): Remove.
9001 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9002 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9003 (dtv_t): Remove.
9004 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9005 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9006 (dtv_t): Remove.
9007 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9008 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9009 (dtv_t): Remove.
9010 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9011 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9012 (dtv_t): Remove.
9013 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9014 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9015 (dtv_t): Remove.
9016
9017 2016-06-20 Florian Weimer <fweimer@redhat.com>
9018
9019 Revert symbol poisoning of __malloc_initialize_hook.
9020 * include/stdc-predef.h (__malloc_initialize_hook): Remove
9021 poisoning.
9022 * malloc/Makefile: Remove un-poisoning.
9023 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9024 instead of old__malloc_initialize_hook.
9025 * malloc/malloc-hooks.h: Likewise.
9026 * malloc/malloc.c: Likewise.
9027 * malloc/mcheck-init.c: Likewise.
9028
9029 2016-06-19 Carlos O'Donell <carlos@redhat.com>
9030
9031 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9032
9033 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
9034
9035 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9036 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9037 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9038 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9039
9040 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9041
9042 * NEWS: Mention addition of nextup and nextdown.
9043 * manual/arith.texi: Document nextup and nextdown.
9044 * manual/libm-err-tab.pl: Add nextup and nextdown.
9045 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9046 * math/Versions (libm): Add GLIBC_2.24.
9047 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9048 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9049 Add new test.
9050 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9051 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9052 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9053 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9054 (nextup_test_data): Likewise.
9055 (nextdown_test_data): Likewise.
9056 * math/s_nextdown.c: New file.
9057 * math/s_nextdownf.c: Likewise.
9058 * math/s_nextdownl.c: Likewise.
9059 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9060 F(nextup): New function.
9061 F(nextdown): Likewise.
9062 * math/tgmath.h: Add nextup and nextdown.
9063 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9064 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9069 Add nextup and nextdown.
9070 (CFLAGS-nldbl-nextup.c): New variable.
9071 (CFLAGS-nldbl-nextdown.c): Likewise.
9072 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9073 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9074 * sysdeps/nacl/libm.abilist: Update.
9075 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9076 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9077 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9078 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9079 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9080 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9081 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9082 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9083 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9084 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9085 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9086 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9089 Likewise.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9092 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9093 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9094 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9095 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9096 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9099 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9100 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9101 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9102 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9103
9104 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9105
9106 * manual/pattern.texi: Fix typos & grammar errors.
9107
9108 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9109
9110 * manual/search.texi: Fix typos & grammar errors.
9111
9112 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9113
9114 * manual/message.texi: Fix typos & grammar errors.
9115
9116 2016-06-16 Mike Frysinger <vapier@gentoo.org>
9117
9118 * manual/contrib.texi: Fix spelling typos.
9119 * manual/crypt.texi: Likewise.
9120 * manual/filesys.texi: Likewise.
9121 * manual/locale.texi: Likewise.
9122 * manual/message.texi: Likewise.
9123 * manual/nss.texi: Likewise.
9124 * manual/string.texi: Likewise.
9125
9126 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9127
9128 * manual/locale.texi: Fix typos & grammar errors.
9129
9130 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9131
9132 * manual/charset.texi: Fix typos & grammar errors.
9133
9134 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9135
9136 * manual/string.texi: Fix typos.
9137
9138 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9139
9140 * manual/ctype.texi: Fix typos.
9141
9142 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9143
9144 * manual/memory.texi: Fix various typos & grammar errors.
9145
9146 2016-06-14 Joseph Myers <joseph@codesourcery.com>
9147
9148 [BZ #20255]
9149 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
9150 * math/libm-test.inc (fdim_test_data): Add another test.
9151
9152 [BZ #6796]
9153 [BZ #20255]
9154 [BZ #20256]
9155 * math/s_fdim.c: Include <math_private.h>.
9156 (__fdim): Use math_narrow_eval on result.
9157 * math/s_fdimf.c: Include <math_private.h>.
9158 (__fdimf): Use math_narrow_eval on result.
9159 * sysdeps/i386/fpu/s_fdim.S: Remove file.
9160 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9161 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9162 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9163 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9164 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9165 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9166 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9167 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9168 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9169 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9170 * math/libm-test.inc (fdim_test_data): Expect errno setting on
9171 overflow. Add sNaN tests.
9172
9173 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9174 fpclassify.
9175 * math/s_fdimf.c (__fdimf): Likewise.
9176 * math/s_fdiml.c (__fdiml): Likewise.
9177
9178 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9179
9180 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9181 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9183 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9184 ifunc'ed strcasecmp/strncasecmp.
9185 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9186 [EALIGN]: Removed.
9187 [END]: Likewise.
9188 [__strcasecmp]: Define instead of the above to control symbol name.
9189 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9190 for __strcasecmp_power8.
9191 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9192 for __strncasecmp_power8.
9193 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9195 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9196 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9197 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9198 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9199
9200 2016-06-13 Joseph Myers <joseph@codesourcery.com>
9201
9202 [BZ #20252]
9203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9204 arguments when second argument is a NaN.
9205 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9206 qNaN tests.
9207
9208 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9209 (conj_test_data): Likewise.
9210 (copysign_test_data): Likewise.
9211 (creal_test_data): Likewise.
9212 (fma_test_data): Likewise.
9213 (fmod_test_data): Likewise.
9214
9215 [BZ #20250]
9216 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9217 itself.
9218 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9219 zero input to itself.
9220 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9221 Likewise.
9222 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9223 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9225 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9226 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9227
9228 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9229
9230 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9231 * nptl/tst-cancel4-common.c: New file.
9232 * nptl/tst-cancel4-common.h: Likewise.
9233 * nptl/tst-cancel4.c: Move common definitions to
9234 tst-cancel4-common.{c,h} file.
9235 * nptl/tst-cancel4_1.c: New test.
9236 * nptl/tst-cancel4_2.c: New test.
9237
9238 2016-06-13 Florian Weimer <fweimer@redhat.com>
9239
9240 [BZ #20248]
9241 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9242 (write_message): New function.
9243 (stackoverflow_handler): Call it instead of printf, to avoid
9244 excessive stack usage by printf.
9245 (do_test): Restore SIGSEGV, SIGBUS default handlers.
9246
9247 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9248
9249 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9250 (prio_inherit_missing): Remove define.
9251 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9252 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9253 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9254 Likewise.
9255 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9256 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9257 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9258 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9259 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9260 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9261
9262 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9263
9264 [BZ #19670]
9265 [BZ #19672]
9266
9267 * io/test-lfs.c (do_prepare): Use xmalloc.
9268 * io/tst-fcntl.c (do_prepare): Likewise.
9269 * libio/tst-fopenloc.c (do_bz17916): Likewise.
9270 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9271 * login/tst-utmp.c (do_prepare): Likewise.
9272 * posix/tst-exec.c (do_prepare): Likewise.
9273 * posix/tst-pathconf.c (prepare): Likewise.
9274 * posix/tst-spawn.c (do_prepare): Likewise.
9275 * posix/tst-truncate.c (do_prepare): Likewise.
9276 * rt/tst-aio.c (do_prepare): Likewise.
9277 * rt/tst-aio64.c (do_prepare): Likewise.
9278
9279 2016-06-11 Florian Weimer <fweimer@redhat.com>
9280
9281 [BZ #20237]
9282 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9283 (get*ent): Set entidx to NULL during initialization. If entidx is
9284 NULL, start iteration from the beginning.
9285
9286 2016-06-11 Florian Weimer <fweimer@redhat.com>
9287
9288 * malloc/malloc.c (musable): Return correct size for dumped fake
9289 mmapped chunk.
9290
9291 2016-06-11 Florian Weimer <fweimer@redhat.com>
9292
9293 [BZ #20222]
9294 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9295 (_IO_cookie_write): Likewise.
9296 (_IO_cookie_seek): Likewise.
9297 (_IO_cookie_close): Likewise.
9298 (_IO_old_cookie_seek): Likewise.
9299 (set_callbacks): New function.
9300 (_IO_cookie_init): Call set_callbacks to copy callbacks.
9301
9302 2016-06-11 Marko Myllynen <myllynen@redhat.com>
9303
9304 * locale/programs/localedef.c (oldstyle_tables): Remove.
9305 * locale/programs/localedef.h (oldstyle_tables): Likewise.
9306
9307 2016-06-10 Joseph Myers <joseph@codesourcery.com>
9308
9309 [BZ #20240]
9310 * math/Makefile (CFLAGS-s_modf.c): New variable.
9311 (CFLAGS-s_modff.c): Likewise.
9312 (CFLAGS-s_modfl.c): Likewise.
9313 * math/libm-test.inc (modf_test_data): Add sNaN tests.
9314
9315 2016-06-09 Carlos O'Donell <carlos@redhat.com>
9316
9317 [BZ #20215]
9318 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9319 [!__GNUC_PREREQ (3,2)]: Likewise.
9320
9321 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
9322
9323 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9324 (msghdr.msg_controllen): Likewise.
9325 (cmsghdr.cmsg_len): Likewise.
9326 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9327 ptw-oldsendmsg.
9328 (CFLAGS-oldrecvmsg.c): Remove rule.
9329 (CFLAGS-oldsendmsg.c): Likewise.
9330 (CFLAGS-recvmsg.c): Add rule.
9331 (CFLAGS-sendmsg.c): Likewise.
9332 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9333 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9334 (CFLAGS-recvmsg.c): Remove rule.
9335 (CFLAGS-sendmsg.c): Likewise.
9336 (CFLAGS-oldrecvmsg.c): Likewise.
9337 (CFLAGS-oldsendmsg.c): Likewise.
9338 (CFLAGS-recvmmsg.c): Likewise.
9339 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9340 to kernel defined interfaces.
9341 (msghdr.msg_controllen): Likewise.
9342 (cmsghdr.cmsg_len): Likewise.
9343 (msghdr.__glibc_reserved1): Remove member.
9344 (msghdr.__glibc_reserved2): Likewise.
9345 (cmsghdr.__glibc_reserved1): Likewise.
9346 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9347 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9348 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9349 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9350 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9351 version.
9352 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9353 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9354 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9355 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9356 Remove recvmsg and sendmsg.
9357 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9358 Likewise.
9359 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9360 Likewise.
9361 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9362 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9363 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9364 Likewise.
9365 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9366 Likewise.
9367 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9368 [libc] (GLIBC_2.24): Likewise.
9369 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9370 Likewise.
9371 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9372 Likewise.
9373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9374 [libc] (GLIBC_2.24): Likewise.
9375 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9376 Likewise.
9377 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9378 Likewise.
9379 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9380 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9381 Likewise.
9382 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9383 Likewise.
9384 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9385 Likewise.
9386 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9387 Likewise.
9388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9389 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9390 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9391 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9392 version for {recv,send,recm,sendm}msg.
9393 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9406 Likewise.
9407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9408 Likewise.
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9411 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9412 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9413 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9414 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9415 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9416 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9419 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9420 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9421 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9422
9423 2016-06-10 Florian Weimer <fweimer@redhat.com>
9424
9425 [BZ #19564]
9426 Remove __malloc_initialize_hook from the API.
9427 * malloc/malloc.h (__malloc_initialize_hook): Remove.
9428 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9429 #pragma GCC poison.
9430 * malloc/malloc-hooks.h: New file.
9431 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9432 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9433 (old__malloc_initialize_hook): Rename from
9434 __malloc_initialize_hook to evade poisoning. Turn into compat
9435 symbol.
9436 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9437 __malloc_initialize_hook.
9438 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9439 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9440 * manual/memory.texi (Hooks for Malloc): Remove
9441 __malloc_initialize_hook. Adjust hook example.
9442
9443 2016-06-09 Joseph Myers <joseph@codesourcery.com>
9444
9445 [BZ #20235]
9446 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9447 itself.
9448 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9449 * math/libm-test.inc (log2_test_data): Add sNaN tests.
9450
9451 [BZ #20234]
9452 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9453 infinity or NaN input to itself.
9454
9455 [BZ #20233]
9456 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9457 to itself.
9458
9459 [BZ #20232]
9460 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9461 itself.
9462
9463 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9464
9465 * sysdeps/x86_64/start.S (_start): Always indirect branch to
9466 __libc_start_main via GOT.
9467
9468 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9469
9470 * sysdeps/x86_64/memcopy.h: New file.
9471 * sysdeps/x86_64/wordcopy.c: Likewise.
9472
9473 2016-06-09 Florian Weimer <fweimer@redhat.com>
9474
9475 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9476 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9477 <cstdlib>.
9478 (optimization_barrier): New.
9479 (do_test): Use it. Call quick_exit in the global namespace.
9480 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9481 instead of <cstdlib>, <thread>.
9482 (optimization_barrier): New.
9483 (non_main_thread): Adjust declaration. Call optimization_barrier.
9484 Call quick_exit in the global namespace.
9485 (do_test): Call optimization_barrier. Use pthread_create,
9486 pthread_join instead of std::thread.
9487
9488 2016-06-09 Andreas Schwab <schwab@suse.de>
9489
9490 [BZ #19755]
9491 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9492 new entries in auto-propagate mode.
9493 * nscd/grpcache.c (cache_addgr): Likewise.
9494
9495 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9496
9497 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9498 New functions.
9499 (add_temp_file): Use them.
9500
9501 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9502
9503 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9504
9505 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9506
9507 [BZ #20229]
9508 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9509 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9510 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9511
9512 [BZ #20228]
9513 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9514 itself.
9515 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9516 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9517
9518 [BZ #20227]
9519 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9520 itself.
9521 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9522 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9523 * math/libm-test.inc (log_test_data): Add sNaN tests.
9524
9525 [BZ #20226]
9526 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9527 itself.
9528 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9529 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9530 (exp10_test_data): Likewise.
9531 (expm1_test_data): Likewise.
9532
9533 [BZ #20225]
9534 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9535 itself.
9536 * math/s_ldexpf.c (__ldexpf): Likewise.
9537 * math/s_ldexpl.c (__ldexpl): Likewise.
9538 * math/w_scalbln.c (__w_scalbln): Likewise.
9539 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9540 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9541 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9542 (scalbln_test_data): Likewise.
9543
9544 [BZ #20224]
9545 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9546 argument to itself.
9547 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9548
9549 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 [BZ #19776]
9552 * sysdeps/x86_64/memcpy.S: Make it dummy.
9553 * sysdeps/x86_64/mempcpy.S: Likewise.
9554 * sysdeps/x86_64/memmove.S: New file.
9555 * sysdeps/x86_64/memmove_chk.S: Likewise.
9556 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9557 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9558 * sysdeps/x86_64/memmove.c: Removed.
9559 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9560 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9561 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9562 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9563 Likewise.
9564 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9565 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9567 memcpy-sse2-unaligned, memmove-avx-unaligned,
9568 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9570 (__libc_ifunc_impl_list): Replace
9571 __memmove_chk_avx512_unaligned_2 with
9572 __memmove_chk_avx512_unaligned. Remove
9573 __memmove_chk_avx_unaligned_2. Replace
9574 __memmove_chk_sse2_unaligned_2 with
9575 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9576 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9577 with __memmove_avx512_unaligned. Replace
9578 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9579 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9580 with __memcpy_chk_avx512_unaligned. Remove
9581 __memcpy_chk_avx_unaligned_2. Replace
9582 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9583 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9584 Replace __memcpy_avx512_unaligned_2 with
9585 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9586 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9587 with __mempcpy_chk_avx512_unaligned. Remove
9588 __mempcpy_chk_avx_unaligned_2. Replace
9589 __mempcpy_chk_sse2_unaligned_2 with
9590 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9591 Replace __mempcpy_avx512_unaligned_2 with
9592 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9593 Replace __mempcpy_sse2_unaligned_2 with
9594 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9595 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9596 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9597 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9598 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9599 (ENTRY): Removed.
9600 (END): Likewise.
9601 (ENTRY_CHK): Likewise.
9602 (libc_hidden_builtin_def): Likewise.
9603 Don't include ../memcpy.S.
9604 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9605 __memcpy_chk_avx512_unaligned_erms and
9606 __memcpy_chk_avx512_unaligned. Use
9607 __memcpy_chk_avx_unaligned_erms and
9608 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9609 Default to __memcpy_chk_sse2_unaligned.
9610 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9611 Change function suffix from unaligned_2 to unaligned.
9612 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9613 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9614 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9615 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9616 (ENTRY): Removed.
9617 (END): Likewise.
9618 (ENTRY_CHK): Likewise.
9619 (libc_hidden_builtin_def): Likewise.
9620 Don't include ../mempcpy.S.
9621 (mempcpy): New. Add a weak alias.
9622 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9623 __mempcpy_chk_avx512_unaligned_erms and
9624 __mempcpy_chk_avx512_unaligned. Use
9625 __mempcpy_chk_avx_unaligned_erms and
9626 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9627 Default to __mempcpy_chk_sse2_unaligned.
9628
9629 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9630
9631 [BZ #19881]
9632 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9633 into ...
9634 * sysdeps/x86_64/memset.S: This.
9635 (__bzero): Removed.
9636 (__memset_tail): Likewise.
9637 (__memset_chk): Likewise.
9638 (memset): Likewise.
9639 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9640 defined.
9641 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9642 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9643 (__memset_zero_constant_len_parameter): Check SHARED instead of
9644 PIC.
9645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9646 memset-avx2 and memset-sse2-unaligned-erms.
9647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9648 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9649 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9650 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9651 (__bzero): Enabled.
9652 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9653 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9654 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9655 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9656 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9657 (memset): Removed.
9658 (__memset_chk): Likewise.
9659 (MEMSET_SYMBOL): New.
9660 (libc_hidden_builtin_def): Replace __memset_sse2 with
9661 __memset_sse2_unaligned.
9662 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9663 __memset_chk_sse2 and __memset_chk_avx2 with
9664 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9665 Use __memset_chk_sse2_unaligned_erms or
9666 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9667 __memset_chk_avx512_unaligned_erms and
9668 __memset_chk_avx512_unaligned.
9669
9670 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9671
9672 * math/gen-auto-libm-test.c (fp_format_desc): remove
9673 suffix member.
9674 (output_generic_value): Remove usage of suffix member,
9675 and the resulting unuse of the fp_format argument.
9676 (output_for_one_input_case): Remove unused fp_format
9677 parameter.
9678
9679 * math/auto-libm-test-out: Regenerate.
9680
9681 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9682 usage with TEST_COND_ibm128.
9683 (TEST_COND_flt_32): Remove.
9684 (TEST_COND_dbl_64): Remove.
9685 (TEST_COND_ldbl_96_intel): Remove.
9686 (TEST_COND_ldbl_96_m68k): Remove.
9687 (TEST_COND_ldbl_128): Remove.
9688
9689 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9690
9691 * auto-libm-test-in:
9692 Replace flt-32 usage with binary32.
9693 Replace dbl-64 usage with binary64.
9694 Replace ldbl-intel-96 usage with intel96.
9695 Replace ldbl-m68k-96 usage with m68k96.
9696 Replace ldbl-128ibm usage with ibm128.
9697 Replace ldbl-128 usage with binary128.
9698
9699 * auto-libm-test-out: Regenerate.
9700
9701 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9702
9703 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9704 (parse_ulps): Dynamically generate type name matching
9705 string from all_floats.
9706 (get_ulps): Generate the ulps as an array instead.
9707 (output_ulps): Dynamically compose the type based
9708 on the number of supported formats, and print
9709 the indices as type specific helper macros.
9710
9711 * math/libm-test.inc: Remove comment about CHOOSE.
9712 (ulp_data): Generate the type in libm-test-ulps.h.
9713 (ULP_IDX): New macro.
9714 (find_ulps): Update usage of max_ulp.
9715
9716 * math/test-double-vlen2.h (CHOOSE): Remove.
9717 * math/test-double-vlen4.h (CHOOSE): Likewise.
9718 * math/test-double-vlen8.h (CHOOSE): Likewise.
9719 * math/test-float.c (CHOOSE): Likewise.
9720 * math/test-float-finite.c (CHOOSE): Likewise.
9721 * math/test-double.c (CHOOSE): Likewise.
9722 * math/test-double-finite.c (CHOOSE): Likewise.
9723 * math/test-idouble.c (CHOOSE): Likewise.
9724 * math/test-ifloat.c (CHOOSE): Likewise.
9725 * math/test-ildoubl.c (CHOOSE): Likewise.
9726 * math/test-ldouble-finite.c (CHOOSE): Likewise.
9727 * math/test-ldouble.c (CHOOSE): Likewise.
9728
9729 * math/test-float.h (TEST_FLOAT): Remove.
9730 * math/test-double.h (TEST_DOUBLE): Likewise.
9731 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9732
9733 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9734
9735 * math/gen-libm-test.pl: (apply_lit): New subroutine.
9736 (parse_args): Strip C suffix from floating point literals
9737 typed with 'f' and wrap them with LIT().
9738
9739 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9740 (test_ff_f_data_nexttoward): Rename to
9741 (test_fj_f_data): New struct.
9742 (nexttoward_test_data): Relabel tests as
9743 TEST_fj_f instead of TEST_ff_f.
9744
9745 2016-06-08 Florian Weimer <fweimer@redhat.com>
9746
9747 Emacs bug 23726.
9748 * malloc/malloc.c (dumped_main_arena_start): Update comment.
9749 (__libc_realloc): Correct size computation for dumped fake mmapped
9750 chunks.
9751
9752 2016-06-07 Joseph Myers <joseph@codesourcery.com>
9753
9754 [BZ #20219]
9755 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9756 to itself.
9757 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9758
9759 [BZ #20218]
9760 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9761 to itself.
9762 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9763
9764 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
9765
9766 [BZ #20195]
9767 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9768 check to ...
9769 (init_cpu_features): Here.
9770
9771 2016-06-07 Carlos O'Donell <carlos@redhat.com>
9772
9773 [BZ #20214]
9774 * sysdeps/unix/sysv/linux/bits/in.h
9775 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9776 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9777 Define to 1.
9778 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9779 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9780 Define to 0.
9781 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9782 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9783
9784 2016-06-06 Carlos O'Donell <carlos@redhat.com>
9785
9786 [BZ #20198]
9787 * stdlib/Makefile (tests): Add tst-quick_exit, and
9788 tst-thread-quick_exit.
9789 [ifeq ($(have-cxx-thread_local),yes)]
9790 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9791 (CFLAGS-tst-thread-quick_exit.o): Likewise.
9792 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9793 (LDLIBS-tst-thread-quick_exit): Likewise.
9794 [ifneq ($(have-cxx-thread_local),yes)]
9795 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9796 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9797 If run_dtors is true call __call_tls_dtors.
9798 (exit): Call __run_exit_handlers with run_dtors set to true.
9799 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9800 definition.
9801 * stdlib/quick_exit.c (quick_exit): Remove function.
9802 (__new_quick_exit): New function.
9803 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9804 function.
9805 * stdlib/tst-quick_exit.cc: New file.
9806 * stdlib/tst-thread-quick_exit.cc: New file.
9807 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9808 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9809 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9810 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9811 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9812 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9813 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9814 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9815 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9816 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9817 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9818 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9819 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9820 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9821 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9822 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9827 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9828 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9829 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9830 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9831 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9834 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9835 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9836 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9837
9838 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
9839
9840 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9841 a typo in comments.
9842
9843 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9844
9845 [BZ #20213]
9846 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9847 argument to itself.
9848 * math/libm-test.inc (asin_test_data): Add sNaN tests.
9849
9850 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9851
9852 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9853 required flags.
9854 (CFLAGS-pwritev64.c): Likewise.
9855 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9856 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9857 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9858 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9859 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9860 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9861 syscall from auto-generation.
9862 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9863 [WORDSIZE == 64] (pwritev64): Remove macro.
9864 [!PWRITEV] (PWRITEV): Likewise.
9865 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9866 [!PWRITEV] (PWRITE): Likewise.
9867 [!PWRITEV] (OFF_T): Likewise.
9868 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9869 (LO_HI_LONG): Remove macro.
9870 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9871 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9872 (PWRITEV): Remove macro.
9873 (PWRITEV_REPLACEMENTE): Likewise.
9874 (PWRITE): Likewise.
9875 (OFF_T): Likewise.
9876 (pwritev64): New function.
9877 * nptl/tst-cancel4.c (tf_writev): Add test.
9878
9879 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9880 required flags.
9881 (CFLAGS-preadv64.c): Likewise.
9882 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9883 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9884 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9885 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9886 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9887 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9888 syscall from auto-generation.
9889 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9890 [WORDSIZE == 64] (preadv64): Remove macro.
9891 [!PREADV] (PREADV): Likewise.
9892 [!PREADV] (PREADV_REPLACEMENT): Likewise.
9893 [!PREADV] (PREAD): Likewise.
9894 [!PREADV] (OFF_T): Likewise.
9895 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9896 (LO_HI_LONG): Remove macro.
9897 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9898 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9899 (PREADV): Remove macro.
9900 (PREADV_REPLACEMENTE): Likewise.
9901 (PREAD): Likewise.
9902 (OFF_T): Likewise.
9903 (preadv64): New function.
9904 * nptl/tst-cancel4.c (tf_preadv): Add test.
9905
9906 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9907
9908 [BZ #20212]
9909 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9910 argument to itself.
9911 * math/libm-test.inc (acos_test_data): Add sNaN tests.
9912
9913 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9914
9915 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9916 New symbol defined as libc_hidden_def.
9917 (strcasestr): Became a weak alias to __strcasestr.
9918 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9919 according to multi-arch support. Move __stpncpy hidden
9920 definition from here to...
9921 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
9922 symbol stpncpy.
9923 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9924 libc_hidden_builtin_def.
9925 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9926 memset symbol to use when multi-arch support is available.
9927
9928 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9929
9930 * dlfcn/tst-rec-dlopen.c: Include string.h.
9931
9932 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9933
9934 * manual/install.texi: Remove mention of --without-tls
9935 * INSTALL: Regenerate.
9936
9937 2016-06-05 Florian Weimer <fweimer@redhat.com>
9938
9939 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9940 Remove.
9941 (call_function, interposed_malloc_called): New variables.
9942 (malloc): New function.
9943 (do_test): Do not change malloc hooks. Initialize malloc. Set
9944 and clear call_function as needed.
9945
9946 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
9947
9948 * include/wchar.h (__wmemset): Use __typeof.
9949
9950 2016-06-03 Carlos O'Donell <carlos@redhat.com>
9951
9952 * include/wchar.h (__wmemset): Declare function without typeof.
9953
9954 2016-06-03 Joseph Myers <joseph@codesourcery.com>
9955
9956 [BZ #20205]
9957 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9958 exponent when incrementing negative subnormal with low mantissa
9959 word zero.
9960 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9961 Add another test.
9962
9963 2016-06-03 Florian Weimer <fweimer@redhat.com>
9964
9965 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9966 __wmemset instead of wmemset.
9967
9968 2016-06-02 Carlos O'Donell <carlos@redhat.com>
9969
9970 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9971 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9972 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9973 __USE_KERNEL_IPV6_DEFS to 0.
9974 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9975 Update comment.
9976
9977 2016-06-01 Florian Weimer <fweimer@redhat.com>
9978
9979 [BZ #19861]
9980 Do not use IFUNC resolver with potentially unrelocated symbol.
9981 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9982 (DEFINE_FORK): Remove macro and inline definition.
9983 (fork_alias): Renamed from fork_ifunc.
9984 (__fork_alias): Renamed from __fork_ifunc.
9985
9986 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9987
9988 [BZ 19653]
9989 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9990 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9991
9992 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9993
9994 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9995 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9996 i386-linux-gnu).
9997 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9998 Set to no.
9999 * sysdeps/mach/hurd/configure: Refresh.
10000
10001 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10002
10003 [BZ #20178]
10004 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10005 on failure instead of exit.
10006
10007 2016-05-30 Roland McGrath <roland@hack.frob.com>
10008
10009 [BZ #3629]
10010 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10011 of POSIX.1-2008.
10012
10013 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10014
10015 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10016 Use PLT entry for calling _hurd_self_sigstate.
10017
10018 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
10019
10020 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10021 available logical processors with SMT level type sharing L2
10022 cache for Intel processors.
10023
10024 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10025
10026 [BZ #20160]
10027 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10028 argument to itself before returning the result.
10029 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10030 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10031 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10033 Likewise.
10034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10035 Likewise.
10036 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10037 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10038 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10039 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10040 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10041 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10042
10043 [BZ #20160]
10044 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10045 argument to itself before returning the result.
10046 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10047 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10048 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10049 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10050 Likewise.
10051 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10052 Likewise.
10053 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10054 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10055 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10056 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10057 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10058 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10059
10060 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10061
10062 * libm-test.inc: Replace usage of M_El with
10063 (lit_e): New macro.
10064
10065 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10066
10067 * libm-test.inc: Replace usage of M_PI_4l with
10068 (lit_pi_4_d): New macro.
10069
10070 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10071
10072 * libm-test.inc: Replace usage of M_PIl with
10073 (lit_pi): New macro.
10074
10075 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10076
10077 * libm-test.inc: Replace usage of M_PI2l with
10078 (lit_pi_2_d): New macro.
10079
10080 * math/test-double.h (LITM): New macro.
10081 * math/test-float.h (LITM): Likewise.
10082 * math/test-ldouble.h (LITM): Likewise.
10083
10084 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10085
10086 * libm-test.inc (M_PI_34l): Rename to
10087 (lit_pi_3_m_4_d): New Macro.
10088 (M_PI_34_LOG10El): Rename to
10089 (lit_pi_3_m_4_ln10_m_d): New Macro.
10090 (M_PI2_LOG10El): Rename to
10091 (lit_pi_2_ln10_m_d): New Macro.
10092 (M_PI4_LOG10El): Rename to
10093 (lit_pi_4_ln10_m_d): New Macro.
10094 (M_PI_LOG10El): Rename to
10095 (lit_pi_ln10_d): New Macro.
10096
10097 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10098
10099 [BZ #20157]
10100 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10101 determine whether to negate low half if [_ARCH_PPCGR], and integer
10102 comparison otherwise.
10103 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10104 determine whether to negate low half.
10105
10106 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10107 (NO_TEST_INLINE_DOUBLE): Likewise.
10108 (TEST_COND_x86_64): Likewise.
10109 (TEST_COND_x86): Likewise.
10110 (M_PI_6l): Likewise.
10111
10112 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10113
10114 * math/libm-test.inc:
10115 (TEST_FLOAT): Change usage to TEST_COND_binary32.
10116 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10117 (TEST_LDOUBLE): Update usage to evaluate as true if
10118 the guarded tests match the property being tested.
10119 (LDBL_MAX_EXP): Change to MAX_EXP.
10120 (LDBL_MIN_EXP): Change to MIN_EXP.
10121 (LDBL_MANT_DIG): Change to MANT_DIG, except for
10122 nexttoward tests.
10123
10124 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10125
10126 * math/libm-test.inc:
10127 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10128 (TYPE_MIN): Likewise.
10129 (TYPE_TRUE_MIN): Likewise.
10130 (TYPE_MAX): Likewise.
10131 (MIN_EXP): Likewise.
10132 (MAX_EXP): Likewise.
10133 (MANT_DIG): Likewise.
10134
10135 (FSTR_MAX): New macro.
10136 (__CONCATX): Likewise.
10137 (QTYPE_STR): Likewise.
10138 (TEST_COND_binary32): Likewise.
10139 (TEST_COND_binary64): Likewise.
10140 (TEST_COND_binary128): Likewise.
10141 (TEST_COND_ibm128): Likewise.
10142 (TEST_COND_intel96): Likewise.
10143 (TEST_COND_m68k96): Likewise.
10144
10145 (TEST_COND_flt_32): Redefine as equivalent format test macro.
10146 (TEST_COND_dbl_64): Likewise.
10147 (TEST_COND_ldbl_96_intel): Likewise.
10148 (TEST_COND_ldbl_96_m68k): Likewise.
10149 (TEST_COND_ldbl_128): Likewise.
10150 (TEST_COND_ldbl_128ibm): Likewise.
10151
10152 (plus_zero): Redefine using LIT macro.
10153 (minus_zero): Likewise.
10154 (plus_infty): Redefine as (INF).
10155 (minux_infty): Redefine as (-INF).
10156 (max_value): Redefine as TYPE_MAX.
10157 (min_value): Redefine as TYPE_MIN.
10158 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10159
10160 (print_float): Refactor to use snprintf to convert FLOAT values
10161 to string. This brings it closer to dropin replacement of strtof
10162 for the TS 18661 defined types.
10163 (update_stats): Likewise.
10164 (print_complex_function_ulps): Likewise.
10165 (print_max_error): Likewise.
10166 (print_complex_max_error): Likewise.
10167 (check_float_internal): Likewise.
10168
10169 * math/test-float.h (PREFIX): New macro.
10170 (LIT): Likewise.
10171 (TYPE_STR): Likewise.
10172 (FTOSTR): Likewise.
10173
10174 * math/test-double.h (PREFIX): New macro.
10175 (LIT): Likewise.
10176 (TYPE_STR): Likewise.
10177 (FTOSTR): Likewise.
10178
10179 * math/test-ldouble.h (PREFIX): New macro.
10180 (LIT): Likewise.
10181 (TYPE_STR): Likewise.
10182 (FTOSTR): Likewise.
10183
10184 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10185
10186 [BZ #20156]
10187 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10188 to itself when zero or not finite.
10189 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10192 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10193
10194 2016-05-26 Joseph Myers <joseph@codesourcery.com>
10195
10196 [BZ #20153]
10197 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10198 x * x + x for infinities and NaNs.
10199
10200 [BZ #20151]
10201 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10202 argument to itself before returning result.
10203 (__ieee754_y0l): Likewise.
10204 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10205 (__ieee754_y1l).
10206
10207 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10208 (atan_test_data): Likewise.
10209 (ceil_test_data): Likewise.
10210 (cos_test_data): Likewise.
10211 (cosh_test_data): Likewise.
10212 (erf_test_data): Likewise.
10213 (exp2_test_data): Likewise.
10214 (fabs_test_data): Likewise.
10215 (floor_test_data): Likewise.
10216 (ilogb_test_data): Likewise.
10217 (j0_test_data): Likewise.
10218 (j1_test_data): Likewise.
10219 (jn_test_data): Likewise.
10220 (lgamma_test_data): Likewise.
10221 (lrint_test_data): Likewise.
10222 (llrint_test_data): Likewise.
10223 (logb_test_data): Likewise.
10224 (lround_test_data): Likewise.
10225 (llround_test_data): Likewise.
10226 (nearbyint_test_data): Likewise.
10227 (rint_test_data): Likewise.
10228 (round_test_data): Likewise.
10229 (sin_test_data): Likewise.
10230 (sincos_test_data): Likewise.
10231 (sinh_test_data): Likewise.
10232 (sqrt_test_data): Likewise.
10233 (tan_test_data): Likewise.
10234 (tanh_test_data): Likewise.
10235 (tgamma_test_data): Likewise.
10236 (trunc_test_data): Likewise.
10237 (y0_test_data): Likewise.
10238 (y1_test_data): Likewise.
10239 (yn_test_data): Likewise.
10240
10241 * math/libm-test.inc: Update comment about NaN testing.
10242 (TEST_SNAN): New macro.
10243 (snan_value): Likewise.
10244 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10245 (fpclassify_test_data): Add sNaN tests.
10246 (isfinite_test_data): Likewise.
10247 (isinf_test_data): Likewise.
10248 (isnan_test_data): Likewise.
10249 (isnormal_test_data): Likewise.
10250 (issignaling_test_data): Likewise.
10251 (signbit_test_data): Likewise.
10252 * math/gen-libm-test.pl (%beautify): Add snan_value.
10253 (show_exceptions): Add argument $test_snan.
10254 (parse_args): Handle snan_value as non-finite. Update call to
10255 show_exceptions.
10256 * math/Makefile (libm-test-no-inline-cflags): Add
10257 -fsignaling-nans.
10258
10259 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10260
10261 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10262 (CFLAGS-oldsendmsg.c): Add rule.
10263 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10264 Correct recvmsg symbol name.
10265 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10266 Likewise.
10267
10268 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10269
10270 * sysdeps/unix/sysv/linux/Makefile
10271 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10272 oldsendmmsg.
10273 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10274 sendmmsg.
10275 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10276 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10277 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10278 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10280 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10281 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10283 Likewise.
10284 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10285 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10286 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10287 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10288 iovlen and controllen fields to adjust to POSIX specification.
10289 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10290
10291 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10292 and change to correct expected type.
10293 (msghdr.msg_controllen): Likewise.
10294 (cmsghdr.cmsg_len): Likewise.
10295 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10296 expected POSIX assumption about the size.
10297 (msghdr.msg_controllen): Likewise.
10298 (msghdr.__glibc_reserved1): Likewise.
10299 (msghdr.__glibc_reserved2): Likewise.
10300 (cmsghdr.cmsg_len): Likewise.
10301 (cmsghdr.__glibc_reserved1): Likewise.
10302 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10303 Add ptw-oldrecvmsg and ptw-oldsendmsg.
10304 (CFLAGS-sendmsg.c): Remove rule.
10305 (CFLAGS-recvmsg.c): Likewise.
10306 (CFLAGS-oldsendmsg.c): Add rule.
10307 (CFLAGS-oldrecvmsg.c): Likewise.
10308 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10309 recvmsg and sendmsg.
10310 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10311 Likewise.
10312 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10313 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10314 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10315 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10316 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10317 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10318 Likewise.
10319 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10320 Likewise.
10321 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10322 Likewise.
10323 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10324 Likewise.
10325 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10326 Likewise.
10327 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10328 Likewise.
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10330 (GLIBC_2.24): Likewise.
10331 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10332 Likewise.
10333 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10334 Likewise.
10335 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10336 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10337 Likewise.
10338 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10339 Likewise.
10340 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10341 Likewise.
10342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10343 (GLIBC_2.24): Likewise.
10344 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10345 Likewise.
10346 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10347 Likewise.
10348 * sysdeps/unix/sysv/linux/Makefile
10349 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10350 (CFLAGS-sendmsg.c): Add rule.
10351 (CFLAGS-recvmsg.c): Likewise.
10352 (CFLAGS-oldsendmsg.c): Likewise.
10353 (CFLAGS-oldrecvmsg.c): Likewise.
10354 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10355 initialization.
10356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10357 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10358 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10359 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10360 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10361 iovlen and controllen fields to adjust to POSIX specification.
10362 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10363 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10364 added recvmsg and sendmsg.
10365 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10366 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10367 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10368 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10369 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10370 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10371 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10372 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10373 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10374 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10376 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10378 Likewise.
10379 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10381 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10382 Likewise.
10383 Likewise.
10384 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10385 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10386 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10389 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10393 Likewise.
10394 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10395 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10396
10397 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10398 from auto-generation.
10399 (sendmsg): Likewise.
10400 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10401 (sendmsg): Likewise.
10402 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10403 (sendmsg): Likewise.
10404 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10405 (sendmsg): Likewise.
10406 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10407 (sendmsg): Likewise.
10408 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10409 (sendmsg): Likewise.
10410 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10411 Likewise.
10412 (sendmsg): Likewise.
10413 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10414 (sendmsg): Likewise.
10415 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10416 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10417 Remove.
10418 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10419 Likewise.
10420 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10421 Undefine.
10422 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10423 Likewise.
10424 * sysdeps/unix/sysv/linux/kernel-features.h
10425 (__ASSUME_SENDMSG_SYSCALL): Define.
10426 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10427 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10428 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10429 Remove.
10430 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10431 Likewise.
10432 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10433 Undefine.
10434 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10435 Likewise.
10436 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10437 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10438 Remove.
10439 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10440 Likewise.
10441 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10442 Undefine.
10443 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10444 Likewise.
10445 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10446 (__ASSUME_SENDMSG_SYSCALL): Undefine.
10447 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10448 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10449 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10450 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10451 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10452 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10453 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10454
10455 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10456
10457 * stdlib/gen-tst-strtod-round.c: Add backslash to
10458 compile command in comment.
10459 (printfp): Remove the literal suffix, and define an infinite
10460 value as INF to avoid expansion clash with INFINITY.
10461 (round_str): Remove the literal suffix.
10462 (round_for_all): Likewise, remove the now duplicate ldbl-64
10463 entry, and remove some magic constants.
10464
10465 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10466 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
10467 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10468 (_CONCAT): New macro.
10469 (CONCAT): Likewise.
10470 (CHOOSE_ld): Likewise.
10471 (CHOOSE_f): Likewise.
10472 (CHOOSE_d): Likewise.
10473 (FTYPE_MEMBER): Likewise.
10474 (BOOL_MEMBER): Likewise.
10475 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10476 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10477 (_XNTRY): Likewise.
10478 (XNTRY): Likewise.
10479 (_ENTRY): Likewise.
10480 (ENTRY): Likewise.
10481 (test_exactness): Generate members via macro.
10482 (test_results): Likewise.
10483 (test): Update members.
10484 (TEST): Redefine using new macros.
10485 (INF): New macro.
10486 (fetestmodes): New structure.
10487 (do_test): Refactor to be type generic.
10488 (test_in_one_mode): Refactor duplicate code into
10489 (GEN_ONE_TEST): New macro.
10490
10491 * stdlib/tst-strtod-round-data.h: Regenerate.
10492
10493 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10494 Extend to pass additional arbitrary parameters to
10495 generators.
10496
10497 2016-05-25 Joseph Myers <joseph@codesourcery.com>
10498
10499 [BZ #15479]
10500 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10501 floating-point state after first floating-point operation on
10502 input. Restore full floating-point state instead of just rounding
10503 mode.
10504 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10505 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10506 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10507 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10508 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10509
10510 [BZ #15479]
10511 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10512 floating-point state after first floating-point operation on
10513 input. Restore full floating-point state instead of just rounding
10514 mode.
10515 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10516 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10517 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10518 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10519 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10520
10521 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10522
10523 [BZ #19727]
10524 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10525 valid high surrogate.
10526 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10527 of an utf16 surrogate.
10528 * iconv/gconv_simple.c (BODY): Likewise.
10529 * iconvdata/bug-iconv12.c: New file.
10530 * iconvdata/Makefile (tests): Add bug-iconv12.
10531
10532 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10533
10534 [BZ #19726]
10535 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10536 outptrp in case of an illegal input.
10537 * iconv/tst-iconv6.c: New file.
10538 * iconv/Makefile (tests): Add tst-iconv6.
10539
10540 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10541
10542 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10543 an error in case of a value in range of an utf16 low surrogate.
10544
10545 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10546
10547 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10548 an error in case of a value in range of an utf16 low surrogate.
10549
10550 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10551
10552 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10553 Move to ...
10554 * sysdeps/s390/Makefile: ... here.
10555 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10556 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10557 (BRANCH_ON_COUNT): New define.
10558 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10559 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10560 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10561 run on s390-32, too.
10562 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10563 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10564 run on s390-32, too.
10565 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10566 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10567 run on s390-32, too.
10568
10569 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10570
10571 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10572 etf3eh or new vector loop-variant.
10573
10574 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10575
10576 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10577 etf3eh or new vector loop-variant.
10578
10579 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10580
10581 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10582 or new vector loop-variant.
10583
10584 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10585
10586 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10587 Rename to TR_LOOP and usage of tr instead of troo instruction.
10588
10589 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10590
10591 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10592 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10593
10594 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10595
10596 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10597 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10598 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10599 New override define.
10600 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10601
10602 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10603
10604 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10605 * sysdeps/s390/configure.ac: Add test for S390 vector register
10606 support in gcc.
10607 * sysdeps/s390/configure: Regenerated.
10608
10609 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10610
10611 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10612 Install file from $(objpfx)gconv-modules.
10613 ($(objpfx)gconv-modules): Concatenate architecture specific file
10614 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10615 * sysdeps/s390/gconv-modules: New file.
10616 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10617 Deleted.
10618 ($(objpfx)gconv-modules-s390): Deleted.
10619 (sysdeps-gconv-modules): New variable.
10620
10621 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10622
10623 [BZ #15479]
10624 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10625 of immediate operand to rounding instruction.
10626 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10627 Likewise.
10628 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10629 Likewise.
10630 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10631 Likewise.
10632
10633 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10634
10635 * math/libm-test.inc (MIN_EXP): Directly define as
10636 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10637
10638 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10639
10640 * math/libm-test.inc (MANT_DIG): Directly define as
10641 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10642
10643 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10644
10645 * stdlib/gen-tst-strtod-round.c (main):
10646 Change usage to more closely match the generated
10647 output. Add usage and compilation instructions.
10648 (string_to_fp): Add and use FILE* parameter as
10649 output target.
10650 (print_fp): Likewise.
10651 (round_str): Likewise.
10652 (round_for_all): Likewise.
10653 * stdlib/tst-strtod-round.c (tests): Move into
10654 * stdlib/tst-strtod-round-data.h: New file.
10655
10656 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10657
10658 [BZ #15479]
10659 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10660 (__round): Do not force "inexact" exception.
10661 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10662 variable.
10663 (__round): Do not force "inexact" exception.
10664 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10665 (__roundf): Do not force "inexact" exception.
10666 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10667 (__roundl): Do not force "inexact" exception.
10668 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10669 (__roundl): Do not force "inexact" exception.
10670 * math/libm-test.inc (round_test_data): Do not allow spurious
10671 "inexact" exceptions.
10672
10673 [BZ #15479]
10674 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10675 exception in comment.
10676 (huge): Remove variable.
10677 (__floor): Do not force "inexact" exception.
10678 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10679 "inexact" exception in comment.
10680 (huge): Remove variable.
10681 (__floor): Do not force "inexact" exception.
10682 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10683 exception in comment.
10684 (huge): Remove variable.
10685 (__floorf): Do not force "inexact" exception.
10686 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10687 exception in comment.
10688 (huge): Remove variable.
10689 (__floorl): Do not force "inexact" exception.
10690
10691 [BZ #15479]
10692 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10693 exception in comment.
10694 (huge): Remove variable.
10695 (__ceil): Do not force "inexact" exception.
10696 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10697 "inexact" exception in comment.
10698 (huge): Remove variable.
10699 (__ceil): Do not force "inexact" exception.
10700 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10701 (__ceilf): Do not force "inexact" exception.
10702 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10703 exception in comment.
10704 (huge): Remove variable.
10705 (__ceill): Do not force "inexact" exception.
10706
10707 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
10708
10709 * config.h.in (BIND_NOW): New.
10710 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
10711 * configure: Regenerated.
10712 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10713 indirect branch via the GOT slot.
10714
10715 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10716
10717 [BZ #19765]
10718 * sysdeps/s390/mempcpy.S: New File.
10719 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10720 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10721 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10722 Add mempcpy variants.
10723 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10724 (memcpy): Adjust to be usable from mempcpy entry point.
10725 (__memcpy_mvcle): Likewise.
10726 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10727 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10728 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10729 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10730 (__memcpy_z10): Likewise.
10731 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10732
10733 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10734
10735 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10736 Remove __GI_ symbol.
10737 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10738 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10739 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10740 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10741 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10742 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10743
10744 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10745
10746 * sysdeps/s390/s390-64/memcpy.S (memcpy):
10747 Use cghi instead of chi to compare 64bit value.
10748
10749 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10750
10751 * sysdeps/s390/s390-32/memcpy.S (memcpy):
10752 Jump to 1MB check before executing mvc-loop.
10753
10754 2016-05-24 Florian Weimer <fweimer@redhat.com>
10755
10756 [BZ #6527]
10757 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10758 unconditionally.
10759 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10760
10761 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10762
10763 * stdlib/tst-strtod6.c (do_test): Use new type generic
10764 invocation of the test function.
10765 (test): Refactor into ...
10766 (TEST_STRTOD): New macro base function.
10767
10768 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10769
10770 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10771 (TEST_STRTOD): New macro.
10772 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10773
10774 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10775
10776 * stdlib/tst-strtod6.c (do_test): Use new type generic
10777 invocation of the test function.
10778 (test): Refactor into ...
10779 (TEST_STRTOD): New macro base function.
10780
10781 2016-05-23 Florian Weimer <fweimer@redhat.com>
10782
10783 CVE-2016-4429
10784 [BZ #20112]
10785 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10786 payload.
10787
10788 2016-05-23 Florian Weimer <fweimer@redhat.com>
10789
10790 [BZ #20111]
10791 * bits/sockaddr.h (_SS_SIZE): Define.
10792 * bits/socket.h (_SS_SIZE): Remove.
10793 (_SS_PADSIZE): Adjust to account for all padding.
10794 (struct sockaddr_storage): Update comment. Avoid implicit
10795 padding.
10796 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10797 (_SS_PADSIZE): Adjust to account for all padding.
10798 (struct sockaddr_storage): Update comment. Avoid implicit
10799 padding.
10800 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10801 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10802 (_SS_PADSIZE): Adjust to account for all padding.
10803 (struct sockaddr_storage): Update comment. Avoid implicit
10804 padding.
10805 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10806 __SS_SIZE is 126 in this version.
10807 * inet/tst-sockaddr.c: New file.
10808 * inet/Makefile (tests): Add tst-sockaddr.c
10809 (tst-sockaddr.c): Compile with non-strict aliasing.
10810
10811 2016-05-23 Joseph Myers <joseph@codesourcery.com>
10812
10813 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10814 [XPG3 || XPG4].
10815 (NL_ARGMAX): Also expect for [XPG3].
10816 (NL_LANGMAX): Likewise.
10817 (NL_MSGMAX): Likewise.
10818 (NL_NMAX): Likewise.
10819 (NL_SETMAX): Likewise.
10820 (NL_TEXTMAX): Likewise.
10821 (NZERO): Likewise.
10822 (TMP_MAX): Likewise.
10823 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10824 variable.
10825
10826 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10827 (PF_MAX): Update value.
10828 (AF_KCM): New macro.
10829 (SOL_NETBEUI): Likewise.
10830 (SOL_LLC): Likewise.
10831 (SOL_DCCP): Likewise.
10832 (SOL_NETLINK): Likewise.
10833 (SOL_TIPC): Likewise.
10834 (SOL_RXRPC): Likewise.
10835 (SOL_PPPOL2TP): Likewise.
10836 (SOL_BLUETOOTH): Likewise.
10837 (SOL_PNPIPE): Likewise.
10838 (SOL_RDS): Likewise.
10839 (SOL_IUCV): Likewise.
10840 (SOL_CAIF): Likewise.
10841 (SOL_ALG): Likewise.
10842 (SOL_NFC): Likewise.
10843 (SOL_KCM): Likewise.
10844 (MSG_BATCH): New enum value and macro.
10845
10846 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
10847
10848 [BZ #18185]
10849 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10850 sharing L2 cache to 2 for Knights Landing.
10851
10852 2016-05-20 Joseph Myers <joseph@codesourcery.com>
10853
10854 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10855 (FTW_DP): Do not expect for [XPG3 || XPG4].
10856 (FTW_SL): Do not expect for [XPG3].
10857 (FTW_SLN): Likewise.
10858 (FTW_PHYS): Likewise.
10859 (FTW_MOUNT): Likewise.
10860 (FTW_DEPTH): Likewise.
10861 (FTW_CHDIR): Likewise.
10862 (nftw): Likewise.
10863 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10864 variable.
10865
10866 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10867
10868 * manual/errno.texi: Fix various typos & grammar errors.
10869
10870 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10871
10872 * manual/intro.texi: Fix duplicated typo.
10873
10874 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10875
10876 [BZ #13304]
10877 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10878 <float.h>, <math_private.h> and <stdlib.h>.
10879 (add_split): New function.
10880 (mul_split): Likewise.
10881 (ext_val): New typedef.
10882 (store_ext_val): New function.
10883 (mul_ext_val): New function.
10884 (compare): New function.
10885 (add_split_ext): New function.
10886 (__fmal): After checking for Inf, NaN and zero, compute result as
10887 an exact sum of scaled double values in round-to-nearest before
10888 adding those up and adjusting for other rounding modes.
10889 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10890 tests of fma.
10891 * math/auto-libm-test-out: Regenerated.
10892
10893 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10894
10895 [BZ #20119]
10896 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10897 processor level type mask for CPUID with EAX == 11.
10898
10899 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10900
10901 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10902 logical threads if the HTT bit is 0.
10903 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10904 (index_cpu_HTT): Likewise.
10905 (reg_HTT): Likewise.
10906
10907 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10908
10909 [BZ #20115]
10910 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10911 Remove alignments on jump targets.
10912
10913 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10914
10915 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10916 (getpwent): Likewise.
10917 (setpwent): Likewise.
10918 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10919 variable.
10920
10921 * conform/data/search.h-data (insque): Do not expect for [XPG3].
10922 (remque): Likewise.
10923 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10924 variable.
10925
10926 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10927
10928 * math/libm-test.inc: Update comment not to refer to signs of NaNs
10929 not being tested.
10930
10931 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10932
10933 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10934 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
10935 call.
10936 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10937 (__condvar_cleanup1): Likewise.
10938
10939 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10940
10941 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10942 New
10943 (__pthread_unwind): Renamed to ...
10944 (PTHREAD_UNWIND): This.
10945 (__pthread_enable_asynccancel): Replace
10946 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10947
10948 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10949
10950 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10951 (CLONE_NEWCGROUP): New macro.
10952
10953 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10954 (Q_GETNEXTQUOTA): New macro.
10955
10956 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10957
10958 [BZ #19907]
10959 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10960 buffer updated by the previous run.
10961 * string/test-memcpy.c (do_one_test): Likewise.
10962 * benchtests/bench-memmove.c (do_one_test): Add a comment.
10963 * string/test-memmove.c (do_one_test): Likewise.
10964
10965 2016-05-17 Joseph Myers <joseph@codesourcery.com>
10966
10967 [BZ #20094]
10968 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10969 not [__USE_XOPEN].
10970 (unlockpt): Likewise.
10971 (ptsname): Likewise.
10972 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10973 variable.
10974
10975 [BZ #20076]
10976 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10977 instead of [__USE_UNIX98].
10978 (S_ISSOCK): Likewise.
10979 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10980 variable.
10981
10982 [BZ #20074]
10983 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10984 [__USE_POSIX].
10985 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10986 variable.
10987
10988 [BZ #20051]
10989 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10990 (ttyslot): Do not declare.
10991 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10992 (ttyslot): New prototype.
10993 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10994 variable.
10995 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10996
10997 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10998
10999 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11000
11001 2016-05-13 Florian Weimer <fweimer@redhat.com>
11002
11003 Fix race condition in tst-mallocfork2, use fewer resources.
11004 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11005 to current process group.
11006 (signal_sender): Yield in the non-sleeping case.
11007
11008 2016-05-13 Joseph Myers <joseph@codesourcery.com>
11009
11010 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11011 (ecvt): Likewise.
11012 (fcvt): Likewise.
11013 (gcvt): Likewise.
11014 (getsubopt): Likewise.
11015 (grantpt): Likewise.
11016 (initstate): Likewise.
11017 (l64a): Likewise.
11018 (mktemp): Likewise.
11019 (mkstemp): Likewise.
11020 (ptsname): Likewise.
11021 (random): Likewise.
11022 (realpath): Likewise.
11023 (setstate): Likewise.
11024 (srandom): Likewise.
11025 (ttyslot): Likewise.
11026 (unlockpt): Likewise.
11027 (valloc): Likewise.
11028
11029 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11030 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11031 variable.
11032
11033 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11034
11035 [BZ #20072]
11036 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11037 init_cpu_features only if SHARED is defined.
11038 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11039
11040 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11041
11042 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11043 non-inclusive caches on Intel processors.
11044
11045 2016-05-13 Florian Weimer <fweimer@redhat.com>
11046
11047 * malloc/malloc.c (dumped_main_arena_start)
11048 (dumped_main_arena_end): New variables.
11049 (DUMPED_MAIN_ARENA_CHUNK): New macro.
11050 (do_check_chunk): Skip dumped fake mmapped chunks.
11051 (munmap_chunk): Likewise.
11052 (__libc_free): Do not adjust statistics for fake mmapped chunks.
11053 (__libc_realloc): Adjust hardening check. Always copy dumped fake
11054 mmapped chunks.
11055 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11056 Mark dumped chunks as using mmap. Update dumped_main_arena_start
11057 and dumped_main_arena_end to cover the dumped heap.
11058
11059 2016-05-12 Joseph Myers <joseph@codesourcery.com>
11060
11061 * conform/data/time.h-data (getdate_err): Do not expect for
11062 [XPG3].
11063 (getdate): Likewise.
11064 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11065 variable.
11066
11067 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11068 (F_ULOCK): Likewise.
11069 (F_TEST): Likewise.
11070 (F_TLOCK): Likewise.
11071 (useconds_t): Likewise.
11072 (intptr_t): Do not expect for [XPG3] or [XPG4].
11073 (brk): Do not expect for [XPG3]
11074 (fchown): Likewise.
11075 (fchdir): Likewise.
11076 (ftruncate): Likewise.
11077 (getdtablesize): Likewise.
11078 (gethostid): Likewise.
11079 (getpagesize): Likewise.
11080 (getpgid): Likewise.
11081 (getsid): Likewise.
11082 (getwd): Likewise.
11083 (lchown): Likewise.
11084 (lockf): Likewise.
11085 (readlink): Likewise.
11086 (sbrk): Likewise.
11087 (setpgrp): Likewise.
11088 (setregid): Likewise.
11089 (setreuid): Likewise.
11090 (symlink): Likewise.
11091 (sync): Likewise.
11092 (truncate): Likewise.
11093 (ualarm): Likewise.
11094 (usleep): Likewise.
11095 (vfork): Likewise.
11096 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11097 variable.
11098
11099 [BZ #20054]
11100 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11101 not [__USE_UNIX98].
11102 * conform/data/unistd.h-data (gethostname): Do not expect for
11103 [XPG3].
11104
11105 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11106 [!POSIX] (S_IFBLK): Likewise.
11107 [!POSIX] (S_IFCHR): Likewise.
11108 [!POSIX] (S_IFIFO): Likewise.
11109 [!POSIX] (S_IFREG): Likewise.
11110 [!POSIX] (S_IFDIR): Likewise.
11111 [!POSIX] (S_IFLNK): Likewise.
11112 [!POSIX] (S_IFSOCK): Likewise.
11113 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11114 variable.
11115 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11116
11117 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
11118
11119 * sysdeps/aarch64/memset.S (__memset):
11120 Rewrite of optimized memset.
11121
11122 2016-05-12 Florian Weimer <fweimer@redhat.com>
11123
11124 [BZ #19703]
11125 Partially async-signal-safe fork for single-threaded processes.
11126 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11127 variable. Do not acquire and reset/release malloc and libio locks
11128 in single-threaded processes.
11129 * malloc/tst-mallocfork2.c: New file.
11130 * malloc/Makefile (tests): Add it.
11131
11132 2016-05-12 Florian Weimer <fweimer@redhat.com>
11133
11134 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11135 argument. Use scratch buffer instead of extend_alloca.
11136 (gethosts): Use scratch buffer instead of extend_alloca.
11137 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
11138 extend_alloca.
11139 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11140
11141 2016-05-11 Joseph Myers <joseph@codesourcery.com>
11142
11143 [BZ #20055]
11144 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11145 instead of [__USE_UNIX98].
11146 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11147 [__USE_UNIX98].
11148 * conform/data/termios.h-data (tcgetsid): Do not expect for
11149 [XPG3].
11150 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11151 variable.
11152 (test-xfail-XPG4/termios.h/conform): Likewise.
11153
11154 2016-05-11 Florian Weimer <fweimer@redhat.com>
11155
11156 Do not use mcheck in localedef.
11157 * locale/programs/localedef.c (turn_on_mcheck)
11158 (__malloc_initialize_hook): Remove.
11159
11160 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11161
11162 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11163 * sysdeps/s390/s390-64/Makefile: Likewise.
11164
11165 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
11166
11167 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11168 Remove ifunc-defines.sym.
11169 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11170 Likewise.
11171 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11172 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11173 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11174 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11175 rtld-global-offsets.sym.
11176 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11177 * sysdeps/x86/cpu-features-offsets.sym: This.
11178 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11179 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11180
11181 2016-05-10 Joseph Myers <joseph@codesourcery.com>
11182
11183 [BZ #20073]
11184 * io/sys/stat.h (fchmod): Declare for
11185 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11186 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11187 variable.
11188
11189 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11190 [XPG3] (S_IFSOCK): Likewise.
11191 [XPG3] (S_ISVTX): Likewise.
11192 [XPG3] (S_ISLNK): Likewise.
11193 [XPG3] (S_ISSOCK): Likewise.
11194 [XPG3] (fchmod): Likewise.
11195 [XPG3] (lstat): Likewise.
11196 [XPG3] (mknod): Likewise.
11197
11198 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11199 [XPG3]. Expect type long and XFAIL for [XPG4].
11200 (st_blocks): Likewise.
11201
11202 [BZ #20044]
11203 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11204 (pthread_atfork): New prototype.
11205 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11206 variable.
11207
11208 [BZ #20043]
11209 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11210 prototype.
11211
11212 2016-05-10 Florian Weimer <fweimer@redhat.com>
11213
11214 [BZ #20017]
11215 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11216 gmtime.
11217
11218 2016-05-10 Florian Weimer <fweimer@redhat.com>
11219
11220 [BZ #19994]
11221 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11222 flag in _res.options.
11223
11224 2016-05-09 Joseph Myers <joseph@codesourcery.com>
11225
11226 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11227 [XPG3 || XPG4].
11228 (blksize_t): Likewise.
11229 (clockid_t): Likewise.
11230 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11231 variable.
11232 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11233
11234 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11235
11236 * sysdeps/unix/sysv/linux/s390/init-first.c:
11237 Add VDSO_SYMBOL(getcpu).
11238 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11239 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11240 Add VDSO_SYMBOL(getcpu).
11241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11242 New define HAVE_GETCPU_VSYSCALL.
11243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11244
11245 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11248 instead of <sysdeps/x86_64/cacheinfo.c>.
11249 * sysdeps/x86_64/cacheinfo.c: Moved to ...
11250 * sysdeps/x86/cacheinfo.c: Here.
11251
11252 2016-05-04 Florian Weimer <fweimer@redhat.com>
11253
11254 * malloc/malloc-internal.h: Adjust header file guard.
11255
11256 2016-05-04 Florian Weimer <fweimer@redhat.com>
11257
11258 [BZ #19787]
11259 * inet/getnameinfo.c (check_sprintf_result): New function.
11260 (CHECKED_SNPRINTF): New macro.
11261 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11262 to the host buffer.
11263 (gni_host_local): Use checked_copy to copy the host name.
11264 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11265 (gni_serv_local): Use checked_copy to copy the service name.
11266 (getnameinfo): Remove unnecessary truncation of result buffers.
11267
11268 2016-05-04 Florian Weimer <fweimer@redhat.com>
11269
11270 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11271 in case of inet_ntop failure.
11272
11273 2016-05-04 Florian Weimer <fweimer@redhat.com>
11274
11275 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11276 avoid long lines.
11277 (gni_host_inet_numeric): Likewise. Reduce scope of local
11278 variables.
11279 (gni_host_inet, gni_host_local): Add comment.
11280 (gni_host): Add comment. Use temporary to avoid long lines.
11281
11282 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11283
11284 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11285 registers specifiers where general purpose registers specifiers should
11286 have been used.
11287
11288 2016-05-04 Florian Weimer <fweimer@redhat.com>
11289
11290 [BZ #19779]
11291 CVE-2016-1234
11292 Avoid copying names of directory entries.
11293 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11294 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11295 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11296 (struct readdir_result): New type.
11297 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11298 (GL_READDIR): New macros.
11299 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11300 (convert_dirent, convert_dirent64): New functions.
11301 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
11302 convert_dirent64. Adjust references to the readdir result.
11303 * sysdeps/unix/sysv/linux/i386/glob64.c:
11304 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11305 * posix/bug-glob2.c (LONG_NAME): Define.
11306 (filesystem): Add LONG_NAME.
11307 (my_DIR): Increase the size of room_for_dirent.
11308
11309 2016-05-03 Joseph Myers <joseph@codesourcery.com>
11310
11311 [BZ #20041]
11312 * misc/sys/select.h (__need_timespec): Only define if
11313 [__USE_XOPEN2K].
11314 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11315 variable.
11316 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11317 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11318 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11319
11320 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11321 Segher Boessenkool <segher@gcc.gnu.org>
11322
11323 [BZ #20004]
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11325 (__novec_swapcontext): Add missing load.
11326
11327 2016-05-02 Joseph Myers <joseph@codesourcery.com>
11328
11329 [BZ #20023]
11330 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11331 <time.h>.
11332 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11333 variable.
11334 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11335
11336 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11337
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11339 flags CLONE_VM compare.
11340
11341 2016-05-02 Florian Weimer <fweimer@redhat.com>
11342
11343 [BZ #20031]
11344 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11345 completely empty.
11346
11347 2016-05-02 Florian Weimer <fweimer@redhat.com>
11348
11349 [BZ #19573]
11350 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11351 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11352 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11353 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11354 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11355 (hesiod_free_list): Mark as hidden.
11356 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11357 res_set, res_get.
11358 * hesiod/hesiod.c: Remove unnecessary forward declarations.
11359 (init, __hesiod_res_get, __hesiod_res_set): Remove.
11360 (hesiod_init): Remove obsolete res_ninit call.
11361 (hesiod_end): Do not free resolver state. Do not invoke callback.
11362 (hesiod_bind): Do not call init.
11363 (get_txt_records): Use res_mkquery, res_send instead of
11364 res_nmkquery, res_nsend.
11365 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11366 instead of _nss_hesiod_init.
11367 (_nss_hesiod_initgroups_dyn): Likewise.
11368 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11369 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11370 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11371
11372 2016-05-02 Florian Weimer <fweimer@redhat.com>
11373
11374 * hesiod/hesiod_p.h (DEF_RHS): Remove.
11375 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11376
11377 2016-05-02 Florian Weimer <fweimer@redhat.com>
11378
11379 * hesiod/hesiod.h: Remove RCS keyword.
11380 * hesiod/hesiod_p.h: Likewise.
11381
11382 * hesiod/hesiod.c: Likewise.
11383
11384 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
11385
11386 [BZ #12450]
11387 * locale/iso-639.def: Add Samogitian/sgs.
11388
11389 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
11390
11391 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11392
11393 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11394
11395 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
11396 Carlos O'Donell <carlos@redhat.com>
11397
11398 [BZ #19072]
11399 * grp/Makefile (headers): Add grp-merge.h
11400 (routines): Add grp-merge.
11401 * grp/getgrgid_r.c: Include grp-merge.h.
11402 (DEEPCOPY_FN): Define.
11403 (MERGE_FN): Define.
11404 * grp/getgrname_r.c: Include grp-merge.h.
11405 (DEEPCOPY_FN): Define.
11406 (MERGE_FN): Define.
11407 * grp/grp-merge.c: New file.
11408 * grp/grp-merge.h: New file.
11409 * include/grp-merge.h: New file.
11410 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11411 __copy_grp@GLIBC_PRIVATE.
11412 * manual/nss.texi (Actions in the NSS configuration): Describe
11413 return, continue, and merge.
11414 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11415 (DEEPCOPY_FN): Define.
11416 (MERGE_FN): Define.
11417 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11418 (DEEPCOPY_FN): Define.
11419 (MERGE_FN): Define.
11420 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11421 [!MERGE_FN]: Define __merge_einval.
11422 (CHECK_MERGE): Define.
11423 (REENTRANT_NAME): Process merge if do_merge is true.
11424 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11425 (__nss_getent_r): Likewise.
11426 * nss/nsswitch.c (nss_parse_service_list): Likewise.
11427 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11428
11429 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11430
11431 [BZ #20012]
11432 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11433 length to calculate the buffer to read.
11434 (fmemopen_write): Set the buffer position based on bytes written.
11435 (fmemopen_seek): Return EINVAL for invalid whence modes.
11436
11437 [BZ #19957]
11438 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11439 tst-getpid2.
11440 (test): Add tst-clone2.
11441 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11442 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11443 pid/tid fields for CLONE_VM.
11444 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11445 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11446 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11447 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11448 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11449 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11450 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11451 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11453 Likewise.
11454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11455 Likewise.
11456 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11457 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11458 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11459 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11460 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11461 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11462 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11463 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11464
11465 2016-04-29 Florian Weimer <fweimer@redhat.com>
11466
11467 [BZ #19642]
11468 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11469 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11470 (gni_serv_local, gni_serv): New functions extracted from
11471 getnameinfo.
11472 (getnameinfo): Call gni_host and gni_serv to perform the
11473 processing. Always free scratch buffer.
11474
11475 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11476
11477 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11478 remaining bytes in the dest string, with zeros.
11479
11480 2016-04-29 Florian Weimer <fweimer@redhat.com>
11481
11482 [BZ #20010]
11483 CVE-2016-3706
11484 * sysdeps/posix/getaddrinfo.c
11485 (convert_hostent_to_gaih_addrtuple): New function.
11486 (gethosts): Call convert_hostent_to_gaih_addrtuple.
11487 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11488 AF_INET data.
11489
11490 2016-04-29 Florian Weimer <fweimer@redhat.com>
11491
11492 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11493 callback function gl_readdir.
11494 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11495 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11496 (glob_in_dir): Remove len. Use strdup instead of malloc and
11497 memcpy to copy the name.
11498 * manual/pattern.texi (Calling Glob): Document requirements for
11499 implementations of the gl_readdir callback function.
11500 * manual/examples/mkdirent.c: New example.
11501 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11502 per the manual guidance.
11503 * posix/tst-gnuglob.c (my_readdir): Likewise.
11504
11505 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11506
11507 [BZ #20014]
11508 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11509 not [__USE_POSIX].
11510 (getchar_unlocked): Likewise.
11511 (putc_unlocked): Likewise.
11512 (putchar_unlocked): Likewise.
11513 (flockfile): Likewise.
11514 (ftrylockfile): Likewise.
11515 (funlockfile): Likewise.
11516 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11517 variable.
11518 (test-xfail-XPG4/stdio.h/conform): Likewise.
11519
11520 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11521 Expect constant.
11522 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11523 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11524 variable.
11525 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11526 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11527
11528 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11529 [__USE_LARGEFILE64] (off64_t): Likewise.
11530 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11531 variable.
11532
11533 2016-04-28 Florian Weimer <fweimer@redhat.com>
11534
11535 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11536
11537 2016-04-28 Florian Weimer <fweimer@redhat.com>
11538
11539 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11540 * resolv/res_init.c: Likewise.
11541 * resolv/res_mkquery.c: Likewise.
11542
11543 2016-04-28 Florian Weimer <fweimer@redhat.com>
11544
11545 * resolv/res_init.c (isascii): Do not define. Use definition in
11546 <ctype.h>.
11547 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11548 (LOG_AUTH): Remove.
11549 (SPRINTF): Remove, adjust caller.
11550 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11551
11552 2016-04-28 Florian Weimer <fweimer@redhat.com>
11553
11554 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11555 SUNSECURITY conditional.
11556 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11557
11558 2016-04-28 Florian Weimer <fweimer@redhat.com>
11559
11560 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11561 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11562 Remove BSD-related preprocessor conditionals.
11563 * conf/portability.h: Remove.
11564
11565 2016-04-28 Florian Weimer <fweimer@redhat.com>
11566
11567 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11568 * resolv/res_data.c: Likewise.
11569
11570 2016-04-28 Florian Weimer <fweimer@redhat.com>
11571
11572 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11573 * resolv/res_data.c: Remove code conditional on ultrix.
11574
11575 2016-04-28 Florian Weimer <fweimer@redhat.com>
11576
11577 * resolv/res_init.c (RFC1535): Do not define. Remove
11578 RFC1535 preprocessor conditionals.
11579 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11580 because there configuration options which make the resolver
11581 behavior different.
11582
11583 2016-04-28 Florian Weimer <fweimer@redhat.com>
11584
11585 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11586 RESOLVSORT preprocessor conditionals.
11587 * resolv/nss_dns/dns-host.c: Likewise.
11588 * resolv/res_init.c: Likewise.
11589
11590 2016-04-28 Florian Weimer <fweimer@redhat.com>
11591
11592 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11593 is never defined.
11594
11595 2016-04-28 Florian Weimer <fweimer@redhat.com>
11596
11597 * inet/inet_lnaof.c: Remove SCSS keyword.
11598 * inet/inet_mkadr.c: Likewise.
11599 * inet/inet_net.c: Likewise.
11600 * inet/inet_netof.c: Likewise.
11601 * inet/rcmd.c: Likewise.
11602 * inet/rexec.c: Likewise.
11603 * inet/ruserpass.c: Likewise.
11604
11605 2016-04-28 Florian Weimer <fweimer@redhat.com>
11606
11607 * resolv/inet_addr.c: Remove _LIBC conditionals.
11608 * resolv/res_data.c: Likewise.
11609 * resolv/res_init.c: Likewise.
11610 * resolv/res_mkquery.c: Likewise.
11611 * resolv/res_libc.c: Update comment.
11612 * resolv/README: Update.
11613
11614 2016-04-28 Florian Weimer <fweimer@redhat.com>
11615
11616 * resolv/gethnamaddr.c: Remove SCSS keyword.
11617 * resolv/herror.c: Likewise.
11618 * resolv/inet_addr.c: Likewise.
11619 * resolv/inet_net_ntop.c: Likewise.
11620 * resolv/inet_net_pton.c: Likewise.
11621 * resolv/inet_neta.c: Likewise.
11622 * resolv/inet_ntop.c: Likewise.
11623 * resolv/inet_pton.c: Likewise.
11624 * resolv/ns_date.c: Remove RCS keyword.
11625 * resolv/ns_name.c: Likewise.
11626 * resolv/ns_netint.c: Likewise.
11627 * resolv/ns_parse.c: Likewise.
11628 * resolv/ns_print.c: Likewise.
11629 * resolv/ns_samedomain.c: Likewise.
11630 * resolv/ns_ttl.c: Likewise.
11631 * resolv/nsap_addr.c: Likewise.
11632 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11633 * resolv/res_data.c: Remove RCS keyword.
11634 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11635 * resolv/res_init.c: Likewise.
11636 * resolv/res_mkquery.c: Likewise.
11637 * resolv/res_query.c: Likewise.
11638 * resolv/res_send.c: Likewise.
11639
11640 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11641
11642 * conform/data/stdio.h-data (fdopen): Expect also for
11643 [XPG3 || XPG4].
11644
11645 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11646 (fseeko): Likewise.
11647 (ftello): Likewise.
11648 (ftrylockfile): Likewise.
11649 (funlockfile): Likewise.
11650 (getc_unlocked): Likewise.
11651 (getchar_unlocked): Likewise.
11652 (putc_unlocked): Likewise.
11653 (putchar_unlocked): Likewise.
11654
11655 2016-04-27 Florian Weimer <fweimer@redhat.com>
11656
11657 [BZ #19868]
11658 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11659 DNS packet syntax checks (which were not needed before). Skip
11660 over non-PTR records.
11661
11662 2016-04-27 Florian Weimer <fweimer@redhat.com>
11663
11664 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11665 definition. Include <stddef.h> instead.
11666
11667 2016-04-27 Florian Weimer <fweimer@redhat.com>
11668
11669 [BZ #19831]
11670 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11671 function.
11672 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11673 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11674
11675 2016-04-27 Florian Weimer <fweimer@redhat.com>
11676
11677 [BZ #19862]
11678 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11679 (getanswer_r): Do not call syslog.
11680 (gaih_getanswer_slice): Likewise.
11681 * resolv/gethnamaddr.c (AskedForGot): Remove.
11682 (getanswer): Do not call syslog.
11683 (gethostbyaddr): Likewise.
11684
11685 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11686
11687 * conform/data/signal.h-data (union sigval): Expect also if
11688 [XOPEN2K].
11689 (struct sigevent): Likewise.
11690 (SIGEV_NONE): Likewise.
11691 (SIGEV_SIGNAL): Likewise.
11692 (SIGEV_THREAD): Likewise.
11693 (SIGRTMIN): Likewise.
11694 (SIGRTMAX): Likewise.
11695 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11696 variable.
11697 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11698
11699 2016-04-27 Florian Weimer <fweimer@redhat.com>
11700
11701 [BZ #19830]
11702 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11703 (gaih_getanswer_slice): Likewise.
11704 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11705 Also check for availability of RR metadata.
11706
11707 2016-04-27 Florian Weimer <fweimer@redhat.com>
11708
11709 [BZ #19825]
11710 * resolv/res_send.c (send_vc): Remove early *resplen2
11711 initialization. Set *resplen2 on socket error. Call
11712 close_and_return_error for other errors.
11713
11714 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11715
11716 * sysdeps/unix/sysv/linux/netiucv/iucv.h
11717 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11718 (SCM_IUCV_TRGCLS): New define.
11719
11720 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11721
11722 [BZ #20005]
11723 * libio/fmemopen.c (fmemopen_write): Update internal position after
11724 write.
11725 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11726 * stdio-common/tst-fmemopen4.c: New file..
11727
11728 2016-04-26 Joseph Myers <joseph@codesourcery.com>
11729
11730 [BZ #19996]
11731 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11732 not [__USE_XOPEN2K].
11733 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11734 variable.
11735
11736 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11737 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11738 variable.
11739
11740 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11741 [__USE_XOPEN2K8].
11742 [__USE_LARGEFILE64] (off64_t): Likewise.
11743 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11744 variable.
11745
11746 2016-04-25 Joseph Myers <joseph@codesourcery.com>
11747
11748 [BZ #19989]
11749 * libio/stdio.h (cuserid): Do not declare if
11750 [__USE_XOPEN2K && !__USE_GNU].
11751 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11752 variable.
11753
11754 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11755
11756 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11757 (sysdep_routines): Add P8 and PPC64 strcspn targets.
11758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11759 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11760 ifunc'ed strcspn.
11761 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11762 [EALIGN]: Removed.
11763 [END]: Likewise
11764 [STRSPN]: Define instead of the above to control symbol name.
11765 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11766 New file.
11767 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11768 Likewise.
11769 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11770 Likewise.
11771 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11772 Likewise.
11773 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11774 [INITIAL_MASK]: New macro.
11775 [STRCSPN]: Likewise.
11776 [UPDATE_MASK]: Likewise.
11777 [USE_AS_STRCSPN]: Likewise.
11778
11779 2016-04-25 Florian Weimer <fweimer@redhat.com>
11780
11781 [BZ #19931]
11782 * stdio-common/tst-vfprintf-width-prec.c: New file.
11783 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11784 (tests-special): Add tst-vfprintf-width-prec-mem.out.
11785 (generated): Add mtrace-related files.
11786 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11787 (tst-%-mem.out): New pattern rule, replaces
11788 tst-printf-bz18872-mem.out.
11789 * stdio-common/vfprintf.c (vfprintf): When handling a precision
11790 specifier, deallocate any previously allocated work buffer.
11791
11792 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11793
11794 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11795 Add nop before __startcontext, add explaining comments.
11796
11797 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
11798
11799 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11800 any more. Notably since IPV6_PKTINFO has been reintroduced with a
11801 completely different API.
11802
11803 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11804 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11805 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11806 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11807 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11808 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11809 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11810 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11811 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11812 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11813
11814 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
11815
11816 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11817
11818 2016-04-23 Mike Frysinger <vapier@gentoo.org>
11819
11820 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11821 when it is the default of 0.
11822
11823 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11824
11825 * sysdeps/powerpc/locale-defines.sym: Add new macros.
11826 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11827 (sysdep_routines): Add new strcasestr targets.
11828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11829 (__libc_ifunc_impl_list): Likewise.
11830 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11831 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11832 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11833 * sysdeps/powerpc/powerpc64/power8/Makefile:
11834 New file to add strcasestr-ppc64 to sysdep_routines.
11835 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11836 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11837
11838 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
11839
11840 * benchtests/Makefile (wcsmbs-benchset): Include only for
11841 native builds and runs.
11842 (LOCALES): Likewise.
11843 (bench-build): Build timing-type here instead of the bench
11844 target. Generate locale only for native builds.
11845 * benchtests/README: Add note for cross-building.
11846
11847 * benchtests/Makefile (bench-clean): Clean up extra-objs.
11848
11849 * benchtests/README: Update README to include instructions on
11850 using bench-build.
11851
11852 * Makefile.in (bench-build): New target.
11853 * Rules (PHONY): Add bench-build target.
11854 * benchtests/Makefile (bench): Depend on bench-build.
11855 (bench-build): New target.
11856
11857 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11858
11859 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11860 profil_reply_port.
11861 (profile_waiter): Do not initialize profil_reply_port.
11862 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11863 frequency instead of tick length in us.
11864
11865 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
11866
11867 [BZ #18712]
11868 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11869 (__old_mempcpy_small): Likewise.
11870 (__old_strcpy_small): Likewise.
11871 (__old_stpcpy_small): Likewise.
11872 (__old_strpbrk_c2): Fix compat symbol name.
11873 (__old_strpbrk_c3): Likewise.
11874 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11875 (__mempcpy_small): Remove.
11876 (__strcpy_small): Remove.
11877 (__stpcpy_small): Remove.
11878
11879 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
11880
11881 [BZ #19400]
11882 * locale/iso-639.def: Add the Talossan/tzl language.
11883
11884 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11885
11886 [BZ #16983]
11887 * locale/programs/ld-address.c (address_finish): Update postal_fmt
11888 comment. Add "ln" to strchr check on postal_fmt.
11889
11890 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11891
11892 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11893 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
11894 tel_dom_fmt.
11895
11896 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11897
11898 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11899 (sysdep_routines): Added __strlen_power8.
11900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11901 __strlen_power8 entry.
11902 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11903 Implementation for POWER8.
11904 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11905 for __strlen_power8.
11906 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11907 Implementation for POWER8.
11908
11909 2016-04-15 Mike Frysinger <vapier@gentoo.org>
11910
11911 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11912
11913 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
11914
11915 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11916 Goldmont and Airmont processors.
11917
11918 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
11919
11920 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11921 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11922 (__STRING2_SMALL_GET32): Remove.
11923 (memset): Remove.
11924 (__memset_1): Remove.
11925 (__memset_gc): Remove.
11926 (__mempcpy): Remove.
11927 (mempcpy): Remove.
11928 (__mempcpy_args): Remove.
11929 (strchr): Remove.
11930 (strcpy): Remove.
11931 (strcpy_args): Remove.
11932 (__stpcpy_args): Remove.
11933 (__strcmp_cc): Remove.
11934 (__strcmp_gc): Remove.
11935 (strstr): Remove.
11936
11937 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
11938
11939 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11940 * nis/nis_call.c (nis_server_cache_add): Likewise.
11941
11942 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11943
11944 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11945
11946 2016-04-14 Florian Weimer <fweimer@redhat.com>
11947
11948 * malloc/arena.c (__malloc_fork_lock_parent)
11949 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11950 internal_function attribute.
11951
11952 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
11953
11954 * stdio-common/printf_fp.c (__printf_fp_l):
11955 Rename ___printf_fp_l to __printf_fp_l and
11956 remove strong alias. Use libc_hidden_def instead
11957 of ldbl_hidden_def macro.
11958
11959 2016-04-14 Florian Weimer <fweimer@redhat.com>
11960
11961 Remove malloc hooks from fork handler. They are no longer needed
11962 because malloc runs right before fork, and no malloc calls from
11963 other fork handlers are not possible anymore.
11964 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11965 declarations.
11966 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11967 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11968 (atfork_recursive_cntr): Remove.
11969 (__malloc_fork_lock_parent): Do not override malloc hooks and
11970 thread_arena.
11971 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11972 thread_arena.
11973 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
11974 thread_arena instead of save_arena.
11975
11976 2016-04-14 Florian Weimer <fweimer@redhat.com>
11977
11978 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11979 (thread_atfork, thread_atfork_static): Remove.
11980 * sysdeps/mach/hurd/malloc-machine.h:
11981 (thread_atfork, thread_atfork_static): Remove.
11982
11983 2016-04-14 Florian Weimer <fweimer@redhat.com>
11984
11985 [BZ #19431]
11986 Run the malloc fork handler as late as possible to avoid deadlocks.
11987 * malloc/malloc-internal.h: New file.
11988 * malloc/malloc.c: Include it.
11989 * malloc/arena.c (ATFORK_MEM): Remove.
11990 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11991 Update comment.
11992 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11993 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11994 Remove outdated comment.
11995 (ptmalloc_init): Do not call thread_atfork. Remove
11996 thread_atfork_static.
11997 * malloc/tst-malloc-fork-deadlock.c: New file.
11998 * Makefile (tests): Add tst-malloc-fork-deadlock.
11999 (tst-malloc-fork-deadlock): Link against libpthread.
12000 * manual/memory.texi (Aligned Memory Blocks): Update safety
12001 annotation comments.
12002 * sysdeps/nptl/fork.c (__libc_fork): Call
12003 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12004 __malloc_fork_unlock_child.
12005 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12006
12007 2016-04-14 Florian Weimer <fweimer@redhat.com>
12008
12009 [BZ #19613]
12010 Remove union wait.
12011 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12012 (w_stopsig, w_stopval): Remove.
12013 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12014 stat_loc argument.
12015 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12016 (__WAIT_STATUS_DEFN): Remove.
12017 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12018 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12019 (wait, wait3, wait4): Use int * for the stat_loc argument.
12020 * posix/wait.c (__wait): Likewise.
12021 * posix/wait3.c (__wait3): Likewise.
12022 * posix/wait4.c (__wait4): Likewise.
12023 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12024 (__WAIT_STATUS_DEFN): Remove.
12025 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12026 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12027 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12028 argument.
12029 * sysdeps/posix/wait.c (__libc_wait): Likewise.
12030 * sysdeps/posix/wait3.c (__wait3): Likewise.
12031 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12032 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12033 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12034 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12035 stat_loc argument.
12036 * manual/process.texi (BSD Wait Functions): Remove union wait.
12037
12038 2016-04-13 Andreas Schwab <schwab@suse.de>
12039
12040 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12041 (test-extras): Add tst-tlsalign-vars.
12042 * math/Makefile: Wrap long lines.
12043 (libm-vec-test-wrappers): Define.
12044 (test-extras): Add $(libm-vec-test-wrappers).
12045 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12046 * nss/Makefile (extra-test-objs): Add nss_test1.os.
12047 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12048 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12049 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12050 (extra-test-objs): Add corresponding objects.
12051
12052 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
12053
12054 [BZ #19928]
12055 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12056 New.
12057 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12058 times of shared cache size.
12059 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12060 (VMOVNT): New.
12061 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12062 (VMOVNT): Likewise.
12063 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12064 (VMOVNT): Likewise.
12065 (VMOVU): Changed to movups for smaller code sizes.
12066 (VMOVA): Changed to movaps for smaller code sizes.
12067 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12068 comments.
12069 (PREFETCH): New.
12070 (PREFETCH_SIZE): Likewise.
12071 (PREFETCHED_LOAD_SIZE): Likewise.
12072 (PREFETCH_ONE_SET): Likewise.
12073 Rewrite to use forward and backward loops, which move 4 vector
12074 registers at a time, to support overlapping addresses and use
12075 non temporal store if size is above the threshold and there is
12076 no overlap between destination and source.
12077
12078 2016-04-12 Alex Smith <alex.smith@imgtec.com>
12079
12080 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12081 Include dl-vdso.
12082 * sysdeps/unix/sysv/linux/mips/Versions: Add
12083 __vdso_clock_gettime.
12084 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12085 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12086 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12087 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12088 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12089 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12090 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12091 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12092 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12093
12094 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12095
12096 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12097 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12098 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12099 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12100 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12101 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12104 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12106 syscalls generation.
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12108 [__NR_pwrite64] (__NR_write): Remove define.
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12110 [__NR_pwrite64] (__NR_write): Remove define.
12111 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12112 Remove define.
12113 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12114 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12115 Remove define.
12116 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12117 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12118 Linux implementation as base.
12119 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12120
12121 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12122 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12123 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12124 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12127 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12129 syscall generation.
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12131 [__NR_pread64] (__NR_pread): Remove define.
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12133 [__NR_pread64] (__NR_pread): Likewise.
12134 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12135 define.
12136 (__libc_pread): Use SYSCALL_LL macro on offset argument.
12137 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12138 Remove define.
12139 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12140 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12141 Linux implementation as base.
12142 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12143 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12144 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12145
12146 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12147 definition.
12148 (__ALIGNMENT_COUNT): Likewise.
12149 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12150 (__ALIGNMENT_COUNT): Likewise.
12151 (SYSCALL_LL): New define.
12152 (SYSCALL_LL64): Likewise.
12153 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12154 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12155 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12156 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12157
12158 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12159 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12160 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12161 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12162 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12163 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12164
12165 2016-04-11 Florian Weimer <fweimer@redhat.com>
12166
12167 [BZ #19865]
12168 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12169 original buffer before retry.
12170
12171 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12172
12173 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12174 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12175 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12176 GLRO(dl_auxv) list.
12177 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12178 including <ldsodefs.h>.
12179 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12180
12181 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
12182
12183 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12184 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12185 $(CPPFLAGS).
12186
12187 2016-04-09 Khem Raj <raj.khem@gmail.com>
12188
12189 [BZ #17950]
12190 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12191 Add -mfpmath=387.
12192
12193 2016-04-09 Mike Frysinger <vapier@gentoo.org>
12194
12195 * sysdeps/i386/configure.ac: Change == to = when calling test.
12196 * sysdeps/x86_64/configure.ac: Likewise.
12197 * sysdeps/i386/configure: Regenerated.
12198 * sysdeps/x86_64/configure: Likewise.
12199
12200 2016-04-08 Mike Frysinger <vapier@gentoo.org>
12201
12202 [BZ #16137]
12203 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12204 * benchtests/bench-strcoll.c (input_files): Likewise.
12205 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12206 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12207 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12208
12209 2016-04-08 Joseph Myers <joseph@codesourcery.com>
12210
12211 [BZ #19929]
12212 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12213 [__USE_XOPEN2K8 && !__USE_GNU].
12214 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12215 variable.
12216
12217 [BZ #19925]
12218 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12219 define if [!__USE_MISC && __USE_XOPEN2K].
12220 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12221 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12222 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12223 Likewise.
12224 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12225 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12226 variable.
12227 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12228
12229 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12230
12231 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12232 (sysdep_routines): Add new strspn targets.
12233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12234 (__libc_ifunc_impl_list): Add strspn.
12235 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12236 New file.
12237 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12238 Likewise.
12239 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12240 Likewise.
12241 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12242 Likewise.
12243
12244 2016-04-07 Florian Weimer <fweimer@redhat.com>
12245
12246 * misc/hsearch_r.c: Include <limits.h>.
12247
12248 2016-04-07 Florian Weimer <fweimer@redhat.com>
12249
12250 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12251
12252 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12253
12254 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12255 (MEMCPY_SYMBOL): New.
12256 (MEMPCPY_SYMBOL): Likewise.
12257 (MEMMOVE_CHK_SYMBOL): Likewise.
12258 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12259 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12260 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
12261 Provide alias for memcpy in libc.a and ld.so.
12262
12263 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12264
12265 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12266 (MEMSET_CHK_SYMBOL): New. Define if not defined.
12267 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12268 Disabled fro now.
12269 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12270 symbols. Properly check USE_MULTIARCH on __memset symbols.
12271
12272 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12273
12274 * benchtests/Makefile (string-benchset): Add memcpy-large,
12275 memmove-large and memset-large.
12276 * benchtests/bench-memcpy-large.c: New file.
12277 * benchtests/bench-memmove-large.c: Likewise.
12278 * benchtests/bench-memmove-large.c: Likewise.
12279 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12280
12281 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12282
12283 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12284 32-bit displacement to avoid long nop between instructions.
12285
12286 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12287
12288 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12289 a comment on VMOVU and VMOVA.
12290
12291 2016-04-04 Florian Weimer <fweimer@redhat.com>
12292
12293 [BZ #19633]
12294 Use specified locale for number formatting in strfmon_l.
12295 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12296 (__nl_lookup_word): New inline functions.
12297 * include/printf.h (__print_fp_l): Declare.
12298 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12299 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
12300 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12301 (___printf_fp): New function.
12302 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12303 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12304 * stdlib/tst-strfmon_l.c (do_test): New test.
12305 * stdlib/Makefile (tests): Add kt.
12306 (LOCALES): Build additional locales.
12307 (tst-strfmon_l.out): Require locales.
12308
12309 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12310
12311 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12312 if not in libc.
12313 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12314 Likewise.
12315 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12316 Likewise.
12317 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12318 Likewise.
12319
12320 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12321
12322 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12323 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12324 with unaligned_erms.
12325 (__memmove_erms): Skip if source == destination.
12326 (__memmove_unaligned_erms): Don't check source == destination
12327 first.
12328
12329 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12330
12331 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12332 bit_arch_Fast_Copy_Backward for Intel Core proessors.
12333
12334 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12335
12336 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12337 * string/strspn.c (strspn): Likewise.
12338
12339 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12340
12341 * benchtests/bench-memset.c (do_test): Support 64-byte
12342 alignment.
12343 (test_main): Test 64-byte alignment.
12344
12345 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12346
12347 * benchtests/bench-memmove.c (test_main): Test 64-byte
12348 alignment.
12349
12350 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12351
12352 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12353
12354 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12355
12356 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12357 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12358 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12359
12360 * string/strpbrk.c (strpbrk): Rewrite function.
12361 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12362 (__strpbrk_c2): Likewise.
12363 (__strpbrk_c3): Likewise.
12364 * string/string-inlines.c
12365 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12366 Likewise.
12367 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12368 Likewise.
12369
12370 * string/strspn.c (strcspn): Rewrite function.
12371 * string/bits/string2.h (strspn): Use __builtin_strcspn.
12372 (__strspn_c1): Remove inline function.
12373 (__strspn_c2): Likewise.
12374 (__strspn_c3): Likewise.
12375 * string/string-inlines.c
12376 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12377 compatibility symbol.
12378 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12379 Likewise.
12380 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12381 Likewise.
12382 * string/string-inlines.c: Include generic version.
12383
12384 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
12385 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12386
12387 * string/Version (libc): Add GLIBC_2.24.
12388 * string/strcspn.c (strcspn): Rewrite function.
12389 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12390 (__strcspn_c1): Remove inline function.
12391 (__strcspn_c2): Likewise.
12392 (__strcspn_c3): Likewise.
12393 * string/string-inline.c
12394 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12395 compatibility symbol.
12396 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12397 Likewise.
12398 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12399 Likewise.
12400 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12401
12402 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12403
12404 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12405 Use ahi instead of aghi to adjust stack pointer.
12406
12407 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12408
12409 [BZ #19853]
12410 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12411 TEST to take significant digits as second parameter.
12412 [TEST]: Redefine in terms of TEST_N taking 30
12413 significant digits.
12414 (do_test): Add test case to demonstrate precision
12415 failure in the ldbl-128ibm printf.
12416 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12417 (__mpn_extract_long_double): Carry 7 extra intermediate
12418 bits of precision to aide computing difference when
12419 signs differ.
12420
12421 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12422
12423 [BZ #19881]
12424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12425 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12426 memset-avx512-unaligned-erms.
12427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12428 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12429 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12430 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12431 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12432 __memset_sse2_unaligned_erms, __memset_erms,
12433 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12434 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12435 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12436 file.
12437 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12438 Likewise.
12439 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12440 Likewise.
12441 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12442 Likewise.
12443
12444 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12445
12446 [BZ #19776]
12447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12448 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12449 memmove-avx512-unaligned-erms.
12450 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12451 (__libc_ifunc_impl_list): Test
12452 __memmove_chk_avx512_unaligned_2,
12453 __memmove_chk_avx512_unaligned_erms,
12454 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12455 __memmove_chk_sse2_unaligned_2,
12456 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12457 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12458 __memmove_avx512_unaligned_erms, __memmove_erms,
12459 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12460 __memcpy_chk_avx512_unaligned_2,
12461 __memcpy_chk_avx512_unaligned_erms,
12462 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12463 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12464 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12465 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12466 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12467 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12468 __mempcpy_chk_avx512_unaligned_erms,
12469 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12470 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12471 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12472 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12473 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12474 __mempcpy_erms.
12475 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12476 file.
12477 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12478 Likewise.
12479 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12480 Likewise.
12481 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12482 Likewise.
12483
12484 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12485
12486 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12487 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12488 (La_s390_64_regs): Likewise.
12489 (La_s390_32_retval): Append vector register lrv_v24.
12490 (La_s390_64_retval): Likeweise.
12491 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12492 Handle extended structs La_s390_32_regs and La_s390_32_retval.
12493 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12494 Handle extended structs La_s390_64_regs and La_s390_64_retval.
12495
12496 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12497
12498 [BZ #19916]
12499 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12500 to create a non-vector/vector version for _dl_runtime_resolve and
12501 _dl_runtime_profile. Move implementation to ...
12502 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12503 (_dl_runtime_resolve) Save and restore fpr/vrs.
12504 (_dl_runtime_profile) Save and restore vrs and fix some issues
12505 if _dl_call_pltexit is called.
12506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12507 Choose the correct resolver function if running on a machine with vx.
12508 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12509 to create a non-vector/vector version for _dl_runtime_resolve and
12510 _dl_runtime_profile. Move implementation to ...
12511 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12512 (_dl_runtime_resolve) Save and restore fpr/vrs.
12513 (_dl_runtime_profile) Save and restore vrs and fix some issues
12514 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12515 Choose the correct resolver function if running on a machine with vx.
12516
12517 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12518
12519 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12520
12521 2016-03-31 Florian Weimer <fweimer@redhat.com>
12522
12523 [BZ #19509]
12524 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12525 skip_map != NULL.
12526 * elf/tst-dlsym-error.c: New file.
12527 * elf/Makefile (tests): Add tst-dlsym-error.
12528 (tst-dlsym-error): Link against libdl.
12529
12530 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12531
12532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12533 (__ASSUME_FUTIMESAT): Remove macro.
12534 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12535
12536 2016-03-29 Florian Weimer <fweimer@redhat.com>
12537
12538 [BZ #19879]
12539 CVE-2016-3075
12540 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12541 copy name.
12542
12543 2016-03-29 Florian Weimer <fweimer@redhat.com>
12544
12545 [BZ #19837]
12546 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12547 error if parse_line fails.
12548
12549 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12550
12551 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12552 (index_cpu_ERMS): Likewise.
12553 (reg_ERMS): Likewise.
12554
12555 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12556
12557 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12558 PER_LINUX_FDPIC): Add.
12559
12560 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12561
12562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12563 memcpy-avx512-no-vzeroupper.
12564 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12565 to ...
12566 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12567 (MEMCPY): Don't define.
12568 (MEMCPY_CHK): Likewise.
12569 (MEMPCPY): Likewise.
12570 (MEMPCPY_CHK): Likewise.
12571 (MEMPCPY_CHK): Renamed to ...
12572 (__mempcpy_chk_avx512_no_vzeroupper): This.
12573 (MEMPCPY_CHK): Renamed to ...
12574 (__mempcpy_chk_avx512_no_vzeroupper): This.
12575 (MEMCPY_CHK): Renamed to ...
12576 (__memmove_chk_avx512_no_vzeroupper): This.
12577 (MEMCPY): Renamed to ...
12578 (__memmove_avx512_no_vzeroupper): This.
12579 (__memcpy_avx512_no_vzeroupper): New alias.
12580 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12581
12582 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12583
12584 [BZ #18858]
12585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12586 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12587 and mempcpy-avx512-no-vzeroupper.
12588 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12589 New.
12590 (MEMPCPY): Likewise.
12591 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12592 (MEMPCPY_CHK): New.
12593 (MEMPCPY): Likewise.
12594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12595 (MEMPCPY): Likewise.
12596 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12597 (MEMPCPY): Likewise.
12598 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12599 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12600 Likewise.
12601 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12602 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12603
12604 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12605 Amit Pawar <Amit.Pawar@amd.com>
12606
12607 [BZ #19583]
12608 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12609 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12610 processors. Set Fast_Copy_Backward for AMD Excavator
12611 processors.
12612 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12613 New.
12614 (index_arch_Fast_Unaligned_Copy): Likewise.
12615 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12616 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12617
12618 2016-03-25 Florian Weimer <fweimer@redhat.com>
12619
12620 [BZ #19791]
12621 * resolv/res_send.c (close_and_return_error): New function.
12622 (send_dg): Initialize *resplen2 after reopen failure. Call
12623 close_and_return_error for error returns. On error paths without
12624 __res_iclose, initialze *resplen2 explicitly. Update comment for
12625 successful return.
12626
12627 2016-03-25 Florian Weimer <fweimer@redhat.com>
12628
12629 [BZ# 19860]
12630 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12631 zero if the compiler does not provide the AVX512F bit.
12632
12633 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12634
12635 [BZ #19848]
12636 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12637 from 8 to 4.
12638 (__ieee754_powl): Compare integer exponent against 4 not 8.
12639 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12640 from 8 to 4.
12641 (__ieee754_powl): Compare integer exponent against 4 not 8.
12642 * math/auto-libm-test-in: Add more tests of pow.
12643 * math/auto-libm-test-out: Regenerated.
12644 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12646
12647 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12648
12649 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12650 Make code unconditional.
12651 [!__NR_utimensat]: Remove conditional code.
12652 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12653 Make code unconditional.
12654 [!__NR_utimensat]: Remove conditional code.
12655 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12656 Make code unconditional.
12657 [!__NR_utimensat]: Remove conditional code.
12658
12659 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12660
12661 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12662 Make code unconditional.
12663
12664 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12665
12666 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12667 call-clobbered %eax on retry path.
12668 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12669
12670 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12671
12672 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12673 Don't set %rcx twice before "rep movsb".
12674
12675 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12676
12677 [BZ #19583]
12678 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12679 inline. Check family before setting family, model and
12680 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12681 bits here.
12682 (init_cpu_features): Replace HAS_CPU_FEATURE and
12683 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12684 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12685 for Intel processors with usable AVX2. Call get_common_indeces
12686 for other processors with family == NULL.
12687 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12688 (CPU_FEATURES_ARCH_P): Likewise.
12689 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12690 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12691
12692 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12693
12694 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12695 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12696 $(shared-thread-library) instead of hardcoding the path to libpthread.
12697
12698 2016-03-22 Joseph Myers <joseph@codesourcery.com>
12699
12700 * sysdeps/unix/sysv/linux/kernel-features.h
12701 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12702 * sysdeps/unix/sysv/linux/getdents.c
12703 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12704 [!have_no_getdents64_defined]: Likewise.
12705 (__GETDENTS): Remove __have_no_getdents64 conditional.
12706
12707 2016-03-21 Joseph Myers <joseph@codesourcery.com>
12708
12709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12710 Remove macro.
12711 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12712 <kernel-features.h>.
12713 (signalfd) [__NR_signalfd4]: Make code unconditional.
12714 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12715
12716 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12717
12718 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12719 style.
12720
12721 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12724 (__pthread_enable_asynccancel): Use JUMPTARGET to call
12725 __pthread_unwind.
12726 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12727 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12728 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12729 (__condvar_cleanup1): Likewise.
12730
12731 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
12732
12733 [BZ #19822]
12734 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12735 move it to the final $@ location.
12736
12737 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12738
12739 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12740 access where posix_spawn success and pid argument is null.
12741 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12742 success case.
12743
12744 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
12745
12746 * sysdeps/mach/hurd/i386/c++-types.data: New file.
12747
12748 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12749
12750 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12751 and __fcntl.
12752 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12753 __fcntl only.
12754 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12755 adding attribute_hidden to __open and __fcntl.
12756
12757 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12758 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12759 depend on libc-modules.h,
12760 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12761
12762 2016-03-17 Joseph Myers <joseph@codesourcery.com>
12763
12764 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12765 Remove macro.
12766 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12767 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12768 entry.
12769
12770 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12771 Remove macro.
12772 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12773 include <kernel-features.h>.
12774 [!__ASSUME_FALLOCATE]: Remove conditional code.
12775 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12776
12777 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
12778
12779 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12780 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12781 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12782 (_ZGVdN4v_cos_avx2): Likewise.
12783 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12784 (_ZGVdN4v_cos): Likewise.
12785 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12786 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12787 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12788 (_ZGVdN4v_exp_avx2): Likewise.
12789 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12790 (_ZGVdN4v_exp): Likewise.
12791 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12792 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12793 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12794 (_ZGVdN4v_log_avx2): Likewise.
12795 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12796 (_ZGVdN4v_log): Likewise.
12797 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12798 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12799 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12800 (_ZGVdN4vv_pow_avx2): Likewise.
12801 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12802 (_ZGVdN4vv_pow): Likewise.
12803 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12804 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12805 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12806 (_ZGVdN4v_sin_avx2): Likewise.
12807 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12808 (_ZGVdN4v_sin): Likewise.
12809 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12810 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12811 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12812 (_ZGVdN4vvv_sincos_avx2): Likewise.
12813 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12814 (_ZGVdN4vvv_sincos): Likewise.
12815 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12816 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12817 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12818 (_ZGVbN4v_cosf_sse4): Likewise.
12819 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12820 (_ZGVdN8v_cosf_avx2): Likewise.
12821 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12822 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12823 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12824 (_ZGVbN4v_expf_sse4): Likewise.
12825 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12826 (_ZGVdN8v_expf_avx2): Likewise.
12827 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12828 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12829 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12830 (_ZGVbN4v_logf_sse4): Likewise.
12831 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12832 (_ZGVdN8v_logf_avx2): Likewise.
12833 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12834 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12835 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12836 (_ZGVbN4vv_powf_sse4): Likewise.
12837 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12838 (_ZGVdN8vv_powf_avx2): Likewise.
12839 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12840 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12841 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12842 (_ZGVbN4vvv_sincosf_sse4): Likewise.
12843 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12844 (_ZGVdN8vvv_sincosf_avx2): Likewise.
12845 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12846 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12847 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12848 (_ZGVbN4v_sinf_sse4): Likewise.
12849 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12850 (_ZGVdN8v_sinf_avx2): Likewise.
12851 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12852 Use JUMPTARGET to call callee.
12853 (WRAPPER_IMPL_SSE2_ff): Likewise.
12854 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12855 (WRAPPER_IMPL_AVX): Likewise.
12856 (WRAPPER_IMPL_AVX_ff): Likewise.
12857 (WRAPPER_IMPL_AVX_fFF): Likewise.
12858 (WRAPPER_IMPL_AVX512): Likewise.
12859 (WRAPPER_IMPL_AVX512_ff): Likewise.
12860 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12861 Likewise.
12862 (WRAPPER_IMPL_SSE2_ff): Likewise.
12863 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12864 (WRAPPER_IMPL_AVX): Likewise.
12865 (WRAPPER_IMPL_AVX_ff): Likewise.
12866 (WRAPPER_IMPL_AVX_fFF): Likewise.
12867 (WRAPPER_IMPL_AVX512): Likewise.
12868 (WRAPPER_IMPL_AVX512_ff): Likewise.
12869 (WRAPPER_IMPL_AVX512_fFF): Likewise.
12870
12871 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12872
12873 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12874 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12875 qualifier.
12876 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12877 internal_function qualifiers.
12878
12879 2016-03-15 Carlos O'Donell <carlos@redhat.com>
12880
12881 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12882 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12883 * math/atest-exp.c (exp_mpn): Mark chk unused.
12884 * math/atest-exp2.c (exp_mpn): Likewise.
12885 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12886 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12887
12888 2016-03-15 Joseph Myers <joseph@codesourcery.com>
12889
12890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12891 Remove macro.
12892 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12893 <kernel-features.h>.
12894 [__NR_ppoll]: Make code unconditional.
12895 [!__ASSUME_PPOLL]: Remove conditional code.
12896
12897 * sysdeps/unix/sysv/linux/kernel-features.h
12898 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12899 (__ASSUME_ACCEPT4): Likewise.
12900 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12901 Define.
12902 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12903 Likewise.
12904 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12905 Likewise.
12906 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12907 Likewise.
12908 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12909 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12910 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12911 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12912 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12913 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12914 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12915 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12916 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12917 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12918 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12919 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12920 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12921 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12922 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12923 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12924 Likewise.
12925 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12926 Likewise.
12927 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12928 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12929 0x040300].
12930 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12931 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12932 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12933 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12934 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12935 0x030300].
12936 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12937 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12938 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12939 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12940 0x040300].
12941 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12942 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12943 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12944 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12945 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12946 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12947 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12948 0x030300].
12949 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12950 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12951 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12952 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12953 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12954 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12955 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12956 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12957 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12958 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12959 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12960 0x040300].
12961 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12962 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12963 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12964 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12965 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12966 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12967 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12968 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12969 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12970 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12971 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12972 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12973 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12974 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12975 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12976 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12977 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12978 Likewise.
12979 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12980 Likewise.
12981
12982 2016-03-15 Andreas Schwab <schwab@suse.de>
12983
12984 [BZ #19257]
12985 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12986 statp->_u._ext.nscount as loop count.
12987
12988 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
12989
12990 * math/test-signgam-finite-c99.c: Also #undef
12991 __LIBC_INTERNAL_MATH_INLINES.
12992 * math/test-signgam-main.c: Likewise.
12993
12994 2016-03-14 Joseph Myers <joseph@codesourcery.com>
12995
12996 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12997 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12998 (MADV_FREE): Likewise.
12999 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13000 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13001 EPOLLEXCLUSIVE.
13002
13003 2016-03-14 Carlos O'Donell <carlos@redhat.com>
13004
13005 * timezone/README: Remove mention of checktab.awk. Mention wiki
13006 SharedSourceFiles.
13007
13008 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
13009
13010 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13011 WUNTRACED.
13012
13013 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13014
13015 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13016 order to match the type of p when calling atomic_exchange_acq().
13017
13018 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13019
13020 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13021 cfi_offset calls.
13022 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13023 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13024 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13025 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13026 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13027
13028 2016-03-10 Carlos O'Donell <carlos@redhat.com>
13029
13030 * timezone/checktab.awk: Removed.
13031
13032 2016-03-10 Joseph Myers <joseph@codesourcery.com>
13033
13034 * manual/math.texi (Errors in Math Functions): Document relaxed
13035 accuracy goals for IBM long double.
13036 * math/libm-test.inc (test_exceptions): Always allow spurious
13037 "underflow" and "inexact" exceptions for IBM long double.
13038
13039 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
13040
13041 [BZ #19762]
13042 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13043 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13044 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13045 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13046 (bit_arch_*): This for feature array.
13047 (bit_*): Renamed to ...
13048 (bit_cpu_*): This for cpu array.
13049 (index_*): Renamed to ...
13050 (index_arch_*): This for feature array.
13051 (index_*): Renamed to ...
13052 (index_cpu_*): This for cpu array.
13053 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13054 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13055 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13056 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13057 bit_##name with index_cpu_##name and bit_cpu_##name.
13058 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13059 bit_##name with index_arch_##name and bit_arch_##name.
13060
13061 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
13062
13063 [BZ #19792]
13064 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13065 Terminate FDE before return label.
13066
13067 2016-03-09 Joseph Myers <joseph@codesourcery.com>
13068
13069 [BZ #19790]
13070 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13071 (rintl): Define as macro.
13072 [USE_AS_NEARBYINTL] (__rintl): Likewise.
13073 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13074 of fesetround. Ensure results are evaluated before end of scope.
13075 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13076 USE_AS_NEARBYINTL and include s_rintl.c.
13077 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13078 Disable exception traps in new environment.
13079 (libc_feholdsetround_ppc_ctx): Likewise.
13080
13081 2016-03-08 Roland McGrath <roland@hack.frob.com>
13082
13083 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13084 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13085 (tst_audit10_aux) [__AVX512F__]: ... here.
13086
13087 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
13088
13089 * include/sys/auxv.h: New file.
13090
13091 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13092
13093 [BZ #19759]
13094 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13095
13096 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13097
13098 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13099 operand modifier.
13100 (feclearexcept): Likewise.
13101
13102 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13103
13104 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13105 to reflect the entire 32-bit HWCAP.
13106 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13107 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
13108
13109 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13110
13111 [BZ #19783]
13112 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13113 $(test-via-rtld-prefix).
13114 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13115
13116 2016-03-08 Florian Weimer <fweimer@redhat.com>
13117
13118 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13119 union wait. Report any non-zero exit status as error.
13120
13121 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13122
13123 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13124 configured with --enable-hardcoded-path-in-tests.
13125
13126 2016-03-08 Joseph Myers <joseph@codesourcery.com>
13127
13128 [BZ #19677]
13129 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13130 (__ieee754_remainderl): Put zero low parts in canonical form.
13131 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13132 file. Based on
13133 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13134 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13135 with wrapper round test-fmodrem-ldbl-128ibm.c.
13136 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13137 file.
13138 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13139 Likewise.
13140 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13141 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13142
13143 2016-03-07 Florian Weimer <fweimer@redhat.com>
13144
13145 [BZ #19610]
13146 * elf/ldconfig.c (opt_link): Update comment.
13147 (options): Update help string for option -X.
13148 (search_dir): Unlink stale symbolic link only if updating symbolic
13149 links.
13150 * elf/tst-ldconfig-X.sh: New file.
13151 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13152 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13153
13154 2016-03-07 Andreas Schwab <schwab@suse.de>
13155
13156 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13157 needed arguments.
13158
13159 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
13160
13161 [BZ #15333]
13162 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13163 to lstat64.
13164
13165 2016-03-07 Florian Weimer <fweimer@redhat.com>
13166
13167 * libio/filedoalloc.c (isatty): Remove.
13168 (local_isatty): Add comment. Call __isatty directly.
13169 (_IO_file_doallocate): Update comment. Assume _LIBC.
13170 * libio/wfiledoalloc.c (isatty): Remove.
13171 (_IO_wfile_doallocate): Update comment.
13172
13173 2016-03-07 Florian Weimer <fweimer@redhat.com>
13174
13175 [BZ #19269]
13176 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13177 tst-audit4-aux.o.
13178 (tst-audit10): Depend on tst-audit10-aux.o.
13179 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13180 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13181 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13182 instead of inline AVX code.
13183 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13184 instead of inline AVX512 code.
13185 * sysdeps/x86_64/tst-audit4-aux.c: New file
13186 * sysdeps/x86_64/tst-audit10-aux.c: New file
13187
13188 [BZ #19648]
13189 * test-skeleton.c (main): Do not set RLIMIT_DATA.
13190
13191 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13192
13193 [BZ #14750]
13194 [BZ #10354]
13195 [BZ #18433]
13196 * include/sched.h (__clone): Add hidden prototype.
13197 (__clone2): Likewise.
13198 * include/unistd.h (__dup): Likewise.
13199 * posix/Makefile (tests): Add tst-spawn2.
13200 * posix/tst-spawn2.c: New file.
13201 * sysdeps/posix/dup.c (__dup): Add hidden definition.
13202 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13203 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13204 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13205 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13206 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13207 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13208 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13209 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13210 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13211 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13213 Likewise.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13215 Likewise.
13216 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13217 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13218 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13219 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13220 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13221 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13222 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13223 * sysdeps/unix/sysv/linux/nptl-signals.h
13224 (____nptl_is_internal_signal): New function.
13225 * sysdeps/unix/sysv/linux/spawni.c: New file.
13226
13227 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13228 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13229 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13230 * posix/tst-execvp2.c (do_test): Likewise.
13231 * posix/tst-execvp3.c (do_test): Likewise.
13232 * posix/tst-execvp4.c (do_test): Likewise.
13233 * posix/tst-execvpe1.c: New file.
13234 * posix/tst-execvpe2.c: Likewise.
13235 * posix/tst-execvpe3.c: Likewise.
13236 * posix/tst-execvpe4.c: Likewise.
13237 * posix/tst-execvpe5.c: Likewise.
13238 * posix/tst-execvpe6.c: Likewise.
13239
13240 [BZ #19534]
13241 * posix/execl.c (execl): Remove dynamic memory allocation.
13242 * posix/execle.c (execle): Likewise.
13243 * posix/execlp.c (execlp): Likewise.
13244
13245 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13246
13247 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13248 Replace .text with .text.avx512.
13249 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13250 Likewise.
13251
13252 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
13253
13254 * sysdeps/generic/libnsl.abilist: New file.
13255 * sysdeps/generic/libutil.abilist: New file.
13256
13257 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13258
13259 [BZ #19762]
13260 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13261 HAS_ARCH_FEATURE with Fast_Rep_String.
13262 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13263 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13264 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13265 Likewise.
13266 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13267 Likewise.
13268 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13269 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13270 Likewise.
13271 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13272 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13273 Likewise.
13274
13275 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13276
13277 [BZ #19745]
13278 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13279 with *%rax in call.
13280
13281 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13282
13283 [BZ #19745]
13284 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13285 with *__libc_start_main@GOTPCREL(%rip) in call.
13286
13287 2016-03-04 Roland McGrath <roland@hack.frob.com>
13288
13289 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13290 inside conditional for nonempty $(CXX).
13291
13292 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13293 nonempty.
13294
13295 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13296 to test for empty $(CXX) rather than $(CXX) of "no".
13297
13298 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13299
13300 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13301
13302 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
13303 H.J. Lu <hongjiu.lu@intel.com>
13304
13305 [BZ #18880]
13306 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13307 instead of Slow_BSF, and also check for Fast_Copy_Backward to
13308 enable __memcpy_ssse3_back.
13309
13310 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 [BZ #19758]
13313 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13314 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13315
13316 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13317
13318 [BZ #19490]
13319 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13320 (__fentry__): Likewise.
13321
13322 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13323
13324 * gmon/Makefile (noprof): Add $(sysdep_noprof).
13325 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13326
13327 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13328
13329 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13330 __mcount_internal directly.
13331 (C_LABEL(__fentry__)): Likewise.
13332 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13333 directly.
13334
13335 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13336
13337 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13338 (__start_context): Call __setcontext directly.
13339
13340 2016-02-26 Joseph Myers <joseph@codesourcery.com>
13341
13342 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13343 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13344 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13345 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13346 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13347 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13348 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13349 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13350 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13351 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13352 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13353 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13354 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13355 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13356 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13357 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13358 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13359 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13360 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13361 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13362 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13363 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13364 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13365 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13366 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13367 Remove conditional code.
13368 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13369 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13370 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13371 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13372 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13373 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13374 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13375 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13376 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13377 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13378 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13379 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13380
13381 2016-02-24 Marko Myllynen <myllynen@redhat.com>
13382
13383 * NEWS (2.23): Fix typo in bug 19048 text.
13384
13385 2016-02-24 Carlos O'Donell <carlos@redhat.com>
13386
13387 [BZ #14259]
13388 * Makeconfig: Rename msgcatdir to localedir.
13389 Rename inst_msgcatdir to inst_localedir.
13390 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13391 * config.make.in: Add localedir.
13392 * elf/Makefile ($(objpfx)sotruss): Use localedir.
13393 (ldd-rewrite): Likewise.
13394 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13395 (install-others): Use inst_localedir.
13396 (CPPFLAGS): Use localedir.
13397 * locale/Makefile (locale-CPPFLAGS): Likewise.
13398 * po/Makefile (mo-installed): Use inst_localedir.
13399
13400 [BZ #19575]
13401 * localedata/charmaps/GB18030: Update comments regarding PAU to
13402 non-PUA mappings.
13403
13404 2016-02-24 Joseph Myers <joseph@codesourcery.com>
13405
13406 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13407 test for header.
13408 * sysdeps/unix/sysv/linux/configure: Regenerated.
13409 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13410 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13411 Remove conditional code.
13412 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13413
13414 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13415 Define to 3.2.0.
13416 (arch_minimum_kernel): Likewise.
13417 * sysdeps/unix/sysv/linux/configure: Regenerated.
13418 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13419 Define to 2.6.32.
13420 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13421 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13422 (arch_minimum_kernel): Define to 2.6.32.
13423 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13424 * README: Document Linux 3.2 requirement.
13425 * manual/install.texi (Linux): Document Linux 3.2 headers
13426 requirement.
13427 * INSTALL: Regenerated.
13428
13429 2016-02-24 Andreas Schwab <schwab@suse.de>
13430
13431 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13432 if !NO_LONG_DOUBLE.
13433
13434 2016-02-22 Roland McGrath <roland@hack.frob.com>
13435
13436 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13437 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13438
13439 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
13440
13441 [BZ #19512]
13442 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13443
13444 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13445
13446 * posix/tst-dir.c: Include libc-internal.h.
13447
13448 2016-02-20 Florian Weimer <fweimer@redhat.com>
13449
13450 [BZ #19056]
13451 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13452 * manual/filesys.texi (Reading/Closing Directory): Mention
13453 deprecaion.
13454 * posix/tst-dir.c (main): Disable deprecation warning in test.
13455
13456 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
13457
13458 [BZ #19679]
13459 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13460 Renamed to ...
13461 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
13462 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13463 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
13464 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13465 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13466 * sysdeps/x86_64/dl-trampoline.h
13467 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13468 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13469
13470 2016-02-19 Mark Wielaard <mjw@redhat.com>
13471
13472 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13473
13474 2016-02-19 Mark Wielaard <mjw@redhat.com>
13475
13476 * elf/elf.h (R_386_GOT32X): New.
13477 (R_386_NUM): Update.
13478 (R_X86_64_GOTPCRELX: New.
13479 (R_X86_64_REX_GOTPCRELX): New.
13480 (R_X86_64_NUM): Update.
13481
13482 2016-02-19 Mike Frysinger <vapier@gentoo.org>
13483
13484 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13485
13486 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
13487
13488 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13489 assign attr->stackaddr to it, and adjust it down when
13490 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
13491 [_STACK_GROWS_UP]: Delete assert.
13492 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13493 Implement stack grows up logic.
13494 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13495 stack grows up logic.
13496
13497 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13498
13499 * NEWS: Update with 2.24 template.
13500
13501 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13502
13503 [BZ #19678]
13504 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13505 Ensure +0.0 is returned when taking the next value below the least
13506 positive value.
13507
13508 2016-02-19 Florian Weimer <fweimer@redhat.com>
13509
13510 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13511 available. Do not define NO_THREADS.
13512 * malloc/malloc.c: Do not check NO_THREADS.
13513 * malloc/arena.c: Likewise.
13514
13515 2016-02-19 Florian Weimer <fweimer@redhat.com>
13516
13517 * malloc/malloc.c (__libc_mallinfo): Update comment.
13518 (struct malloc_par): Remove max_total_mem member, it was always 0.
13519 (int_mallinfo): Store 0 into usmblks (no functional change).
13520 * malloc/hooks.c (struct malloc_state): Document that
13521 max_total_mem is always 0.
13522 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13523 always 0.
13524 * manual/memory.texi (Statistics of Malloc): Likewise.
13525
13526 2016-02-19 Florian Weimer <fweimer@redhat.com>
13527
13528 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13529 * malloc/arena.c (arena_max): Remove.
13530 (heap_trim, _int_new_arena): Do not update arena_max.
13531
13532 2016-02-19 Florian Weimer <fweimer@redhat.com>
13533
13534 * resolv/res_init.c (res_ninit): Update comment.
13535
13536 2016-02-19 Florian Weimer <fweimer@redhat.com>
13537
13538 [BZ #19505]
13539 * posix/spawn_int.h: Add headers and include guard.
13540 (__spawn_valid_fd): New function.
13541 * posix/spawn_faction_addopen.c
13542 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13543 * posix/spawn_faction_addclose.c
13544 (posix_spawn_file_actions_addclose): Likewise.
13545 * posix/spawn_faction_adddup2.c
13546 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13547 second file descriptor.
13548 * posix/spawn_valid_fd.c: New file.
13549 * posix/tst-posix_spawn-fd.c: New file.
13550 * posix/Makefile (routines): Add spawn_valid_fd.
13551 (tests): Add tst-posix_spawn-fd.
13552
13553 2016-02-19 Florian Weimer <fweimer@redhat.com>
13554
13555 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13556 (do_test): Limit the number of arenas, so that we can use fewer
13557 outer threads. Limit timeout to 3 seconds, in preparation for a
13558 larger TIMEOUT value.
13559
13560 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13561
13562 [BZ #19674]
13563 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13564 sign in overflowing and underflowing results when overflow or
13565 underflow is detected early. Include sign in result before rather
13566 than after scaling.
13567
13568 [BZ #19603]
13569 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13570 (__ieee754_remainderl): Adjust sign of integer version of low part
13571 when taking absolute value of high part.
13572 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13573 * math/libm-test.inc (remainder_test_data): Add another test.
13574 (remquo_test_data): Likewise.
13575
13576 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13577
13578 [BZ #19602]
13579 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13580 equal high parts and both low parts zero specially.
13581 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13582 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13583 Add test-fmodl-ldbl-128ibm.
13584
13585 [BZ #19595]
13586 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13587 common logic for all cases of shifting subnormal results. Do not
13588 insert sign bit in shifted mantissa. Always pass -1023 as biased
13589 exponent to ldbl_insert_mantissa in subnormal case.
13590
13591 [BZ #19594]
13592 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13593 on high and low parts then adjust result and use
13594 ldbl_canonicalize_int if needed.
13595
13596 [BZ #19593]
13597 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13598 on high part and __floor or __ceil on low part then use
13599 ldbl_canonicalize_int if needed.
13600
13601 [BZ #19592]
13602 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13603 high and low parts then use ldbl_canonicalize_int if needed.
13604
13605 [BZ #17899]
13606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13607 New function.
13608 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13609 on high and low parts then use ldbl_canonicalize_int if needed.
13610
13611 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13612
13613 * configure: Regenerated.
13614
13615 * po/libc.pot: Regenerated.
13616
13617 * po/be.po: Updated translation.
13618 * po/bg.po: Likewise.
13619 * po/ca.po: Likewise.
13620 * po/cs.po: Likewise.
13621 * po/da.po: Likewise.
13622 * po/el.po: Likewise.
13623 * po/eo.po: Likewise.
13624 * po/es.po: Likewise.
13625 * po/fi.po: Likewise.
13626 * po/fr.po: Likewise.
13627 * po/gl.po: Likewise.
13628 * po/hr.po: Likewise.
13629 * po/hu.po: Likewise.
13630 * po/ia.po: Likewise.
13631 * po/id.po: Likewise.
13632 * po/it.po: Likewise.
13633 * po/ja.po: Likewise.
13634 * po/lt.po: Likewise.
13635 * po/nb.po: Likewise.
13636 * po/nl.po: Likewise.
13637 * po/pt_BR.po: Likewise.
13638 * po/rw.po: Likewise.
13639 * po/sk.po: Likewise.
13640 * po/sl.po: Likewise.
13641 * po/sv.po: Likewise.
13642 * po/tr.po: Likewise.
13643 * po/zh_CN.po: Likewise.
13644 * po/zh_TW.po: Likewise.
13645
13646 * version.h (RELEAES): Set to "development".
13647 (VERSION): Set to 2.23.90.
13648
13649 * version.h (RELEASE): Set to "stable".
13650 (VERSION): Set to 2.23.
13651 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13652
13653 * NEWS: Updated fixed bugs.
13654
13655 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13656 Wilco Dijkstra <wdijkstr@arm.com>
13657
13658 [BZ #19462]
13659 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13660 (_STRING_INLINE_unaligned): This.
13661 * include/string.h: Include <string_private.h>.
13662 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13663 _STRING_INLINE_unaligned.
13664 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13665 (_STRING_INLINE_unaligned): New.
13666 * sysdeps/aarch64/string_private.h: New file.
13667 * sysdeps/generic/string_private.h: Likewise.
13668 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13669 * sysdeps/s390/string_private.h: Likewise.
13670 * sysdeps/x86/string_private.h: Likewise.
13671 * sysdeps/m68k/m680x0/m68020/bits/string.h
13672 (_STRING_ARCH_unaligned): Renamed to ...
13673 (_STRING_INLINE_unaligned): This.
13674 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13675 to ...
13676 (_STRING_INLINE_unaligned): This.
13677 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13678 to ...
13679 (_STRING_INLINE_unaligned): This.
13680 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13681 to ...
13682 (_STRING_INLINE_unaligned): This.
13683
13684 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13685 H.J. Lu <hongjiu.lu@intel.com>
13686
13687 [BZ #19590]
13688 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13689 relocation.
13690
13691 2016-02-15 Carlos O'Donell <carlos@redhat.com>
13692
13693 [BZ #18665]
13694 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13695 *herrno_p.
13696 (gaih_getanswer): Document functional behviour. Return tryagain
13697 if any result is tryagain.
13698 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13699 when freed.
13700 * resolv/res_send.c: Add copyright text.
13701 (__libc_res_nsend): Document that MAXPACKET is expected.
13702 (send_vc): Document. Remove buffer reuse.
13703 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13704 size of the buffer. Add Dprint for truncated UDP buffer.
13705
13706 2016-02-14 Carlos O'Donell <carlos@redhat.com>
13707
13708 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13709 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13710 * INSTALL: Regenerate.
13711
13712 2016-02-14 Jakub Jelinek <jakub@redhat.com>
13713 Jonathan Wakely <jwakely@redhat.com>
13714 Carlos O'Donell <carlos@redhat.com>
13715
13716 [BZ 19439]
13717 * math/Makefile (tests): Add test-math-isinff.
13718 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13719 * math/bits/mathcalls.h [__USE_MISC]: Use
13720 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13721 functions not in C++11 and which don't conflict e.g. isinff,
13722 isinfl etc.
13723 * math/test-math-isinff.cc: New file.
13724
13725 2016-02-12 Florian Weimer <fweimer@redhat.com>
13726
13727 * misc/bug18240.c (do_test): Set RLIMIT_AS.
13728
13729 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13730
13731 [BZ #19529]
13732 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13733
13734 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13735
13736 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13737
13738 2016-02-01 Joseph Myers <joseph@codesourcery.com>
13739
13740 [BZ #19550]
13741 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13742 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13743 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13744 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13745 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13746 New syscall entry.
13747 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13748 New syscall entry.
13749 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13750 syscall entry.
13751
13752 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
13753
13754 [BZ #18240]
13755 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13756 unsigned int wraparound.
13757
13758 2016-01-27 Florian Weimer <fweimer@redhat.com>
13759
13760 [BZ #18240]
13761 * misc/bug18240.c: New test.
13762 * misc/Makefile (tests): Add it.
13763
13764 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
13765 Joseph Myers <joseph@codesourcery.com>
13766
13767 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13768 load in branch delay slot when less than a word of input left.
13769
13770 2016-01-27 Andreas Schwab <schwab@suse.de>
13771
13772 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13773 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13774 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13775 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13776
13777 2016-01-26 David S. Miller <davem@davemloft.net>
13778
13779 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13780
13781 2016-01-25 David S. Miller <davem@davemloft.net>
13782
13783 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13784 __sqrtl_finite.
13785 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13786 instead using versioned_symbol.
13787 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13788 of entries.
13789
13790 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13791 __sqrtl_finite to GLIBC_2.23
13792
13793 2016-01-25 Ricchard Henderson <rth@redhat.com>
13794
13795 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13796
13797 2016-01-25 Andreas Schwab <schwab@suse.de>
13798
13799 [BZ #17514]
13800 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13801 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13802 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13803 * nptl/tst-mutex-errorcheck.c: New file.
13804
13805 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13806
13807 [BZ #18560]
13808 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13809 (IPCOP_semop): Likewise.
13810 (IPCOP_semget): Likewise.
13811 (IPCOP_semctl): Likewise.
13812 (IPCOP_msgsnd): Likewise.
13813 (IPCOP_msgrcv): Likewise.
13814 (IPCOP_msgget): Likewise.
13815 (IPCOP_msgctl): Likewise.
13816 (IPCOP_shmat): Likewise.
13817 (IPCOP_shmdt): Likewise.
13818 (IPCOP_shmget): Likewise.
13819 (IPCOP_shmctl): Likewise.
13820
13821 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13822
13823 * string/tst-endian.c: Include <libc-internal.h>.
13824 (do_test): Ignore tautological-compare warnings around
13825 "htobeXX (beXXtoh (i)) != i" and
13826 "htoleXX (leXXtoh (i)) != i" if-statements.
13827
13828 2016-01-24 David S. Miller <davem@davemloft.net>
13829
13830 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13831 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13832 alias.
13833 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13834 __sqrtl_finite.
13835
13836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13837
13838 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
13839
13840 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13841 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13842 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13843
13844 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13845
13846 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13847 (thread_func): Use new function to simplify barrier check.
13848 (do_test): Use new function to simplify checking barrier exit
13849 code, and actually join the child thread.
13850
13851 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13852
13853 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13854 semicolon.
13855 (__libc_tend): Likewise.
13856 (__libc_tabort): Likewise.
13857
13858 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
13859
13860 * sysdeps/nios2/libm-test-ulps: Update.
13861 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13862 (__gtsf2): Likewise.
13863 (__unorddf2): Likewise.
13864 (__unordsf2): Likewise.
13865 (__ledf2): Likewise.
13866
13867 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
13868
13869 * nis/nis_table.c (__follow_path): Disable diagnostic for
13870 uninitialized variable that is a false positive for gcc 4.7.
13871 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13872
13873 2016-01-20 Roland McGrath <roland@hack.frob.com>
13874
13875 * sysdeps/nacl/lowlevellock-futex.h
13876 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13877 Always evaluate PRIVATE argument.
13878
13879 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13880
13881 [BZ #19490]
13882 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13883 (pthread_cond_broadcast): Use ENTRY/END
13884 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13885 (pthread_cond_signal): Likewise.
13886 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13887 Likewise.
13888 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13889 Likewise.
13890 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13891 Likewise.
13892
13893 2016-01-20 Joseph Myers <joseph@codesourcery.com>
13894
13895 * sysdeps/ieee754/dbl-64/s_finite.c
13896 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13897 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13898 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13900 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13901
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13903 (__gtsf2): Add as optional for libc.so.
13904 (__unordsf2): Likewise.
13905 (__signbit): Remove for libc.so.
13906 (__signbitl): Likewise.
13907
13908 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13909
13910 * iconvdata/bug-iconv11.c (test_ibm93x):
13911 Use %zu printf format specifier for size_t argument.
13912
13913 2016-01-19 Joseph Myers <joseph@codesourcery.com>
13914
13915 * math/gen-libm-test.pl (parse_ulps): Do not reduce
13916 already-recorded ulps.
13917 * sysdeps/arm/libm-test-ulps: Regenerated.
13918 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13919 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13920 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13921
13922 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
13923 Paul Pluzhnikov <ppluzhnikov@google.com>
13924
13925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13926 assembler not supporting AVX-512.
13927
13928 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
13929
13930 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13931
13932 2016-01-18 Joseph Myers <joseph@codesourcery.com>
13933
13934 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13935 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13936
13937 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13938
13939 * sysdeps/arm/libm-test-ulps: Regenerated.
13940
13941 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13942
13943 [BZ #19451]
13944 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13945
13946 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13947
13948 [BZ #19486]
13949 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13950 * sysdeps/generic/fix-fp-int-convert-overflow.h
13951 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13952 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13953 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13954 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13955 Likewise.
13956 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13957 Avoid conversions to long int where inexact exceptions
13958 could be raised.
13959 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13960 Likewise.
13961 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13962 Avoid conversions to long long int where inexact exceptions
13963 could be raised.
13964 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13965 Likewise.
13966
13967 2016-01-17 Mike Frysinger <vapier@gentoo.org>
13968
13969 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13970 * configure: Regenerated.
13971
13972 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13973
13974 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13975
13976 2016-01-16 Mike Frysinger <vapier@gentoo.org>
13977
13978 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13979 outside of comment.
13980
13981 2016-01-15 Torvald Riegel <triegel@redhat.com>
13982
13983 * nptl/tst-barrier1.c: Add description on first line.
13984 * nptl/tst-barrier2.c: Likewise.
13985 * nptl/tst-barrier3.c: Likewise.
13986 * nptl/tst-barrier4.c: Likewise.
13987 * nptl/tst-barrier5.c: Likewise.
13988
13989 2016-01-15 Torvald Riegel <triegel@redhat.com>
13990
13991 [BZ #18868]
13992 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13993
13994 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13995
13996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13998 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13999 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14000 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14001 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14002 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14003 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14004 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14005 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14006 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14007
14008 2016-01-15 Torvald Riegel <triegel@redhat.com>
14009
14010 [BZ #13065]
14011 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14012 new implementation.
14013 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14014 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14015 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14016 (BARRIER_IN_THRESHOLD): New macro.
14017 * nptl/pthread_barrierattr_setpshared.c
14018 (pthread_barrierattr_setpshared): Clean up.
14019 * nptl/tst-barrier4.c: Correct comment.
14020 * nptl/tst-barrier5.c: New file.
14021 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14022 (gen-as-const-headers): Remove lowlevelbarrier.sym.
14023 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14024 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14025 * nptl/lowlevelbarrier.sym: Remove.
14026 * nptl/DESIGN-barrier.txt: Remove.
14027 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14028 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14029 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14030 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14031 error.
14032 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14033 implementation.
14034
14035 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14036
14037 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14038 (do_child): Mask SIGRTMIN while thr is running.
14039
14040 2016-01-15 Martin Sebor <msebor@redhat.com>
14041
14042 [BZ #19432]
14043 * iconvdata/Makefile: Add bug-iconv11.
14044 * iconvdata/bug-iconv11.c: New test.
14045 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14046 * iconvdata/ibm933.c: Same.
14047 * iconvdata/ibm935.c: Same.
14048 * iconvdata/ibm937.c: Same.
14049 * iconvdata/ibm939.c: Same.
14050
14051 2016-01-15 Martin Sebor <msebor@redhat.com>
14052
14053 [BZ #19443]
14054 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14055 [DEBUG] (_ufc_set_bits): Declare used.
14056 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14057 [DEBUG] (print_all): Declare used.
14058 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14059 operands of the ternary ?: expression to target type.
14060 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14061 calling the undeclared abort.
14062 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14063
14064 2016-01-15 Martin Sebor <msebor@redhat.com>
14065
14066 [BZ #18755]
14067 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14068 warnings.
14069 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14070 (__gai_create_helper_thread): Same.
14071 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14072 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14073 to suppress -Wmaybe-uninitialized warnings.
14074
14075 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
14076
14077 [BZ #19465]
14078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14079 inside if.
14080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14081 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14082 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14083
14084 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
14085
14086 [BZ #19466]
14087 * time/tst-mktime2.c (time_t_max): Removed.
14088 (time_t_min): Likewise.
14089 (TYPE_SIGNED): New.
14090 (TYPE_MINIMUM): Likewise.
14091 (TYPE_MAXIMUM): Likewise.
14092 (TIME_T_MIN): Likewise.
14093 (TIME_T_MAX): Likewise.
14094 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14095 and TIME_T_MIN.
14096 (do_test): Likewise.
14097
14098 2016-01-14 Amit Pawar <amit.pawar@amd.com>
14099
14100 [BZ #19467]
14101 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14102 index_Fast_Unaligned_Load flag for Excavator family CPUs.
14103
14104 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
14105
14106 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14107
14108 2016-01-13 Carlos O'Donell <carlos@redhat.com>
14109
14110 * benchtests/Makefile (PYTHON): Define.
14111 (bench-func): Use $(PYTHON) to run python scripts.
14112 ($(objpfx)bench-%.c): Likewise.
14113
14114 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
14115
14116 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14117 leading slash when `file_name' is "/".
14118
14119 2016-01-12 Joseph Myers <joseph@codesourcery.com>
14120
14121 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14122 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14123 Likewise.
14124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14125 Likewise.
14126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14127 Likewise.
14128 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14129 enum constant and macro.
14130 (PTRACE_SETSIGMASK): Likewise.
14131 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14132 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14133 (PTRACE_GETSIGMASK): Likewise.
14134 (PTRACE_SETSIGMASK): Likewise.
14135 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14136 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14137 Likewise.
14138 (PTRACE_SETSIGMASK): Likewise.
14139 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14140 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14141 (PTRACE_GETSIGMASK): Likewise.
14142 (PTRACE_SETSIGMASK): Likewise.
14143 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14144 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14145 Likewise.
14146 (PTRACE_SETSIGMASK): Likewise.
14147 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14148 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14149 Likewise.
14150 (PTRACE_SETSIGMASK): Likewise.
14151 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14152 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14153 Likewise.
14154 (PTRACE_SETSIGMASK): Likewise.
14155 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14156
14157 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
14158 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14159
14160 [BZ #19439]
14161 * math/bits/mathcalls.h
14162 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14163 prototype.
14164 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14165
14166 2016-01-11 Andreas Schwab <schwab@suse.de>
14167
14168 [BZ #19253]
14169 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14170 cache when TZDEFRULES was used.
14171 * time/tst-tzname.c: New file.
14172 * time/Makefile (test): Add tst-tzname.
14173 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14174 * timezone/Makefile (test-zones): Add $(posixrules-file).
14175 ($(testdata)/$(posixrules-file)): New rule.
14176
14177 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
14178
14179 Fix doc quoting problems with Texinfo 5
14180 Without this change, in the info file output, Texinfo 5 quotes code
14181 in text with undirected single quotes 'like this' and generates
14182 code examples that with many PDF readers cannot be cut out of PDFs
14183 and pasted into code.
14184 * manual/libc.texinfo: Configure the libc manual like the GNU
14185 Emacs manual, by using @documentencoding and setting
14186 txicodequoteundirected and txicodequotebacktick. This way,
14187 Texinfo 5 quotes code in text with directed single quotes ‘like
14188 this’ and produces examples that can be cut out of PDFs. This
14189 change causes Texinfo 5 to generate info files that contain UTF-8
14190 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14191 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14192
14193 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14194
14195 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14196 __libc_tabort, __libc_tend): New wrappers that enforce compiler
14197 barriers to their respective compiler built-ins.
14198 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14199 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14200 * sysdeps/powerpc/sysdep.h: Likewise.
14201 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14202 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14203 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14204
14205 2016-01-08 Marko Myllynen <myllynen@redhat.com>
14206
14207 * scripts/config.guess: Revert previous shebang change.
14208 * scripts/config.sub: Likewise.
14209 * scripts/mkinstalldirs: Likewise.
14210
14211 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14212
14213 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14214 PPC_FEATURE2_HAS_IEEE128.
14215 * sysdeps/powerpc/dl-procinfo.c:
14216 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14217
14218 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
14219
14220 [BZ #19415]
14221 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14222 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
14223 (_dl_lookup_address): Rewrite using function resolver trampoline.
14224 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14225 two bits in address.
14226
14227 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14228
14229 * longlong.h: Change !__SHMEDIA__ to
14230 (!defined (__SHMEDIA__) || !__SHMEDIA__).
14231 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14232
14233 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
14234 Joseph Myers <joseph@codesourcery.com>
14235 Mark Shinwell <shinwell@codesourcery.com>
14236 Andrew Stubbs <ams@codesourcery.com>
14237 Rich Felker <dalias@libc.org>
14238
14239 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14240
14241 2016-01-07 Richard Henderson <rth@redhat.com>
14242
14243 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14244
14245 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14246
14247 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14248 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14249 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14250 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14251 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14252
14253 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
14254 Joseph Myers <joseph@codesourcery.com>
14255
14256 * timezone/private.h: Update from tzcode 2015g.
14257 * timezone/tzfile.h: Likewise.
14258 * timezone/tzselect.ksh: Likewise.
14259 * timezone/zdump.c: Likewise.
14260 * timezone/zic.c: Likewise.
14261 * timezone/ialloc.c: Remove file.
14262 * timezone/scheck.c: Likewise.
14263 * timezone/Makefile (extra-objs): Remove variable.
14264 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14265 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14266 -Wno-maybe-uninitialized.
14267 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14268 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14269 (CFLAGS-ialloc.c): Remove variable.
14270 (CFLAGS-scheck.c): Likewise.
14271 * timezone/README: Update list of files from tzcode.
14272
14273 2016-01-07 Khem Raj <raj.khem@gmail.com>
14274
14275 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14276 instead of __fxprintf when _LIBC is undefined.
14277
14278 2016-01-07 Marko Myllynen <myllynen@redhat.com>
14279
14280 * catgets/test-gencat.sh: Remove space after shebang.
14281 * conform/GlibcConform.pm: Likewise.
14282 * conform/check-header-lists.sh: Likewise.
14283 * conform/conformtest.pl: Likewise.
14284 * conform/linknamespace.pl: Likewise.
14285 * conform/list-header-symbols.pl: Likewise.
14286 * debug/catchsegv.sh: Likewise.
14287 * elf/genrtldtbl.awk: Likewise.
14288 * elf/tst-pathopt.sh: Likewise.
14289 * elf/tst-rtld-load-self.sh: Likewise.
14290 * grp/tst_fgetgrent.sh: Likewise.
14291 * iconvdata/gen-8bit-gap-1.sh: Likewise.
14292 * iconvdata/gen-8bit-gap.sh: Likewise.
14293 * iconvdata/gen-8bit.sh: Likewise.
14294 * iconvdata/run-iconv-test.sh: Likewise.
14295 * intl/tst-gettext.sh: Likewise.
14296 * intl/tst-gettext2.sh: Likewise.
14297 * intl/tst-gettext4.sh: Likewise.
14298 * intl/tst-gettext6.sh: Likewise.
14299 * intl/tst-translit.sh: Likewise.
14300 * io/ftwtest-sh: Likewise.
14301 * libio/test-freopen.sh: Likewise.
14302 * locale/gen-translit.pl: Likewise.
14303 * malloc/tst-mtrace.sh: Likewise.
14304 * manual/check-safety.sh: Likewise.
14305 * manual/libc-texinfo.sh: Likewise.
14306 * manual/tsort.awk: Likewise.
14307 * manual/xtract-typefun.awk: Likewise.
14308 * nptl/tst-cancel-wrappers.sh: Likewise.
14309 * nptl/tst-tls6.sh: Likewise.
14310 * posix/globtest.sh: Likewise.
14311 * posix/tst-getconf.sh: Likewise.
14312 * posix/wordexp-tst.sh: Likewise.
14313 * scripts/check-c++-types.sh: Likewise.
14314 * scripts/check-local-headers.sh: Likewise.
14315 * scripts/config.guess: Likewise.
14316 * scripts/config.sub: Likewise.
14317 * scripts/cpp: Likewise.
14318 * scripts/cross-test-ssh.sh: Likewise.
14319 * scripts/documented.sh: Likewise.
14320 * scripts/evaluate-test.sh: Likewise.
14321 * scripts/gen-libc-abis: Likewise.
14322 * scripts/gen-sorted.awk: Likewise.
14323 * scripts/list-fixed-bugs.py: Likewise.
14324 * scripts/merge-test-results.sh: Likewise.
14325 * scripts/mkinstalldirs: Likewise.
14326 * scripts/rellns-sh: Likewise.
14327 * scripts/test-installation.pl: Likewise.
14328 * scripts/update-copyrights: Likewise.
14329 * stdio-common/tst-printf.sh: Likewise.
14330 * stdio-common/tst-unbputc.sh: Likewise.
14331 * stdlib/tst-fmtmsg.sh: Likewise.
14332 * stdlib/tst-setcontext3.sh: Likewise.
14333 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14334 * sysdeps/unix/make-syscalls.sh: Likewise.
14335
14336 2016-01-06 John David Anglin <dave.anglin@bell.net>
14337
14338 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14339 asm stw with atomic_exchange_rel. Add explanatory comment.
14340 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14341 Likewise.
14342
14343 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14344
14345 [BZ #19122]
14346 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14347 * sysdeps/generic/dl-unistd.h: New file.
14348 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14349
14350 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14351
14352 [BZ #19122]
14353 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14354 * sysdeps/generic/dl-mman.h: New file.
14355 * sysdeps/mach/hurd/dl-mman.h: Likewise.
14356
14357 2016-01-05 Joseph Myers <joseph@codesourcery.com>
14358
14359 * manual/texinfo.tex: Update to version 2016-01-04.21 with
14360 trailing whitespace removed.
14361 * scripts/config.guess: Update to version 2016-01-01.
14362 * scripts/config.sub: Update to version 2016-01-01.
14363 * scripts/move-if-change: Update from gnulib.
14364
14365 2016-01-04 Anton Blanchard <anton@samba.org>
14366
14367 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14368 for array indices.
14369 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14370
14371 2016-01-04 Joseph Myers <joseph@codesourcery.com>
14372
14373 * NEWS: Update copyright dates.
14374 * catgets/gencat.c (print_version): Likewise.
14375 * csu/version.c (banner): Likewise.
14376 * debug/catchsegv.sh: Likewise.
14377 * debug/pcprofiledump.c (print_version): Likewise.
14378 * debug/xtrace.sh (do_version): Likewise.
14379 * elf/ldconfig.c (print_version): Likewise.
14380 * elf/ldd.bash.in: Likewise.
14381 * elf/pldd.c (print_version): Likewise.
14382 * elf/sotruss.sh: Likewise.
14383 * elf/sprof.c (print_version): Likewise.
14384 * iconv/iconv_prog.c (print_version): Likewise.
14385 * iconv/iconvconfig.c (print_version): Likewise.
14386 * locale/programs/locale.c (print_version): Likewise.
14387 * locale/programs/localedef.c (print_version): Likewise.
14388 * login/programs/pt_chown.c (print_version): Likewise.
14389 * malloc/memusage.sh (do_version): Likewise.
14390 * malloc/memusagestat.c (print_version): Likewise.
14391 * malloc/mtrace.pl: Likewise.
14392 * manual/libc.texinfo: Likewise.
14393 * nptl/version.c (banner): Likewise.
14394 * nscd/nscd.c (print_version): Likewise.
14395 * nss/getent.c (print_version): Likewise.
14396 * nss/makedb.c (print_version): Likewise.
14397 * posix/getconf.c (main): Likewise.
14398 * scripts/test-installation.pl: Likewise.
14399 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14400
14401 * All files with FSF copyright notices: Update copyright dates
14402 using scripts/update-copyrights.
14403 * intl/plural.c: Regenerated.
14404 * locale/programs/charmap-kw.h: Likewise.
14405 * locale/programs/locfile-kw.h: Likewise.
14406
14407 2016-01-02 Helge Deller <deller@gmx.de>
14408
14409 [BZ #19285]
14410 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14411 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14412 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14413 (MADV_xxK_PAGES): Remove.
14414
14415 2016-01-01 Mike Frysinger <vapier@gentoo.org>
14416
14417 [BZ #15421]
14418 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14419 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
14420 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14421 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14422
14423 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
14424
14425 [BZ #19408]
14426 * sysdeps/unix/sysv/linux/personality.c: New file.
14427 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14428 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14429 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14430 (sysdep_routines): Add personality.
14431 (tests): Add tst-personality.
14432 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14433 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14434 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14435 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14436 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14437 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14438 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14439 Likewise.
14440 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14441 Likewise.
14442 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14443 Likewise.
14444 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14445 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14446 Likewise.
14447
14448 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
14449
14450 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14451 (PATH_ARM_SYSTYPE): Remove.
14452 (PATH_CPUINFO): Likewise.
14453 (IO_BASE_FOOTBRIDGE): Likewise.
14454 (IO_SHIFT_FOOTBRIDGE): Likewise.
14455 (struct platform): Likewise.
14456 (init_iosys): Remove compatibility code for 2.4 kernels.
14457 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14458
14459 2015-12-29 Florian Weimer <fweimer@redhat.com>
14460
14461 * malloc/tst-malloc-thread-fail.c: New file.
14462 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14463 (tst-malloc-thread-fail): Link against libpthread.
14464
14465 2015-12-29 Mike Frysinger <vapier@gentoo.org>
14466
14467 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
14468 (get_parser): New function.
14469 (main): New function.
14470
14471 2015-12-29 Rob Wu <rob@robwu.nl>
14472
14473 [BZ #19369]
14474 * resolv/res_init.c (__res_vinit): Reset defdname before use.
14475
14476 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
14477
14478 [BZ #19270]
14479 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14480
14481 2015-12-28 Mike Frysinger <vapier@gentoo.org>
14482
14483 [BZ #15421]
14484 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14485
14486 2015-12-23 Torvald Riegel <triegel@redhat.com>
14487
14488 [BZ #13690]
14489 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14490 after releasing it.
14491 (__lll_robust_unlock): Likewise.
14492 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14493 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14494 (lll_robust_unlock): Likewise.
14495 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14496 Prevent warnings in callers.
14497
14498 2015-12-23 Florian Weimer <fweimer@redhat.com>
14499
14500 * malloc/arena.c (list_lock): Update comment.
14501
14502 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14503
14504 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14505 __parse_hwcap_and_convert_at_platform to libc.a.
14506
14507 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14508
14509 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14510 platform and feature support for POWER9.
14511 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14512 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14513 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14514 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14515 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14516 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14517 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14518 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14519
14520 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14521
14522 Harmonize generic stdio-lock support with nptl
14523
14524 This fixes build when _IO_funlockfile is a macro, fixes build where
14525 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14526 stack unwind.
14527
14528 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14529 _IO_release_lock ): Use cleanup attribute on new
14530 _IO_acquire_lock_file variable instead of assuming that
14531 _IO_release_lock will be called.
14532 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14533 _IO_acquire_lock_needs_exceptions_enabled.
14534 (_IO_acquire_lock_clear_flags2): New macro.
14535
14536 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14537
14538 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14539
14540 2015-12-21 Florian Weimer <fweimer@redhat.com>
14541
14542 [BZ #19182]
14543 * malloc/arena.c (list_lock): Document lock ordering requirements.
14544 (free_list_lock): New lock.
14545 (ptmalloc_lock_all): Comment on free_list_lock.
14546 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14547 (detach_arena): Update comment. free_list_lock is now needed.
14548 (_int_new_arena): Use free_list_lock around detach_arena call.
14549 Acquire arena lock after list_lock. Add comment, including FIXME
14550 about incorrect synchronization.
14551 (get_free_list): Switch to free_list_lock.
14552 (reused_arena): Acquire free_list_lock around detach_arena call
14553 and attached threads counter update. Add two FIXMEs about
14554 incorrect synchronization.
14555 (arena_thread_freeres): Switch to free_list_lock.
14556 * malloc/malloc.c (struct malloc_state): Update comments to
14557 mention free_list_lock.
14558
14559 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14560
14561 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14562 Remove functions.
14563 (sloww, sloww1): Accept argument to offset quadrant.
14564 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14565 quadrant.
14566 (__sin, __cos): Consolidate common code into new functions.
14567 (reduce_sincos_1, do_sincos_1): New functions.
14568 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14569
14570 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14571 code to new functions.
14572 (reduce_sincos_2, do_sincos_2): New functions.
14573 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14574
14575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14576 common code for sincos.
14577 (__cos) [!IN_SINCOS]: Likewise.
14578 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14579 New function.
14580 (__sincos): Use it.
14581
14582 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14583
14584 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14585 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14586 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14587
14588 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14589
14590 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14593 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14594 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14595 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14596 index_Prefer_No_VZEROUPPER): New feature.
14597 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14598 Prefer_No_VZEROUPPER for Knights Landing.
14599
14600 015-12-18 Torvald Riegel <triegel@redhat.com>
14601
14602 * math/atest-exp2.c (mp_exp_m1): Remove.
14603
14604 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14605
14606 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14607 syscalls.
14608 (__SYSCALL0): New macro.
14609 (__SYSCALL1): Likewise.
14610 (__SYSCALL2): Likewise.
14611 (__SYSCALL3): Likewise.
14612 (__SYSCALL4): Likewise.
14613 (__SYSCALL5): Likewise.
14614 (__SYSCALL6): Likewise.
14615 (__SYSCALL_CONCAT_X): Likewise.
14616 (__SYSCALL_CONCAT): Likewise.
14617 (__SYSCALL_DIST): Likewise.
14618 (__SYSCALL_CALL): Likewise.
14619
14620 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14621
14622 [BZ #19363]
14623 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14624
14625 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14626
14627 [BZ #19375]
14628 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14629 negative subnormals.
14630
14631 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14632
14633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14634 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14635 (INTERNAL_SYSCALL_NCS): Use it.
14636 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14637
14638 2015-12-16 Florian Weimer <fweimer@redhat.com>
14639
14640 [BZ #19243]
14641 * malloc/arena.c (get_free_list): Remove assert and adjust
14642 reference count handling. Add comment about reused_arena
14643 interaction.
14644 (reused_arena): Add comments abount get_free_list interaction.
14645 * malloc/tst-malloc-thread-exit.c: New file.
14646 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14647 (tst-malloc-thread-exit): Link against libpthread.
14648
14649 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14650
14651 [BZ #19367]
14652 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14653 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14654 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14655 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14656 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14657
14658 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14659
14660 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14661 Silvermont optimizations for Knights Landing.
14662
14663 2015-12-15 Andreas Schwab <schwab@suse.de>
14664
14665 [BZ #17197]
14666 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14667 immediately after emitting SI.
14668 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14669 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14670 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14671 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14672 * iconvdata/bug-iconv10.c: New file.
14673 * iconvdata/Makefile (tests): Add bug-iconv10.
14674 ($(objpfx)bug-iconv10.out): New rule.
14675
14676 2015-12-15 Florian Weimer <fweimer@redhat.com>
14677
14678 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14679 aliasing violation.
14680
14681 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14682
14683 [BZ #18472]
14684 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14685 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14686 conditionals for them.
14687 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14688 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14690 sys/kdaemon.h.
14691 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14692 compat-only syscall, obsoleted in glibc 2.23.
14693 (create_module): Likewise.
14694 (get_kernel_syms): Likewise.
14695 (query_module): Likewise.
14696 (uselib): Likewise.
14697 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14698
14699 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
14700
14701 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14702 <linux/version.h>.
14703 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14704 conditional code.
14705 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14706 and ioshift_name initialization.
14707
14708 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14709
14710 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14711 Fix indentation.
14712
14713 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14714
14715 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14716
14717 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14718
14719 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14720
14721 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
14722 Jakub Wilk <jwilk@debian.org>
14723
14724 [BZ #19347]
14725 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14726 to change the group of the device to the tty group.
14727
14728 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
14729
14730 Split large string section; add truncation advice
14731 * manual/examples/strncat.c: Remove.
14732 This example was misleading, as the code would have undefined
14733 behavior if "hello" was longer than SIZE. Anyway, the manual
14734 shouldn't encourage strncpy+strncat for this sort of thing.
14735 * manual/string.texi (Copying Strings and Arrays): Split into
14736 three sections Copying Strings and Arrays, Concatenating Strings,
14737 and Truncating Strings, as this section was way too long. All
14738 cross-referenced changed. Add advice about string-truncation
14739 functions. Remove misleading strncat example.
14740
14741 2015-12-10 Carlos O'Donell <carlos@redhat.com>
14742
14743 * manual/nss.texi (NSS Modules Interface): Document
14744 NSS_STATUS_NOTFOUND and SUCCESS.
14745
14746 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14747
14748 [BZ 18568]
14749 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14750 201505L, for Unicode 8.
14751
14752 2015-12-09 Carlos O'Donell <carlos@redhat.com>
14753
14754 * locale/C-translit.h: Regenerate.
14755
14756 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14757
14758 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14759 and U+0153.
14760
14761 2015-12-09 Joseph Myers <joseph@codesourcery.com>
14762
14763 [BZ #19351]
14764 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14765 expanding log(1+z), compare z rather than its square with epsilon
14766 to determine when to avoid evaluating the expansion.
14767
14768 [BZ #19350]
14769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14770 Increase overflow threshold.
14771
14772 [BZ #19349]
14773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14774 when small.
14775
14776 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14777 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14778 New macro.
14779 [__LINUX_KERNEL_VERSION >= 0x040300]
14780 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14781 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14782 Likewise.
14783 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14784 Likewise.
14785 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14786 Likewise.
14787 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14788 Likewise.
14789 [__LINUX_KERNEL_VERSION >= 0x040300]
14790 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14791 [__LINUX_KERNEL_VERSION >= 0x040300]
14792 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14793 [__LINUX_KERNEL_VERSION >= 0x040300]
14794 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14795 [__LINUX_KERNEL_VERSION >= 0x040300]
14796 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14797 [__LINUX_KERNEL_VERSION >= 0x040300]
14798 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14799 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14800 Likewise.
14801 [__LINUX_KERNEL_VERSION >= 0x040300]
14802 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14803 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14804 Likewise.
14805 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14806 Likewise.
14807 [__LINUX_KERNEL_VERSION >= 0x040300]
14808 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14809 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14810 Likewise.
14811 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14812 Likewise.
14813 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14814 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14815 Likewise.
14816 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14817 Likewise.
14818 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14819 Likewise.
14820 [__LINUX_KERNEL_VERSION >= 0x040300]
14821 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14822 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14823 Likewise.
14824 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14825 Likewise.
14826 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14827 Likewise.
14828 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14829 Likewise.
14830 [__LINUX_KERNEL_VERSION >= 0x040300]
14831 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14832 [__LINUX_KERNEL_VERSION >= 0x040300]
14833 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14834 [__LINUX_KERNEL_VERSION >= 0x040300]
14835 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14836 [__LINUX_KERNEL_VERSION >= 0x040300]
14837 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14838 [__LINUX_KERNEL_VERSION >= 0x040300]
14839 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14840 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14841 Likewise.
14842 [__LINUX_KERNEL_VERSION >= 0x040300]
14843 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14844 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14845 Likewise.
14846 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14847 Likewise.
14848 [__LINUX_KERNEL_VERSION >= 0x040300]
14849 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14850 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14851 Likewise.
14852 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14853 Likewise.
14854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14855 (__ASSUME_SOCKET_SYSCALL): Likewise.
14856 (__ASSUME_BIND_SYSCALL): Likewise.
14857 (__ASSUME_CONNECT_SYSCALL): Likewise.
14858 (__ASSUME_LISTEN_SYSCALL): Likewise.
14859 (__ASSUME_ACCEPT_SYSCALL): Likewise.
14860 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14861 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14862 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14863 (__ASSUME_SEND_SYSCALL): Likewise.
14864 (__ASSUME_SENDTO_SYSCALL): Likewise.
14865 (__ASSUME_RECV_SYSCALL): Likewise.
14866 (__ASSUME_RECVFROM_SYSCALL): Likewise.
14867 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14868 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14869 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14870 (__ASSUME_SENDMSG_SYSCALL): Likewise.
14871 (__ASSUME_RECVMSG_SYSCALL): Likewise.
14872 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14873 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14874 Likewise.
14875 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14876 Likewise.
14877 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14878 Likewise.
14879 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14880 Likewise.
14881 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14882 Likewise.
14883 [__LINUX_KERNEL_VERSION >= 0x020625]
14884 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14885 [__LINUX_KERNEL_VERSION >= 0x020625]
14886 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14887 [__LINUX_KERNEL_VERSION >= 0x020625]
14888 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14889 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14890 Likewise.
14891 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14892 Likewise.
14893 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14894 Likewise.
14895 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14896 Likewise.
14897 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14898 Likewise.
14899 [__LINUX_KERNEL_VERSION >= 0x020625]
14900 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14901 [__LINUX_KERNEL_VERSION >= 0x020625]
14902 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14903 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14904 Likewise.
14905 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14906 Likewise.
14907
14908 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14909
14910 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14911 record the current if the current ABI and CPU support the FP64
14912 extension.
14913 (has-modd-spreg): Define to record the current if the current ABI and
14914 CPU support 32-bit floating point values in odd FPU registers.
14915 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14916 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14917 $(has-modd-spreg) equals yes.
14918 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14919 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14920 $(has-modd-spreg) equal yes.
14921
14922 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14923
14924 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14925 basename.
14926
14927 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
14928
14929 * benchtests/Makefile (bench-math): Move ffs and ffsll...
14930 (bench-string): ... here.
14931 (bench): Add bench-string.
14932 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14933 to *-benchset to reflect what they are.
14934 (benchset): Adjust.
14935
14936 * benchtests/sincos-inputs: Add inputs from sin-inputs and
14937 cos-inputs.
14938
14939 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
14940
14941 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14942 __attribute__ ((__simd__)) for vector math function declarations.
14943
14944 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14945
14946 Fix typo in strncat, wcsncat manual entries
14947 * manual/string.texi (Copying and Concatenation): Fix typos in
14948 sample implementations of strncat and wcsncat, by having them use
14949 the old value of the destination length, not the new one.
14950
14951 2015-12-04 Joseph Myers <joseph@codesourcery.com>
14952
14953 [BZ #16961]
14954 [BZ #16962]
14955 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14956 string on the stack for strtod.
14957 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14958 a string on the stack for strtof.
14959 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14960 constructing a string on the stack for strtold.
14961 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14962 __strtold_nan to GLIBC_PRIVATE.
14963 * math/test-nan-overflow.c: New file.
14964 * math/test-nan-payload.c: Likewise.
14965 * math/Makefile (tests): Add test-nan-overflow and
14966 test-nan-payload.
14967
14968 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14969
14970 Consistency about byte vs character in string.texi
14971 * manual/string.texi (String and Array Utilities):
14972 Distinguish more carefully among bytes, multibyte characters,
14973 and wide characters. Use "byte" when talking about C 'char',
14974 to distinguish it more clearly from multibyte characters.
14975 Say "wide character" or "multibyte character" instead of
14976 "character", when a wide or multibyte character is intended.
14977 Similarly for "multibyte string" versus "string".
14978 Define these terms more carefully.
14979
14980 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
14981
14982 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14983 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14984 Likewise.
14985 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14986 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14987 * sysdeps/sh/math_private.h: New file.
14988 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14989 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14990 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14991 long double function name.
14992 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14993 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14998 Remove __finitel, __isinfl, and __isnanl.
14999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15000 Likewise.
15001 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15003 Remove __finitel.
15004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15005 Likewise.
15006 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15007
15008 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
15009
15010 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15011 installed libmvec_nonshared.a.
15012
15013 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15014
15015 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15016 (sysdep_routines): Likewise.
15017 (sysdep-rtld-routines): Likewise.
15018 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15019 [$(subdir) = nptl](tests-static): test-get_hwcap-static
15020 * sysdeps/powerpc/Versions: Added new
15021 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15022 * sysdeps/powerpc/hwcapinfo.c: New file.
15023 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15024 and parse hwcap, hwcap2 and platform number information.
15025 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
15026 to store HWCAP+HWCAP2 and platform number.
15027 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15028 for HWCAP+HWCAP2 and platform number in the TCB.
15029 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
15030 the HWCAP, HWCAP2 and platform number in the TCB.
15031 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15032 (TLS_INIT_TP): Included calls to add the hwcap and
15033 at_platform values in the TCB in TP initialization.
15034 (TLS_DEFINE_INIT_TP): Likewise.
15035 (THREAD_GET_HWCAP): New macro.
15036 (THREAD_SET_HWCAP): Likewise.
15037 (THREAD_GET_AT_PLATFORM): Likewise.
15038 (THREAD_SET_AT_PLATFORM): Likewise.
15039 * sysdeps/powerpc/powerpc32/dl-machine.h:
15040 (dl_platform_init): New function that calls
15041 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15042 powerpc32.
15043 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15044 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
15045 this functionality, static linking case.
15046 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
15047 linking case.
15048 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15049 __parse_hwcap_and_convert_at_platform for the static linking case.
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15051 Included the new __parse_hwcap_and_convert_at_platform symbol in the
15052 ABI list for GLIBC 2.23.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15054 Likewise.
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15056 Likewise.
15057
15058 2015-12-02 Ludovic Courtès <ludo@gnu.org>
15059
15060 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15061 * configure: Regenerate.
15062 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15063 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
15064
15065 2015-12-02 Carlos O'Donell <carlos@redhat.com>
15066
15067 * iconvdata/ibm930.c: Add comment explaining encoding uses.
15068 * iconvdata/ibm933.c: Likewise.
15069 * iconvdata/ibm935.c: Likewise.
15070 * iconvdata/ibm937.c: Likewise.
15071 * iconvdata/ibm939.c: Likewise.
15072
15073 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15074
15075 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15076 pthread_join.
15077 * nptl/tst-cancel21.c (tf): Likewise.
15078
15079 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
15080
15081 [BZ #19313]
15082 * bits/typesizes.h (__CPU_MASK_TYPE): New.
15083 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15084 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15085 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15086 Likewise.
15087 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15088 Likewise.
15089 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15090 Likewise.
15091 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15092 Likewise.
15093 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15094 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15095 unsigned long int with __CPU_MASK_TYPE.
15096
15097 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15098
15099 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15100
15101 2015-12-01 Joseph Myers <joseph@codesourcery.com>
15102
15103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15104 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15105 t512.x.
15106 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15107
15108 2015-11-30 Amit Pawar <amit.pawar@amd.com>
15109
15110 [BZ #19214]
15111 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15112 argument to return extended model. Update family and model
15113 with extended family and model when family == 0x0f.
15114 (init_cpu_features): Updated.
15115
15116 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15117
15118 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15119 signed off_t, so 32bit bigger than 2GiB values are fine actually.
15120
15121 * sysdeps/mach/hurd/mmap64.c: New file.
15122
15123 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
15124
15125 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15126 rights for its main user thread in NEWTASK.
15127
15128 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
15129
15130 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15131 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15132
15133 2015-11-27 Carlos O'Donell <carlos@redhat.com>
15134
15135 [BZ #14259]
15136 * Makeconfig: Rename localedir to complocaledir.
15137 Rename inst_localedir to inst_complocaledir.
15138 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15139 * config.make.in: Use complocaledir and libc_cv_complocaledir.
15140 * configure.ac: Use libc_cv_complocaledir.
15141 * configure: Regenerate.
15142 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15143 -DCOMPLOCALEDIR.
15144 * locale/findlocale.c: Use COMPLOCALEDIR.
15145 * locale/loadarchive.c: Likewise.
15146 * locale/programs/locale.c: Likewise.
15147 * locale/programs/localedef.c: Likewise.
15148 * locale/programs/locarchive.c: Likewise.
15149 * localedata/Makefile: Use inst_complocaledir.
15150 * sysdeps/gnu/configure: Regenerate.
15151 * sysdeps/hppa/configure: Regenerate.
15152 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15153 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15155 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15156 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15157 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15158 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15159
15160 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
15161
15162 [BZ #19058]
15163 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15164 AS_NEEDED.
15165 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15166 workaround.
15167 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15168 libmvec-static-only-routines): Added new file.
15169 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15170
15171 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15172
15173 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15174 of interrupted RPC instead of restoring it.
15175
15176 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15177 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15178 libc_hidden_def.
15179 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15180 into initialized data instead of common. Define rtld_hidden_data_def.
15181 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15182 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15183 libc_hidden_def.
15184 (if_freenameindex): Add libc_hidden_weak.
15185 (if_nameindex): Add libc_hidden_weak.
15186 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15187 __open64.
15188 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15189 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15190 * sysdeps/mach/nanosleep.c: Include <time.h>
15191 (__nanosleep): Rename to __libc_nanosleep.
15192 (__nanosleep): Add weak_alias.
15193 (nanosleep): Update alias.
15194
15195 2015-11-24 Joseph Myers <joseph@codesourcery.com>
15196
15197 * stdlib/strtod_nan.c: New file.
15198 * stdlib/strtod_nan_double.h: Likewise.
15199 * stdlib/strtod_nan_float.h: Likewise.
15200 * stdlib/strtod_nan_main.c: Likewise.
15201 * stdlib/strtod_nan_narrow.h: Likewise.
15202 * stdlib/strtod_nan_wide.h: Likewise.
15203 * stdlib/strtof_nan.c: Likewise.
15204 * stdlib/strtold_nan.c: Likewise.
15205 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15206 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15207 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15208 * wcsmbs/wcstod_nan.c: Likewise.
15209 * wcsmbs/wcstof_nan.c: Likewise.
15210 * wcsmbs/wcstold_nan.c: Likewise.
15211 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15212 strtold_nan.
15213 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15214 wcstof_nan.
15215 * include/stdlib.h (__strtof_nan): Declare and use
15216 libc_hidden_proto.
15217 (__strtod_nan): Likewise.
15218 (__strtold_nan): Likewise.
15219 (__wcstof_nan): Likewise.
15220 (__wcstod_nan): Likewise.
15221 (__wcstold_nan): Likewise.
15222 * include/wchar.h (____wcstoull_l_internal): Declare.
15223 * stdlib/strtod_l.c: Do not include <ieee754.h>.
15224 (____strtoull_l_internal): Remove declaration.
15225 (STRTOF_NAN): Define macro.
15226 (SET_MANTISSA): Remove macro.
15227 (STRTOULL): Likewise.
15228 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15229 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15230 (STRTOF_NAN): Define macro.
15231 (SET_MANTISSA): Remove macro.
15232 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15233 (SET_MANTISSA): Remove macro.
15234 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15235 macro.
15236 (SET_MANTISSA): Remove macro.
15237 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15238 macro.
15239 (SET_MANTISSA): Remove macro.
15240 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15241 (SET_MANTISSA): Remove macro.
15242 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15243 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15244 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15245
15246 [BZ #19266]
15247 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15248 upper case and lower case letters inside NAN(), not using TOLOWER.
15249 * stdlib/tst-strtod-nan-locale-main.c: New file.
15250 * stdlib/tst-strtod-nan-locale.c: Likewise.
15251 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15252 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15253 Depend on $(gen-locales).
15254 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15255 * wcsmbs/tst-wcstod-nan-locale.c: New file.
15256 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15257 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15258 Depend on $(gen-locales).
15259 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15260
15261 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
15262
15263 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15264
15265 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15267 __finitel, __isinfl, and __isnanl.
15268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15269 Likewise.
15270 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15272 __finitel.
15273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15274 Likewise.
15275 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15276
15277 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
15278
15279 * malloc/memusage.c (me): Remove redundant getenv call.
15280
15281 2015-10-24 Florian Weimer <fweimer@redhat.com>
15282
15283 [BZ #19143]
15284 [BZ #19164]
15285 * nptl/check-cpuset.h: Remove.
15286 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15287 Remove CPU set size check.
15288 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15289 Likewise.
15290 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15291 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15292 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15293 (__pthread_setaffinity_new): Remove CPU set size check.
15294 * sysdeps/unix/sysv/linux/sched_setaffinity.c
15295 (__kernel_cpumask_size): Remove.
15296 (__sched_setaffinity_new): Remove CPU set size check.
15297 * manual/threads.texi (Default Thread Attributes): Remove stale
15298 reference to check_cpuset_attr, determine_cpumask_size in comment.
15299 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15300 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
15301 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15302 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15303 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15304 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15305 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15306 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15307 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15308 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15309 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15310 skeleton test file.
15311 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
15312 tst-affinity-pid.
15313
15314 2015-11-24 Florian Weimer <fweimer@redhat.com>
15315
15316 * scripts/update-abilist.sh: New file.
15317 * Makefile (+subdir_targets): Add subdir_update-all-abi.
15318 * Makerules (update-all-abi-%, update-all-abi)
15319 (subdir_update-all-abi): New targets.
15320 * elf/Makefile (update-all-abi): New target.
15321
15322 2015-11-24 Florian Weimer <fweimer@redhat.com>
15323
15324 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15325 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15326 (__libc_lock_define_initialized): Use it.
15327 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15328 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15329 * malloc/malloc.c (main_arena): Likewise.
15330 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15331 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15332
15333 2015-11-23 Joseph Myers <joseph@codesourcery.com>
15334
15335 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15336 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15337 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15338 (PTRACE_O_MASK): Update value.
15339 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15340 New value in enum __ptrace_setoptions.
15341 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15342 (PTRACE_O_MASK): Update value.
15343 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15344 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15345 (PTRACE_O_MASK): Update value.
15346 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15347 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15348 (PTRACE_O_MASK): Update value.
15349 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15350 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15351 (PTRACE_O_MASK): Update value.
15352 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15353 New value in enum __ptrace_setoptions.
15354 (PTRACE_O_MASK): Update value.
15355 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15356 New value in enum __ptrace_setoptions.
15357 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15358 (PTRACE_O_MASK): Update value.
15359
15360 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15361 New macro.
15362 (PACKET_AUXDATA): Likewise.
15363 (PACKET_ORIGDEV): Likewise.
15364 (PACKET_VERSION): Likewise.
15365 (PACKET_HDRLEN): Likewise.
15366 (PACKET_RESERVE): Likewise.
15367 (PACKET_TX_RING): Likewise.
15368 (PACKET_LOSS): Likewise.
15369 (PACKET_VNET_HDR): Likewise.
15370 (PACKET_TX_TIMESTAMP): Likewise.
15371 (PACKET_TIMESTAMP): Likewise.
15372 (PACKET_FANOUT): Likewise.
15373 (PACKET_TX_HAS_OFF): Likewise.
15374 (PACKET_QDISC_BYPASS): Likewise.
15375 (PACKET_ROLLOVER_STATS): Likewise.
15376 (PACKET_FANOUT_DATA): Likewise.
15377 (PACKET_MR_UNICAST): Likewise.
15378
15379 [BZ #19242]
15380 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15381 (TOUPPER): Likewise.
15382 * stdlib/tst-strtol-locale-main.c: New file.
15383 * stdlib/tst-strtol-locale.c: Likewise.
15384 * stdlib/Makefile (tests): Add tst-strtol-locale.
15385 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15386 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15387 Depend on $(gen-locales).
15388 * wcsmbs/tst-wcstol-locale.c: New file.
15389 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15390 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15391 tr_TR.ISO-8859-9.
15392 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15393 Depend on $(gen-locales).
15394
15395 2015-11-20 Roland McGrath <roland@hack.frob.com>
15396
15397 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15398 __glibc_likely instead of __builtin_expect. After falling back to
15399 dyncode_create in a non-ET_DYN case, use the allocate_code_data
15400 system interface to register the code pages as occupied.
15401
15402 2015-11-20 Joseph Myers <joseph@codesourcery.com>
15403
15404 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15405 [!ARM_MATH_PRIVATE_H].
15406 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15407 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15408 [!HPPA_MATH_PRIVATE_H].
15409 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15410 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15411 to [!I386_MATH_PRIVATE_H].
15412 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15413 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15414 Change guard to [!M68K_MATH_PRIVATE_H].
15415 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15416 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15417 guard to [!MICROBLAZE_MATH_PRIVATE_H].
15418 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15419 macro.
15420 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15421 [!MIPS_MATH_PRIVATE_H].
15422 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15423 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15424 [!NIO2_MATH_PRIVATE_H].
15425 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15426 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15427 [!TILE_MATH_PRIVATE_H].
15428 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15429
15430 [BZ #15421]
15431 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15432 initialize with 0 and define as weak alias of __signgam.
15433 * include/math.h [!_ISOMAC] (__signgam): Declare.
15434 * math/Makefile (libm-calls): Add w_lgamma_compat.
15435 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15436 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15437 test-signgam-ullong-init.
15438 (tests-static): Add test-signgam-uchar-static,
15439 test-signgam-uchar-init-static, test-signgam-uint-static,
15440 test-signgam-uint-init-static, test-signgam-ullong-static and
15441 test-signgam-ullong-init-static.
15442 (CFLAGS-test-signgam-uchar.c): New variable.
15443 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15444 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15445 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15446 (CFLAGS-test-signgam-uint.c): Likewise.
15447 (CFLAGS-test-signgam-uint-init.c): Likewise.
15448 (CFLAGS-test-signgam-uint-static.c): Likewise.
15449 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15450 (CFLAGS-test-signgam-ullong.c): Likewise.
15451 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15452 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15453 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15454 * math/Versions (libm): Add GLIBC_2.23.
15455 * math/lgamma-compat.h: New file.
15456 * math/test-signgam-main.c: Likewise.
15457 * math/test-signgam-uchar-init-static.c: Likewise.
15458 * math/test-signgam-uchar-init.c: Likewise.
15459 * math/test-signgam-uchar-static.c: Likewise.
15460 * math/test-signgam-uchar.c: Likewise.
15461 * math/test-signgam-uint-init-static.c: Likewise.
15462 * math/test-signgam-uint-init.c: Likewise.
15463 * math/test-signgam-uint-static.c: Likewise.
15464 * math/test-signgam-uint.c: Likewise.
15465 * math/test-signgam-ullong-init-static.c: Likewise.
15466 * math/test-signgam-ullong-init.c: Likewise.
15467 * math/test-signgam-ullong-static.c: Likewise.
15468 * math/test-signgam-ullong.c: Likewise.
15469 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15470 wrapper of w_lgamma_main.c.
15471 * math/w_lgamma_compat.c: New file.
15472 * math/w_lgamma_compatf.c: Likewise.
15473 * math/w_lgamma_compatl.c: Likewise.
15474 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
15475 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15476 defining compatibility symbols.
15477 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
15478 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15479 wrapper of w_lgammaf_main.c.
15480 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
15481 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15482 defining compatibility symbols.
15483 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
15484 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15485 wrapper of w_lgammal_main.c.
15486 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
15487 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15488 defining compatibility symbols.
15489 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
15490 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15491 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15492 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
15493 <lgamma-compat.h>.
15494 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
15495 (__ieee754_gamma): Define as alias.
15496 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15497 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
15498 <lgamma-compat.h>.
15499 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15500 (__ieee754_gammaf): Define as alias.
15501 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15502 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15503 <lgamma-compat.h>.
15504 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15505 (__ieee754_gammal): Define as alias.
15506 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15507 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15508 <math/w_lgamma_compat.c>.
15509 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15510 Define as alias of __lgamma_compat and use in defining lgammal.
15511 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15512 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15513 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15514 (USE_AS_COMPAT): New macro.
15515 (LGAMMA_OLD_VER): Undefine and redefine.
15516 (lgammal): Do not define here.
15517 (gammal): Only define here if [GAMMA_ALIAS].
15518 * conform/linknamespace.pl (@whitelist): Remove signgam.
15519 * sysdeps/nacl/libm.abilist: Update.
15520 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15521 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15526 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15527 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15528 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15533 Likewise.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15535 Likewise.
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15537 Likewise.
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15539 Likewise.
15540 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15542 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15543 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15544 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15546 Likewise.
15547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15548 Likewise.
15549 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15550 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15551 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15552
15553 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15554
15555 [BZ #16364]
15556 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15557 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15558
15559 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15560
15561 * sysdeps/s390/fpu/bits/mathinline.h:
15562 Use __asm__ [__volatile__] instead of asm [volatile].
15563 * sysdeps/s390/abort-instr.h: Likewise.
15564 * sysdeps/s390/atomic-machine.h: Likewise.
15565 * sysdeps/s390/bits/string.h: Likewise.
15566 * sysdeps/s390/dl-tls.h: Likewise.
15567 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15568 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15569 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15570 * sysdeps/s390/fpu/fesetround.c: Likewise.
15571 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15572 * sysdeps/s390/fpu/s_fma.c: Likewise.
15573 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15574 * sysdeps/s390/memusage.h: Likewise.
15575 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15576 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15577 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15578 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15579 * sysdeps/s390/nptl/tls.h: Likewise.
15580 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15581 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15582 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15583 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15584 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15585 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15586 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15587 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15588 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15589 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15590 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15591 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15592 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15593 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15594 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15595 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15596 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15597 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15598 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15600 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15602 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15603
15604 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15605 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15606
15607 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15608 Add lwarx hint, and use macro for acquire instruction.
15609 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15610 Likewise.
15611 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15612 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15613 update to use new atomic macros.
15614
15615 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15616
15617 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15618 (__lll_trylock_elision): Fix setting of adapt_count.
15619 * sysdeps/unix/sysv/linux/powerpc/htm.h
15620 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15621 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15622 (_ABORT_SYSCALL): Renumber, and clarify definition.
15623 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15624
15625 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15626
15627 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15628 after system headers to prevent MIN/MAX redefinition. Define
15629 HAVE_ALLOCA to preserve builtin alloca usage.
15630
15631 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15632
15633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15634 static and don't set or restore rounding.
15635 (__cos)[IN_SINCOS]: Likewise.
15636 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15637 (__sincos): Set and restore rounding mode. Remove check for infinite
15638 or NaN input.
15639
15640 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15641
15642 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15643 as used.
15644
15645 2015-11-16 Florian Weimer <fweimer@redhat.com>
15646
15647 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15648
15649 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15650
15651 * config.make.in (have-glob-dat-reloc): New.
15652 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15653 target supports GLOB_DAT relocaton. AC_SUBST.
15654 * configure: Regenerated.
15655 * elf/Makefile (tests): Add tst-prelink.
15656 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15657 (tst-prelink-ENV): New.
15658 ($(objpfx)tst-prelink-conflict.out): Likewise.
15659 ($(objpfx)tst-prelink-cmp.out): Likewise.
15660 * sysdeps/x86/tst-prelink.c: Moved to ...
15661 * elf/tst-prelink.c: Here.
15662 * sysdeps/x86/tst-prelink.exp: Moved to ...
15663 * elf/tst-prelink.exp: Here.
15664 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15665 (tst-prelink-ENV): Removed.
15666 ($(objpfx)tst-prelink-conflict.out): Likewise.
15667 ($(objpfx)tst-prelink-cmp.out): Likewise.
15668 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15669
15670 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15671
15672 [BZ #14551]
15673 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15674 (__mpn_construct_long_double): If high part overflows to infinity,
15675 set errno and recompute overflowed result of the correct sign.
15676 * sysdeps/ieee754/ldbl-128ibm/Makefile
15677 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15678 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15679 $(libm).
15680 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15681
15682 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15683
15684 [BZ #15479]
15685 [BZ #19238]
15686 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15687 floating-point state after first operation on input. Restore full
15688 state rather than just rounding mode.
15689 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15690 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15691 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15692
15693 [BZ #19235]
15694 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15695 add 0.5 to integer arguments.
15696 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15697 Likewise.
15698 (.LC2): New object.
15699
15700 2015-11-11 Mike Frysinger <vapier@gentoo.org>
15701
15702 * scripts/pylintrc (reports): Set to no.
15703
15704 2015-11-10 Roland McGrath <roland@hack.frob.com>
15705
15706 * elf/dl-load.c (open_verify): Take new argument FD.
15707 Skip __open call if passed FD is not -1.
15708 (_dl_map_object, open_path): Update callers.
15709 * elf/dl-sysdep-open.h: New file.
15710 * elf/dl-load.c: Include it.
15711 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15712 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15713 * sysdeps/nacl/dl-sysdep-open.h: New file.
15714 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15715 from libc to rtld.
15716
15717 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15718
15719 [BZ #19228]
15720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15721 and restore full floating-point state.
15722 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15723 Likewise.
15724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15725 Likewise.
15726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15727 Likewise.
15728 * math/test-nearbyint-except-2.c: New file.
15729 * math/Makefile (tests): Add test-nearbyint-except-2.
15730
15731 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
15732
15733 [BZ #19178]
15734 * sysdeps/x86/Makefile (tests): Add tst-prelink.
15735 (tst-prelink-ENV): New.
15736 ($(objpfx)tst-prelink-conflict.out): Likewise.
15737 ($(objpfx)tst-prelink-cmp.out): Likewise.
15738 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15739 * sysdeps/x86/tst-prelink.c: New file.
15740 * sysdeps/x86/tst-prelink.exp: Likewise.
15741
15742 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15743
15744 * math/auto-libm-test-in: Add another test of pow.
15745 * math/auto-libm-test-out: Regenerated.
15746 * math/libm-test.inc (pow_test_data): Add another test.
15747
15748 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15749
15750 [BZ #19219]
15751 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15752 weak_alias to nearbyintl.
15753
15754 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15755
15756 * sysdeps/aarch64/bits/string.h: New file.
15757 (_STRING_ARCH_unaligned): Define.
15758
15759 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15760
15761 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15762 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15763 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15764 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15766
15767 2015-11-09 Ulrich Drepper <drepper@gmail.com>
15768
15769 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15770 for original name of the DSO. Add it to the name list of the DSO
15771 if it is actually given.
15772 (_dl_map_object): Keep track of whether an audit module rewrote
15773 the file name. If yes, pass the original name to
15774 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
15775 debugging is enabled, log the change of the file name.
15776 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15777 _dl_map_object_from_fd.
15778 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15779 * elf/tst-audit11.c: New file
15780 * elf/tst-auditmod11.c: New file.
15781 * elf/tst-audit11mod1.c: New file.
15782 * elf/tst-audit11mod2.c: New file.
15783 * elf/tst-audit11mod2.map: New file.
15784 * elf/tst-audit12.c: New file
15785 * elf/tst-auditmod12.c: New file.
15786 * elf/tst-audit12mod1.c: New file.
15787 * elf/tst-audit12mod2.c: New file.
15788 * elf/tst-audit12mod2.map: New file.
15789 * elf/tst-audit12mod3.c: New file.
15790
15791 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15792
15793 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15794 Don't create weak aliases,
15795 because versioned symbols are created later.
15796 * sysdeps/s390/s390-32/setjmp.S
15797 (setjmp, _setjmp): Remove weak and rename to an unique name
15798 in SHARED case due to existing versioned symbols.
15799 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15800 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15801 (getcontext): Create weak alias only in non SHARED case.
15802 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15803
15804 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15805
15806 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15807 (__ASSUME_*_SYSCALL) Define new macros.
15808 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15809 Remove socketcall syscalls.
15810 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15811 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15812 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15813 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15814 * sysdeps/unix/sysv/linux/send.c (__libc_send):
15815 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15816
15817 2015-11-09 Florian Weimer <fweimer@redhat.com>
15818
15819 [BZ #12926]
15820 Terminate process on invalid netlink response.
15821 * sysdeps/unix/sysv/linux/netlinkaccess.h
15822 (__netlink_assert_response): Declare.
15823 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15824 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15825 (sysdep_routines): Add netlink_assert_response.
15826 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15827 __netlink_assert_response.
15828 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15829 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15830 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15831 __netlink_assert_response.
15832
15833 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
15834
15835 [BZ #19178]
15836 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15837 (RTYPE_CLASS_PLT): Likewise.
15838 (RTYPE_CLASS_COPY): Likewise.
15839 (RTYPE_CLASS_TLS): Likewise.
15840 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15841 to set relocation type class for DL_DEBUG_PRELINK. Keep only
15842 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15843 DL_DEBUG_PRELINK.
15844
15845 2015-11-06 Joseph Myers <joseph@codesourcery.com>
15846
15847 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15848 calls with argument -0.5.
15849 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15850
15851 * configure.ac (libc_cv_z_nodelete): Remove configure test.
15852 (libc_cv_z_nodlopen): Likewise.
15853 (libc_cv_z_initfirst): Likewise.
15854 * configure: Regenerated.
15855
15856 2015-11-06 Florian Weimer <fweimer@redhat.com>
15857
15858 Simplify abilist format to be line-based.
15859 * scripts/abilist.awk: Collect descriptors in the descs variable.
15860 (emit): Write descs variable and sort it
15861 externally, with sort.
15862 * sysdeps/**/*.abilist: Convert to new format.
15863
15864 2015-11-06 Mark Wielaard <mjw@redhat.com>
15865
15866 [BZ #11460]
15867 * io/Makefile (routines): Add fts64.
15868 (tests): Add tst-fts and tst-fts-lfs.
15869 (CFLAGS-fts64.c): New.
15870 * io/Versions (GLIBC_2.23): New.
15871 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15872 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15873 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15874 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15875 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15876 (FTSENT64): Likewise.
15877 (fts64_children): Likewise.
15878 (fts64_close): Likewise.
15879 (fts64_open): Likewise.
15880 (fts64_read): Likewise.
15881 (fts64_set): Likewise.
15882 * io/fts64.c: New file.
15883 * io/tst-fts.c: New test.
15884 * io/tst-fts-lfs.c: Likewise.
15885 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15886 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15887 fts64_set.
15888 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15889 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15902 Likewise.
15903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15904 Likewise.
15905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15917 * sysdeps/wordsize-64/fts.c: New file.
15918 * sysdeps/wordsize-64/fts64.c: Likewise.
15919 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15920 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15921 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15922 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15923
15924 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15925
15926 * math/libm-test.inc (NON_FINITE): New macro.
15927 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15928 * math/gen-libm-test.pl (show_exceptions): Add argument
15929 $non_finite.
15930 (parse_args): Update call to show_exceptions.
15931 * math/test-math-finite.h: New file.
15932 * math/test-math-no-finite.h: Likewise.
15933 * math/test-double-finite.c: Likewise.
15934 * math/test-float-finite.c: Likewise.
15935 * math/test-ldouble-finite.c: Likewise.
15936 * math/test-double.c: Include "test-math-no-finite.h".
15937 * math/test-float.c: Include "test-math-no-finite.h".
15938 * math/test-ldouble.c: Include "test-math-no-finite.h".
15939 * math/test-math-inline.h (TEST_FINITE): New macro.
15940 * math/test-math-vector.h (TEST_FINITE): Likewise.
15941 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15942 (libm-tests): Add test-float-finite and test-double-finite.
15943 ($(objpfx)test-float-finite.o): New dependency on
15944 $(objpfx)libm-test.stmp.
15945 ($(objpfx)test-double-finite.o): Likewise.
15946 ($(objpfx)test-ldouble-finite.o): Likewise.
15947 (libm-test-no-inline-cflags): New variable.
15948 (libm-test-finite-cflags): Likewise.
15949 (CFLAGS-test-float-finite.c): Likewise.
15950 (CFLAGS-test-double-finite.c): Likewise.
15951 (CFLAGS-test-ldouble-finite.c): Likewise.
15952 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15953 (CFLAGS-test-double.c): Likewise.
15954 (CFLAGS-test-ldouble.c): Likewise.
15955
15956 2015-11-05 Roland McGrath <roland@hack.frob.com>
15957
15958 * io/fcntl.c (__fcntl): Add ... to prototype.
15959 * misc/ioctl.c (__ioctl): Likewise.
15960 * misc/syscall.c (syscall): Likewise.
15961
15962 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15963
15964 * scripts/list-fixed-bugs.py: New file.
15965
15966 [BZ #19213]
15967 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15968 returned for argument 1.
15969 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15970 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15971 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15972 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15973 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15974 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15975
15976 [BZ #19211]
15977 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15978 __USE_XOPEN], not if [!__USE_ISOC99].
15979 (lgammaf): Likewise.
15980 (lgammal): Likewise.
15981 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15982 (gammaf): Likewise.
15983 (gammal): Likewise.
15984 * math/test-signgam-finite-c11.c: New file.
15985 * math/test-signgam-finite-c99.c: Likewise.
15986 * math/test-signgam-finite.c: Likewise.
15987 * math/Makefile (tests): Add test-signgam-finite,
15988 test-signgam-finite-c99 and test-signgam-finite-c11.
15989 (CFLAGS-test-signgam-finite.c): New variable.
15990 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15991 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15992
15993 [BZ #19212]
15994 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15995 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15996 500].
15997 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15998 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15999 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16000 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16001 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16002 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16003 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16004 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16005 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16006 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16007
16008 [BZ #19209]
16009 * math/bits/math-finite.h (ldexp): Remove declaration.
16010 (ldexpf): Likewise.
16011 (ldexpl): Likewise.
16012
16013 [BZ #19205]
16014 * math/bits/math-finite.h (acosf): Condition declaration on
16015 [__USE_ISOC99].
16016 (acosl): Likewise.
16017 (acoshf): Likewise.
16018 (acoshl): Likewise.
16019 (asinf): Likewise.
16020 (asinl): Likewise.
16021 (atan2f): Likewise.
16022 (atan2l): Likewise.
16023 (atanhf): Likewise.
16024 (atanhl): Likewise.
16025 (coshf): Likewise.
16026 (coshl): Likewise.
16027 (expf): Likewise.
16028 (expl): Likewise.
16029 (fmodf): Likewise.
16030 (fmodl): Likewise.
16031 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16032 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16033 (j0l): Likewise.
16034 (y0f): Likewise.
16035 (y0l): Likewise.
16036 (j1f): Likewise.
16037 (j1l): Likewise.
16038 (y1f): Likewise.
16039 (y1l): Likewise.
16040 (jnf): Likewise.
16041 (jnl): Likewise.
16042 (ynf): Likewise.
16043 (ynl): Likewise.
16044 (lgammaf_r): Condition declaration on [__USE_ISOC99].
16045 (lgammal_r): Likewise.
16046 (__lgamma_r_finite): New declaration.
16047 (__lgammaf_r_finite): Likewise.
16048 (__lgammal_r_finite): Likewise.
16049 (lgamma): Use __lgamma_r_finite.
16050 (lgammaf): Condition definition on [__USE_ISOC99]. Use
16051 __lgammaf_r_finite.
16052 (lgammal): Condition definition on [__USE_ISOC99]. Use
16053 __lgammal_r_finite.
16054 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
16055 __lgamma_r_finite.
16056 (gammaf): Condition definition on [__USE_ISOC99]. Use
16057 __lgammaf_r_finite.
16058 (gammal): Condition definition on [__USE_ISOC99]. Use
16059 __lgammal_r_finite.
16060 (logf): Condition declaration on [__USE_ISOC99].
16061 (logl): Likewise.
16062 (log10f): Likewise.
16063 (log10l): Likewise.
16064 (ldexpf): Likewise.
16065 (ldexpl): Likewise.
16066 (powf): Likewise.
16067 (powl): Likewise.
16068 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16069 __USE_ISOC99].
16070 (remainderf): Condition declaration on [__USE_ISOC99].
16071 (remainderl): Likewise.
16072 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16073 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16074 (scalbl): Likewise.
16075 (sinhf): Condition declaration on [__USE_ISOC99].
16076 (sinhl): Likewise.
16077 (sqrtf): Likewise.
16078 (sqrtl): Likewise.
16079
16080 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16081
16082 * sysdeps/arm/atomic-machine.h
16083 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16084 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16085 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16086 Remove conditional code.
16087 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16088 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16089 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16090 Change conditional to [__ASSEMBLER__].
16091 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16092 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16093 [!__ASSEMBLER__].
16094 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16095 code.
16096 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16097 conditional macro definitions.
16098 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16099 (__arch_compare_and_exchange_val_16_acq): Likewise.
16100 (__arch_compare_and_exchange_val_32_acq): Likewise.
16101 (atomic_exchange_and_add): Likewise.
16102 (atomic_add): Likewise.
16103 (atomic_add_negative): Likewise.
16104 (atomic_add_zero): Likewise.
16105 (atomic_bit_set): Likewise.
16106 (atomic_bit_test_set): Likewise.
16107 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16108 code unconditional.
16109 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16110
16111 * math/test-math-errno.h: New file.
16112 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16113 empty.
16114 (TEST_ERRNO): New macro.
16115 (TEST_EXCEPTIONS): Likewise.
16116 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16117 (TEST_EXCEPTIONS): Likewise.
16118 * math/test-math-vector.h (TEST_ERRNO): Likewise.
16119 * math/test-double.c: Include "test-math-errno.h".
16120 * math/test-float.c: Likewise.
16121 * math/test-ldouble.c: Likewise.
16122 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16123 code unconditional.
16124 (test_exceptions): Only run code if TEST_EXCEPTIONS.
16125 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16126 unconditional.
16127 (test_errno): Only run code if TEST_ERRNO.
16128 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16129
16130 2015-11-04 Florian Weimer <fweimer@redhat.com>
16131
16132 * nptl/tst-once5.cc: Remove attribution.
16133
16134 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16135
16136 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16137 sqrt, tan, tanh, y0, y1 and yn.
16138 * math/auto-libm-test-out: Regenerated.
16139 * math/libm-test.inc (scalb_test_data): Add more tests.
16140 (scalbn_test_data): Likewise.
16141 (scalbln_test_data): Likewise.
16142 (signbit_test_data): Likewise.
16143 (sin_test_data): Likewise.
16144 (sincos_test_data): Likewise.
16145 (sinh_test_data): Likewise.
16146 (sqrt_test_data): Likewise.
16147 (tan_test_data): Likewise.
16148 (tanh_test_data): Likewise.
16149 (tgamma_test_data): Likewise.
16150 (y0_test_data): Likewise.
16151 (y1_test_data): Likewise.
16152 (yn_test_data): Likewise.
16153 (significand_test_data): Likewise.
16154 * sysdeps/i386/fpu/libm-test-ulps: Update.
16155
16156 2015-11-03 David Kastrup <dak@gnu.org>
16157
16158 [BZ #18604]
16159 * assert/assert.h (assert): Don't macro-expand failed assertion
16160 expression in error message.
16161 * malloc/malloc.c (assert): Likewise.
16162
16163 2015-11-03 Joseph Myers <joseph@codesourcery.com>
16164
16165 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16166 test.
16167 * configure: Regenerated.
16168
16169 2015-11-02 Joseph Myers <joseph@codesourcery.com>
16170
16171 * math/libm-test.inc (modf_test_data): Add more tests.
16172 (nearbyint_test_data): Likewise.
16173 (nextafter_test_data): Likewise.
16174 (nexttoward_test_data): Likewise.
16175 (pow_test_data): Likewise.
16176 (remainder_test_data): Likewise.
16177 (remquo_test_data): Likewise.
16178 (rint_test_data): Likewise.
16179
16180 [BZ #19201]
16181 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16182 Check for zero remainder in case of large exponents and ensure
16183 correct sign of result in that case.
16184 * math/libm-test.inc (remainder_test_data): Add more tests.
16185
16186 [BZ #6799]
16187 * math/s_nextafter.c: Include <errno.h>.
16188 (__nextafter): Set errno on overflow and underflow.
16189 * math/s_nexttowardf.c: Include <errno.h>.
16190 (__nexttowardf): Set errno on overflow and underflow.
16191 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16192 (__nextafterl): Set errno on overflow and underflow.
16193 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16194 (__nexttoward): Set errno on overflow and underflow.
16195 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16196 (__nexttowardf): Set errno on overflow and underflow.
16197 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16198 (__nextafterf): Set errno on overflow and underflow.
16199 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16200 (__nextafterl): Set errno on overflow and underflow.
16201 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16202 (__nexttoward): Set errno on overflow and underflow.
16203 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16204 (__nexttowardf): Set errno on overflow and underflow.
16205 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16206 (__nextafterl): Set errno on overflow and underflow.
16207 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16208 (__nexttoward): Set errno on overflow and underflow.
16209 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16210 (__nexttowardf): Set errno on overflow and underflow.
16211 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16212 (__nexttoward): Set errno on overflow and underflow.
16213 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16214 (__nexttowardf): Set errno on overflow and underflow.
16215 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16216 (__nldbl_nexttowardf): Set errno on overflow and underflow.
16217 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16218 (__nextafterl): Set errno on overflow and underflow.
16219 * math/libm-test.inc (nextafter_test_data): Do not allow errno
16220 setting to be missing on overflow. Add more tests.
16221 (nexttoward_test_data): Likewise.
16222
16223 * configure.ac (libc_cv_initfini_array): Remove configure test.
16224 * configure: Regenerated.
16225
16226 2015-10-29 Joseph Myers <joseph@codesourcery.com>
16227
16228 [BZ #19189]
16229 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16230 non-finite argument handle arguments with negative sign.
16231
16232 * math/libm-test.inc (j0_test_data): Do not test sign of zero
16233 result from infinite argument.
16234 (j1_test_data): Likewise.
16235 (jn_test_data): Likewise.
16236 (y0_test_data): Likewise.
16237 (y1_test_data): Likewise.
16238 (yn_test_data): Likewise.
16239
16240 [BZ #16171]
16241 * math/w_remainder.c (drem): Define as weak alias of __remainder.
16242 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16243 * math/w_remainderf.c (dremf): Define as weak alias of
16244 __remainderf.
16245 * math/w_remainderl.c (dreml): Define as weak alias of
16246 __remainderl.
16247 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16248 __remainder.
16249 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16250 __remainderf.
16251 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16252 __remainderl.
16253 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16254 weak alias of remainderl.
16255 * sysdeps/ieee754/ldbl-opt/w_remainder.c
16256 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16257 alias of __remainder.
16258 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16259 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16260 strong alias of __remainderl.
16261 (dreml): Use long_double_symbol.
16262 * math/Makefile (libm-calls): Remove w_drem.
16263 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16264 (CFLAGS-nldbl-drem.c): Remove variable.
16265 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16266 * math/w_drem.c: Remove file.
16267 * math/w_dremf.c: Likewise.
16268 * math/w_dreml.c: Likewise.
16269 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16270 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16271 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16272
16273 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16274 * sysdeps/i386/configure: Regenerated.
16275 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16276 * sysdeps/x86_64/configure: Regenerated.
16277
16278 * configure.ac (libc_cv_asm_protected_directive): Remove configure
16279 test.
16280 (libc_cv_visibility_attribute): Likewise.
16281 (libc_cv_protected_data): Test unconditionally.
16282 (libc_cv_broken_visibility_attribute): Remove configure test.
16283 (libc_cv_have_sdata_section): Test unconditionally.
16284 * configure: Regenerated.
16285
16286 * include/libc-internal.h (libc_max_align_t): Remove typedef.
16287 * include/scratch_buffer.h: Include <stddef.h> instead of
16288 <libc-internal.h>.
16289 (struct scratch_buffer): Use max_align_t instead of
16290 libc_max_align_t.
16291
16292 2015-10-29 Florian Weimer <fweimer@redhat.com>
16293
16294 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16295 instead of extend_alloca. Change control flow to avoid a goto.
16296 Remove assert which is trivially always true.
16297
16298 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16299
16300 [BZ #16068]
16301 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16302 (FE_ALL_EXCEPT_X86): New macro.
16303 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16304 FE_ALL_EXCEPT. Ensure precision control is included in
16305 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16306 handle "denormal operand exception" and clear FZ and DAZ bits.
16307 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16308 (FE_ALL_EXCEPT_X86): New macro.
16309 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16310 FE_ALL_EXCEPT. Ensure precision control is included in
16311 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16312 handle "denormal operand exception" and clear FZ and DAZ bits.
16313 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16314 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16315 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16316 test-fenv-x87 and test-fenv-sse-2.
16317 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16318
16319 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16320 * math/test-double.h (BUILD_COMPLEX): New macro.
16321 * math/test-float.h (BUILD_COMPLEX): Likewise.
16322 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16323
16324 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16325 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16326 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16328 instead of DBL_DENORM_MIN in comment.
16329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16330 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16332 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16333 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16334 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16335
16336 2015-10-28 Florian Weimer <fweimer@redhat.com>
16337
16338 [BZ# 19048]
16339 * malloc/malloc.c (struct malloc_state): Update comment. Add
16340 attached_threads member.
16341 (main_arena): Initialize attached_threads.
16342 * malloc/arena.c (list_lock): Update comment.
16343 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16344 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16345 (deattach_arena): New function.
16346 (_int_new_arena): Initialize arena reference count and deattach
16347 replaced arena.
16348 (get_free_list, reused_arena): Update reference count and deattach
16349 replaced arena.
16350 (arena_thread_freeres): Update arena reference count and only put
16351 unreferenced arenas on the free list.
16352
16353 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16354
16355 [BZ #19181]
16356 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16357 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16358 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16359 * math/test-fenv-clear-main.c: New file.
16360 * math/test-fenv-clear.c: Likewise.
16361 * math/Makefile (tests): Add test-fenv-clear.
16362 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16363 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16364 test-fenv-clear-sse.
16365 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16366
16367 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16368 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16369 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16370
16371 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16372
16373 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16374 static libc.
16375
16376 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16377
16378 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16379 test.
16380 * sysdeps/i386/configure: Regenerated.
16381 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16382 test.
16383 * sysdeps/x86_64/configure: Regenerated.
16384 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16386 memset-avx2 unconditionally instead of conditionally on
16387 [$(config-cflags-avx2) = yes].
16388 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16389 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16390 unconditional.
16391 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16392 * sysdeps/x86_64/multiarch/memset_chk.S
16393 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16394 to [IS_IN (libc) && SHARED].
16395
16396 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16397
16398 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16399 configure test.
16400 * sysdeps/arm/configure: Regenerated.
16401 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16402 Define variable if not already defined.
16403
16404 [BZ #17404]
16405 * sysdeps/mips/atomic-machine.h
16406 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16407 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16408 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16409
16410 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16411 unconditional.
16412 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16413 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16414 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16415 unconditional.
16416 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16417 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16418 unconditional.
16419 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16420 * stdlib/setenv.c
16421 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16422 code unconditional.
16423 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16424 Remove conditional code.
16425 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16426 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16427 unconditional.
16428 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16429 code.
16430 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16431 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16432 unconditional.
16433 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16434 code.
16435 * sysdeps/ieee754/ldbl-128/k_tanl.c
16436 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16437 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16438 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16439 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16440 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16441 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16442 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16443 unconditional.
16444 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16445 code.
16446 * sysdeps/ieee754/ldbl-96/k_tanl.c
16447 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16448 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16449
16450 * nptl/tst-initializers1-c11.c: New file.
16451 * nptl/tst-initializers1-gnu11.c: Likewise.
16452 * nptl/Makefile (tests): Add these new tests.
16453 (CFLAGS-tst-initializers1-c11.c): New variable.
16454 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16455
16456 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16457 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16458 instead of -std=gnu99.
16459 * configure.ac (systemtap): Test with -std=gnu11 instead of
16460 -std=gnu99.
16461 * configure: Regenerated.
16462 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16463 in compilation command in comment.
16464
16465 * sysdeps/nptl/configure.ac: Remove file.
16466 * sysdeps/nptl/configure: Remove generated file.
16467 * configure.ac (libc_cv_forced_unwind): Do not substitute.
16468 * configure: Regenerated.
16469 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16470 * config.make.in (have-forced-unwind): Remove variable.
16471 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16472 unconditional.
16473 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16474 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16475 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16476 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16477 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16478 unconditional.
16479
16480 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16481
16482 [BZ #19174]
16483 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16484 .skip_lock_out_of_tbegin_retries.
16485 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16486 (__lll_lock_elision): Likewise, and respect a value of
16487 try_tbegin <= 0.
16488
16489 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16490
16491 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16492 statement.
16493
16494 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16495
16496 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16497 variable.
16498 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16499 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16500
16501 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16502 of -std=c1x -D_ISOC11_SOURCE.
16503
16504 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16505 * configure: Regenerated.
16506 * manual/install.texi (Tools for Compilation): Document
16507 requirement for GCC 4.7 or later.
16508 * INSTALL: Regenerated.
16509
16510 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16511
16512 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16513 on CNT to a conditional jump to 'puntdata'.
16514
16515 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16516
16517 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16518 (libc_cv_gcc_tls_model_attr): Likewise.
16519 * configure: Regenerated.
16520
16521 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16522 * configure: Regenerated.
16523 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16524
16525 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16526
16527 * configure.ac (old_glibc_headers): Remove configure test.
16528 * configure: Regenerated.
16529 * config.make.in (old-glibc-headers): Remove variable.
16530 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16531 (install): Remove dependency on remove-old-headers.
16532 (headers2_0): Remove variable.
16533 (remove-old-headers): Remove rule.
16534
16535 * configure.ac (libc_cv_dot_text): Remove configure test.
16536 (libc_cv_asm_set_directive): Use .text instead of
16537 ${libc_cv_dot_text} in configure test.
16538 * configure: Regenerated.
16539
16540 2015-10-26 Florian Weimer <fweimer@redhat.com>
16541
16542 [BZ #19168]
16543 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16544
16545 2015-10-26 Florian Weimer <fweimer@redhat.com>
16546
16547 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16548 not support static linking.
16549 * configure: Regenerate.
16550
16551 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16552
16553 * math/libm-test.inc (check_float_internal): Do not special-case
16554 errors up to 0.5 ulp.
16555
16556 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16557 log2.
16558 * math/auto-libm-test-out: Regenerated.
16559 * math/libm-test.inc (MAX_EXP): New macro.
16560 (ilogb_test_data): Add more tests.
16561 (isfinite_test_data): Likewise.
16562 (isgreater_test_data): Likewise.
16563 (isgreaterequal_test_data): Likewise.
16564 (isinf_test_data): Likewise.
16565 (isless_test_data): Likewise.
16566 (islessequal_test_data): Likewise.
16567 (islessgreater_test_data): Likewise.
16568 (isnan_test_data): Likewise.
16569 (isnormal_test_data): Likewise.
16570 (issignaling_test_data): Likewise.
16571 (isunordered_test_data): Likewise.
16572 (j0_test_data): Likewise.
16573 (j1_test_data): Likewise.
16574 (jn_test_data): Likewise.
16575 (lgamma_test_data): Likewise.
16576 (log_test_data): Likewise.
16577 (log10_test_data): Likewise.
16578 (log1p_test_data): Likewise.
16579 (log2_test_data): Likewise.
16580 (logb_test_data): Likewise.
16581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16582
16583 [BZ #18611]
16584 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16585 avoid excess range and precision on underflow.
16586 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16587 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16588 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16589 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16590 underflow.
16591 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16592 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16593 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16594 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16595 * math/auto-libm-test-in: Do not allow missing errno setting for
16596 tests of j1 and jn.
16597 * math/auto-libm-test-out: Regenerated.
16598
16599 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16600
16601 [BZ #15491]
16602 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16603 floating-point environment instead of clearing all exceptions.
16604 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16605 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16606 merging in "invalid" exceptions from frndint.
16607 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16608 * math/test-nearbyint-except.c: New file.
16609 * math/Makefile (tests): Add test-nearbyint-except.
16610
16611 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16612
16613 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16614
16615 * sysdeps/tile/libm-test-ulps: Regenerated.
16616
16617 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16618
16619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16620 (__NR_sync_file_range2): Assume it is always defined.
16621 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16622 (__NR_sync_file_range): Assume it is always defined.
16623
16624 2015-10-22 Andreas Schwab <schwab@suse.de>
16625
16626 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16627 INTERNAL_SYSCALL_ERRNO.
16628 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16629 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16630 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16631 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16632 Likewise.
16633 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16634
16635 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16636
16637 * io/tst-fcntl.c (fd): New static variable.
16638 (do_prepare): Open temporary file here....
16639 (do_test): ...not here.
16640
16641 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16642
16643 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16644
16645 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16646 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16647 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16648 Moved before "#ifdef __ASSEMBLER__".
16649
16650 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16651
16652 [BZ #19156]
16653 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16654 arguments very close to 0.
16655
16656 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16657
16658 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16659 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16660
16661 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16662
16663 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16664 New. Defined for GCC 5 and above when not compiling for
16665 profiling.
16666 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16667
16668 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16669 Renamed to ...
16670 (CFLAGS-epoll_pwait.o): This.
16671 (CFLAGS-mmap.c): Renamed to ...
16672 (CFLAGS-mmap.o): This.
16673 (CFLAGS-mmap64.c): Renamed to ...
16674 (CFLAGS-mmap64.o): This.
16675 (CFLAGS-epoll_pwait.os): New.
16676 (CFLAGS-mmap.os): Likewise.
16677 (CFLAGS-mmap64.os): Likewise.
16678 (CFLAGS-semtimedop.os): Likewise.
16679 (CFLAGS-semtimedop.c): Renamed to ...
16680 (CFLAGS-semtimedop.o): This.
16681
16682 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16683
16684 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16685 warning message.
16686
16687 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16688
16689 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16690 * Makefile ($(objpfx)c++-types-check.out): Filter out
16691 $(+gccwarn-c) instead of -Wstrict-prototypes.
16692
16693 * io/fts.c (fts_open): Convert to prototype-style function
16694 definition.
16695 * malloc/mcheck.c (mcheck): Likewise.
16696 (mcheck_pedantic): Likewise.
16697 * posix/regexec.c (re_search_2_stub): Likewise. Use
16698 internal_function.
16699 (re_search_internal): Likewise.
16700 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16701 prototype-style function definition.
16702 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16703 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16704 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16705 (xdr_utmpptr): Likewise.
16706 (xdr_utmparr): Likewise.
16707 (xdr_utmpidle): Likewise.
16708 (xdr_utmpidleptr): Likewise.
16709 (xdr_utmpidlearr): Likewise.
16710
16711 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16712 log, log10 and log2.
16713 * math/auto-libm-test-out: Regenerated.
16714 * math/libm-test.inc (fmod_test_data): Add more tests.
16715 (fpclassify_test_data): Likewise.
16716 (frexp_test_data): Likewise.
16717 (hypot_test_data): Likewise.
16718 (ilogb_test_data): Likewise.
16719
16720 2015-10-20 Joseph Myers <joseph@codesourcery.com>
16721
16722 * debug/fortify_fail.c (__fortify_fail): Convert to
16723 prototype-style function definition. Use internal_function.
16724 * libio/genops.c (save_for_backup): Convert to prototype-style
16725 function definition.
16726 * libio/wgenops.c (save_for_wbackup): Likewise.
16727 * login/grantpt.c (grantpt): Likewise.
16728 * login/ptsname.c (ptsname): Likewise.
16729 (__ptsname_r): Likewise.
16730 * login/unlockpt.c (unlockpt): Likewise.
16731 * mach/msgserver.c (__mach_msg_server): Likewise.
16732 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16733 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16734 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16735 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16736 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16737 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16738 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16739 Likewise.
16740 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
16741 internal_function.
16742 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16743 prototype-style function definition.
16744 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16745 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16746 (__pthread_create_2_0): Likewise.
16747 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16748 * nptl/register-atfork.c (__register_atfork): Likewise.
16749 * posix/glob.c (glob): Likewise.
16750 * posix/regcomp.c (re_comp): Likewise.
16751 * posix/regexec.c (re_exec): Likewise.
16752 * stdlib/add_n.c [__STDC__]: Make code unconditional.
16753 [!__STDC__]: Remove conditional code.
16754 * stdlib/cmp.c [__STDC__]: Make code unconditional.
16755 [!__STDC__]: Remove conditional code.
16756 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16757 [!__STDC__]: Remove conditional code.
16758 * stdlib/divrem.c [__STDC__]: Make code unconditional.
16759 [!__STDC__]: Remove conditional code.
16760 * stdlib/lshift.c [__STDC__]: Make code unconditional.
16761 [!__STDC__]: Remove conditional code.
16762 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16763 [!__STDC__]: Remove conditional code.
16764 * stdlib/mul.c [__STDC__]: Make code unconditional.
16765 [!__STDC__]: Remove conditional code.
16766 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16767 [!__STDC__]: Remove conditional code.
16768 * stdlib/rshift.c [__STDC__]: Make code unconditional.
16769 [!__STDC__]: Remove conditional code.
16770 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16771 function definition.
16772 (STRTOF): Likewise.
16773 * stdlib/strtod_l.c (__STRTOF): Likewise.
16774 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16775 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16776 (__strtol_l): Likewise.
16777 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16778 [!__STDC__]: Remove conditional code.
16779 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16780 definition.
16781 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16782 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16783 type.
16784 (__strcasecmp): Convert to prototype-style function definition.
16785 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16786 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16787 type.
16788 (__strncasecmp): Convert to prototype-style function definition.
16789 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16790 * sunrpc/xdr.c (xdr_union): Likewise.
16791 * sunrpc/xdr_array.c (xdr_array): Likewise.
16792 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16793 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16794 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16795 Likewise.
16796 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16797 Likewise.
16798 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16799 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16800 Likewise.
16801 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16802 (LOCALE_PARAM_PROTO): Likewise.
16803 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16804 argument type.
16805 (ut_argument_spec): Remove macro.
16806 (ut_argument_spec_iso): Rename to ut_argument_spec.
16807 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
16808 prototype-style function definition.
16809 (memcpy_uppcase): Likewise.
16810 (__strftime_internal): Likewise.
16811 (my_strftime): Likewise.
16812 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16813 (LOCALE_PARAM_DECL): Likewise.
16814 [_LIBC] (LOCALE_PARAM): Include argument type.
16815 (__strptime_internal): Convert to prototype-style function
16816 definition.
16817 (strptime): Likewise.
16818 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16819 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16820 type.
16821 (__wcscasecmp): Convert to prototype-style function definition.
16822 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16823 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16824 type.
16825 (__wcsncasecmp): Convert to prototype-style function definition.
16826
16827 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16828 function definition.
16829 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16830 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16831 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16832 * elf/dl-minimal.c (_itoa): Likewise.
16833 * hurd/hurdmalloc.c (malloc): Likewise.
16834 (free): Likewise.
16835 (realloc): Likewise.
16836 * inet/inet6_option.c (inet6_option_space): Likewise.
16837 (inet6_option_init): Likewise.
16838 (inet6_option_append): Likewise.
16839 (inet6_option_alloc): Likewise.
16840 (inet6_option_next): Likewise.
16841 (inet6_option_find): Likewise.
16842 * io/ftw.c (FTW_NAME): Likewise.
16843 (NFTW_NAME): Likewise.
16844 (NFTW_NEW_NAME): Likewise.
16845 (NFTW_OLD_NAME): Likewise.
16846 * libio/iofwide.c (_IO_fwide): Likewise.
16847 * libio/strops.c (_IO_str_init_static_internal): Likewise.
16848 (_IO_str_init_static): Likewise.
16849 (_IO_str_init_readonly): Likewise.
16850 (_IO_str_overflow): Likewise.
16851 (_IO_str_underflow): Likewise.
16852 (_IO_str_count): Likewise.
16853 (_IO_str_seekoff): Likewise.
16854 (_IO_str_pbackfail): Likewise.
16855 (_IO_str_finish): Likewise.
16856 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16857 (_IO_wstr_overflow): Likewise.
16858 (_IO_wstr_underflow): Likewise.
16859 (_IO_wstr_count): Likewise.
16860 (_IO_wstr_seekoff): Likewise.
16861 (_IO_wstr_pbackfail): Likewise.
16862 (_IO_wstr_finish): Likewise.
16863 * locale/programs/localedef.c (normalize_codeset): Likewise.
16864 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16865 (add_locales_to_archive): Likewise.
16866 (delete_locales_from_archive): Likewise.
16867 * malloc/malloc.c (__libc_mallinfo): Likewise.
16868 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16869 * misc/tsearch.c (__tfind): Likewise.
16870 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16871 * nptl/pthread_attr_getdetachstate.c
16872 (__pthread_attr_getdetachstate): Likewise.
16873 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16874 Likewise.
16875 * nptl/pthread_attr_getinheritsched.c
16876 (__pthread_attr_getinheritsched): Likewise.
16877 * nptl/pthread_attr_getschedparam.c
16878 (__pthread_attr_getschedparam): Likewise.
16879 * nptl/pthread_attr_getschedpolicy.c
16880 (__pthread_attr_getschedpolicy): Likewise.
16881 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16882 Likewise.
16883 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16884 Likewise.
16885 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16886 Likewise.
16887 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16888 Likewise.
16889 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16890 (__pthread_attr_init_2_0): Likewise.
16891 * nptl/pthread_attr_setdetachstate.c
16892 (__pthread_attr_setdetachstate): Likewise.
16893 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16894 Likewise.
16895 * nptl/pthread_attr_setinheritsched.c
16896 (__pthread_attr_setinheritsched): Likewise.
16897 * nptl/pthread_attr_setschedparam.c
16898 (__pthread_attr_setschedparam): Likewise.
16899 * nptl/pthread_attr_setschedpolicy.c
16900 (__pthread_attr_setschedpolicy): Likewise.
16901 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16902 Likewise.
16903 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16904 Likewise.
16905 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16906 Likewise.
16907 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16908 Likewise.
16909 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16910 Likewise.
16911 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16912 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16913 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16914 use internal_function.
16915 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16916 prototype-style function definition.
16917 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16918 (__pthread_mutex_cond_lock_adjust): Likewise. Use
16919 internal_function.
16920 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16921 Convert to prototype-style function definition.
16922 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16923 Likewise.
16924 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16925 Likewise.
16926 (__pthread_mutex_unlock): Likewise.
16927 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16928 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16929 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16930 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16931 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16932 * nss/makedb.c (process_input): Likewise.
16933 * posix/fnmatch.c (__strchrnul): Likewise.
16934 (__wcschrnul): Likewise.
16935 (fnmatch): Likewise.
16936 * posix/fnmatch_loop.c (FCT): Likewise.
16937 * posix/glob.c (globfree): Likewise.
16938 (__glob_pattern_type): Likewise.
16939 (__glob_pattern_p): Likewise.
16940 * posix/regcomp.c (re_compile_pattern): Likewise.
16941 (re_set_syntax): Likewise.
16942 (re_compile_fastmap): Likewise.
16943 (regcomp): Likewise.
16944 (regerror): Likewise.
16945 (regfree): Likewise.
16946 * posix/regexec.c (regexec): Likewise.
16947 (re_match): Likewise.
16948 (re_search): Likewise.
16949 (re_match_2): Likewise.
16950 (re_search_2): Likewise.
16951 (re_search_stub): Likewise. Use internal_function
16952 (re_copy_regs): Likewise.
16953 (re_set_registers): Convert to prototype-style function
16954 definition.
16955 (prune_impossible_nodes): Likewise. Use internal_function.
16956 * resolv/inet_net_pton.c (inet_net_pton): Convert to
16957 prototype-style function definition.
16958 (inet_net_pton_ipv4): Likewise.
16959 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16960 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16961 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16962 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16963 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16964 Make variadic.
16965 * time/strptime_l.c (localtime_r): Convert to prototype-style
16966 function definition.
16967 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16968 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16969 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16970 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16971
16972 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16973 definition.
16974 (_ufc_doit_r): Likewise.
16975 * crypt/crypt_util.c (_ufc_copymem): Likewise.
16976 (_ufc_output_conversion_r): Likewise.
16977 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16978 * inet/rcmd.c (rcmd_af): Likewise.
16979 (rcmd): Likewise.
16980 (ruserok_af): Likewise.
16981 (ruserok): Likewise.
16982 (ruserok2_sa): Likewise.
16983 (ruserok_sa): Likewise.
16984 (iruserok_af): Likewise.
16985 (iruserok): Likewise.
16986 (__ivaliduser): Likewise.
16987 (__validuser2_sa): Likewise.
16988 * inet/rexec.c (rexec_af): Likewise.
16989 (rexec): Likewise.
16990 * inet/ruserpass.c (ruserpass): Likewise.
16991 * locale/programs/xmalloc.c (xcalloc): Likewise.
16992 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16993 * math/w_drem.c (__drem): Likewise.
16994 * math/w_dremf.c (__dremf): Likewise.
16995 * math/w_dreml.c (__dreml): Likewise.
16996 * misc/daemon.c (daemon): Likewise.
16997 * resolv/res_debug.c (p_fqnname): Likewise.
16998 * stdlib/div.c (div): Likewise.
16999 * string/memcmp.c (memcmp_bytes): Likewise.
17000 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17001 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17002
17003 * crypt/cert.c (main): Convert to prototype-style function
17004 definition.
17005 * io/pipe.c (__pipe): Likewise.
17006 * io/pipe2.c (__pipe2): Likewise.
17007 * misc/futimesat.c (futimesat): Likewise.
17008 * misc/utimes.c (__utimes): Likewise.
17009 * posix/execve.c (__execve): Likewise.
17010 * posix/execvp.c (execvp): Likewise.
17011 * posix/execvpe.c (__execvpe): Likewise.
17012 * posix/fexecve.c (fexecve): Likewise.
17013 * socket/socketpair.c (socketpair): Likewise.
17014 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17015 * stdlib/erand48.c (erand48): Likewise.
17016 * stdlib/erand48_r.c (__erand48_r): Likewise.
17017 * stdlib/jrand48.c (jrand48): Likewise.
17018 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17019 * stdlib/lcong48.c (lcong48): Likewise.
17020 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17021 * stdlib/nrand48.c (nrand48): Likewise.
17022 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17023 * stdlib/seed48.c (seed48): Likewise.
17024 * stdlib/seed48_r.c (__seed48_r): Likewise.
17025 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17026 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17027 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17028
17029 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17030
17031 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17032 * configure: Regenerated.
17033 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17034 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17035 unconditional.
17036 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17037 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17038 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17039 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17040 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17041 unconditional.
17042 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17043
17044 * posix/Makefile (CFLAGS-regex.c): Remove variable.
17045 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17046
17047 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17048 function definition.
17049 * crypt/crypt_util.c (__encrypt_r): Likewise.
17050 * libio/genops.c (_IO_no_init): Likewise.
17051 * libio/iofopncook.c (_IO_fopencookie): Likewise.
17052 (_IO_old_fopencookie): Likewise.
17053 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17054 * libio/iogetline.c (_IO_getline): Likewise.
17055 (_IO_getline_info): Likewise.
17056 * libio/iogetwline.c (_IO_getwline): Likewise.
17057 (_IO_getwline_info): Likewise.
17058 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17059 * libio/vswprintf.c (_IO_vswprintf): Likewise.
17060 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17061 (find_entry): Likewise.
17062 (iterate_table): Likewise.
17063 (lookup): Likewise.
17064 * login/forkpty.c (forkpty): Likewise.
17065 * misc/hsearch_r.c (__hsearch_r): Likewise.
17066 * misc/select.c (__select): Likewise.
17067 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17068 Likewise.
17069 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17070 Likewise.
17071 * nptl/old_pthread_cond_timedwait.c
17072 (__pthread_cond_timedwait_2_0): Likewise.
17073 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17074 * nptl/pthread_barrierattr_getpshared.c
17075 (pthread_barrierattr_getpshared): Likewise.
17076 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17077 Likewise.
17078 * nptl/pthread_mutex_setprioceiling.c
17079 (pthread_mutex_setprioceiling): Likewise.
17080 * nptl/pthread_mutexattr_getprioceiling.c
17081 (pthread_mutexattr_getprioceiling): Likewise.
17082 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17083 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17084 Likewise.
17085 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17086 Likewise.
17087 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17088 Likewise.
17089 * socket/recvfrom.c (__recvfrom): Likewise.
17090 * socket/sendto.c (__sendto): Likewise.
17091 * socket/setsockopt.c (__setsockopt): Likewise.
17092 * stdio-common/_itoa.c (_itoa): Likewise.
17093 * stdio-common/_itowa.c (_itowa): Likewise.
17094 * stdio-common/reg-printf.c (__register_printf_specifier):
17095 Likewise.
17096 (__register_printf_function): Likewise.
17097 * stdio-common/tempname.c (__path_search): Likewise.
17098 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17099 * stdlib/mul_1.c (mpn_mul_1): Likewise.
17100 * stdlib/random_r.c (__initstate_r): Likewise.
17101 * stdlib/setenv.c (__add_to_environ): Likewise.
17102 * stdlib/submul_1.c (mpn_submul_1): Likewise.
17103 * streams/getpmsg.c (getpmsg): Likewise.
17104 * streams/putmsg.c (putmsg): Likewise.
17105 * streams/putpmsg.c (putpmsg): Likewise.
17106 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17107 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17108 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17109 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17110 * sunrpc/pm_getport.c (pmap_getport): Likewise.
17111 * sunrpc/svc_udp.c (cache_get): Likewise.
17112 * sunrpc/xdr_array.c (xdr_vector): Likewise.
17113 * sysdeps/mach/hurd/getcwd.c
17114 (__canonicalize_directory_name_internal): Likewise.
17115 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17116 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17117 * sysdeps/mach/hurd/select.c (__select): Likewise.
17118 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17119 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17120 * sysdeps/sparc/nptl/pthread_barrier_init.c
17121 (__pthread_barrier_init): Likewise.
17122 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17123 (__pthread_cond_timedwait): Likewise.
17124 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17125 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17126 Likewise.
17127 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17128 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17129 Likewise.
17130 * sysvipc/semtimedop.c (semtimedop): Likewise.
17131 * time/setitimer.c (__setitimer): Likewise.
17132 * time/strftime_l.c (emacs_strftime): Likewise.
17133
17134 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17135
17136 * config.make.in (have-ssp): Delete.
17137 (stack-protector): New variable.
17138 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
17139 cache test for -fstack-protector-strong. Export stack_protector to
17140 the best ssp flag.
17141 * configure: Regenerated.
17142 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17143 * nscd/Makefile (CFLAGS-nscd): Likewise.
17144 * resolv/Makefile (CFLAGS-libresolv): Likewise.
17145
17146 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
17147
17148 [BZ #19122]
17149 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17150 attribute_hidden.
17151
17152 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17153
17154 [BZ #18743]
17155 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17156 code to...
17157 (ELIDE_LOCK): ...here.
17158 (__get_new_count): New function with part of the code from
17159 __elide_lock that updates the value of adapt_count after a
17160 transaction abort.
17161 (__elided_trylock): Moved this code to...
17162 (ELIDE_TRYLOCK): ...here.
17163
17164 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17165
17166 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17167 * configure: Regenerate.
17168 * INSTALL: Regenerate.
17169 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17170 and tweak grammar.
17171
17172 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
17173
17174 * login/programs/pt_chown.c: Include signal.h
17175 (main): Clear any signal mask from the parent process.
17176
17177 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17178
17179 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17180 * configure: Regenerated.
17181 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17182 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17183 $(gnu89-inline-CFLAGS).
17184
17185 * configure.ac (libc_cv_asm_weak_directive): Remove configure
17186 test.
17187 (libc_cv_asm_weakext_directive): Likewise.
17188 * configure: Regenerated.
17189 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17190 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17191 * include/libc-symbols.h
17192 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17193 #error.
17194 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17195 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17196
17197 * sysdeps/arm/backtrace.c (__backtrace): Convert to
17198 prototype-style function definition.
17199 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17200 * sysdeps/i386/ffs.c (__ffs): Likewise.
17201 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17202 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17203 Likewise.
17204 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17205 Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17207 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17208 Likewise.
17209 * sysdeps/m68k/ffs.c (__ffs): Likewise.
17210 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17211 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17212 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17213 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17214 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17215 * sysdeps/mach/hurd/access.c (__access): Likewise.
17216 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17217 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17218 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17219 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17220 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17221 (cthread_getspecific): Likewise.
17222 (cthread_setspecific): Likewise.
17223 (__libc_getspecific): Likewise.
17224 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17225 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17226 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17227 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17228 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17229 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17230 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17231 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17232 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17233 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17234 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17235 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17236 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17237 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17238 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17239 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17240 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17241 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17242 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17243 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17244 * sysdeps/mach/hurd/link.c (__link): Likewise.
17245 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17246 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17247 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17248 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17249 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17250 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17251 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17252 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17253 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17254 * sysdeps/mach/hurd/rename.c (rename): Likewise.
17255 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17256 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17257 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17258 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17259 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17260 * sysdeps/mach/hurd/send.c (__send): Likewise.
17261 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17262 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17263 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17264 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17265 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17266 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17267 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17268 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17269 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17270 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17271 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17272 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17273 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17274 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17275 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17276 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17277 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17278 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17279 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17280 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17281 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17282 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17283 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17284 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17285 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17286 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17287 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17288 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17289 * sysdeps/posix/alarm.c (alarm): Likewise.
17290 * sysdeps/posix/cuserid.c (cuserid): Likewise.
17291 * sysdeps/posix/dirfd.c (dirfd): Likewise.
17292 * sysdeps/posix/dup.c (__dup): Likewise.
17293 * sysdeps/posix/dup2.c (__dup2): Likewise.
17294 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17295 (main): Likewise.
17296 * sysdeps/posix/flock.c (__flock): Likewise.
17297 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17298 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17299 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17300 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17301 * sysdeps/posix/isatty.c (__isatty): Likewise.
17302 * sysdeps/posix/killpg.c (killpg): Likewise.
17303 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17304 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17305 * sysdeps/posix/raise.c (raise): Likewise.
17306 * sysdeps/posix/remove.c (remove): Likewise.
17307 * sysdeps/posix/rename.c (rename): Likewise.
17308 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17309 * sysdeps/posix/seekdir.c (seekdir): Likewise.
17310 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17311 * sysdeps/posix/sigignore.c (sigignore): Likewise.
17312 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17313 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17314 * sysdeps/posix/sigset.c (sigset): Likewise.
17315 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17316 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17317 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17318 * sysdeps/posix/time.c (time): Likewise.
17319 * sysdeps/posix/ttyname.c (getttyname): Likewise.
17320 (ttyname): Likewise.
17321 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17322 * sysdeps/posix/utime.c (utime): Likewise.
17323 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17324 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17325 Likewise.
17326 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17327 (pthread_spin_trylock): Likewise.
17328 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17329 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17330 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17331 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17332 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17333 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17334 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17335 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17336 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17337 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17338 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17339 * sysdeps/s390/ffs.c (__ffs): Likewise.
17340 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17341 Likewise.
17342 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17343 Likewise.
17344 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17345 Likewise.
17346 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17347 (pthread_barrier_destroy): Likewise.
17348 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17349 (__pthread_barrier_wait): Likewise.
17350 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17351 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17352 (__pthread_barrier_wait): Likewise.
17353 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17354 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17355 (memcmp_not_common_alignment): Likewise.
17356 (MEMCMP): Likewise.
17357 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17358 (_wordcopy_fwd_dest_aligned): Likewise.
17359 (_wordcopy_bwd_aligned): Likewise.
17360 (_wordcopy_bwd_dest_aligned): Likewise.
17361 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17362 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17363 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17364 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17365 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17366 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17367 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17368 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17369 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17370 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17371 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17372 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17373 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17374 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17375 * sysdeps/unix/stime.c (stime): Likewise.
17376 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17377 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17378 Likewise. Use internal_function.
17379 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17380 Convert to prototype-style function definition.
17381 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17382 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17383 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17384 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17385 Likewise. Use internal_function.
17386 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17387 prototype-style function definition
17388 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17389 Likewise.
17390 (__getlogin_r): Likewise.
17391 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17392 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17393 (__pthread_cond_broadcast): Likewise.
17394 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17395 (__pthread_cond_destroy): Likewise.
17396 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17397 (__pthread_cond_init): Likewise.
17398 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17399 (__pthread_cond_signal): Likewise.
17400 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17401 (__pthread_cond_wait): Likewise.
17402 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17403 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17404 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17405 Likewise.
17406 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17407 Likewise.
17408 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17409 Likewise.
17410 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17411 Likewise.
17412 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17414 (__ftruncate64): Likewise.
17415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17416 (truncate64): Likewise.
17417 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17418 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17419 (pthread_getcpuclockid): Likewise.
17420 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17421 Likewise.
17422 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17423 Likewise.
17424 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17425 Likewise.
17426 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17427 Likewise.
17428 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17429 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17430 (__libc_sigaction): Likewise.
17431 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17432 Likewise.
17433 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17434 (__sigprocmask): Likewise.
17435 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17436 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17437 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17438 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17439 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17440 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17441 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17442 Likewise.
17443 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17444 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17445 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17446 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17447 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17448 Likewise.
17449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17450 (__sigprocmask): Likewise.
17451 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17452 (cfgetispeed): Likewise.
17453 (cfsetospeed): Likewise.
17454 (cfsetispeed): Likewise.
17455 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17456 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17457 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17458 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17459 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17460 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17461 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17462 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17463 Likewise.
17464 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17465 Likewise.
17466 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17467 Likewise.
17468 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17469 Likewise.
17470 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17471
17472 2015-10-17 Florian Weimer <fweimer@redhat.com>
17473
17474 sunrpc: Rewrite with explicit TLS access using __thread.
17475 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17476 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17477 directly.
17478 (__rpc_thread_variables): Access thread_rpc_vars directly.
17479 Eliminate redundant assignment of the tvp variable.
17480
17481 2015-10-17 Florian Weimer <fweimer@redhat.com>
17482
17483 malloc: Rewrite with explicit TLS access using __thread.
17484 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17485 (tsd_setspecific, tsd_getspecific): Remove.
17486 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17487 (tsd_setspecific, tsd_getspecific): Likewise.
17488 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17489 (tsd_setspecific, tsd_getspecific): Likewise.
17490 * malloc/arena.c (thread_arena): New TLS variable.
17491 (arena_key): Remove variable.
17492 (arena_get): Use thread_arena.
17493 (arena_lookup): Remove macro.
17494 (malloc_atfork, free_atfork, ptmalloc_lock_all)
17495 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17496 (_int_new_arena, get_free_list, reused_arena)
17497 (arena_thread_freeres): Use thread_arena.
17498 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17499 tsd_getspecific, tsd_setspecific from safety annotations.
17500 (Allocating Cleared Space): Remove arena_lookup from safety
17501 annotations.
17502
17503 2015-10-17 Florian Weimer <fweimer@redhat.com>
17504
17505 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17506 struct scratch_buffer instead of extend_alloca.
17507
17508 2015-10-17 Florian Weimer <fweimer@redhat.com>
17509
17510 * sysdeps/unix/sysv/linux/kernel-features.h
17511 (__ASSUME_SOCK_CLOEXEC): Remove.
17512 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17513 (__have_paccept): Remove unused macro.
17514 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17515 * misc/syslog.c (openlog_internal): Remove fallback code for
17516 !__ASSUME_SOCK_CLOEXEC.
17517 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17518 missing SOCK_CLOEXEC.
17519 * nscd/connections.c (have_sock_cloexec): Remove definition.
17520 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17521 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17522 !__ASSUME_SOCK_CLOEXEC.
17523 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17524 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17525 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17526 definition.
17527 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17528 code for !__ASSUME_SOCK_CLOEXEC.
17529
17530 2015-10-17 Florian Weimer <fweimer@redhat.com>
17531
17532 [BZ #18982]
17533 * manual/stdio.texi (Variable Arguments Output): Add portability
17534 note, explaining that vfprintf clobbers the va_list pointer.
17535
17536 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17537
17538 * math/libm-test.inc (fabs_test_data): Add more tests.
17539 (fdim_test_data): Likewise.
17540 (fma_test_data): Likewise.
17541 (fmax_test_data): Likewise.
17542 (fmin_test_data): Likewise.
17543 (fmod_test_data): Likewise.
17544
17545 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17546
17547 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17548 data.
17549
17550 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17551
17552 * math/libm-test.inc (ceil_test_data): Add more tests and more
17553 expectations for "inexact".
17554 (floor_test_data): Add more tests.
17555 (round_test_data): Likewise.
17556 (trunc_test_data): Likewise.
17557
17558 * crypt/cert.c (good_bye): Convert to prototype-style function
17559 definition.
17560 (get8): Likewise.
17561 (put8): Likewise.
17562 * crypt/crypt-entry.c (crypt): Likewise.
17563 (__fcrypt): Likewise.
17564 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17565 (_ufc_set_bits): Likewise.
17566 (_ufc_clearmem): Likewise.
17567 (__init_des_r): Likewise.
17568 (shuffle_sb): Likewise.
17569 (shuffle_sb): Likewise.
17570 (_ufc_setup_salt_r): Likewise.
17571 (_ufc_mk_keytab_r): Likewise.
17572 (_ufc_dofinalperm_r): Likewise.
17573 (encrypt): Likewise.
17574 (__setkey_r): Likewise.
17575 (setkey): Likewise.
17576 * crypt/md5.c (md5_init_ctx): Likewise.
17577 (md5_read_ctx): Likewise.
17578 (md5_finish_ctx): Likewise.
17579 (md5_stream): Likewise.
17580 (md5_buffer): Likewise.
17581 (md5_process_bytes): Likewise.
17582 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17583 (__sha256_finish_ctx): Likewise.
17584 (__sha256_process_bytes): Likewise.
17585 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17586 (__sha512_finish_ctx): Likewise.
17587 (__sha512_process_bytes): Likewise.
17588 * ctype/isctype.c (__isctype): Likewise.
17589 * debug/backtrace.c (__backtrace): Likewise.
17590 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17591 * debug/fgets_chk.c (__fgets_chk): Likewise.
17592 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17593 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17594 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17595 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17596 * debug/memset_chk.c (__memset_chk): Likewise.
17597 * debug/strcat_chk.c (__strcat_chk): Likewise.
17598 * debug/strncat_chk.c (__strncat_chk): Likewise.
17599 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17600 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17601 * dirent/dirfd.c (dirfd): Likewise.
17602 * dirent/getdents.c (__getdirentries): Likewise.
17603 * dirent/getdents64.c (getdirentries64): Likewise.
17604 * dirent/rewinddir.c (__rewinddir): Likewise.
17605 * dirent/seekdir.c (seekdir): Likewise.
17606 * dirent/telldir.c (telldir): Likewise.
17607 * elf/sln.c (makesymlinks): Likewise.
17608 (makesymlink): Likewise.
17609 * gmon/gmon.c (__moncontrol): Likewise.
17610 (__monstartup): Likewise.
17611 (write_hist): Likewise.
17612 (write_call_graph): Likewise.
17613 (write_bb_counts): Likewise.
17614 * grp/setgroups.c (setgroups): Likewise.
17615 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17616 * inet/inet_net.c (inet_network): Likewise.
17617 * inet/inet_netof.c (inet_netof): Likewise.
17618 * inet/rcmd.c (rresvport_af): Likewise.
17619 (rresvport): Likewise.
17620 * io/access.c (__access): Likewise.
17621 * io/chdir.c (__chdir): Likewise.
17622 * io/chmod.c (__chmod): Likewise.
17623 * io/chown.c (__chown): Likewise.
17624 * io/close.c (__close): Likewise.
17625 * io/creat.c (creat): Likewise.
17626 * io/creat64.c (creat64): Likewise.
17627 * io/dup.c (__dup): Likewise.
17628 * io/dup2.c (__dup2): Likewise.
17629 * io/dup3.c (__dup3): Likewise.
17630 * io/euidaccess.c (__euidaccess): Likewise.
17631 * io/faccessat.c (faccessat): Likewise.
17632 * io/fchmod.c (__fchmod): Likewise.
17633 * io/fchmodat.c (fchmodat): Likewise.
17634 * io/fchown.c (__fchown): Likewise.
17635 * io/fchownat.c (fchownat): Likewise.
17636 * io/fcntl.c (__fcntl): Likewise.
17637 * io/flock.c (__flock): Likewise.
17638 * io/fts.c (fts_load): Likewise.
17639 (fts_close): Likewise.
17640 (fts_read): Likewise.
17641 (fts_set): Likewise.
17642 (fts_children): Likewise.
17643 (fts_build): Likewise.
17644 (fts_stat): Likewise.
17645 (fts_sort): Likewise.
17646 (fts_alloc): Likewise.
17647 (fts_lfree): Likewise.
17648 (fts_palloc): Likewise.
17649 (fts_padjust): Likewise.
17650 (fts_maxarglen): Likewise.
17651 (fts_safe_changedir): Likewise.
17652 * io/getwd.c (getwd): Likewise.
17653 * io/isatty.c (__isatty): Likewise.
17654 * io/lchown.c (__lchown): Likewise.
17655 * io/link.c (__link): Likewise.
17656 * io/linkat.c (linkat): Likewise.
17657 * io/lseek.c (__libc_lseek): Likewise.
17658 * io/mkdir.c (__mkdir): Likewise.
17659 * io/mkdirat.c (mkdirat): Likewise.
17660 * io/mkfifo.c (mkfifo): Likewise.
17661 * io/mkfifoat.c (mkfifoat): Likewise.
17662 * io/open.c (__libc_open): Likewise.
17663 * io/open64.c (__libc_open64): Likewise.
17664 * io/readlink.c (__readlink): Likewise.
17665 * io/readlinkat.c (readlinkat): Likewise.
17666 * io/rmdir.c (__rmdir): Likewise.
17667 * io/symlink.c (__symlink): Likewise.
17668 * io/symlinkat.c (symlinkat): Likewise.
17669 * io/ttyname.c (ttyname): Likewise.
17670 * io/ttyname_r.c (__ttyname_r): Likewise.
17671 * io/umask.c (__umask): Likewise.
17672 * io/unlink.c (__unlink): Likewise.
17673 * io/unlinkat.c (unlinkat): Likewise.
17674 * io/utime.c (utime): Likewise.
17675 * libio/clearerr.c (clearerr): Likewise.
17676 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17677 * libio/feof.c (_IO_feof): Likewise.
17678 * libio/feof_u.c (feof_unlocked): Likewise.
17679 * libio/ferror.c (_IO_ferror): Likewise.
17680 * libio/ferror_u.c (ferror_unlocked): Likewise.
17681 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17682 * libio/fileno.c (__fileno): Likewise.
17683 * libio/fputc.c (fputc): Likewise.
17684 * libio/fputc_u.c (fputc_unlocked): Likewise.
17685 * libio/fputwc.c (fputwc): Likewise.
17686 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17687 * libio/freopen.c (freopen): Likewise.
17688 * libio/freopen64.c (freopen64): Likewise.
17689 * libio/fseek.c (fseek): Likewise.
17690 * libio/fseeko.c (fseeko): Likewise.
17691 * libio/fseeko64.c (fseeko64): Likewise.
17692 * libio/ftello.c (__ftello): Likewise.
17693 * libio/ftello64.c (ftello64): Likewise.
17694 * libio/fwide.c (fwide): Likewise.
17695 * libio/genops.c (_IO_un_link): Likewise.
17696 (_IO_link_in): Likewise.
17697 (_IO_least_marker): Likewise.
17698 (_IO_switch_to_main_get_area): Likewise.
17699 (_IO_switch_to_backup_area): Likewise.
17700 (_IO_switch_to_get_mode): Likewise.
17701 (_IO_free_backup_area): Likewise.
17702 (_IO_switch_to_put_mode): Likewise.
17703 (__overflow): Likewise.
17704 (__underflow): Likewise.
17705 (__uflow): Likewise.
17706 (_IO_setb): Likewise.
17707 (_IO_doallocbuf): Likewise.
17708 (_IO_default_underflow): Likewise.
17709 (_IO_default_uflow): Likewise.
17710 (_IO_default_xsputn): Likewise.
17711 (_IO_sgetn): Likewise.
17712 (_IO_default_xsgetn): Likewise.
17713 (_IO_sync): Likewise.
17714 (_IO_default_setbuf): Likewise.
17715 (_IO_default_seekpos): Likewise.
17716 (_IO_default_doallocate): Likewise.
17717 (_IO_init): Likewise.
17718 (_IO_old_init): Likewise.
17719 (_IO_default_sync): Likewise.
17720 (_IO_default_finish): Likewise.
17721 (_IO_default_seekoff): Likewise.
17722 (_IO_sputbackc): Likewise.
17723 (_IO_sungetc): Likewise.
17724 (_IO_set_column): Likewise.
17725 (_IO_set_column): Likewise.
17726 (_IO_adjust_column): Likewise.
17727 (_IO_get_column): Likewise.
17728 (_IO_init_marker): Likewise.
17729 (_IO_remove_marker): Likewise.
17730 (_IO_marker_difference): Likewise.
17731 (_IO_marker_delta): Likewise.
17732 (_IO_seekmark): Likewise.
17733 (_IO_unsave_markers): Likewise.
17734 (_IO_nobackup_pbackfail): Likewise.
17735 (_IO_default_pbackfail): Likewise.
17736 (_IO_default_seek): Likewise.
17737 (_IO_default_stat): Likewise.
17738 (_IO_default_read): Likewise.
17739 (_IO_default_write): Likewise.
17740 (_IO_default_showmanyc): Likewise.
17741 (_IO_default_imbue): Likewise.
17742 (_IO_iter_next): Likewise.
17743 (_IO_iter_file): Likewise.
17744 * libio/getc.c (_IO_getc): Likewise.
17745 * libio/getwc.c (_IO_getwc): Likewise.
17746 * libio/iofclose.c (_IO_new_fclose): Likewise.
17747 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17748 * libio/iofflush.c (_IO_fflush): Likewise.
17749 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17750 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17751 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17752 * libio/iofgets.c (_IO_fgets): Likewise.
17753 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17754 * libio/iofgetws.c (fgetws): Likewise.
17755 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17756 * libio/iofopen64.c (_IO_fopen64): Likewise.
17757 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17758 (_IO_cookie_write): Likewise.
17759 (_IO_cookie_seek): Likewise.
17760 (_IO_cookie_close): Likewise.
17761 (_IO_cookie_seekoff): Likewise.
17762 (_IO_old_cookie_seek): Likewise.
17763 * libio/iofputs.c (_IO_fputs): Likewise.
17764 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17765 * libio/iofputws.c (fputws): Likewise.
17766 * libio/iofputws_u.c (fputws_unlocked): Likewise.
17767 * libio/iofread.c (_IO_fread): Likewise.
17768 * libio/iofread_u.c (__fread_unlocked): Likewise.
17769 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17770 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17771 * libio/ioftell.c (_IO_ftell): Likewise.
17772 * libio/iofwrite.c (_IO_fwrite): Likewise.
17773 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17774 * libio/iogets.c (_IO_gets): Likewise.
17775 * libio/iopadn.c (_IO_padn): Likewise.
17776 * libio/iopopen.c (_IO_new_proc_open): Likewise.
17777 (_IO_new_popen): Likewise.
17778 (_IO_new_proc_close): Likewise.
17779 * libio/ioputs.c (_IO_puts): Likewise.
17780 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17781 (_IO_seekoff): Likewise.
17782 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17783 (_IO_seekpos): Likewise.
17784 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17785 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17786 * libio/ioungetc.c (_IO_ungetc): Likewise.
17787 * libio/ioungetwc.c (ungetwc): Likewise.
17788 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17789 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17790 * libio/iowpadn.c (_IO_wpadn): Likewise.
17791 * libio/libc_fatal.c (__libc_fatal): Likewise.
17792 * libio/memstream.c (__open_memstream): Likewise.
17793 (_IO_mem_sync): Likewise.
17794 (_IO_mem_finish): Likewise.
17795 * libio/oldfileops.c (_IO_old_file_init): Likewise.
17796 (_IO_old_file_close_it): Likewise.
17797 (_IO_old_file_finish): Likewise.
17798 (_IO_old_file_fopen): Likewise.
17799 (_IO_old_file_attach): Likewise.
17800 (_IO_old_file_setbuf): Likewise.
17801 (_IO_old_do_write): Likewise.
17802 (old_do_write): Likewise.
17803 (_IO_old_file_underflow): Likewise.
17804 (_IO_old_file_overflow): Likewise.
17805 (_IO_old_file_sync): Likewise.
17806 (_IO_old_file_seekoff): Likewise.
17807 (_IO_old_file_write): Likewise.
17808 (_IO_old_file_xsputn): Likewise.
17809 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17810 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17811 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17812 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17813 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17814 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17815 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17816 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17817 (_IO_old_popen): Likewise.
17818 (_IO_old_proc_close): Likewise.
17819 * libio/oldpclose.c (__old_pclose): Likewise.
17820 * libio/pclose.c (__new_pclose): Likewise.
17821 * libio/peekc.c (_IO_peekc_locked): Likewise.
17822 * libio/putc.c (_IO_putc): Likewise.
17823 * libio/putc_u.c (putc_unlocked): Likewise.
17824 * libio/putchar.c (putchar): Likewise.
17825 * libio/putchar_u.c (putchar_unlocked): Likewise.
17826 * libio/putwc.c (putwc): Likewise.
17827 * libio/putwc_u.c (putwc_unlocked): Likewise.
17828 * libio/putwchar.c (putwchar): Likewise.
17829 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17830 * libio/rewind.c (rewind): Likewise.
17831 * libio/setbuf.c (setbuf): Likewise.
17832 * libio/setlinebuf.c (setlinebuf): Likewise.
17833 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17834 * libio/vscanf.c (_IO_vscanf): Likewise.
17835 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17836 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17837 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17838 * libio/wgenops.c (_IO_least_wmarker): Likewise.
17839 (_IO_switch_to_main_wget_area): Likewise.
17840 (_IO_switch_to_wbackup_area): Likewise.
17841 (_IO_wsetb): Likewise.
17842 (_IO_wdefault_pbackfail): Likewise.
17843 (_IO_wdefault_finish): Likewise.
17844 (_IO_wdefault_uflow): Likewise.
17845 (__woverflow): Likewise.
17846 (__wuflow): Likewise.
17847 (__wunderflow): Likewise.
17848 (_IO_wdefault_xsputn): Likewise.
17849 (_IO_wdefault_xsgetn): Likewise.
17850 (_IO_wdoallocbuf): Likewise.
17851 (_IO_wdefault_doallocate): Likewise.
17852 (_IO_switch_to_wget_mode): Likewise.
17853 (_IO_free_wbackup_area): Likewise.
17854 (_IO_switch_to_wput_mode): Likewise.
17855 (_IO_sputbackwc): Likewise.
17856 (_IO_sungetwc): Likewise.
17857 (_IO_adjust_wcolumn): Likewise.
17858 (_IO_init_wmarker): Likewise.
17859 (_IO_wmarker_delta): Likewise.
17860 (_IO_seekwmark): Likewise.
17861 (_IO_unsave_wmarkers): Likewise.
17862 * libio/wmemstream.c (open_wmemstream): Likewise.
17863 (_IO_wmem_sync): Likewise.
17864 (_IO_wmem_finish): Likewise.
17865 * locale/nl_langinfo.c (nl_langinfo): Likewise.
17866 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17867 * locale/programs/simple-hash.c (init_hash): Likewise.
17868 (delete_hash): Likewise.
17869 (insert_entry): Likewise.
17870 (set_entry): Likewise.
17871 (next_prime): Likewise.
17872 (is_prime): Likewise.
17873 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17874 (xmalloc): Likewise.
17875 (xrealloc): Likewise.
17876 * locale/programs/xstrdup.c (xstrdup): Likewise.
17877 * localedata/collate-test.c (xstrcoll): Likewise.
17878 * localedata/xfrm-test.c (xstrcmp): Likewise.
17879 * login/getlogin_r.c (__getlogin_r): Likewise.
17880 * login/getpt.c (__posix_openpt): Likewise.
17881 * login/login_tty.c (login_tty): Likewise.
17882 * login/setlogin.c (setlogin): Likewise.
17883 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17884 (mach_msg_destroy_port): Likewise.
17885 (mach_msg_destroy_memory): Likewise.
17886 * malloc/mcheck.c (flood): Likewise.
17887 * misc/acct.c (acct): Likewise.
17888 * misc/brk.c (__brk): Likewise.
17889 * misc/chflags.c (chflags): Likewise.
17890 * misc/chroot.c (chroot): Likewise.
17891 * misc/fchflags.c (fchflags): Likewise.
17892 * misc/fstab.c (getfsspec): Likewise.
17893 (getfsfile): Likewise.
17894 * misc/fsync.c (fsync): Likewise.
17895 * misc/ftruncate.c (__ftruncate): Likewise.
17896 * misc/ftruncate64.c (__ftruncate64): Likewise.
17897 * misc/getdomain.c (getdomainname): Likewise.
17898 (getdomainname): Likewise.
17899 * misc/gethostname.c (__gethostname): Likewise.
17900 * misc/getpass.c (getpass): Likewise.
17901 * misc/getttyent.c (skip): Likewise.
17902 (value): Likewise.
17903 * misc/gtty.c (gtty): Likewise.
17904 * misc/hsearch.c (hsearch): Likewise.
17905 (hcreate): Likewise.
17906 * misc/hsearch_r.c (__hcreate_r): Likewise.
17907 (__hdestroy_r): Likewise.
17908 * misc/ioctl.c (__ioctl): Likewise.
17909 * misc/mkdtemp.c (mkdtemp): Likewise.
17910 * misc/mkostemp.c (mkostemp): Likewise.
17911 * misc/mkostemp64.c (mkostemp64): Likewise.
17912 * misc/mkostemps.c (mkostemps): Likewise.
17913 * misc/mkostemps64.c (mkostemps64): Likewise.
17914 * misc/mkstemp.c (mkstemp): Likewise.
17915 * misc/mkstemp64.c (mkstemp64): Likewise.
17916 * misc/mkstemps.c (mkstemps): Likewise.
17917 * misc/mkstemps64.c (mkstemps64): Likewise.
17918 * misc/mktemp.c (__mktemp): Likewise.
17919 * misc/preadv.c (preadv): Likewise.
17920 * misc/preadv64.c (preadv64): Likewise.
17921 * misc/pwritev.c (pwritev): Likewise.
17922 * misc/pwritev64.c (pwritev64): Likewise.
17923 * misc/readv.c (__readv): Likewise.
17924 * misc/revoke.c (revoke): Likewise.
17925 * misc/setdomain.c (setdomainname): Likewise.
17926 * misc/setegid.c (setegid): Likewise.
17927 * misc/seteuid.c (seteuid): Likewise.
17928 * misc/sethostid.c (sethostid): Likewise.
17929 * misc/sethostname.c (sethostname): Likewise.
17930 * misc/setregid.c (__setregid): Likewise.
17931 * misc/setreuid.c (__setreuid): Likewise.
17932 * misc/sstk.c (sstk): Likewise.
17933 * misc/stty.c (stty): Likewise.
17934 * misc/syscall.c (syscall): Likewise.
17935 * misc/syslog.c (setlogmask): Likewise.
17936 * misc/truncate.c (__truncate): Likewise.
17937 * misc/truncate64.c (truncate64): Likewise.
17938 * misc/ualarm.c (ualarm): Likewise.
17939 * misc/usleep.c (usleep): Likewise.
17940 * misc/ustat.c (ustat): Likewise.
17941 * misc/writev.c (__writev): Likewise.
17942 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17943 * nptl/old_pthread_cond_broadcast.c
17944 (__pthread_cond_broadcast_2_0): Likewise.
17945 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17946 Likewise.
17947 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17948 Likewise.
17949 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17950 Likewise.
17951 * nptl/pt-raise.c (raise): Likewise.
17952 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17953 Likewise.
17954 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17955 * nptl/pthread_barrierattr_destroy.c
17956 (pthread_barrierattr_destroy): Likewise.
17957 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17958 Likewise.
17959 * nptl/pthread_barrierattr_setpshared.c
17960 (pthread_barrierattr_setpshared): Likewise.
17961 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17962 Likewise.
17963 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17964 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17965 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17966 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17967 Likewise.
17968 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17969 Likewise.
17970 * nptl/pthread_condattr_getpshared.c
17971 (pthread_condattr_getpshared): Likewise.
17972 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17973 Likewise.
17974 * nptl/pthread_condattr_setpshared.c
17975 (pthread_condattr_setpshared): Likewise.
17976 * nptl/pthread_detach.c (pthread_detach): Likewise.
17977 * nptl/pthread_equal.c (__pthread_equal): Likewise.
17978 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17979 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17980 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17981 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17982 Likewise.
17983 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17984 Likewise.
17985 * nptl/pthread_mutex_getprioceiling.c
17986 (pthread_mutex_getprioceiling): Likewise.
17987 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17988 Likewise.
17989 * nptl/pthread_mutexattr_getprotocol.c
17990 (pthread_mutexattr_getprotocol): Likewise.
17991 * nptl/pthread_mutexattr_getpshared.c
17992 (pthread_mutexattr_getpshared): Likewise.
17993 * nptl/pthread_mutexattr_getrobust.c
17994 (pthread_mutexattr_getrobust): Likewise.
17995 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17996 Likewise.
17997 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17998 Likewise.
17999 * nptl/pthread_mutexattr_setprioceiling.c
18000 (pthread_mutexattr_setprioceiling): Likewise.
18001 * nptl/pthread_mutexattr_setprotocol.c
18002 (pthread_mutexattr_setprotocol): Likewise.
18003 * nptl/pthread_mutexattr_setpshared.c
18004 (pthread_mutexattr_setpshared): Likewise.
18005 * nptl/pthread_mutexattr_setrobust.c
18006 (pthread_mutexattr_setrobust): Likewise.
18007 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18008 Likewise.
18009 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18010 Likewise.
18011 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18012 Likewise.
18013 * nptl/pthread_rwlockattr_getkind_np.c
18014 (pthread_rwlockattr_getkind_np): Likewise.
18015 * nptl/pthread_rwlockattr_getpshared.c
18016 (pthread_rwlockattr_getpshared): Likewise.
18017 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18018 Likewise.
18019 * nptl/pthread_rwlockattr_setkind_np.c
18020 (pthread_rwlockattr_setkind_np): Likewise.
18021 * nptl/pthread_rwlockattr_setpshared.c
18022 (pthread_rwlockattr_setpshared): Likewise.
18023 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18024 Likewise.
18025 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18026 Likewise.
18027 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18028 Likewise.
18029 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18030 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18031 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18032 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18033 * nptl/sem_close.c (sem_close): Likewise.
18034 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18035 * nptl/sem_init.c (__old_sem_init): Likewise.
18036 * nptl/sigaction.c (__sigaction): Likewise.
18037 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18038 * posix/_exit.c (_exit): Likewise.
18039 * posix/alarm.c (alarm): Likewise.
18040 * posix/confstr.c (confstr): Likewise.
18041 * posix/fpathconf.c (__fpathconf): Likewise.
18042 * posix/getgroups.c (__getgroups): Likewise.
18043 * posix/getpgid.c (__getpgid): Likewise.
18044 * posix/group_member.c (__group_member): Likewise.
18045 * posix/pathconf.c (__pathconf): Likewise.
18046 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18047 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18048 * posix/setgid.c (__setgid): Likewise.
18049 * posix/setpgid.c (__setpgid): Likewise.
18050 * posix/setuid.c (__setuid): Likewise.
18051 * posix/sleep.c (__sleep): Likewise.
18052 * posix/sysconf.c (__sysconf): Likewise.
18053 * posix/times.c (__times): Likewise.
18054 * posix/uname.c (__uname): Likewise.
18055 * posix/waitid.c (__waitid): Likewise.
18056 * pwd/getpw.c (__getpw): Likewise.
18057 * resolv/base64.c (b64_pton): Likewise.
18058 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18059 * resolv/gethnamaddr.c (Dprintf): Likewise.
18060 (gethostbyname): Likewise.
18061 (gethostbyname2): Likewise.
18062 (gethostbyaddr): Likewise.
18063 (_sethtent): Likewise.
18064 (_gethtbyname): Likewise.
18065 (_gethtbyname2): Likewise.
18066 (_gethtbyaddr): Likewise.
18067 (map_v4v6_address): Likewise.
18068 (map_v4v6_hostent): Likewise.
18069 (addrsort): Likewise.
18070 (ht_sethostent): Likewise.
18071 (ht_gethostbyname): Likewise.
18072 (ht_gethostbyaddr): Likewise.
18073 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18074 (inet_net_ntop_ipv4): Likewise.
18075 * resolv/inet_neta.c (inet_neta): Likewise.
18076 * resolv/inet_ntop.c (inet_ntop): Likewise.
18077 (inet_ntop4): Likewise.
18078 (inet_ntop6): Likewise.
18079 * resolv/inet_pton.c (__inet_pton): Likewise.
18080 (inet_pton4): Likewise.
18081 (inet_pton6): Likewise.
18082 * resolv/res_debug.c (loc_aton): Likewise.
18083 (loc_ntoa): Likewise.
18084 * resource/getpriority.c (__getpriority): Likewise.
18085 * resource/getrusage.c (__getrusage): Likewise.
18086 * resource/nice.c (nice): Likewise.
18087 * resource/setpriority.c (__setpriority): Likewise.
18088 * resource/setrlimit64.c (setrlimit64): Likewise.
18089 * resource/vlimit.c (vlimit): Likewise.
18090 * resource/vtimes.c (vtimes): Likewise.
18091 * rt/aio_error.c (aio_error): Likewise.
18092 * rt/aio_return.c (aio_return): Likewise.
18093 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18094 * signal/kill.c (__kill): Likewise.
18095 * signal/killpg.c (killpg): Likewise.
18096 * signal/raise.c (raise): Likewise.
18097 * signal/sigaction.c (__sigaction): Likewise.
18098 * signal/sigaddset.c (sigaddset): Likewise.
18099 * signal/sigaltstack.c (sigaltstack): Likewise.
18100 * signal/sigandset.c (sigandset): Likewise.
18101 * signal/sigblock.c (__sigblock): Likewise.
18102 * signal/sigdelset.c (sigdelset): Likewise.
18103 * signal/sigempty.c (sigemptyset): Likewise.
18104 * signal/sigfillset.c (sigfillset): Likewise.
18105 * signal/sighold.c (sighold): Likewise.
18106 * signal/sigignore.c (sigignore): Likewise.
18107 * signal/sigintr.c (siginterrupt): Likewise.
18108 * signal/sigisempty.c (sigisemptyset): Likewise.
18109 * signal/sigismem.c (sigismember): Likewise.
18110 * signal/signal.c (signal): Likewise.
18111 * signal/sigorset.c (sigorset): Likewise.
18112 * signal/sigpause.c (__sigpause): Likewise.
18113 * signal/sigpending.c (sigpending): Likewise.
18114 * signal/sigprocmask.c (__sigprocmask): Likewise.
18115 * signal/sigrelse.c (sigrelse): Likewise.
18116 * signal/sigreturn.c (__sigreturn): Likewise.
18117 * signal/sigset.c (sigset): Likewise.
18118 * signal/sigsetmask.c (__sigsetmask): Likewise.
18119 * signal/sigstack.c (sigstack): Likewise.
18120 * signal/sigsuspend.c (__sigsuspend): Likewise.
18121 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18122 * signal/sysv_signal.c (__sysv_signal): Likewise.
18123 * socket/accept.c (accept): Likewise.
18124 * socket/accept4.c (__libc_accept4): Likewise.
18125 * socket/bind.c (__bind): Likewise.
18126 * socket/connect.c (__connect): Likewise.
18127 * socket/getpeername.c (getpeername): Likewise.
18128 * socket/getsockname.c (__getsockname): Likewise.
18129 * socket/getsockopt.c (getsockopt): Likewise.
18130 * socket/listen.c (__listen): Likewise.
18131 * socket/recv.c (__recv): Likewise.
18132 * socket/recvmsg.c (__recvmsg): Likewise.
18133 * socket/send.c (__send): Likewise.
18134 * socket/sendmsg.c (__sendmsg): Likewise.
18135 * socket/shutdown.c (shutdown): Likewise.
18136 * socket/sockatmark.c (sockatmark): Likewise.
18137 * socket/socket.c (__socket): Likewise.
18138 * stdio-common/ctermid.c (ctermid): Likewise.
18139 * stdio-common/cuserid.c (cuserid): Likewise.
18140 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18141 * stdio-common/remove.c (remove): Likewise.
18142 * stdio-common/rename.c (rename): Likewise.
18143 * stdio-common/renameat.c (renameat): Likewise.
18144 * stdio-common/tempname.c (__gen_tempname): Likewise.
18145 * stdio-common/xbug.c (InitBuffer): Likewise.
18146 (AppendToBuffer): Likewise.
18147 (ReadFile): Likewise.
18148 * stdlib/a64l.c (a64l): Likewise.
18149 * stdlib/drand48_r.c (drand48_r): Likewise.
18150 * stdlib/getcontext.c (getcontext): Likewise.
18151 * stdlib/getenv.c (getenv): Likewise.
18152 * stdlib/l64a.c (l64a): Likewise.
18153 * stdlib/llabs.c (llabs): Likewise.
18154 * stdlib/lldiv.c (lldiv): Likewise.
18155 * stdlib/lrand48_r.c (lrand48_r): Likewise.
18156 * stdlib/mrand48_r.c (mrand48_r): Likewise.
18157 * stdlib/putenv.c (putenv): Likewise.
18158 * stdlib/random.c (__srandom): Likewise.
18159 (__initstate): Likewise.
18160 (__setstate): Likewise.
18161 * stdlib/random_r.c (__srandom_r): Likewise.
18162 (__setstate_r): Likewise.
18163 (__random_r): Likewise.
18164 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18165 * stdlib/setcontext.c (setcontext): Likewise.
18166 * stdlib/setenv.c (setenv): Likewise.
18167 (unsetenv): Likewise.
18168 * stdlib/srand48.c (srand48): Likewise.
18169 * stdlib/srand48_r.c (__srand48_r): Likewise.
18170 * stdlib/swapcontext.c (swapcontext): Likewise.
18171 * stdlib/system.c (__libc_system): Likewise.
18172 * stdlib/tst-strtod.c (expand): Likewise.
18173 * stdlib/tst-strtol.c (expand): Likewise.
18174 * stdlib/tst-strtoll.c (expand): Likewise.
18175 * streams/fattach.c (fattach): Likewise.
18176 * streams/fdetach.c (fdetach): Likewise.
18177 * streams/getmsg.c (getmsg): Likewise.
18178 * streams/isastream.c (isastream): Likewise.
18179 * string/ffs.c (__ffs): Likewise.
18180 * string/ffsll.c (ffsll): Likewise.
18181 * string/memcmp.c (memcmp_common_alignment): Likewise.
18182 (memcmp_not_common_alignment): Likewise.
18183 (MEMCMP): Likewise.
18184 * string/memcpy.c (memcpy): Likewise.
18185 * string/memmove.c (MEMMOVE): Likewise.
18186 * string/memset.c (memset): Likewise.
18187 * string/rawmemchr.c (RAWMEMCHR): Likewise.
18188 * string/strchrnul.c (STRCHRNUL): Likewise.
18189 * string/strerror.c (strerror): Likewise.
18190 * string/strndup.c (__strndup): Likewise.
18191 * string/strverscmp.c (__strverscmp): Likewise.
18192 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18193 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18194 (clnttcp_freeres): Likewise.
18195 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18196 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18197 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18198 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18199 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18200 (xdr_callhdr): Likewise.
18201 * sunrpc/rpcinfo.c (udpping): Likewise.
18202 (tcpping): Likewise.
18203 (pstatus): Likewise.
18204 (pmapdump): Likewise.
18205 (brdcst): Likewise.
18206 (deletereg): Likewise.
18207 (getprognum): Likewise.
18208 (getvers): Likewise.
18209 (get_inet_address): Likewise.
18210 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18211 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18212 (svcudp_stat): Likewise.
18213 (svcudp_recv): Likewise.
18214 (svcudp_reply): Likewise.
18215 (svcudp_getargs): Likewise.
18216 (svcudp_freeargs): Likewise.
18217 (svcudp_destroy): Likewise.
18218 * sunrpc/xdr.c (xdr_bytes): Likewise.
18219 (xdr_netobj): Likewise.
18220 (xdr_string): Likewise.
18221 (xdr_wrapstring): Likewise.
18222 * sunrpc/xdr_float.c (xdr_float): Likewise.
18223 (xdr_double): Likewise.
18224 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18225 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18226 * sysvipc/ftok.c (ftok): Likewise.
18227 * sysvipc/msgctl.c (msgctl): Likewise.
18228 * sysvipc/msgget.c (msgget): Likewise.
18229 * sysvipc/msgrcv.c (msgrcv): Likewise.
18230 * sysvipc/msgsnd.c (msgsnd): Likewise.
18231 * sysvipc/semget.c (semget): Likewise.
18232 * sysvipc/semop.c (semop): Likewise.
18233 * sysvipc/shmat.c (shmat): Likewise.
18234 * sysvipc/shmctl.c (shmctl): Likewise.
18235 * sysvipc/shmdt.c (shmdt): Likewise.
18236 * sysvipc/shmget.c (shmget): Likewise.
18237 * termios/cfmakeraw.c (cfmakeraw): Likewise.
18238 * termios/speed.c (cfgetospeed): Likewise.
18239 (cfgetispeed): Likewise.
18240 (cfsetospeed): Likewise.
18241 (cfsetispeed): Likewise.
18242 * termios/tcflow.c (tcflow): Likewise.
18243 * termios/tcflush.c (tcflush): Likewise.
18244 * termios/tcgetattr.c (__tcgetattr): Likewise.
18245 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18246 * termios/tcgetsid.c (tcgetsid): Likewise.
18247 * termios/tcsendbrk.c (tcsendbreak): Likewise.
18248 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18249 * time/adjtime.c (__adjtime): Likewise.
18250 * time/dysize.c (dysize): Likewise.
18251 * time/ftime.c (ftime): Likewise.
18252 * time/getitimer.c (__getitimer): Likewise.
18253 * time/gettimeofday.c (__gettimeofday): Likewise.
18254 * time/gmtime.c (__gmtime_r): Likewise.
18255 (gmtime): Likewise.
18256 * time/localtime.c (__localtime_r): Likewise.
18257 (localtime): Likewise.
18258 * time/offtime.c (__offtime): Likewise.
18259 * time/settimeofday.c (__settimeofday): Likewise.
18260 * time/stime.c (stime): Likewise.
18261 * time/strftime_l.c (tm_diff): Likewise.
18262 (iso_week_days): Likewise.
18263 * time/strptime.c (strptime): Likewise.
18264 * time/time.c (time): Likewise.
18265 * time/timespec_get.c (timespec_get): Likewise.
18266 * time/tzset.c (tzset_internal): Likewise.
18267 (compute_change): Likewise.
18268 (__tz_compute): Likewise.
18269 * wcsmbs/btowc.c (__btowc): Likewise.
18270 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18271 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18272 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18273 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18274 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18275 * wcsmbs/wcscat.c (__wcscat): Likewise.
18276 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18277 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18278 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18279 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18280 * wcsmbs/wcsdup.c (wcsdup): Likewise.
18281 * wcsmbs/wcslen.c (__wcslen): Likewise.
18282 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18283 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18284 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18285 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18286 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18287 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18288 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18289 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18290 * wcsmbs/wcstok.c (wcstok): Likewise.
18291 * wcsmbs/wctob.c (wctob): Likewise.
18292 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18293 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18294 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18295 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18296 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18297 * wcsmbs/wmemset.c (__wmemset): Likewise.
18298 * wctype/wcfuncs.c (__towlower): Likewise.
18299 (__towupper): Likewise.
18300
18301 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18302 (lll_unlock_elision): Add adapt_count parameter.
18303
18304 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18305
18306 * sysdeps/nptl/configure.ac: Do not give errors based on the
18307 results of top-level configure tests.
18308 * sysdeps/nptl/configure: Regenerated.
18309
18310 * configure.ac (libc_cv_Bgroup): Remove configure test.
18311 * configure: Regenerated.
18312 * config.make.in (have-Bgroup): Remove variable.
18313
18314 * configure.ac (sizeof_long_double): Remove configure test.
18315 * configure: Regenerated.
18316 * config.make.in (sizeof-long-double): Remove variable.
18317
18318 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18319 * configure: Regenerated.
18320 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18321 variable.
18322 (exceptions): Likewise.
18323 * sysdeps/arm/configure: Regenerated.
18324 * config.make.in (exceptions): Remove variable.
18325 * Makeconfig (uses-callbacks): Use -fexceptions instead of
18326 $(exceptions).
18327 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18328 (CFLAGS-vdprintf_chk.c): Likewise.
18329 (CFLAGS-printf_chk.c): Likewise.
18330 (CFLAGS-fprintf_chk.c): Likewise.
18331 (CFLAGS-vprintf_chk.c): Likewise.
18332 (CFLAGS-vfprintf_chk.c): Likewise.
18333 (CFLAGS-gets_chk.c): Likewise.
18334 (CFLAGS-fgets_chk.c): Likewise.
18335 (CFLAGS-fgets_u_chk.c): Likewise.
18336 (CFLAGS-fread_chk.c): Likewise.
18337 (CFLAGS-fread_u_chk.c): Likewise.
18338 (CFLAGS-wprintf_chk.c): Likewise.
18339 (CFLAGS-fwprintf_chk.c): Likewise.
18340 (CFLAGS-vwprintf_chk.c): Likewise.
18341 (CFLAGS-vfwprintf_chk.c): Likewise.
18342 (CFLAGS-fgetws_chk.c): Likewise.
18343 (CFLAGS-fgetws_u_chk.c): Likewise.
18344 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18345 (CFLAGS-fputc.c): Likewise.
18346 (CFLAGS-fputwc.c): Likewise.
18347 (CFLAGS-freopen64.c): Likewise.
18348 (CFLAGS-freopen.c): Likewise.
18349 (CFLAGS-fseek.c): Likewise.
18350 (CFLAGS-fseeko64.c): Likewise.
18351 (CFLAGS-fseeko.c): Likewise.
18352 (CFLAGS-ftello64.c): Likewise.
18353 (CFLAGS-ftello.c): Likewise.
18354 (CFLAGS-fwide.c): Likewise.
18355 (CFLAGS-genops.c): Likewise.
18356 (CFLAGS-getc.c): Likewise.
18357 (CFLAGS-getchar.c): Likewise.
18358 (CFLAGS-getwc.c): Likewise.
18359 (CFLAGS-getwchar.c): Likewise.
18360 (CFLAGS-iofclose.c): Likewise.
18361 (CFLAGS-iofflush.c): Likewise.
18362 (CFLAGS-iofgetpos64.c): Likewise.
18363 (CFLAGS-iofgetpos.c): Likewise.
18364 (CFLAGS-iofgets.c): Likewise.
18365 (CFLAGS-iofgetws.c): Likewise.
18366 (CFLAGS-iofputs.c): Likewise.
18367 (CFLAGS-iofputws.c): Likewise.
18368 (CFLAGS-iofread.c): Likewise.
18369 (CFLAGS-iofsetpos64.c): Likewise.
18370 (CFLAGS-iofsetpos.c): Likewise.
18371 (CFLAGS-ioftell.c): Likewise.
18372 (CFLAGS-iofwrite.c): Likewise.
18373 (CFLAGS-iogetdelim.c): Likewise.
18374 (CFLAGS-iogetline.c): Likewise.
18375 (CFLAGS-iogets.c): Likewise.
18376 (CFLAGS-iogetwline.c): Likewise.
18377 (CFLAGS-ioputs.c): Likewise.
18378 (CFLAGS-ioseekoff.c): Likewise.
18379 (CFLAGS-ioseekpos.c): Likewise.
18380 (CFLAGS-iosetbuffer.c): Likewise.
18381 (CFLAGS-iosetvbuf.c): Likewise.
18382 (CFLAGS-ioungetc.c): Likewise.
18383 (CFLAGS-ioungetwc.c): Likewise.
18384 (CFLAGS-oldfileops.c): Likewise.
18385 (CFLAGS-oldiofclose.c): Likewise.
18386 (CFLAGS-oldiofgetpos64.c): Likewise.
18387 (CFLAGS-oldiofgetpos.c): Likewise.
18388 (CFLAGS-oldiofsetpos64.c): Likewise.
18389 (CFLAGS-oldiofsetpos.c): Likewise.
18390 (CFLAGS-peekc.c): Likewise.
18391 (CFLAGS-putc.c): Likewise.
18392 (CFLAGS-putchar.c): Likewise.
18393 (CFLAGS-putwc.c): Likewise.
18394 (CFLAGS-putwchar.c): Likewise.
18395 (CFLAGS-rewind.c): Likewise.
18396 (CFLAGS-wfileops.c): Likewise.
18397 (CFLAGS-wgenops.c): Likewise.
18398 (CFLAGS-oldiofopen.c): Likewise.
18399 (CFLAGS-iofopen.c): Likewise.
18400 (CFLAGS-iofopen64.c): Likewise.
18401 (CFLAGS-oldtmpfile.c): Likewise.
18402 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18403 (CFLAGS-fprintf.c): Likewise.
18404 (CFLAGS-printf.c): Likewise.
18405 (CFLAGS-vfwprintf.c): Likewise.
18406 (CFLAGS-vfscanf.c): Likewise.
18407 (CFLAGS-vfwscanf.c): Likewise.
18408 (CFLAGS-fscanf.c): Likewise.
18409 (CFLAGS-scanf.c): Likewise.
18410 (CFLAGS-isoc99_vfscanf.c): Likewise.
18411 (CFLAGS-isoc99_vscanf.c): Likewise.
18412 (CFLAGS-isoc99_fscanf.c): Likewise.
18413 (CFLAGS-isoc99_scanf.c): Likewise.
18414 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18415 (CFLAGS-isoc99_fwscanf.c): Likewise.
18416 (CFLAGS-isoc99_vwscanf.c): Likewise.
18417 (CFLAGS-isoc99_vfwscanf.c): Likewise.
18418
18419 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18420 after mkstemp64.
18421 * login/tst-utmp.c (do_prepare): Likewise.
18422 * rt/tst-aio.c (do_prepare): Likewise.
18423 * rt/tst-aio64.c (do_prepare): Likewise.
18424
18425 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18426
18427 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18428 (__lll_lock_elision): Remove adapt_count decrement...
18429 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18430 (__lll_trylock_elision): Likewise.
18431 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18432 (__lll_unlock_elision): ... to here. And utilize
18433 new adapt_count parameter.
18434 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18435 (__lll_unlock_elision): Update to include adapt_count
18436 parameter.
18437 (lll_unlock_elision): Pass pointer to adapt_count
18438 variable.
18439
18440 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18441
18442 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18443 Add elision adapt_count parameter to list of arguments.
18444 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18445 (lll_unlock_elision): Update with new parameter list
18446 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18447 (lll_unlock_elision): Likewise.
18448 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18449 (lll_unlock_elision): Likewise.
18450
18451 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18452
18453 [BZ #19122]
18454 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18455 attribute_hidden.
18456
18457 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18458 attribute_hidden.
18459 [IS_IN (rtld)] (__strdup): Likewise.
18460 [IS_IN (rtld)] (__strerror_r): Likewise.
18461 [IS_IN (rtld)] (__strsep_g): Likewise.
18462 [IS_IN (rtld)] (memchr): Likewise.
18463 [IS_IN (rtld)] (memcmp): Likewise.
18464 [IS_IN (rtld)] (memcpy): Likewise.
18465 [IS_IN (rtld)] (memmove): Likewise.
18466 [IS_IN (rtld)] (memset): Likewise.
18467 [IS_IN (rtld)] (rawmemchr): Likewise.
18468 [IS_IN (rtld)] (stpcpy): Likewise.
18469 [IS_IN (rtld)] (strchr): Likewise.
18470 [IS_IN (rtld)] (strcmp): Likewise.
18471 [IS_IN (rtld)] (strlen): Likewise.
18472 [IS_IN (rtld)] (strnlen): Likewise.
18473 [IS_IN (rtld)] (strsep): Likewise.
18474
18475 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18476 attribute_hidden.
18477 [IS_IN (rtld)] (__strtoul_internal): Likewise.
18478
18479 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18480 attribute_hidden.
18481 [IS_IN (rtld)] (__libc_sigaction): Likewise.
18482
18483 * include/setjmp.h (__longjmp): Add attribute_hidden.
18484 [IS_IN (rtld)] (__sigsetjmp): Likewise.
18485
18486 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18487 Add attribute_hidden.
18488
18489 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18490 [IS_IN (rtld)] (__open): Likewise.
18491 [IS_IN (rtld)] (__fcntl): Likewise.
18492
18493 * include/dirent.h (__opendirat): Add attribute_hidden.
18494 (__getdents): Likewise.
18495 (__getdents64): Likewise.
18496 (__alloc_dir): Likewise.
18497 [IS_IN (rtld)] (__closedir): Likewise.
18498 [IS_IN (rtld)] (__fdopendir): Likewise.
18499 [IS_IN (rtld)] (__readdir): Likewise.
18500 [IS_IN (rtld)] (__readdir64): Likewise.
18501 [IS_IN (rtld)] (__rewinddir): Likewise.
18502
18503 * include/dlfcn.h (_dl_catch_error): Moved to ...
18504 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18505 attribute_hidden.
18506
18507 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18508 (_itoa_word): Likewise.
18509
18510 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18511 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18512 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18513 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18514 (_dl_higher_prime_number): Likewise.
18515 (_dl_debug_printf_c): Likewise.
18516 (_dl_signal_cerror): Likewise.
18517 (_dl_receive_error): Likewise.
18518 (_dl_reloc_bad_type): Likewise.
18519 (_dl_resolve_conflicts): Likewise.
18520 (_dl_check_all_versions): Likewise.
18521 (_dl_check_map_versions): Likewise.
18522 (_dl_sort_fini): Likewise.
18523 (_dl_debug_initialize): Likewise.
18524 (_dl_init_paths): Likewise.
18525 (_dl_show_auxv): Likewise.
18526 (_dl_next_ld_env_entry): Likewise.
18527 (_dl_important_hwcaps): Likewise.
18528 (_dl_load_cache_lookup): Likewise.
18529 (_dl_update_slotinfo): Likewise.
18530 (_dl_show_scope): Likewise.
18531
18532 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18533 attribute_hidden.
18534 (_wordcopy_fwd_dest_aligned): Likewise.
18535 (_wordcopy_bwd_aligned): Likewise.
18536 (_wordcopy_bwd_dest_aligned): Likewise.
18537
18538 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18539 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18540 Likewise.
18541 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18542 Likewise.
18543 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18544
18545 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18546
18547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18548 GCC 5 requirement.
18549
18550 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18551
18552 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18553 test.
18554 * sysdeps/i386/configure: Regenerated.
18555 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18556 code unconditional.
18557
18558 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18559 test.
18560 (libc_cv_asm_popsection_directive): Likewise.
18561 * configure: Regenerated.
18562 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18563 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18564 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18565 (__make_section_unallocated): Make definition unconditional.
18566 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18567 Remove conditional definition.
18568 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18569 (__make_section_unallocated): Likewise.
18570
18571 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18572 * configure: Regenerated.
18573 * config.make.in (static-libgcc): Remove variable.
18574 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18575 $(static-libgcc).
18576 (build-module-helper): Likewise.
18577
18578 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18579 * configure: Regenerated.
18580
18581 2015-10-15 Florian Weimer <fweimer@redhat.com>
18582
18583 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18584 (struct char_buffer): New type.
18585 (char_buffer_start, char_buffer_size, char_buffer_error)
18586 (char_buffer_rewind, char_buffer_add): New functions.
18587 (ADDW): Remove macro, replaced by the char_buffer_add function.
18588 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18589 of extend_alloca. Make control flow more explicit.
18590
18591 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18592
18593 [BZ #19137]
18594 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18595 Add -fomit-frame-pointer.
18596 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18597
18598 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18599
18600 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18601 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18602 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18603 only if !__GNUC_PREREQ (5,0).
18604 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18605 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18606 (INTERNAL_SYSCALL_NCS): Likewise.
18607 (LOADREGS_0): New macro for GCC 5.
18608 (ASMARGS_0): Likewise.
18609 (LOADREGS_1): Likewise.
18610 (ASMARGS_1): Likewise.
18611 (LOADREGS_2): Likewise.
18612 (ASMARGS_2): Likewise.
18613 (LOADREGS_3): Likewise.
18614 (ASMARGS_3): Likewise.
18615 (LOADREGS_4): Likewise.
18616 (ASMARGS_4): Likewise.
18617 (LOADREGS_5): Likewise.
18618 (ASMARGS_5): Likewise.
18619 (LOADREGS_6): Likewise.
18620 (ASMARGS_6): Likewise.
18621
18622 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18623
18624 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18625 -fomit-frame-pointer.
18626 (CFLAGS-mmap64.c): Likewise.
18627 (CFLAGS-semtimedop.c): Likewise.
18628 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18629 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18630 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18631 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18632
18633 2015-10-15 Florian Weimer <fweimer@redhat.com>
18634
18635 [BZ #18928]
18636 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18637 _dl_pointer_guard member.
18638 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18639 initializer.
18640 (security_init): Always set up pointer guard.
18641 (process_envvars): Do not process LD_POINTER_GUARD.
18642
18643 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18644
18645 [BZ #19134]
18646 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18647 (.LC2): Likewise.
18648 (.LC3): Likewise.
18649 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18650
18651 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18652
18653 [BZ #19129]
18654 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18655 r0 and r1.
18656
18657 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18658
18659 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18660
18661 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18662
18663 * include/stap-probe.h: Fix macro definition formatting.
18664
18665 2015-10-14 Florian Weimer <fweimer@redhat.com>
18666
18667 [BZ #19074]
18668 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18669 load and store num_ifs.
18670
18671 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 [BZ #18822]
18674 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18675 (__sched_getaffinity_new): Add libc_hidden_proto and
18676 libc_hidden_def.
18677
18678 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18679
18680 [BZ #19007]
18681 * scripts/localplt.awk: Also allow GOT references.
18682 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18683 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18684 with "+ REL R_386_GLOB_DAT".
18685 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18686 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18687
18688 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18689
18690 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18691 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18692 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18693 Likewise.
18694 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18695 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18696 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18697 INTERNAL_SYSCALLINTERNAL_SYSCALL and
18698 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18699 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18700 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18701 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18702 Likewise.
18703 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18704
18705 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18706
18707 [BZ #19125]
18708 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18709 <math_private.h> and <stdint.h>.
18710 (__llround): Avoid conversions to and from long long int, and
18711 subtractions, where those might raise spurious exceptions.
18712 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18713 <math_private.h> and <stdint.h>.
18714 (__llroundf): Avoid conversions to and from long long int, and
18715 subtractions, where those might raise spurious exceptions.
18716
18717 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18718
18719 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18720 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18721 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18722 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18723 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18724 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18725 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18726 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18727 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18728 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18729 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18730 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18731 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18732 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18733 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18734 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18735 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18736 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18737 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18738 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18739 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18740 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18741 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18742 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18743 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18744 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18745 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18746 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18747 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18748 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18749 (__xstat64_conv): Likewise.
18750 (__xstat32_conv): Likewise.
18751
18752 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18753
18754 * sysdeps/unix/sysv/linux/sysdep.h: New file.
18755 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18756 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18757 <sysdeps/unix/sysv/linux/sysdep.h>.
18758 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18759 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18760 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18761 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18762 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18763 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18764 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18765 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18766 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18769 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18770 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18771 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18772 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18774 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18775 (sysdep-dl-routines): Add sysdep.
18776 [$(subdir) == nptl] (libpthread-routines): Likewise.
18777 [$(subdir) == rt] (librt-routines): Likewise.
18778 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18779 PIC when branching to SYSCALL_ERROR_LABEL.
18780 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18781 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18782 <sysdeps/unix/sysv/linux/sysdep.h>.
18783 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18784 (SYSCALL_ERROR_ERRNO): Removed.
18785 (SYSCALL_ERROR_HANDLER): Changed to empty.
18786 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18787 (__syscall_error): New prototype.
18788 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18789 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18790
18791 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18792
18793 [BZ #19124]
18794 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18795 (_dl_runtime_resolve_avx512): Make it a hidden alias of
18796 _dl_runtime_resolve_avx.
18797 (_dl_runtime_profile_avx512): Make it a hidden alias of
18798 _dl_runtime_profile_avx.
18799
18800 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18801
18802 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18803 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18804 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18805 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18806
18807 [BZ #16422]
18808 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18809 New configure test.
18810 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18811 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18812 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18813 <math_private.h> and <stdint.h>.
18814 (__llrint): Avoid conversions to long long int where those might
18815 raise spurious exceptions.
18816 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18817 <math_private.h> and <stdint.h>.
18818 (__llrintf): Avoid conversions to long long int where those might
18819 raise spurious exceptions.
18820
18821 2015-10-12 Andreas Schwab <schwab@suse.de>
18822
18823 [BZ #18969]
18824 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
18825 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18826 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
18827 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18828 $(gen-locales).
18829 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
18830 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18831 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18832 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18833 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18834 $(gen-locales).
18835 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
18836 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18837 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18838 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18839 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18840 ($(objpfx)tst-ftell-active-handler.out)
18841 ($(objpfx)tst-ftell-append.out)
18842 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18843 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18844 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18845 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18846 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
18847 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18848 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18849 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18850 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18851 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18852 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18853 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18854 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18855 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18856 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18857 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18858 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18859 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18860 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
18861 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18862 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18863 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18864 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18865 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
18866 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18867 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18868 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18869 $(gen-locales).
18870 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
18871 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18872 $(gen-locales).
18873 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
18874 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18875 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18876 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18877 $(gen-locales).
18878 * libio/tst_wprintf2.c (main): Use explicit locale.
18879 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18880
18881 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18882
18883 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18884 __msg_sig_post.
18885 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18886
18887 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18888
18889 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18890 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18891
18892 * sysdeps/arm/libm-test-ulps: Regenerated.
18893
18894 [BZ #15470]
18895 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18896
18897 [BZ #16399]
18898 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18899 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18900 and <fix-fp-int-convert-overflow.h>.
18901 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18902 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18903 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18904 and <fix-fp-int-convert-overflow.h>.
18905 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18906 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18907 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18908 <fix-fp-int-convert-overflow.h>.
18909 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18910 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18911 * sysdeps/ieee754/dbl-64/s_lround.c: Include
18912 <fix-fp-int-convert-overflow.h>.
18913 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18914 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18915 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18916 and <fix-fp-int-convert-overflow.h>.
18917 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18918 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18919 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18920 <limits.h> and <fix-fp-int-convert-overflow.h>.
18921 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18922 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18923 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18924 and <fix-fp-int-convert-overflow.h>.
18925 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18926 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18927 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18928 and <fix-fp-int-convert-overflow.h>.
18929 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18930 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18931 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18932
18933 2015-10-09 Carlos O'Donell <carlos@redhat.com>
18934
18935 [BZ #18589]
18936 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18937 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18938 $(gen-locales).
18939
18940 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18941 Phil Blundell <pb@pbcl.net>
18942
18943 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18944 * nptl/tst-cancel26.c: New file.
18945 * nptl/tst-cancel27.c: Likewise.
18946
18947 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
18948
18949 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18950 __ILP32__ isn't defined.
18951 (lrint): Likewise.
18952 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18953 (lrintf): Likewise.
18954 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18955 (lrintl): Likewise.
18956 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18957 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18958 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18959
18960 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18961
18962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18963 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18964
18965 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18966 file.
18967 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18968 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18969
18970 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18971
18972 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18973 configure test.
18974 * sysdeps/i386/configure: Regenerated.
18975 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18976 configure test.
18977 * sysdeps/x86_64/configure: Regenerated.
18978 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18979 Make code unconditional.
18980
18981 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18982 test.
18983 * sysdeps/i386/configure: Regenerated.
18984 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18985 test.
18986 * sysdeps/x86_64/configure: Regenerated.
18987 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18988 Make code unconditional.
18989 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18990 Likewise.
18991 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18992 Likewise.
18993 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18994 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18995 code unconditional.
18996 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18997 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18998 code unconditional.
18999 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19000 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19001 code unconditional.
19002 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19003 code unconditional.
19004 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19005 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19006 code unconditional.
19007 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19008 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19009 code unconditional.
19010 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19011 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19012 code unconditional.
19013 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19014 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19015 code unconditional.
19016 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19017 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19018
19019 [BZ #19095]
19020 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19021 mantissa to long int before shifting left.
19022
19023 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19024
19025 [BZ #19094]
19026 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19027 <limits.h>.
19028 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19029 when result overflows but exception would not result from cast.
19030 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19031 <limits.h>.
19032 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19033 when result overflows but exception would not result from cast.
19034 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19035 <limits.h>.
19036 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19037 when result overflows but exception would not result from cast.
19038 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19039 <limits.h>.
19040 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19041 when result overflows but exception would not result from cast.
19042 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19043 <limits.h>.
19044 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19045 when result overflows but exception would not result from cast.
19046 * math/libm-test.inc (lrint_test_data): Add more tests.
19047 (llrint_test_data): Likewise.
19048
19049 2015-10-08 Roland McGrath <roland@hack.frob.com>
19050
19051 [BZ #18872]
19052 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19053 Move out from under [$(run-built-tests) = yes] conditional.
19054 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19055 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19056
19057 2015-10-08 Carlos O'Donell <carlos@redhat.com>
19058
19059 [BZ #18589]
19060 * string/Makefile (tests): Add bug-strcoll2.
19061 (LOCALES): Add cs_CZ.UTF-8.
19062 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19063
19064 [BZ #18589]
19065 * string/bug-strcoll2.c: New file.
19066 * locale/categories.def: Revert commit
19067 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19068 * locale/langinfo.h: Likewise.
19069 * locale/localeinfo.h: Likewise.
19070 * locale/C-collate.c: Likewise.
19071 * locale/programs/ld-collate.c (collate_output): Likewise.
19072 * string/strcoll_l.c (STRDIFF): Likewise.
19073 (STRCOLL): Likewise.
19074 * wcsmbs/wcscoll_l.c: Likewise.
19075
19076 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19077
19078 * math/libm-test.inc (lround_test_data): Do not expect the absence
19079 of "inexact" for some tests with non-integer arguments.
19080 (llround_test_data): Likewise.
19081
19082 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19083 test.
19084 (libc_cv_cc_sse2avx): Likewise.
19085 * sysdeps/i386/configure: Regenerated.
19086 * sysdeps/i386/i686/multiarch/Makefile
19087 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19088 [$(subdir) = math].
19089 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19090 code unconditional.
19091 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19092 Likewise.
19093 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19094 Likewise.
19095 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19096 Likewise.
19097 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19098 test.
19099 (libc_cv_cc_sse2avx): Likewise.
19100 * sysdeps/x86_64/configure: Regenerated.
19101 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19102 unconditional.
19103 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19104 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19105 unconditional.
19106 (_dl_runtime_profile)
19107 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19108 conditional code.
19109 * sysdeps/x86_64/fpu/multiarch/Makefile
19110 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19111 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19112 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19113 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19114 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19115 * sysdeps/x86_64/fpu/multiarch/e_log.c
19116 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19117 * sysdeps/x86_64/fpu/multiarch/s_atan.c
19118 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19119 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19120 Likewise.
19121 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19122 Likewise.
19123 * sysdeps/x86_64/fpu/multiarch/s_sin.c
19124 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19125 * sysdeps/x86_64/fpu/multiarch/s_tan.c
19126 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19127 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19128 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19129 (HAVE_SSE2AVX_SUPPORT): Likewise.
19130
19131 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
19132
19133 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19134 instead of #pragma optimize.
19135
19136 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19137
19138 [BZ #17195]
19139 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19140 as is similarly done in systrim and _int_free already.
19141
19142 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19143
19144 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19145
19146 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19147
19148 [BZ #19088]
19149 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19150 <limits.h>.
19151 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19152 overflows but exception would not result from cast.
19153 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19154 and <limits.h>.
19155 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19156 overflows but exception would not result from cast.
19157 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19158 <limits.h>.
19159 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19160 overflows but exception would not result from cast.
19161 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19162 <limits.h>.
19163 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19164 overflows but exception would not result from cast.
19165 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19166 <limits.h>.
19167 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19168 overflows but exception would not result from cast.
19169 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19170 <limits.h>.
19171 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19172 overflows but exception would not result from cast.
19173 * math/libm-test.inc (lround_test_data): Add more tests.
19174 (llround_test_data): Likewise.
19175
19176 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
19177
19178 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19179 (CFLAGS-ialloc.c): Ditto.
19180 (CFLAGS-scheck.c): Ditto.
19181
19182 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19183
19184 [BZ #19086]
19185 * manual/filesys.texi (Storage Allocation): Fix argument order for
19186 posix_fallocate64.
19187
19188 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19189
19190 [BZ #19085]
19191 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19192 exponent below 48 inside case for non-overflowing exponent.
19193 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19194
19195 2015-10-07 Florian Weimer <fweimer@redhat.com>
19196
19197 * iconvdata/cp737.h (from_idx): Add const.
19198 * iconvdata/cp775.h (from_idx): Likewise.
19199
19200 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19201
19202 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19203 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19204 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19205
19206 [BZ #19079]
19207 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19208 file, conditioned on [!_LP64].
19209 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19210 [!_LP64] (__lround): Do not define as function or alias.
19211 [!_LP64] (lround): Likewise.
19212 [!_LP64] (__lroundl): Likewise.
19213 [!_LP64] (lroundl): Likewise.
19214 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19215 macro.
19216 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19217 Likewise.
19218
19219 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19220
19221 * math/libm-test.inc (lrint_test_data): Add more tests.
19222 (llrint_test_data): Likewise.
19223 (lround_test_data): Likewise.
19224 (llround_test_data): Likewise.
19225
19226 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19227 (llrint_test_data): Add tests used for lrint.
19228
19229 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19230 test.
19231 * sysdeps/i386/configure: Regenerated.
19232 * sysdeps/i386/i686/multiarch/Makefile
19233 [$(config-cflags-sse4) = yes]: Make code unconditional.
19234 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19235 Likewise.
19236 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19237 Likewise.
19238 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19239 test.
19240 * sysdeps/x86_64/configure: Regenerated.
19241 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19242 Make code unconditional.
19243 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19244 Likewise.
19245 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19246 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19247
19248 * scripts/rpm2dynsym.sh: Remove file.
19249
19250 2015-10-06 Florian Weimer <fweimer@redhat.com>
19251
19252 * configure.ac (libc_cv_cxx_thread_local): Define.
19253 * configure: Regenerate.
19254 * config.make.in (have-cxx-thread_local): Define.
19255 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19256 (LDLIBS-tst-thread_local1): Define.
19257 (tests): Add tst-thread_local1.
19258 [have-cxx-thread_local != yes] (tests-unsupported): Add
19259 tst-thread_local1.
19260 * nptl/tst-thread_local1.cc: New file.
19261
19262 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19263
19264 [BZ #19078]
19265 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19266 (u_thres): Likewise.
19267 (__expl): Determine whether to call __kernel_standard_l based on
19268 value of result, not argument.
19269
19270 * math/libm-test.inc (scalb_test_data): Add more expectations for
19271 the "inexact" exception.
19272
19273 [BZ #19077]
19274 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19275 0.0L for argument 1.0L.
19276
19277 [BZ #19076]
19278 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19279 constant 0.0L when computing infinite result.
19280
19281 2015-10-06 Florian Weimer <fweimer@redhat.com>
19282
19283 [BZ #10432]
19284 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19285 malloc_usable_size.
19286
19287 2015-10-06 Florian Weimer <fweimer@redhat.com>
19288
19289 [BZ #19018]
19290 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19291 Mangle function pointer before storing it.
19292 (__call_tls_dtors): Demangle function pointer before calling it.
19293
19294 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19295
19296 [BZ #19012]
19297 * iconv/gconv_db.c (gen_steps): Check for additional errors.
19298 Clean up on failure.
19299
19300 2015-10-05 Joseph Myers <joseph@codesourcery.com>
19301
19302 [BZ #19071]
19303 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19304 long int variable to store possibly incremented high part of
19305 mantissa.
19306 * math/libm-test.inc (lround_test_data): Add tests used for
19307 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
19308 for tests requiring 64-bit long. Do not condition tests on
19309 [TEST_FLOAT] unnecessarily.
19310 (llround_test_data): Add tests used for lround. Add another
19311 expectation for the "inexact" exception. Do not condition tests
19312 on [TEST_FLOAT] unnecessarily.
19313
19314 [BZ #887]
19315 [BZ #19049]
19316 [BZ #19050]
19317 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19318 * sysdeps/ieee754/dbl-64/e_log10.c: Include
19319 <fix-int-fp-convert-zero.h>.
19320 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19321 * sysdeps/ieee754/dbl-64/e_log2.c: Include
19322 <fix-int-fp-convert-zero.h>.
19323 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19324 * sysdeps/ieee754/dbl-64/s_erf.c: Include
19325 <fix-int-fp-convert-zero.h>.
19326 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19327 * sysdeps/ieee754/dbl-64/s_logb.c: Include
19328 <fix-int-fp-convert-zero.h>.
19329 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19330 * sysdeps/ieee754/flt-32/e_log10f.c: Include
19331 <fix-int-fp-convert-zero.h>.
19332 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19333 * sysdeps/ieee754/flt-32/e_log2f.c: Include
19334 <fix-int-fp-convert-zero.h>.
19335 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19336 * sysdeps/ieee754/flt-32/s_erff.c: Include
19337 <fix-int-fp-convert-zero.h>.
19338 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19339 * sysdeps/ieee754/flt-32/s_logbf.c: Include
19340 <fix-int-fp-convert-zero.h>.
19341 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19343 <fix-int-fp-convert-zero.h>.
19344 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19345 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19346 <fix-int-fp-convert-zero.h>.
19347 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19348 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19349 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19350 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19351 file.
19352 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19353
19354 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
19355
19356 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19357
19358 2015-10-02 Joseph Myers <joseph@codesourcery.com>
19359
19360 [BZ #19059]
19361 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19362 overflowing computation.
19363 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19364 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19365 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19366 Likewise.
19367 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19368 Likewise.
19369 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19370 Likewise.
19371 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19372 Likewise.
19373 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19374 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19375 Likewise.
19376 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19377 Likewise.
19378 * math/libm-test.inc (nexttoward_test_data): Add more tests.
19379
19380 * nss/rewrite_field.c (__nss_rewrite_field): Use
19381 internal_function.
19382 * nss/valid_field.c (__nss_valid_field): Likewise.
19383 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19384
19385 2015-10-02 Florian Weimer <fweimer@redhat.com>
19386
19387 [BZ #18724]
19388 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19389 (__nss_invalid_field_characters, __nss_valid_field)
19390 (__nss_valid_list_field, __nss_rewrite_field): Declare.
19391 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19392 tst-field.c: New file.
19393 * nss/Makefile (routines): Add valid_field, rewrite_field.
19394 (tests-static): Define unconditionally.
19395 (tests): Include tests-static.
19396 [build-static-nss] (tests-static): Use append.
19397 [build-static-nss] (tests): Remove modification.
19398 * nss/getent.c (print_group): Call putgrent. Report error.
19399 (print_gshadow): Call putsgent. Report error.
19400 (print_passwd): Call putpwent. Report error.
19401 (print_shadow): Call putspent. Report error.
19402 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19403 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19404 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
19405 name, password, directory, shell fields for valid syntax. Rewrite
19406 GECOS field to match syntax.
19407 * pwd/Makefile (tests): Add tst-putpwent.
19408 * pwd/tst-putpwent.c: New file.
19409 * grp/putgrent.c (putgrent): Convert to ISO function definition.
19410 Check grName, grpasswd, gr_mem fields for valid syntax.
19411 Change loop variable i to size_t.
19412 * grp/Makefile (tests): Add tst-putgrent.
19413 * grp/tst-putgrent.c: New file.
19414 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19415 valid syntax.
19416 * shadow/Makefile (tests): Add tst-putspent.
19417 * shadow/tst-putspent.c: New file.
19418 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19419 sg_mem fields for valid syntax.
19420 * gshadow/Makefile (tests): Add tst-putsgent.
19421 * gshadow/tst-putsgent.c: New file.
19422
19423 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19424
19425 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19426 assembly instructions.
19427
19428 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19429
19430 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19431 prefix from operands.
19432
19433 2015-10-01 Joseph Myers <joseph@codesourcery.com>
19434
19435 [BZ #16347]
19436 [BZ #19046]
19437 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19438 <libc-internal.h>.
19439 (MAXLGM): Do not use diagnostic control macros.
19440 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19441 threshold for ldbl-128ibm.
19442 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19443 instead of multiplying by log then subtracting.
19444 * math/auto-libm-test-in: Add more tests of lgamma.
19445 * math/auto-libm-test-out: Regenerated.
19446
19447 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19448 (TYPE_HEX_DIG): Likewise.
19449 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19450 precisions when printing floating-point numbers.
19451 (check_float_internal): Likewise.
19452
19453 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19454
19455 [BZ #16620]
19456 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19457 of log (10) rounded downward to 48 bits.
19458 (log10_low): Use corresponding low part of log (10).
19459
19460 [BZ #19032]
19461 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19462 compute result as (x - x) / (x - x) not as 0 / 0.
19463 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19464 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19465
19466 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19467 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19468 and expm1.
19469 * math/auto-libm-test-out: Regenerated.
19470 * math/libm-test.inc (acos_test_data): Add more tests.
19471 (asin_test_data): Likewise.
19472 (asinh_test_data): Likewise.
19473 (atan_test_data): Likewise.
19474 (atanh_test_data): Likewise.
19475 (atan2_test_data): Likewise.
19476 (cbrt_test_data): Likewise.
19477 (ceil_test_data): Likewise.
19478 (copysign_test_data): Likewise.
19479 (cos_test_data): Likewise.
19480 (cosh_test_data): Likewise.
19481 (erf_test_data): Likewise.
19482 (erfc_test_data): Likewise.
19483 (exp_test_data): Likewise.
19484 (exp10_test_data): Likewise.
19485 (exp2_test_data): Likewise.
19486 (expm1_test_data): Likewise.
19487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19488
19489 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
19490
19491 [BZ #19006]
19492 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19493 to ...
19494 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19495 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19496 to ...
19497 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19498 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19499 to ...
19500 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19501 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19502 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19503 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19504 to ...
19505 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19506 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19507 Moved to ...
19508 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19509 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19510 Moved to ...
19511 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19512 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19513 to ...
19514 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19515 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19516 Moved to ...
19517 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19518 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19519 to ...
19520 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19521 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19522 Removed.
19523 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19524 Likewise.
19525 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19526 Likewise.
19527 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19528 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19529 Likewise.
19530 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19531 Likewise.
19532 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19533 Likewise.
19534 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19535 Likewise.
19536 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19537 Likewise.
19538 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19539 Likewise.
19540 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19541 Likewise.
19542 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19543 Likewise.
19544 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19545 Likewise.
19546 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19547 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19548 Likewise.
19549 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19550 Likewise.
19551 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19552 Likewise.
19553 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19554 Likewise.
19555 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19556 Likewise.
19557 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19558 Replace ../i486/pthread_cond_timedwait.S with
19559 ../pthread_cond_timedwait.S.
19560
19561 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19562
19563 * math/libm-test.inc (acos_test_data): Refine expectations for
19564 errno and "inexact" exceptions.
19565 (acosh_test_data): Likewise.
19566 (asin_test_data): Likewise.
19567 (asinh_test_data): Likewise.
19568 (atan_test_data): Likewise.
19569 (atanh_test_data): Likewise.
19570 (atan2_test_data): Likewise.
19571 (cbrt_test_data): Likewise.
19572 (ceil_test_data): Likewise.
19573 (copysign_test_data): Likewise.
19574 (cosh_test_data): Likewise.
19575 (erf_test_data): Likewise.
19576 (erfc_test_data): Likewise.
19577 (exp_test_data): Likewise.
19578 (exp10_test_data): Likewise.
19579 (exp2_test_data): Likewise.
19580 (expm1_test_data): Likewise.
19581 (fabs_test_data): Likewise.
19582 (floor_test_data): Likewise.
19583 (fma_test_data): Likewise.
19584 (fmax_test_data): Likewise.
19585 (fmin_test_data): Likewise.
19586 (fmod_test_data): Likewise.
19587 (fpclassify_test_data): Likewise.
19588 (frexp_test_data): Likewise.
19589 (hypot_test_data): Likewise.
19590 (ilogb_test_data): Likewise.
19591 (isgreater_test_data): Likewise.
19592 (isgreaterequal_test_data): Likewise.
19593 (isinf_test_data): Likewise.
19594 (isless_test_data): Likewise.
19595 (islessequal_test_data): Likewise.
19596 (islessgreater_test_data): Likewise.
19597 (isnan_test_data): Likewise.
19598 (isnormal_test_data): Likewise.
19599 (issignaling_test_data): Likewise.
19600 (isunordered_test_data): Likewise.
19601 (j0_test_data): Likewise.
19602 (j1_test_data): Likewise.
19603 (jn_test_data): Likewise.
19604 (lgamma_test_data): Likewise.
19605 (lrint_test_data): Likewise.
19606 (llrint_test_data): Likewise.
19607 (log_test_data): Likewise.
19608 (log10_test_data): Likewise.
19609 (log1p_test_data): Likewise.
19610 (log2_test_data): Likewise.
19611 (logb_test_data): Likewise.
19612 (lround_test_data): Likewise.
19613 (llround_test_data): Likewise.
19614 (modf_test_data): Likewise.
19615 (nearbyint_test_data): Likewise.
19616 (nextafter_test_data): Likewise.
19617 (nexttoward_test_data): Likewise.
19618 (pow_test_data): Likewise.
19619 (remainder_test_data): Likewise.
19620 (remquo_test_data): Likewise.
19621 (rint_test_data): Likewise.
19622 (round_test_data): Likewise.
19623 (signbit_test_data): Likewise.
19624 (sinh_test_data): Likewise.
19625 (sqrt_test_data): Likewise.
19626 (tanh_test_data): Likewise.
19627 (tgamma_test_data): Likewise.
19628 (trunc_test_data): Likewise.
19629 (y0_test_data): Likewise.
19630 (y1_test_data): Likewise.
19631 (yn_test_data): Likewise.
19632 (significand_test_data): Likewise.
19633
19634 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19635
19636 * manual/filesys.texi (Storage Allocation): Document that
19637 posix_fallocate emulation fails when fd is open with O_WRONLY.
19638
19639 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19640
19641 [BZ #19016]
19642 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19643 allow more cases with X^2 + Y^2 >= 0.5.
19644 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19645 normal element in sum instead of special-casing based on values of
19646 arguments.
19647 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19648 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19649 -1 as normal element in sum instead of special-casing based on
19650 values of arguments.
19651 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19652 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19653 (__x2y2m1): Update comment.
19654 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19655 as normal element in sum instead of special-casing based on values
19656 of arguments.
19657 * math/s_clog.c (__clog): Handle more cases using log1p without
19658 hypot.
19659 * math/s_clog10.c (__clog10): Likewise.
19660 * math/s_clog10f.c (__clog10f): Likewise.
19661 * math/s_clog10l.c (__clog10l): Likewise.
19662 * math/s_clogf.c (__clogf): Likewise.
19663 * math/s_clogl.c (__clogl): Likewise.
19664 * math/auto-libm-test-in: Add more tests of clog and clog10.
19665 * math/auto-libm-test-out: Regenerated.
19666 * sysdeps/i386/fpu/libm-test-ulps: Update.
19667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19668
19669 2015-09-28 Martin Sebor <msebor@redhat.com>
19670
19671 [BZ #18969]
19672 * string/Makefile (LOCALES): Define.
19673 (gen-locales.mk): Include.
19674 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19675 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19676 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19677 on setlocale failure.
19678
19679 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19680
19681 [BZ #18985]
19682 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19683 (__strftime_internal): Likewise.
19684 * time/tst-strftime.c (do_bz18985): New test.
19685 (do_test): Call it.
19686
19687 2015-09-26 Joseph Myers <joseph@codesourcery.com>
19688
19689 [BZ #18956]
19690 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19691 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
19692 extracting high part.
19693 * math/auto-libm-test-in: Add another test of pow.
19694 * math/auto-libm-test-out: Regenerated.
19695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19696
19697 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19698
19699 [BZ #18825]
19700 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19701 New macro.
19702 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19703 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19704 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19705 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19706 DBL_NARROW_EVAL, reloading the PIC register as needed.
19707 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19708 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19709 FLT_NARROW_EVAL. Use separate return path for case when first
19710 argument is NaN.
19711 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
19712 DEFINE_LDBL_MIN.
19713 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19714 PIC register.
19715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19716 math_check_force_underflow_nonneg.
19717 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19718 underflow for subnormal result.
19719 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19720 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19721 math_check_force_underflow_nonneg.
19722 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19723 math_check_force_underflow.
19724 * sysdeps/x86_64/fpu/x86_64-math-asm.h
19725 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19726 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
19727 DEFINE_LDBL_MIN.
19728 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19729 * math/auto-libm-test-in: Add more tests of pow.
19730 * math/auto-libm-test-out: Regenerated.
19731
19732 2015-09-25 Florian Weimer <fweimer@redhat.com>
19733
19734 * nss/bug17079.c (init_test_items): Add diagnostic for
19735 inconsistent entries.
19736 (test_buffer_size): Skip inconsistent entries.
19737
19738 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19739
19740 [BZ #13304]
19741 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19742 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19743 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19744
19745 [BZ #13304]
19746 * sysdeps/microblaze/s_fma.c: New file.
19747 * sysdeps/microblaze/s_fmaf.c: Likewise.
19748 * sysdeps/microblaze/sfp-machine.h: Likewise.
19749
19750 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
19751
19752 [BZ #17250]
19753 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19754 member.
19755
19756 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19757
19758 [BZ #18803]
19759 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19760 (MO): New macro.
19761 (__ieee754_hypot) [PIC]: Load PIC register.
19762 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19763 DBL_NARROW_EVAL.
19764 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19765 math_check_force_underflow_nonneg in case where result might be
19766 tiny.
19767 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19768 Likewise.
19769 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19770 Likewise.
19771 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19772 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19773 * math/auto-libm-test-in: Add more tests of hypot.
19774 * math/auto-libm-test-out: Regenerated.
19775
19776 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
19777
19778 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19779
19780 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19781
19782 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19783 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19784 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19785 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19786 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19787 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19788 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19789
19790 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19791 LOAD_PIC_REG.
19792
19793 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19794 (FLT_CHECK_FORCE_UFLOW): Likewise.
19795 (DBL_CHECK_FORCE_UFLOW): Likewise.
19796 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19797 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19798 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19799 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19800 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19801 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19802 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19803 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19804 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19805 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19806 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19807 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19808 (flt_min): Replace with use of DEFINE_FLT_MIN.
19809 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19810 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19811 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19812 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19813 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19814 (flt_min): Replace with use of DEFINE_FLT_MIN.
19815 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19816 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19817 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19818 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19819 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19820 (flt_min): Replace with use of DEFINE_FLT_MIN.
19821 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19822 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19823 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19824 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19825 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19826 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19827 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19828 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19829 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19830 (__atan): Use DBL_CHECK_FORCE_UFLOW.
19831 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19832 (flt_min): Replace with use of DEFINE_FLT_MIN.
19833 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19834 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19835 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19836 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
19837 main computation.
19838 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19839 (flt_min): Replace with use of DEFINE_FLT_MIN.
19840 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
19841 main computation.
19842 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19843 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19844 (MO): New macro.
19845 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19846 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19847 (flt_min): Replace with use of DEFINE_FLT_MIN.
19848 (MO): New macro.
19849 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19850 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19851 (__log1pl): Use MO.
19852
19853 [BZ #19003]
19854 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19855 $(config-cflags-nofma).
19856
19857 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19858
19859 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19860
19861 2015-09-23 Joseph Myers <joseph@codesourcery.com>
19862
19863 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19864 (TWO127): Likewise.
19865
19866 * sysdeps/generic/math_private.h (fabs_tg): New macro.
19867 (min_of_type): Likewise.
19868 (math_check_force_underflow): Likewise.
19869 (math_check_force_underflow_nonneg): Likewise.
19870 (math_check_force_underflow_complex): Likewise.
19871 * math/e_exp2l.c (__ieee754_exp2l): Use
19872 math_check_force_underflow_nonneg.
19873 * math/k_casinh.c (__kernel_casinh): Likewise.
19874 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19875 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19876 * math/s_catan.c (__catan): Use
19877 math_check_force_underflow_complex.
19878 * math/s_catanf.c (__catanf): Likewise.
19879 * math/s_catanh.c (__catanh): Likewise.
19880 * math/s_catanhf.c (__catanhf): Likewise.
19881 * math/s_catanhl.c (__catanhl): Likewise.
19882 * math/s_catanl.c (__catanl): Likewise.
19883 * math/s_ccosh.c (__ccosh): Likewise.
19884 * math/s_ccoshf.c (__ccoshf): Likewise.
19885 * math/s_ccoshl.c (__ccoshl): Likewise.
19886 * math/s_cexp.c (__cexp): Likewise.
19887 * math/s_cexpf.c (__cexpf): Likewise.
19888 * math/s_cexpl.c (__cexpl): Likewise.
19889 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19890 * math/s_clog10.c (__clog10): Likewise.
19891 * math/s_clog10f.c (__clog10f): Likewise.
19892 * math/s_clog10l.c (__clog10l): Likewise.
19893 * math/s_clogf.c (__clogf): Likewise.
19894 * math/s_clogl.c (__clogl): Likewise.
19895 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19896 * math/s_csinf.c (__csinf): Likewise.
19897 * math/s_csinh.c (__csinh): Likewise.
19898 * math/s_csinhf.c (__csinhf): Likewise.
19899 * math/s_csinhl.c (__csinhl): Likewise.
19900 * math/s_csinl.c (__csinl): Likewise.
19901 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19902 * math/s_csqrtf.c (__csqrtf): Likewise.
19903 * math/s_csqrtl.c (__csqrtl): Likewise.
19904 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19905 * math/s_ctanf.c (__ctanf): Likewise.
19906 * math/s_ctanh.c (__ctanh): Likewise.
19907 * math/s_ctanhf.c (__ctanhf): Likewise.
19908 * math/s_ctanhl.c (__ctanhl): Likewise.
19909 * math/s_ctanl.c (__ctanl): Likewise.
19910 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19911 instead of volatile.
19912 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19913 math_check_force_underflow.
19914 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19915 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19916 volatile when forcing underflow.
19917 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19918 math_check_force_underflow_nonneg.
19919 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19920 Likewise.
19921 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19922 math_check_force_underflow.
19923 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19924 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19925 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19926 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19927 math_check_force_underflow_nonneg.
19928 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19929 math_check_force_underflow.
19930 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19932 instead of volatile.
19933 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19934 math_check_force_underflow.
19935 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19937 math_check_force_underflow_nonneg.
19938 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19939 math_check_force_underflow.
19940 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19941 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19942 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19943 math_check_force_underflow_nonneg.
19944 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19945 Likewise.
19946 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19947 math_check_force_underflow.
19948 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19949 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19950 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19951 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19952 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19953 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19954 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19955 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19956 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19957 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19958 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19959 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19960 Likewise.
19961 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19962 math_check_force_underflow_nonneg.
19963 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19964 Likewise.
19965 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19966 math_check_force_underflow.
19967 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19968 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19969 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19970 Likewise.
19971 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19972 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19973 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19974 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19975 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19976 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19978 instead of volatile.
19979 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19980 math_check_force_underflow.
19981 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19982 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19983 math_check_force_underflow.
19984 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19985 Likewise.
19986 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19987 Use math_check_force_underflow_nonneg.
19988 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19989 math_check_force_underflow.
19990 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19991 Likewise.
19992 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19993 Likewise.
19994 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19995 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19996 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19997 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19998 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19999 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20000 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20001 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20002 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20003 math_check_force_underflow_nonneg.
20004 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20005 math_check_force_underflow.
20006 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20007 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20008 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20009 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20010 math_check_force_underflow_nonneg.
20011 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20012 math_check_force_underflow.
20013 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20014 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20015 instead of volatile.
20016 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20017 math_check_force_underflow.
20018
20019 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20020 * stdlib/strtod_l.c: Include <math_private.h>.
20021 (overflow_value): Use math_narrow_eval.
20022 (underflow_value): Likewise.
20023 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20024 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20025 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20026 (__ieee754_gamma_r): Likewise.
20027 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20028 Likewise.
20029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20030 Likewise.
20031 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20032 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20033 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20034 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20035 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20036 (__ieee754_gammaf_r): Likewise.
20037 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20038 Likewise.
20039 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20040 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20041 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20042 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20043 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20044 volatile.
20045 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20046 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20047 math_narrow_eval.
20048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20049 Likewise.
20050 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20051 Likewise.
20052 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20053 Likewise.
20054 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20055 volatile.
20056 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20057 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20058 math_narrow_eval.
20059 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20060 Likewise.
20061 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20062 Likewise.
20063
20064 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
20065
20066 * nptl/Versions: Remove ignored symbols.
20067
20068 2015-09-22 Florian Weimer <fweimer@redhat.com>
20069
20070 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
20071 * nss/Makefile (tests): Update.
20072
20073 2015-09-22 Florian Weimer <fweimer@redhat.com>
20074
20075 * nss/bug18287.c: New file.
20076 * nss/Makefile (tests): Add bug18287.
20077
20078 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20079
20080 * mach/Versions (__mach_host_self_): Add symbol.
20081
20082 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20083
20084 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20085 vm_page_size.
20086
20087 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20088
20089 Really fix sysdeps/i386/fpu/s_scalbn.S build
20090
20091 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20092 (libc: GLIBC_2_22): Remove unused version set.
20093
20094 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20095
20096 * config.make.in (enable-timezone-tools): New variable.
20097 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20098 (enable_timezone_tools): Export to generated files.
20099 * configure: Regenerate.
20100 * INSTALL: Regenerate.
20101 * manual/install.texi (--disable-timezone-tools): Document new flag.
20102 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20103 ifeq ($(enable-timezone-tools),yes) check.
20104
20105 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20106
20107 * timezone/Makefile: Revert previous change.
20108
20109 [BZ #18980]
20110 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20111 (DEFINE_DBL_MIN): Likewise.
20112 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20113 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20114 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20115 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20116 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20117 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20118 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20119 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20120 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20121 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20122 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20123 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20124 (flt_min): Replace with use of DEFINE_FLT_MIN.
20125 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20126 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20127 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20128 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20129 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20130 (flt_min): Replace with use of DEFINE_FLT_MIN.
20131 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20132 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20133 (flt_min): Replace with use of DEFINE_FLT_MIN.
20134 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20135 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20136 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20137 (__ieee754_hypot): Use DBL_NARROW_EVAL.
20138 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20139 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20140 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20141 (__ieee754_pow): Use DBL_NARROW_EVAL.
20142 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20143 (__ieee754_powf): Use FLT_NARROW_EVAL.
20144 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20145 (__ieee754_expf_sse2): Convert double-precision result to single
20146 precision.
20147 * sysdeps/i386/fpu/libm-test-ulps: Update.
20148
20149 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20150
20151 * timezone/Makefile: Ignore unused variable errors due to private.h
20152 (time_t_min) and (time_t_max).
20153 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
20154 Likewise.
20155
20156 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20157
20158 [BZ #18981]
20159 * sysdeps/i386/fpu/i386-math-asm.h: New file.
20160 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20161 (__ieee754_scalb): Use DBL_NARROW_EVAL.
20162 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20163 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20164 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20165 (__scalbn): Use DBL_NARROW_EVAL.
20166 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20167 (__scalbnf): Use FLT_NARROW_EVAL.
20168
20169 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20170
20171 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20172 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20173 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20174 * stdio-common/printf_fp.c (___printf_fp):
20175 Use signbit to get the sign. Use isinf macro to allow inlining.
20176 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20177 * stdio-common/printf_size.c (__printf_size): Likewise.
20178
20179 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20180
20181 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20182
20183 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20184
20185 [BZ #18980]
20186 * sysdeps/generic/math_private.h: Include <float.h>.
20187 (math_narrow_eval): New macro.
20188 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20189 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20190 math_narrow_eval on overflowing return value.
20191 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20192 Likewise.
20193 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20194 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20196 Likewise.
20197 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20198
20199 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20200
20201 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20202 * math/Makefile: Remove isinf_ns.c.
20203 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20204 * math/multc3.c (__multc3): Likewise.
20205 * math/s_casin.c (__casin): Likewise.
20206 * math/s_casinf.c (__casinf): Likewise.
20207 * math/s_casinl.c (__casinl): Likewise.
20208 * math/s_cproj.c (__cproj): Likewise.
20209 * math/s_cprojf.c (__cprojf): Likewise.
20210 * math/s_cprojl.c (__cprofl): Likewise.
20211 * math/s_ctan.c (__ctan): Likewise.
20212 * math/s_ctanf.c (__ctanf): Likewise.
20213 * math/s_ctanh.c (__ctanh): Likewise.
20214 * math/s_ctanhf.c (__ctanhf): Likewise.
20215 * math/s_ctanhl.c (__ctanhl): Likewise.
20216 * math/s_ctanl.c (__ctanl): Likewise.
20217 * math/w_fmod.c (__fmod): Likewise.
20218 * math/w_fmodf.c (__fmodf): Likewise.
20219 * math/w_fmodl.c (_fmodl): Likewise.
20220 * math/w_remainder.c (__remainder): Likewise.
20221 * math/w_remainderf.c (__remainderf): Likewise.
20222 * math/w_remainderl.c (__remainderl): Likewise.
20223 * math/w_scalb.c (__scalb): Likewise.
20224 * math/w_scalbf.c (__scalbf): Likewise.
20225 * math/w_scalbl.c (__scalbl): Likewise.
20226 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20227 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20228 with isinf.
20229 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20231 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20232 __isinf_nsf with isinf.
20233 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20234 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20235 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20236 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20237 with isinf.
20238 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20239 __isinf_nsl with isinf.
20240 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20241 with isinf.
20242 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20243 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20244 __isinf_nsl with isinf.
20245 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20246 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20247 with isinf.
20248
20249 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20250
20251 * resolv/base64.c (rcsid): Remove unused static.
20252 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20253 static. (tqpi1): Likewise.
20254 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20255 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20256 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20257 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20258 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20259 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20260 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20261 * timezone/private.h (time_t_min): Likewise. (time_t_max):
20262 Likewise.
20263
20264 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
20265
20266 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20267 <nptl/pthreadP.h>.
20268 (_longjmp_unwind): Use __libc_ptf_call.
20269 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20270
20271 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
20272
20273 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20274 * sysdeps/arm/__longjmp.S: Likewise.
20275
20276 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20277
20278 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20279 Use __builtin_signbit.
20280 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20281 Use __builtin_signbitf.
20282 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20283 Use __builtin_signbitl.
20284 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20285 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20286
20287 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20288
20289 [BZ #15367]
20290 [BZ #17441]
20291
20292 * math/Makefile: Build test-snan.c with -fsignaling-nans.
20293 * math/math.h (fpclassify): Use __builtin_fpclassify when
20294 available. (signbit): Use __builtin_signbit(f/l).
20295 (isfinite): Use__builtin_isfinite. (isnormal): Use
20296 __builtin_isnormal. (isnan): Use __builtin_isnan.
20297 (isinf): Use __builtin_isinf_sign.
20298
20299 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20300
20301 * benchtests/Makefile: Add bench-math-inlines, link with libm.
20302 * benchtests/bench-math-inlines.c: New benchmark.
20303 * benchtests/bench-util.h: New file.
20304 * benchtests/bench-util.c: New file.
20305 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20306
20307 2015-09-18 Carlos O'Donell <carlos@redhat.com>
20308
20309 * elf/tst-dlmopen1.c: Define TEST_SO.
20310 (do_test): Use TEST_SO.
20311
20312 * elf/dl-load.c: Include libc-internal.h.
20313 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20314
20315 2015-09-18 Vincent Bernat <vincent@bernat.im>
20316
20317 [BZ #17887]
20318 * time/strptime_l.c (__strptime_internal): Make %z accept
20319 [+-]HH:MM time zones.
20320
20321 2015-09-18 Vincent Bernat <vincent@bernat.im>
20322
20323 [BZ #17886]
20324 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20325 valid time zone.
20326
20327 2015-09-17 Mike Frysinger <vapier@gentoo.org>
20328
20329 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20330 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20331 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20332 (__ASSUME_FDATASYNC): Delete.
20333
20334 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20335
20336 * conform/linknamespace.pl: Require weak undefined symbols to be
20337 in the standard namespace.
20338 (%strong_syms): Rename to %seen_syms.
20339 (%strong_seen): Rename to %seen_where.
20340
20341 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
20342
20343 [BZ #18970]
20344 * misc/error.c (error): Replace pthread_setcancelstate with
20345 __pthread_setcancelstate.
20346 (error_at_line): Likewise.
20347 * posix/wordexp.c (parse_comm): Likewise.
20348 * stdlib/fmtmsg.c (fmtmsg): Likewise.
20349 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20350 (__pthread_setcancelstate): This.
20351 (pthread_setcancelstate): Add an alias.
20352 * nptl/nptl-init.c (pthread_functions): Replace
20353 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20354 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20355 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20356 hidden_proto.
20357 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20358 it with hidden_def.
20359 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20360 (pthread_setcancelstate): Renamed to ...
20361 (__pthread_setcancelstate): This.
20362 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20363 __libc_ptf_call with __pthread_setcancelstate.
20364
20365 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20366 Andreas Schwab <schwab@suse.de>
20367
20368 [BZ #17118]
20369 * math/s_ctan.c (__ctan): Determine sign of zero real part of
20370 result when imaginary part of argument is infinite using sine and
20371 cosine.
20372 * math/s_ctanf.c (__ctanf): Likewise.
20373 * math/s_ctanl.c (__ctanl): Likewise.
20374 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20375 of result when real part of argument is infinite using sine and
20376 cosine.
20377 * math/s_ctanhf.c (__ctanhf): Likewise.
20378 * math/s_ctanhl.c (__ctanhl): Likewise.
20379 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20380 (ctanh_test_data): Add more tests of ctanh.
20381
20382 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20383
20384 [BZ #15384]
20385 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20386 bit-mask as in subtraction.
20387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20388 Likewise.
20389 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20390 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20391 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20392
20393 [BZ #18951]
20394 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20395 underflow exception for small results.
20396 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20397 Likewise.
20398 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20399 Likewise.
20400 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20401 Likewise.
20402 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20403 Likewise.
20404 * math/auto-libm-test-in: Add more tests of tgamma.
20405 * math/auto-libm-test-out: Regenerated.
20406
20407 2015-09-17 Andreas Schwab <schwab@suse.de>
20408
20409 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20410
20411 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20412
20413 [BZ #18977]
20414 * math/bits/mathcalls.h
20415 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20416 not declare.
20417 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20418 Likewise.
20419 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20420 Likewise.
20421 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20422 Likewise.
20423 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20424 Likewise.
20425 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20426 Likewise.
20427 * conform/data/math.h-data
20428 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20429 function.
20430 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20431 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20432 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20433 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20434 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20435 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20436 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20437 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20438 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20439 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20440 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20441
20442 [BZ #6803]
20443 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20444 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20445 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20446 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20447 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20448 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20449 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20450 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20451 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20452 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20453 Likewise.
20454 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20455 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20456 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20457 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20458 long_double_symbol calls.
20459 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20460 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20461 strong alias of __ldexpl.
20462 (scalbnl): Define using long_double_symbol.
20463 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20464 Remove alias.
20465 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20466 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20467 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20468 (scalbln_test_data): Add more errno expectations.
20469
20470 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
20471
20472 Cache the host port like we cache the task port. This way we do not
20473 need to call the kernel just to get the port. Furthermore, we no
20474 longer increase the reference count on every invocation of
20475 `mach_host_self'.
20476
20477 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20478 Protect declarations against the macro expansion.
20479 * mach/mach_init.c (__mach_host_self_): New variable.
20480 (mach_init): Initialize `__mach_host_self_'.
20481 * mach/mach_init.h (__mach_host_self_): New declaration.
20482 (__mach_host_self, mach_host_self): New macros.
20483 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20484 Release reference.
20485
20486 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20487
20488 [BZ #4404]
20489 * po/de.po: Update from Translation Project.
20490
20491 [BZ #16415]
20492 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20493 (__expm1l): Remove code to handle positive infinity and overflow.
20494 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20495 variable.
20496 (__expm1l): Remove code to handle positive infinity and overflow.
20497
20498 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20499 Paul Pluzhnikov <ppluzhnikov@google.com>
20500
20501 [BZ #18872]
20502 * stdio-common/Makefile (tst-printf-bz18872): New test.
20503 (tst-printf-bz18872-mem.out): Likewise.
20504 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20505 * stdio-common/vfprintf.c: Fix memory leaks.
20506
20507 2015-09-16 Andreas Schwab <schwab@suse.de>
20508
20509 [BZ #17244]
20510 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20511 Remove extra va_start/va_end calls.
20512
20513 [BZ #17243]
20514 * posix/execl.c (execl): Add missing va_end.
20515 * posix/execle.c (execle): Likewise.
20516 * posix/execlp.c (execlp): Likewise.
20517
20518 2015-09-15 Roland McGrath <roland@hack.frob.com>
20519
20520 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20521 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20522
20523 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20524
20525 [BZ #18967]
20526 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20527 undefine around includes of <bits/mathcalls.h>.
20528 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20529 not declare function.
20530 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20531 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20532 (scalb): Likewise.
20533 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20534 not define macro.
20535 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20536 variable.
20537 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20538 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20539 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20540
20541 [BZ #18857]
20542 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20543 return non-finite argument without doing ordered comparisons on
20544 it.
20545
20546 [BZ #16296]
20547 * math/fenv.h (fegetround): Use __attribute_pure__.
20548 * include/fenv.h (__fegetround): Likewise.
20549
20550 [BZ #18595]
20551 * math/s_ctan.c (__ctan): Force underflow exception for results
20552 whose real or imaginary part has small absolute value.
20553 * math/s_ctanf.c (__ctanf): Likewise.
20554 * math/s_ctanh.c (__ctanh): Likewise.
20555 * math/s_ctanhf.c (__ctanhf): Likewise.
20556 * math/s_ctanhl.c (__ctanhl): Likewise.
20557 * math/s_ctanl.c (__ctanl): Likewise.
20558 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20559 and ctanh. Add more tests of ctan and ctanh.
20560
20561 [BZ #15918]
20562 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20563 handling of cases where one argument is an infinity.
20564
20565 [BZ #18875]
20566 [BZ #18966]
20567 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20568 (MO): New macro.
20569 (__ieee754_exp10): For small results, force underflow exception
20570 and remove excess range and precision from return value.
20571 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20572 (MO): New macro.
20573 (__ieee754_exp10f): For small results, force underflow exception
20574 and remove excess range and precision from return value.
20575 * math/auto-libm-test-in: Add more tests of exp10.
20576 * math/auto-libm-test-out: Regenerated.
20577
20578 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20579
20580 [BZ #18875]
20581 [BZ #18961]
20582 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20583 (MO): New macro.
20584 (__ieee754_exp): For small results, force underflow exception and
20585 remove excess range and precision from return value.
20586 (__exp_finite): Likewise.
20587 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20588 (MO): New macro.
20589 (__ieee754_expf): For small results, force underflow exception and
20590 remove excess range and precision from return value.
20591 (__expf_finite): Likewise.
20592 * math/auto-libm-test-in: Add more tests of exp.
20593 * math/auto-libm-test-out: Regenerated.
20594
20595 [BZ #16521]
20596 [BZ #18875]
20597 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20598 small results.
20599 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20600 (MO): New macro.
20601 (__ieee754_exp2): For small results, force underflow exception and
20602 remove excess range and precision from return value.
20603 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20604 (MO): New macro.
20605 (__ieee754_exp2f): For small results, force underflow exception
20606 and remove excess range and precision from return value.
20607 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20608 (MO): New macro.
20609 (__ieee754_exp2l): Force underflow exception for small results.
20610 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20611 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20612 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20613 (MO): New macro.
20614 (__ieee754_exp2l): Force underflow exception for small results.
20615 * math/auto-libm-test-in: Add more tests or exp2.
20616 * math/auto-libm-test-out: Regenerated.
20617
20618 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20619
20620 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20621
20622 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20623 /dev/null.
20624
20625 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20626
20627 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20628 io fs process)): Drop spurious backslash.
20629
20630 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20631
20632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20633 Use sysinfo system call instead of parsing /proc/meminfo.
20634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20635 Likewise.
20636
20637 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20638
20639 [BZ #16985]
20640 * programs/localedef.c (main): Display argv[remaining] when
20641 output_path is NULL.
20642
20643 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20644
20645 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20646 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20647 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20648 tanh.
20649 * math/auto-libm-test-out: Regenerated.
20650 * sysdeps/i386/fpu/libm-test-ulps: Update.
20651 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20652 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20654
20655 2015-09-11 Roland McGrath <roland@hack.frob.com>
20656
20657 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20658 Use 'override' keyword to freeze the value here, preventing
20659 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20660
20661 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20662
20663 [BZ #14912]
20664 * sysdeps/aarch64/bits/atomic.h: Move to ...
20665 * sysdeps/aarch64/atomic-machine.h: ...here.
20666 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20667 _AARCH64_ATOMIC_MACHINE_H.
20668 * sysdeps/alpha/bits/atomic.h: Move to ...
20669 * sysdeps/alpha/atomic-machine.h: ...here.
20670 * sysdeps/arm/bits/atomic.h: Move to ...
20671 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20672 * bits/atomic.h: Move to ...
20673 * sysdeps/generic/atomic-machine.h: ...here.
20674 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20675 * sysdeps/i386/bits/atomic.h: Move to ...
20676 * sysdeps/i386/atomic-machine.h: ...here.
20677 * sysdeps/ia64/bits/atomic.h: Move to ...
20678 * sysdeps/ia64/atomic-machine.h: ...here.
20679 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20680 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20681 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20682 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20683 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20684 * sysdeps/microblaze/bits/atomic.h: Move to ...
20685 * sysdeps/microblaze/atomic-machine.h: ...here.
20686 * sysdeps/mips/bits/atomic.h: Move to ...
20687 * sysdeps/mips/atomic-machine.h: ...here.
20688 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20689 * sysdeps/powerpc/bits/atomic.h: Move to ...
20690 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
20691 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20692 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
20693 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
20694 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20695 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
20696 <atomic-machine.h> instead of <bits/atomic.h>.
20697 * sysdeps/s390/bits/atomic.h: Move to ...
20698 * sysdeps/s390/atomic-machine.h: ...here.
20699 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20700 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20701 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20702 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20703 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20704 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20705 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20706 * sysdeps/tile/bits/atomic.h: Move to ...
20707 * sysdeps/tile/atomic-machine.h: ...here.
20708 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20709 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
20710 <sysdeps/tile/atomic-machine.h> instead of
20711 <sysdeps/tile/bits/atomic.h>.
20712 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20713 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20714 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
20715 <sysdeps/tile/atomic-machine.h> instead of
20716 <sysdeps/tile/bits/atomic.h>.
20717 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20718 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20719 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
20720 <sysdeps/arm/atomic-machine.h> instead of
20721 <sysdeps/arm/bits/atomic.h>.
20722 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20723 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20724 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20725 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20726 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20727 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20728 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20729 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20730 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20731 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20732 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20733 * sysdeps/x86_64/bits/atomic.h: Move to ...
20734 * sysdeps/x86_64/atomic-machine.h: ...here.
20735 * include/atomic.h: Include <atomic-machine.h> instead of
20736 <bits/atomic.h>.
20737
20738 * sysdeps/mips/mips32/libm-test-ulps: Update.
20739 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20740
20741 [BZ #18952]
20742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20743 not convert non-integer negative arguments to int to determine the
20744 value of signgam.
20745 * math/auto-libm-test-in: Add more tests of lgamma.
20746 * math/auto-libm-test-out: Regenerated.
20747
20748 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20749 cosh, csqrt, erfc, expm1 and lgamma.
20750 * math/auto-libm-test-out: Regenerated.
20751 * sysdeps/i386/fpu/libm-test-ulps: Update.
20752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20753
20754 2015-09-10 Joseph Myers <joseph@codesourcery.com>
20755
20756 [BZ #2542]
20757 [BZ #2543]
20758 [BZ #2558]
20759 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20760 __lgamma_neg for arguments from -28.0 to -2.0.
20761 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20762 __lgamma_negf for arguments from -15.0 to -2.0.
20763 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20764 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20765 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20766 Call __lgamma_negl for arguments from -33.0 to -2.0.
20767 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20768 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20769 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20770 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20771 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20772 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20773 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20774 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20775 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20776 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20777 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20778 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20779 (__lgamma_neg): Likewise.
20780 (__lgamma_negl): Likewise.
20781 (__lgamma_product): Likewise.
20782 (__lgamma_productl): Likewise.
20783 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20784 * math/auto-libm-test-in: Add more tests of lgamma.
20785 * math/auto-libm-test-out: Regenerated.
20786 * sysdeps/i386/fpu/libm-test-ulps: Update.
20787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20788
20789 2015-09-09 Justin Maggard <jmaggard@netgear.com>
20790
20791 [BZ #18675]
20792 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20793
20794 2015-09-08 Joseph Myers <joseph@codesourcery.com>
20795
20796 [BZ #14912]
20797 * bits/libc-lock.h: Move to ...
20798 * sysdeps/generic/libc-lock.h: ...here.
20799 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20800 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20801 * sysdeps/mach/hurd/libc-lock.h: ...here.
20802 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20803 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20804 * sysdeps/mach/bits/libc-lock.h: Move to ...
20805 * sysdeps/mach/libc-lock.h: ...here.
20806 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20807 * sysdeps/nptl/bits/libc-lock.h: Move to ...
20808 * sysdeps/nptl/libc-lock.h: ...here.
20809 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20810 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20811 * sysdeps/nptl/libc-lockP.h: ...here.
20812 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20813 * crypt/crypt_util.c: Include <libc-lock.h> instead of
20814 <bits/libc-lock.h>.
20815 * dirent/scandir-tail.c: Likewise.
20816 * dlfcn/dlerror.c: Likewise.
20817 * elf/dl-close.c: Likewise.
20818 * elf/dl-iteratephdr.c: Likewise.
20819 * elf/dl-lookup.c: Likewise.
20820 * elf/dl-open.c: Likewise.
20821 * elf/dl-support.c: Likewise.
20822 * elf/dl-writev.h: Likewise.
20823 * elf/rtld.c: Likewise.
20824 * grp/fgetgrent.c: Likewise.
20825 * gshadow/fgetsgent.c: Likewise.
20826 * gshadow/sgetsgent.c: Likewise.
20827 * iconv/gconv_conf.c: Likewise.
20828 * iconv/gconv_db.c: Likewise.
20829 * iconv/gconv_dl.c: Likewise.
20830 * iconv/gconv_int.h: Likewise.
20831 * iconv/gconv_trans.c: Likewise.
20832 * include/link.h: Likewise.
20833 * inet/getnameinfo.c: Likewise.
20834 * inet/getnetgrent.c: Likewise.
20835 * inet/getnetgrent_r.c: Likewise.
20836 * intl/bindtextdom.c: Likewise.
20837 * intl/dcigettext.c: Likewise.
20838 * intl/finddomain.c: Likewise.
20839 * intl/gettextP.h: Likewise.
20840 * intl/loadmsgcat.c: Likewise.
20841 * intl/localealias.c: Likewise.
20842 * intl/textdomain.c: Likewise.
20843 * libidn/idn-stub.c: Likewise.
20844 * libio/libioP.h: Likewise.
20845 * locale/duplocale.c: Likewise.
20846 * locale/freelocale.c: Likewise.
20847 * locale/newlocale.c: Likewise.
20848 * locale/setlocale.c: Likewise.
20849 * login/getutent_r.c: Likewise.
20850 * login/getutid_r.c: Likewise.
20851 * login/getutline_r.c: Likewise.
20852 * login/utmp-private.h: Likewise.
20853 * login/utmpname.c: Likewise.
20854 * malloc/mtrace.c: Likewise.
20855 * misc/efgcvt.c: Likewise.
20856 * misc/error.c: Likewise.
20857 * misc/fstab.c: Likewise.
20858 * misc/getpass.c: Likewise.
20859 * misc/mntent.c: Likewise.
20860 * misc/syslog.c: Likewise.
20861 * nis/nis_call.c: Likewise.
20862 * nis/nis_callback.c: Likewise.
20863 * nis/nss-default.c: Likewise.
20864 * nis/nss_compat/compat-grp.c: Likewise.
20865 * nis/nss_compat/compat-initgroups.c: Likewise.
20866 * nis/nss_compat/compat-pwd.c: Likewise.
20867 * nis/nss_compat/compat-spwd.c: Likewise.
20868 * nis/nss_nis/nis-alias.c: Likewise.
20869 * nis/nss_nis/nis-ethers.c: Likewise.
20870 * nis/nss_nis/nis-grp.c: Likewise.
20871 * nis/nss_nis/nis-hosts.c: Likewise.
20872 * nis/nss_nis/nis-network.c: Likewise.
20873 * nis/nss_nis/nis-proto.c: Likewise.
20874 * nis/nss_nis/nis-pwd.c: Likewise.
20875 * nis/nss_nis/nis-rpc.c: Likewise.
20876 * nis/nss_nis/nis-service.c: Likewise.
20877 * nis/nss_nis/nis-spwd.c: Likewise.
20878 * nis/nss_nisplus/nisplus-alias.c: Likewise.
20879 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20880 * nis/nss_nisplus/nisplus-grp.c: Likewise.
20881 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20882 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20883 * nis/nss_nisplus/nisplus-network.c: Likewise.
20884 * nis/nss_nisplus/nisplus-proto.c: Likewise.
20885 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20886 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20887 * nis/nss_nisplus/nisplus-service.c: Likewise.
20888 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20889 * nis/ypclnt.c: Likewise.
20890 * nptl/libc_pthread_init.c: Likewise.
20891 * nss/getXXbyYY.c: Likewise.
20892 * nss/getXXent.c: Likewise.
20893 * nss/getXXent_r.c: Likewise.
20894 * nss/nss_db/db-XXX.c: Likewise.
20895 * nss/nss_db/db-netgrp.c: Likewise.
20896 * nss/nss_db/nss_db.h: Likewise.
20897 * nss/nss_files/files-XXX.c: Likewise.
20898 * nss/nss_files/files-alias.c: Likewise.
20899 * nss/nsswitch.c: Likewise.
20900 * posix/regex_internal.h: Likewise.
20901 * posix/wordexp.c: Likewise.
20902 * pwd/fgetpwent.c: Likewise.
20903 * resolv/res_hconf.c: Likewise.
20904 * resolv/res_libc.c: Likewise.
20905 * shadow/fgetspent.c: Likewise.
20906 * shadow/lckpwdf.c: Likewise.
20907 * shadow/sgetspent.c: Likewise.
20908 * socket/opensock.c: Likewise.
20909 * stdio-common/reg-modifier.c: Likewise.
20910 * stdio-common/reg-printf.c: Likewise.
20911 * stdio-common/reg-type.c: Likewise.
20912 * stdio-common/vfprintf.c: Likewise.
20913 * stdio-common/vfscanf.c: Likewise.
20914 * stdlib/abort.c: Likewise.
20915 * stdlib/cxa_atexit.c: Likewise.
20916 * stdlib/fmtmsg.c: Likewise.
20917 * stdlib/random.c: Likewise.
20918 * stdlib/setenv.c: Likewise.
20919 * string/strsignal.c: Likewise.
20920 * sunrpc/auth_none.c: Likewise.
20921 * sunrpc/bindrsvprt.c: Likewise.
20922 * sunrpc/create_xid.c: Likewise.
20923 * sunrpc/key_call.c: Likewise.
20924 * sunrpc/rpc_thread.c: Likewise.
20925 * sysdeps/arm/backtrace.c: Likewise.
20926 * sysdeps/generic/ldsodefs.h: Likewise.
20927 * sysdeps/generic/stdio-lock.h: Likewise.
20928 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20929 * sysdeps/i386/backtrace.c: Likewise.
20930 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20931 * sysdeps/m68k/backtrace.c: Likewise.
20932 * sysdeps/mach/hurd/cthreads.c: Likewise.
20933 * sysdeps/mach/hurd/dirstream.h: Likewise.
20934 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20935 * sysdeps/nptl/malloc-machine.h: Likewise.
20936 * sysdeps/nptl/stdio-lock.h: Likewise.
20937 * sysdeps/posix/dirstream.h: Likewise.
20938 * sysdeps/posix/getaddrinfo.c: Likewise.
20939 * sysdeps/posix/system.c: Likewise.
20940 * sysdeps/pthread/aio_suspend.c: Likewise.
20941 * sysdeps/s390/s390-32/backtrace.c: Likewise.
20942 * sysdeps/s390/s390-64/backtrace.c: Likewise.
20943 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20944 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20945 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20946 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20947 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20948 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20949 * sysdeps/unix/sysv/linux/system.c: Likewise.
20950 * sysdeps/x86_64/backtrace.c: Likewise.
20951 * time/alt_digit.c: Likewise.
20952 * time/era.c: Likewise.
20953 * time/tzset.c: Likewise.
20954 * wcsmbs/wcsmbsload.c: Likewise.
20955 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20956 instead of <bits/libc-lock.h> in comment.
20957
20958 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
20959
20960 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20961 Only use .set mips2 if the current ISA is below mips2.
20962 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20963 Likewise.
20964 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20965 mips32r2 if the current ISA is below mips32r2.
20966 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20967 (TLS_IE): Updated to use the TLD_RDHWR macro.
20968 (TLS_LE): Likewise.
20969 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20970 __ASSEMBLER__ condition.
20971
20972 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20973
20974 Fix parallel build of before-compile targets.
20975
20976 * sysdeps/mach/Makefile ($(patsubst
20977 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20978 mach-before-compile target.
20979 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20980 io fs process)): Move rule to dedicated hurd-before-compile target.
20981
20982 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20983
20984 Fix rules generating headers in hurd/ and mach/ when initial make call
20985 has subdir= explicitly set.
20986
20987 * sysdeps/mach/Makefile ($(patsubst
20988 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20989 calling $(MAKE).
20990 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20991 io fs process)): Force subdir to hurd when calling $(MAKE).
20992 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20993 subdir to mach when calling $(MAKE).
20994
20995 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
20996
20997 Check sysheaders when looking for Mach and Hurd headers
20998
20999 * sysdeps/mach/configure.ac: Add sysheaders check.
21000 * sysdeps/mach/configure: Regenerate.
21001 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21002 * sysdeps/mach/hurd/configure: Regenerate.
21003
21004 2015-09-04 Roland McGrath <roland@hack.frob.com>
21005
21006 [BZ #18921]
21007 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21008 Fix inverted sense of test of 'o_directory_works' value.
21009 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21010 Bernhard Voelker <mail@bernhard-voelker.de>.
21011
21012 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21013
21014 [BZ #14912]
21015 * bits/linkmap.h: Move to ...
21016 * sysdeps/generic/linkmap.h: ...here.
21017 * sysdeps/aarch64/bits/linkmap.h: Move to ...
21018 * sysdeps/aarch64/linkmap.h: ...here.
21019 * sysdeps/arm/bits/linkmap.h: Move to ...
21020 * sysdeps/arm/linkmap.h: ...here.
21021 * sysdeps/hppa/bits/linkmap.h: Move to ...
21022 * sysdeps/hppa/linkmap.h: ...here.
21023 * sysdeps/ia64/bits/linkmap.h: Move to ...
21024 * sysdeps/ia64/linkmap.h: ...here.
21025 * sysdeps/mips/bits/linkmap.h: Move to ...
21026 * sysdeps/mips/linkmap.h: ...here.
21027 * sysdeps/s390/bits/linkmap.h: Move to ...
21028 * sysdeps/s390/linkmap.h: ...here.
21029 * sysdeps/sh/bits/linkmap.h: Move to ...
21030 * sysdeps/sh/linkmap.h: ...here.
21031 * sysdeps/x86/bits/linkmap.h: Move to ...
21032 * sysdeps/x86/linkmap.h: ...here.
21033 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21034
21035 2015-09-04 Andreas Schwab <schwab@suse.de>
21036
21037 [BZ #18635]
21038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21039 (__makecontext): Terminate FDE before return label.
21040 (__novec_makecontext): Likewise.
21041
21042 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21043
21044 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21045 first member of struct sv in syscall macro.
21046
21047 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21048
21049 [BZ #14912]
21050 * bits/stdio-lock.h: Move to ...
21051 * sysdeps/generic/stdio-lock.h: ...here.
21052 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21053 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21054 * sysdeps/nptl/stdio-lock.h: ...here.
21055 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21056 * include/libio.h: Include <stdio-lock.h> instead of
21057 <bits/stdio-lock.h>.
21058 * sysdeps/nptl/fork.c: Likewise.
21059 * sysdeps/pthread/flockfile.c: Likewise.
21060 * sysdeps/pthread/ftrylockfile.c: Likewise.
21061 * sysdeps/pthread/funlockfile.c: Likewise.
21062
21063 [BZ #14912]
21064 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21065 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21066 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21067 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21068 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21069 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21070 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21071
21072 2015-09-03 Roland McGrath <roland@hack.frob.com>
21073
21074 * elf/Makefile (test-xfail-tst-protected1a): New variable.
21075 (test-xfail-tst-protected1b): New variable.
21076
21077 2015-09-03 Joseph Myers <joseph@codesourcery.com>
21078
21079 [BZ #14912]
21080 * bits/libc-tsd.h: Move to ...
21081 * sysdeps/generic/libc-tsd.h: ...here.
21082 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21083 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21084 * sysdeps/mach/hurd/libc-tsd.h: ...here.
21085 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21086 * include/ctype.h: Include <libc-tsd.h> instead of
21087 <bits/libc-tsd.h>.
21088 * include/rpc/rpc.h: Likewise.
21089 * locale/localeinfo.h: Likewise.
21090 * sunrpc/rpc_thread.c: Likewise.
21091 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21092 * sysdeps/nptl/malloc-machine.h: Likewise.
21093
21094 * Makefile (headers): Remove bits/libc-lock.h.
21095 * libio/Makefile (headers): Remove bits/stdio-lock.h.
21096
21097 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21098 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21099 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21100 <bits/stdio-lock.h>.
21101 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21102 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21103
21104 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21105
21106 [BZ #18757]
21107 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21108 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21109 BZ #18757.
21110
21111 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21112
21113 * malloc/mtrace.pl: Filter out NULL entries.
21114
21115 2015-09-01 Joseph Myers <joseph@codesourcery.com>
21116
21117 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21118 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21119 macro.
21120
21121 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21122 (TCP_CC_INFO): Likewise.
21123 (TCP_SAVE_SYN): Likewise.
21124 (TCP_SAVED_SYN): Likewise.
21125
21126 2015-08-31 Brett Neumeier <brett@neumeier.us>
21127
21128 [BZ #18870]
21129 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21130
21131 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
21132
21133 [BZ #18873]
21134 Fix broken overflow check in posix_fallocate
21135 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21136 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21137 Fix parenthesization typo.
21138
21139 2015-08-28 Mike Frysinger <vapier@gentoo.org>
21140
21141 [BZ #18887]
21142 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21143 tst-mntent-blank-passno.
21144 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21145 * misc/tst-mntent-blank-corrupt.c: New test.
21146 * misc/tst-mntent-blank-passno.c: New test ripped from ...
21147 * misc/tst-mntent.c (do_test): ... here.
21148
21149 2015-08-29 Mike Frysinger <vapier@gentoo.org>
21150
21151 [BZ #4404]
21152 * po/de.po: Fix SIGALRM typo.
21153
21154 2015-08-28 James Perkins <james@loowit.net>
21155
21156 * time/tst-strptime2.c (tests): Replace short list of test
21157 strings for strptime %z specifier with code which exhaustively
21158 tests every combination of sign and 0 to 5 digits. Tests for
21159 rejection of invalid strings.
21160
21161 2015-08-28 James Perkins <james@loowit.net>
21162
21163 [BZ #16141]
21164 * time/strptime_l.c (__strptime_internal): Fix %z minutes
21165 calculation, removing incorrect decimal time rounding, so that
21166 all minute values result in a valid seconds value.
21167 * time/strptime_l.c (__strptime_internal): Extend %z time zone
21168 offset range limits to UTC-99:59 through UTC+99:59 to parse
21169 current and historical use cases.
21170 * time/tst-strptime2.c (tests): Modify and add tests for the
21171 strptime %z input field descriptor, specifically conversion of
21172 minutes to seconds and validating an offset range of -9959 to
21173 +9959.
21174
21175 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21176 Dmitry V. Levin <ldv@altlinux.org>
21177
21178 [BZ #18877]
21179 * posix/Makefile (tests): Add tst-mmap-offset.
21180 * posix/tst-mmap.c: New file.
21181 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21182 offset calculation for negative values.
21183
21184 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21185
21186 * sysdeps/i386/init-arch.h: New file.
21187 * sysdeps/i386/i586/init-arch.h: Likewise.
21188 * sysdeps/i386/i686/init-arch.h: Likewise.
21189 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21190 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
21191 * sysdeps/x86/cpu-features.h (bit_I586): New.
21192 (bit_I686): Likewise.
21193 (bit_CX8): Likewise.
21194 (bit_CMOV): Likewise.
21195 (index_CX8): Likewise.
21196 (index_CMOV): Likewise.
21197 (index_I586): Likewise.
21198 (index_I686): Likewise.
21199 (reg_CX8): Likewise.
21200 (reg_CMOV): Likewise.
21201 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21202 available at compile-time.
21203 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21204 available at compile-time.
21205 * sysdeps/x86/init-arch.h (USE_I586): New macro.
21206 (USE_I686): Likewise.
21207
21208 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21209
21210 * sysdeps/i386/bcopy.S: New file.
21211 * sysdeps/i386/bzero.S: Likewise.
21212 * sysdeps/i386/memcpy.S: Likewise.
21213 * sysdeps/i386/memmove.S: Likewise.
21214 * sysdeps/i386/mempcpy.S: Likewise.
21215 * sysdeps/i386/memset.S: Likewise.
21216 * sysdeps/i386/bzero.c: Removed.
21217 * sysdeps/i386/memset.c: Likewise.
21218 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21219 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21220 * sysdeps/i386/i586/memset_chk.S: Likewise.
21221 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21222 * sysdeps/i386/memcpy_chk.S: Here.
21223 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21224 * sysdeps/i386/memmove_chk.S: Here.
21225 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21226 * sysdeps/i386/mempcpy_chk.S: Likewise.
21227 * sysdeps/i386/i686/memset_chk.S: Moved to ...
21228 * sysdeps/i386/memset_chk.S: Likewise.
21229
21230 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
21231
21232 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21233 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21234 file, move DIAG_POP_NEEDS_COMMENT to end of file.
21235 * soft-fp/fmadf4.c: Ditto.
21236 * soft-fp/fmatf4.c: Ditto.
21237
21238 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21239
21240 * sysdeps/i386/i586/Implies: Removed.
21241 * sysdeps/i386/i686/Implies: Likewise.
21242
21243 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21244
21245 * sysdeps/i386/i486/strlen.S: Moved to ...
21246 * sysdeps/i386/strlen.S: Here.
21247
21248 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21249
21250 * sysdeps/i386/i486/strcat.S: Moved to ...
21251 * sysdeps/i386/strcat.S: Here.
21252
21253 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21254
21255 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21256 * sysdeps/i386/pthread_spin_trylock.S: Here.
21257 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21258 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21259
21260 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21261
21262 * sysdeps/i386/i486/string-inlines.c: Moved to ...
21263 * sysdeps/i386/string-inlines.c: Here.
21264
21265 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21266
21267 * sysdeps/i386/i486/htonl.S: Moved ...
21268 * sysdeps/i386/htonl.S: here.
21269
21270 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21271
21272 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21273 * sysdeps/i386/bits/atomic.h: Here.
21274
21275 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21276
21277 * sysdeps/i386/i486/Versions: Removed.
21278
21279 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
21280
21281 [BZ #2898]
21282 * misc/mktemp.c: Add mkdtemp to the link_warning message.
21283 Based on patch by Aurelien Jarno.
21284
21285 2015-08-26 Stan Shebs <stanshebs@google.com>
21286
21287 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21288 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21289
21290 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21291
21292 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21293 * sysdeps/powerpc/dl-procinfo.c:
21294 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21295 feature so it shows when LD_SHOW_AUXV=1.
21296
21297 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21298
21299 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21300 (__arch_compare_and_exchange_val_32_acq): Remove and use common
21301 definition. ISA 2.07B no longer requires full sync.
21302
21303 2015-08-26 Mike Frysinger <vapier@gentoo.org>
21304
21305 [BZ #18863]
21306 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21307 (si_call_addr): Define.
21308 (si_syscall): Define.
21309 (si_arch): Define.
21310
21311 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
21312
21313 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21314 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21315 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21316 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21317 (__memset_zero_constant_len_parameter): New.
21318 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21319 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21320 (__memset_zero_constant_len_parameter): Don't define if
21321 __memset_chk or USE_AS_BZERO are defined.
21322
21323 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21324 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21325 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21326
21327 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21328 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21329 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21330 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
21331 comments.
21332 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21333 -mno-mmx for $(all-rtld-routines).
21334 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21335 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
21336 i386.
21337
21338 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21339
21340 * sysdeps/generic/unwind.h
21341 (_Unwind_Word): Use __mode__(__unwind_word__)
21342 instead of __mode__(__word__).
21343 (_Unwind_Sword): Likewise.
21344
21345 * sysdeps/s390/s390-64/utf8-utf16-z9.c
21346 (MAX_NEEDED_INPUT): New define.
21347 (MAX_NEEDED_OUTPUT): New define.
21348
21349 * NEWS: New item for IBM z13 string optimizations.
21350
21351 * sysdeps/s390/multiarch/memrchr-c.c: New File.
21352 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21353 * sysdeps/s390/multiarch/memrchr.c: Likewise.
21354 * sysdeps/s390/multiarch/Makefile
21355 (sysdep_routines): Add memrchr functions.
21356 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21357 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21358
21359 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21360 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21361 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21362 * sysdeps/s390/multiarch/Makefile
21363 (sysdep_routines): Add wmemcmp functions.
21364 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21365 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21366 * benchtests/bench-wmemcmp.c: New File.
21367 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21368
21369 * sysdeps/s390/multiarch/wmemset-c.c: New File.
21370 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21371 * sysdeps/s390/multiarch/wmemset.c: Likewise.
21372 * sysdeps/s390/multiarch/Makefile
21373 (sysdep_routines): Add wmemset functions.
21374 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21375 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21376 * wcsmbs/wmemset.c: Use WMEMSET if defined.
21377 * string/test-memset.c: Add wmemset support.
21378 * wcsmbs/test-wmemset.c: New File.
21379 * wcsmbs/Makefile (strop-tests): Add wmemset.
21380 * benchtests/bench-memset.c: Add wmemset support.
21381 * benchtests/bench-wmemset.c: New File.
21382 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21383
21384 * sysdeps/s390/multiarch/memccpy-c.c: New File.
21385 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21386 * sysdeps/s390/multiarch/memccpy.c: Likewise.
21387 * sysdeps/s390/multiarch/Makefile
21388 (sysdep_routines): Add memccpy functions.
21389 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21390 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21391 * string/memccpy.c: Use MEMCCPY if defined.
21392
21393 * sysdeps/s390/multiarch/memchr-vx.S: New File.
21394 * sysdeps/s390/multiarch/memchr.c: Likewise.
21395 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21396 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21397 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21398 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21399 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21400 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21401 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21402 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21403 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21404 and rawmemchr functions.
21405 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21406 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21407 and wmemchr.
21408 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21409 * string/test-memchr.c: Add wmemchr support.
21410 * wcsmbs/test-wmemchr.c: New File.
21411 * wcsmbs/Makefile (strop-tests): Add wmemchr.
21412 * benchtests/bench-memchr.c: Add wmemchr support.
21413 * benchtests/bench-wmemchr.c: New File.
21414 * benchtests/Makefile (wcsmbs-bench): wmemchr.
21415
21416 * sysdeps/s390/multiarch/strcspn-c.c: New File.
21417 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21418 * sysdeps/s390/multiarch/strcspn.c: Likewise.
21419 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21420 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21421 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21422 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21423 wcscspn functions.
21424 * sysdeps/s390/multiarch/ifunc-impl-list.c
21425 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21426 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21427 * string/test-strcspn.c: Add wcscspn support.
21428 * wcsmbs/test-wcscspn.c: New File.
21429 * wcsmbs/Makefile (strop-tests): Add wcscspn.
21430 * benchtests/bench-strcspn.c: Add wcscspn support.
21431 * benchtests/bench-wcscspn.c: New File.
21432 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21433
21434 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21435 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21436 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21437 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21438 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21439 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21440 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21441 wcspbrk functions.
21442 * sysdeps/s390/multiarch/ifunc-impl-list.c
21443 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21444 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21445 * string/test-strpbrk.c: Add wcspbrk support.
21446 * wcsmbs/test-wcspbrk.c: New File.
21447 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21448 * benchtests/bench-strpbrk.c: Add wcspbrk support.
21449 * benchtests/bench-wcspbrk.c: New File.
21450 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21451
21452 * sysdeps/s390/multiarch/strspn-c.c: New File.
21453 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21454 * sysdeps/s390/multiarch/strspn.c: Likewise.
21455 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21456 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21457 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21458 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21459 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21460 wcsspn functions.
21461 * sysdeps/s390/multiarch/ifunc-impl-list.c
21462 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21463 * string/test-strspn.c: Add wcsspn support.
21464 * wcsmbs/test-wcsspn.c: New File.
21465 * wcsmbs/Makefile (strop-tests): Add wcsspn.
21466 * benchtests/bench-strspn.c: Add wcsspn support.
21467 * benchtests/bench-wcsspn.c: New File.
21468 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21469
21470 * sysdeps/s390/multiarch/strrchr-c.c: New File.
21471 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21472 * sysdeps/s390/multiarch/strrchr.c: Likewise.
21473 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21474 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21475 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21476 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21477 wcsrchr functions.
21478 * sysdeps/s390/multiarch/ifunc-impl-list.c
21479 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21480 * benchtests/bench-wcsrchr.c: New File.
21481 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21482
21483 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21484 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21485 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21486 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21487 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21488 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21489 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21490 wcschrnul functions.
21491 * sysdeps/s390/multiarch/ifunc-impl-list.c
21492 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21493 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21494 * string/test-strchr.c: Add wcschrnul support.
21495 * wcsmbs/test-wcschrnul.c: New File.
21496 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21497 * benchtests/bench-strchr.c: Add wcschrnul support.
21498 * benchtests/bench-wcschrnul.c: New File.
21499 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21500
21501 * sysdeps/s390/multiarch/strchr-c.c: New File.
21502 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21503 * sysdeps/s390/multiarch/strchr.c: Likewise.
21504 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21505 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21506 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21507 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21508 wcschr functions.
21509 * sysdeps/s390/multiarch/ifunc-impl-list.c
21510 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21511 * string/strchr.c (STRCHR): Define and use macro.
21512 * benchtests/bench-wcschr.c: New File.
21513 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21514
21515 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21516 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21517 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21518 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21519 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21520 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21521 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21522 wcsncmp functions.
21523 * sysdeps/s390/multiarch/ifunc-impl-list.c
21524 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21525 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21526 * benchtests/bench-strncmp.c: Add wcsncmp support.
21527 * benchtests/bench-wcsncmp.c: New File.
21528 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21529
21530 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21531 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21532 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21533 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21534 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21535 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21536 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21537 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21538 wcscmp functions.
21539 * sysdeps/s390/multiarch/ifunc-impl-list.c
21540 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21541 * string/strcmp.c (STRCMP): Define and use macro.
21542 * benchtests/bench-wcscmp.c: New File.
21543 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21544 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21545 instead of _HAVE_STRING_ARCH_memchr.
21546
21547 * sysdeps/s390/multiarch/strncat-c.c: New File.
21548 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21549 * sysdeps/s390/multiarch/strncat.c: Likewise.
21550 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21551 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21552 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21553 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21554 wcsncat functions.
21555 * sysdeps/s390/multiarch/ifunc-impl-list.c
21556 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21557 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21558 * string/test-strncat.c: Add wcsncat support.
21559 * wcsmbs/test-wcsncat.c: New File.
21560 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21561 * benchtests/bench-strncat.c: Add wcsncat support.
21562 * benchtests/bench-wcsncat.c: New File.
21563 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21564
21565 * sysdeps/s390/multiarch/strcat-c.c: New File.
21566 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21567 * sysdeps/s390/multiarch/strcat.c: Likewise.
21568 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21569 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21570 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21571 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21572 wcscat functions.
21573 * sysdeps/s390/multiarch/ifunc-impl-list.c
21574 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21575 * string/strcat.c (STRCAT): Define and use macro.
21576 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21577 * string/test-strcat.c: Add wcscat support.
21578 * wcsmbs/test-wcscat.c: New File.
21579 * wcsmbs/Makefile (strop-tests): Add wcscat.
21580 * benchtests/bench-strcat.c: Add wcscat support.
21581 * benchtests/bench-wcscat.c: New File.
21582 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21583
21584 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21585 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21586 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21587 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21588 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21589 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21590 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21591 wcpncpy functions.
21592 * sysdeps/s390/multiarch/ifunc-impl-list.c
21593 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21594 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21595 * string/test-stpncpy.c: Add wcpncpy support.
21596 * wcsmbs/test-wcpncpy.c: New File.
21597 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21598 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21599 * benchtests/bench-wcpncpy.c: New File.
21600 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21601
21602 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21603 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21604 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21605 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21606 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21607 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21608 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21609 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21610 wcsncpy functions.
21611 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21612 * sysdeps/s390/multiarch/ifunc-impl-list.c
21613 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21614 * string/test-strncpy.c: Add wcsncpy support.
21615 * wcsmbs/test-wcsncpy.c: New File.
21616 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21617 * benchtests/bench-strncpy.c: Add wcsncpy support.
21618 * benchtests/bench-wcsncpy.c: New File.
21619 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21620
21621 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21622 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21623 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21624 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21625 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21626 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21627 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21628 wcpcpy functions.
21629 * string/stpcpy.c: Use STPCPY if defined.
21630 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21631 * sysdeps/s390/multiarch/ifunc-impl-list.c
21632 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21633 * string/test-stpcpy.c: Add wcpcpy support.
21634 * wcsmbs/test-wcpcpy.c: New File.
21635 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21636 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21637 * benchtests/bench-wcpcpy.c: New File.
21638 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21639
21640 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21641 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21642 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21643 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21644 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21645 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21646 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21647 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21648 wcscpy functions.
21649 * sysdeps/s390/multiarch/ifunc-impl-list.c
21650 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21651 * benchtests/bench-wcscpy.c: New File.
21652 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21653
21654 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21655 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21656 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21657 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21658 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21659 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21660 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21661 wcsnlen functions.
21662 * sysdeps/s390/multiarch/ifunc-impl-list.c
21663 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21664 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21665 * string/test-strnlen.c: Add wcsnlen support.
21666 * wcsmbs/test-wcsnlen.c: New File.
21667 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21668 * benchtests/bench-strnlen.c: Add wcsnlen support.
21669 * benchtests/bench-wcsnlen.c: New File.
21670 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21671
21672 * sysdeps/s390/multiarch/Makefile: New File.
21673 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21674 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21675 * sysdeps/s390/multiarch/strlen.c: Likewise.
21676 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21677 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21678 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21679 * string/strlen.c (STRLEN): Define and use macro.
21680 * sysdeps/s390/multiarch/ifunc-impl-list.c
21681 (IFUNC_VX_IMPL): New macro function.
21682 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21683 * benchtests/Makefile (wcsmbs-bench): New variable.
21684 (string-bench-all): Added wcsmbs-bench.
21685 * benchtests/bench-wcslen.c: New File.
21686
21687 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21688 s390_vx_libc_ifunc2): New macro function.
21689
21690 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21691 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21692 assembler support.
21693 * sysdeps/s390/configure: Regenerated.
21694
21695 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21696 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21697
21698 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21699 * sysdeps/s390/dl-procinfo.h: Add vector capability.
21700 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21701
21702 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21703 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21704 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21705 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21706 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21707 (memcmp, bcmp): Use __memcmp_default as alias source.
21708 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21709 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21710 Rename to __memcmp_default.
21711 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21712 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21713 (memcpy): Use __memcpy_default as alias source.
21714 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21715 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21716 Rename to __memcpy_default.
21717 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21718 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21719 (memset): Use __memset_default as alias source.
21720 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21721 * sysdeps/s390/s390-32/memset.S (__memset_g5):
21722 Rename to __memset_default.
21723 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21724 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21725 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21726 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21727 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21728 (memcmp, bcmp): Use __memcmp_default as alias source.
21729 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21730 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21731 Rename to __memcmp_default.
21732 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21733 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21734 (memcpy): Use __memcpy_default as alias source.
21735 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21736 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21737 Rename to __memcpy_default.
21738 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21739 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21740 (memset): Use __memset_default as alias source.
21741 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21742 * sysdeps/s390/s390-64/memset.S (__memset_z900):
21743 Rename to __memset_default.
21744 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21745 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21746
21747 [BZ #18610]
21748 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21749 __ieee_instruction_pointer to __unused.
21750 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21751 __ieee_instruction_pointer.
21752 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21753 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21754 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21755 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21756 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21757 Mark dxc-field as reserved.
21758
21759 2015-08-25 Roland McGrath <roland@hack.frob.com>
21760
21761 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21762 if the weak reference is not null.
21763
21764 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21765
21766 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21767
21768 [BZ #11214]
21769 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21770
21771 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21772
21773 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21774 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21775 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21776 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21777 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21778 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21779 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21780 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21781 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21782 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21783 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21784 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21785 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21786 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21787 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21788 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21789 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21790 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21791
21792 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21793
21794 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21795 register other than r0 for tabort, it has special meaning.
21796 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21797 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21798 transaction before starting syscall.
21799
21800 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21801
21802 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21803
21804 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21805
21806 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21807
21808 * sysdeps/x86_64/rtld-memcmp.c: Removed.
21809 * sysdeps/x86_64/rtld-memset.S: Likewise.
21810 * sysdeps/x86_64/rtld-strchr.S: Likewise.
21811 * sysdeps/x86_64/rtld-strlen.S: Likewise.
21812 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21813 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21814
21815 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21816
21817 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
21818
21819 * debug/strcpy_chk.c: Improve performance.
21820 * debug/stpcpy_chk.c: Likewise.
21821 * sysdeps/x86_64/strcpy_chk.S: Remove.
21822 * sysdeps/x86_64/stpcpy_chk.S: Remove.
21823
21824 [BZ #18240]
21825 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21826
21827 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21828
21829 [BZ #15128]
21830 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21831 ifuncmain8.
21832 (modules-names): Add ifuncmod8.
21833 ($(objpfx)ifuncmain8): New rule.
21834 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21835 <cpuid.h>.
21836 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21837 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21838 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21839 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21840 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21841 * sysdeps/x86_64/dl-trampoline.h: Likewise.
21842 * sysdeps/x86_64/ifuncmain8.c: New file.
21843 * sysdeps/x86_64/ifuncmod8.c: Likewise.
21844 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21845 Removed.
21846 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21847 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21848 Change rtld_savespace_sse to __glibc_unused2.
21849 (RTLD_CHECK_FOREIGN_CALL): Removed.
21850 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21851 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21852 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21853
21854 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21855
21856 * sysdeps/aarch64/bzero.S (__bzero): Remove.
21857
21858 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21859
21860 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21861 Unconditionally set __fpcr to avoid uninialized warning.
21862 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21863
21864 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21865
21866 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21867 is corrupt.
21868
21869 * malloc/arena.c (arena_get2): Drop unused argument.
21870 (arena_lock): Adjust.
21871 (arena_get_retry): Likewise.
21872
21873 2015-08-24 Andreas Schwab <schwab@suse.de>
21874
21875 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21876 Don't define.
21877 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21878 (__ASSUME_IPC64): Don't undef.
21879 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21880 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21881 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21882 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21883 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21884 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21885 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21886 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21887 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21888 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21889 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21890 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21891 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21892 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21893 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21894 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21895 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21896 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21897 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21898 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21899 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21900
21901 2015-08-21 Mike Frysinger <vapier@gentoo.org>
21902
21903 * manual/Makefile (install): Only build manual when perl is available.
21904
21905 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21906
21907 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21908 '#undef memcpy' by '#undef memchr'.
21909
21910 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21911
21912 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21913 memchr not point to the internal __GI_memchr implementation.
21914
21915 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21916
21917 * timezone/Makefile (CFLAGS-zdump.c): Remove
21918 -Wno-strict-prototypes.
21919 (CFLAGS-zic.c): Likewise.
21920 (CFLAGS-ialloc.c): Likewise.
21921 (CFLAGS-scheck.c): Likewise.
21922
21923 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21924 -Wno-error=undef.
21925
21926 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21927
21928 * i386/i686/multiarch/strcasestr-c.c: Removed.
21929 * x86_64/multiarch/strcasestr.c: Likewise.
21930 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21931 Remove strcasestr.
21932
21933 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21934
21935 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21936
21937 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21938 variables for high and low parts before possibly modifying them.
21939
21940 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21943 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21944 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21945 of "multiarch/init-arch.h".
21946 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21947 * sysdeps/x86/init-arch.h: This.
21948
21949 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21950
21951 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21952 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21953
21954 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
21955
21956 [BZ #17787]
21957 * manual/macros.texi: Add twoexp macro.
21958 * manual/filesys.texi: Fix exponents.
21959 * manual/llio.texi: Likewise.
21960 * manual/stdio.texi: Likewise.
21961
21962 2015-08-20 Florian Weimer <fweimer@redhat.com>
21963
21964 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21965 incorrect use.
21966
21967 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21968
21969 [BZ #18370]
21970 * math/s_csqrt.c (__csqrt): Force underflow exception for results
21971 whose real or imaginary part has small absolute value.
21972 * math/s_csqrtf.c (__csqrtf): Likewise.
21973 * math/s_csqrtl.c (__csqrtl): Likewise.
21974 * math/auto-libm-test-in: Add more tests of csqrt.
21975 * math/auto-libm-test-out: Regenerated.
21976 * sysdeps/i386/fpu/libm-test-ulps: Update.
21977
21978 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21979
21980 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21981 __ppc_set_ppr_very_low): New functions.
21982 * manual/platform.texi: Add documentation about
21983 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21984
21985 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
21986
21987 * string/stpncpy.c (stpncpy): Improve performance using
21988 __strnlen/memcpy/memset.
21989
21990 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
21991
21992 [BZ #18796]
21993 * scripts/test-installation.pl: Don't add -lmvec to build options if
21994 libmvec wasn't built.
21995
21996 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
21997
21998 [BZ #14341]
21999 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22000 case when there is a gap between DT_REL and DT_JMPREL sections.
22001 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22002 (LDFLAGS-tst-split-dynreloc): New.
22003 (tst-split-dynreloc-ENV): Likewise.
22004 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22005 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22006
22007 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22008
22009 [BZ #18822]
22010 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22011 attribute_hidden.
22012 (__xstat64_conv): Likewise.
22013 (__xstat32_conv): Likewise.
22014
22015 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22016
22017 [BZ #18822]
22018 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22019 Don't load %ebx when calling __setcontext. Call __setcontext
22020 with HIDDEN_JUMPTARGET.
22021 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22022 libc_hidden_def.
22023
22024 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22025
22026 * sysdeps/i386/i686/Makefile
22027 [$(subdir) == string] (sysdep_routines): Moved to ...
22028 * sysdeps/i386/Makefile: Here.
22029 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22030 * sysdeps/i386/cacheinfo.c: Here.
22031 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22032 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22033 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22034 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22035
22036 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22037
22038 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22039 __i586__ is defined.
22040 (HAS_I686): Defined to 1 if __i686__ is defined.
22041
22042 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22043
22044 * elf/Makefile [$(have-z-execstack) = yes]
22045 (CPPFLAGS-tst-execstack.c): New variable.
22046
22047 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22048 conditional to [defined UTMPX || _HAVE_UT_TYPE].
22049 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22050 UTMPX || _HAVE_UT_TV].
22051 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22052 UTMPX || _HAVE_UT_TV - 0].
22053
22054 2015-08-18 Joseph Myers <joseph@codesourcery.com>
22055
22056 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22057 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22058 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22059
22060 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22061
22062 * sysdeps/powerpc/dl-procinfo.c:
22063 (_dl_powerpc_cap_flags): Added missing strings for some
22064 hwcap features.
22065 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22066
22067 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22068
22069 Port the 0x7efe...feff pattern to GCC 6.
22070 See Steve Ellcey's bug report in:
22071 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22072 * string/memrchr.c (MEMRCHR):
22073 * string/rawmemchr.c (RAWMEMCHR):
22074 * string/strchr.c (strchr):
22075 * string/strchrnul.c (STRCHRNUL):
22076 Rewrite code to avoid issues with signed shift overflow.
22077
22078 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
22079
22080 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22081 whether cpuid is available only if HAS_CPUID is 0.
22082 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22083 (HAS_I586): Likewise.
22084 (HAS_I686): Likewise.
22085
22086 2015-08-18 Zack Weinberg <zackw@panix.com>
22087
22088 * misc/Versions (libc): Add GLIBC_2.23.
22089
22090 2015-08-18 Alan Modra <amodra@gmail.com>
22091
22092 [BZ #18421]
22093 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22094 .Lp__global.
22095 (_start): Load %dp via .Lp__global.
22096 [!SHARED]: Use .section .rodata.
22097
22098 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22099
22100 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22101 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22102
22103 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22104
22105 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22106 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22107
22108 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22109
22110 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22111 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22112
22113 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22114
22115 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22116 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22117
22118 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22119
22120 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22121 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22122
22123 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22124
22125 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22126 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22127
22128 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22129
22130 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22131
22132 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22133
22134 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22135 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
22136 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22137 (__ASSUME_LWS_CAS): Delete.
22138
22139 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22140
22141 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22142 * sysdeps/hppa/configure: Regenerated.
22143 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22144 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22145 * sysdeps/hppa/nptl/tls.h: Likewise.
22146
22147 2015-08-17 Joseph Myers <joseph@codesourcery.com>
22148
22149 [BZ #18823]
22150 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22151 for scaling up small arguments.
22152 * math/s_csqrtf.c (__csqrtf): Likewise.
22153 * math/s_csqrtl.c (__csqrtl): Likewise.
22154 * math/auto-libm-test-in: Add more tests of csqrt.
22155 * math/auto-libm-test-out: Regenerated.
22156
22157 2015-08-17 Andreas Schwab <schwab@suse.de>
22158
22159 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22160 version set GLIBC_2.19.
22161
22162 2015-08-16 Zack Weinberg <zackw@panix.com>
22163
22164 [BZ #18681]
22165 * misc/regexp.h: This interface is no longer supported.
22166 Remove all contents, leaving only an #error directive.
22167 * misc/regexp.c (loc1, loc2, locs, step, advance):
22168 Demote to compatibility symbols.
22169
22170 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
22171
22172 [BZ #18084]
22173 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22174 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22175 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22176 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22177 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22178 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22179 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22180 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22181 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22182
22183 2015-08-15 Zack Weinberg <zackw@panix.com>
22184
22185 [BZ #18795]
22186 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22187 buffer length is known to be too large, not if it's known to be
22188 small enough.
22189 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22190 overflow at runtime, involving a length parameter, twice: once
22191 with a compile-time constant length parameter, once without.
22192
22193 2015-08-14 Joseph Myers <joseph@codesourcery.com>
22194
22195 [BZ #18824]
22196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22197 scaling x * y up instead of down.
22198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22200 * math/auto-libm-test-in: Add more tests of fma.
22201 * math/auto-libm-test-out: Regenerated.
22202
22203 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22204
22205 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22206
22207 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22208
22209 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22210 unnecessary movq.
22211 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22212 Likewise.
22213
22214 2015-08-13 Joseph Myers <joseph@codesourcery.com>
22215
22216 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22217 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22218 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22219 and tgamma.
22220 * math/auto-libm-test-out: Regenerated.
22221 * sysdeps/i386/fpu/libm-test-ulps: Update.
22222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223
22224 [BZ #16520]
22225 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22226 (__tanh): Force underflow exception for arguments with small
22227 absolute value.
22228 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22229 (__tanhf): Force underflow exception for arguments with small
22230 absolute value.
22231 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22232 (__tanhl): Force underflow exception for arguments with small
22233 absolute value.
22234 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22235 (__tanhl): Force underflow exception for arguments with small
22236 absolute value.
22237 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22238 (__tanhl): Force underflow exception for arguments with small
22239 absolute value.
22240 * math/auto-libm-test-in: Add more tests of tanh.
22241 * math/auto-libm-test-out: Regenerated.
22242 * sysdeps/i386/fpu/libm-test-ulps: Update.
22243
22244 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22245
22246 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22247 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22248
22249 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22250
22251 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22252 <cpuid.h>.
22253
22254 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22255
22256 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22257 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22258
22259 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22260
22261 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22262 Remove $(objpfx)init-arch.o.
22263 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22264 init-arch.
22265 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22266 (INIT_ARCH_EXT): Defined as empty.
22267 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22268 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22269 __init_cpu_features call. Replace HAS_XXX with
22270 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22271 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22272 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22273 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22274 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22275 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22276 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22277 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22278 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22279 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22280 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22281 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22282 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22283 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22284 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22286 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22287 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22288 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22289 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22290 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22291 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22292 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22293 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22294 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22295 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22296 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22297 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22298 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22299 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22300 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22301 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22302 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22303 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22304 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22305 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22306
22307 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22308
22309 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22310 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22311 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22312 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22313 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22314 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22315 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22316 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22317 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22318 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22319 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22320 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
22321 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22322 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22323 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22324 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22325 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22326 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22327 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22328 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22329 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22330 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22331 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22332 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22333 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22334 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22335 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22336 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22337 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22338 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22339 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22340 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22341 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22342 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22343 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22344 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22345 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22346 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22347 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22348 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22349 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22350 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22351 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22352
22353 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22354
22355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22356 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22357 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22358 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22359 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22360 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22361 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22362 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22363 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22365 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22366 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22367 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22368 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22369 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22370 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22371 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22372 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22373 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22374 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22376 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22377 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22378 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22379 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22380 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22381 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22382 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
22383 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22384 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22385 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22386 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22387 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22388 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22389 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22390 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22391 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22392 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22393 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22394 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22395 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22396 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22397 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22398
22399 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22400
22401 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22402 (dl_platform_init): Call init_cpu_features.
22403 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22404 * sysdeps/i386/i686/cacheinfo.c
22405 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22406 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22407 * sysdeps/i386/i686/multiarch/Versions: Removed.
22408 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22409 Removed.
22410 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22411 * sysdeps/unix/sysv/linux/x86/Makefile
22412 (libpthread-sysdep_routines): Remove init-arch.
22413 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22414 <sysdeps/x86_64/dl-procinfo.c> instead of
22415 sysdeps/generic/dl-procinfo.c>.
22416 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22417 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22418 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22419 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22420 [$(subdir) == elf] (tests-static): Add
22421 tst-get-cpu-features-static.
22422 * sysdeps/x86/Versions: New file.
22423 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22424 * sysdeps/x86/cpu-features.c: Likewise.
22425 * sysdeps/x86/cpu-features.h: Likewise.
22426 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22427 * sysdeps/x86/libc-start.c: Likewise.
22428 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22429 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22430 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22431 * sysdeps/x86_64/dl-procinfo.c: Likewise.
22432 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22433 Assume USE_MULTIARCH is defined and don't check it.
22434 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22435 (is_amd): Likewise.
22436 (max_cpuid): Likewise.
22437 (intel_check_word): Likewise.
22438 (__cache_sysconf): Don't call __init_cpu_features.
22439 (__x86_preferred_memory_instruction): Removed.
22440 (init_cacheinfo): Don't call __init_cpu_features. Replace
22441 __cpu_features with GLRO(dl_x86_cpu_features).
22442 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22443 (dl_platform_init): Call init_cpu_features.
22444 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22445 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22446 * sysdeps/x86_64/multiarch/Versions: Removed.
22447 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22448 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22449 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22450 Removed.
22451 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22452
22453 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22454
22455 [BZ #18820]
22456 * libio/Makefile (test-fmemopen-mem): New test.
22457 * libio/test-fmemopen.c (do_bz18820): New test.
22458 * libio/fmemopen.c (__fmemopen): Fix memory leak.
22459 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22460
22461 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22462
22463 [BZ #16734]
22464 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22465 (FREE_BUF): Delete.
22466 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22467 * libio/genops.c (_IO_setb): Use malloc and free directly.
22468 (_IO_default_doallocate, _IO_default_finish): Likewise.
22469 ( _IO_unbuffer_all): Likewise.
22470 ( libc_freeres_fn): Likewise.
22471 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22472 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22473 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22474 (_IO_wdefault_doallocate): Likewise.
22475
22476 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22477
22478 [BZ #18086]
22479 * sysdeps/posix/nice.c (nice): Restore old errno.
22480 * posix/tst-nice.c (do_test): Add test for BZ #18086.
22481
22482 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
22483
22484 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22485
22486 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22487
22488 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22489 __bcopy and add a weak_alias to bcopy.
22490 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22491 for static build.
22492
22493 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22494 cleanup macro usage.
22495 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22496 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22497 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22498 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22499 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22500 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22501 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22502 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22503 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22504 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22505 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22506 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22507 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22508 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22509 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22510 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22511 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22512 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22513 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22514
22515 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22516 libc_hidden_def.
22517 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22518
22519 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22520 (sysdep_routines): Add strstr-ppc64.
22521 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22522
22523 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22524
22525 [BZ #18778]
22526 * elf/Makefile (tests): Add Add tst-nodelete2.
22527 (modules-names): Add tst-nodelete2mod.
22528 (tst-nodelete2mod.so-no-z-defs): New.
22529 ($(objpfx)tst-nodelete2): Likewise.
22530 ($(objpfx)tst-nodelete2.out): Likewise.
22531 (LDFLAGS-tst-nodelete2): Likewise.
22532 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22533 out of loop through all loaded libraries.
22534 * elf/tst-nodelete2.c: New file.
22535 * elf/tst-nodelete2mod.c: Likewise.
22536 * elf/tst-znodelete-zlib.cc: Delete.
22537
22538 2015-08-11 Andreas Schwab <schwab@suse.de>
22539
22540 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22541 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22542 (__openat64_nocancel): Likewise.
22543
22544 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22545
22546 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22547 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22548 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22549 * math/auto-libm-test-out: Regenerated.
22550 * sysdeps/i386/fpu/libm-test-ulps: Update.
22551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22552
22553 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22554
22555 [BZ #18790]
22556 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22557 threshold for returning +/- 1.
22558 * math/auto-libm-test-in: Add more tests of tanh.
22559 * math/auto-libm-test-out: Regenerated.
22560 * sysdeps/i386/fpu/libm-test-ulps: Update.
22561
22562 2015-08-10 Andreas Schwab <schwab@suse.de>
22563
22564 [BZ #18781]
22565 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22566 MORE_OFLAGS to oflag.
22567 * io/test-lfs.c (do_test): Test openat64.
22568
22569 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22570
22571 [BZ #18789]
22572 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22573 smaller threshold for returning the argument.
22574 * math/auto-libm-test-in: Add more tests of sinh.
22575 * math/auto-libm-test-out: Regenerated.
22576 * sysdeps/i386/fpu/libm-test-ulps: Update.
22577
22578 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22579
22580 [BZ #18674]
22581 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22582 break.
22583
22584 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22585
22586 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22587 (generated): Don't add $(addprefix z.,$(tzfiles)).
22588
22589 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22590
22591 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22592 * scripts/sysd-rules.awk: Likewise.
22593
22594 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22595
22596 * iconvdata/tst-tables.sh: Change echo -n to printf.
22597 * nss/db-Makefile: Likewise.
22598 * posix/tst-getconf.sh: Likewise.
22599 * stdio-common/tst-unbputc.sh: Likewise.
22600
22601 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22602
22603 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22604 MADV_*_PAGES defines behind this feature check.
22605
22606 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22607
22608 [BZ #18480]
22609 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22610 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22611 Define.
22612 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22613 LOAD_REGS_5, LOAD_REGS_6): Update.
22614 (INTERNAL_SYSCALL): Update using new LOAD defines.
22615 (INTERNAL_SYSCALL_NCS): Likewise.
22616 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22617
22618 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22619
22620 [BZ #16734]
22621 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22622
22623 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22624
22625 [BZ #17905]
22626 * catgets/Makefile (tst-catgets-mem): New test.
22627 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22628 * catgets/open_catalog.c (__open_catalog): Likewise.
22629 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22630
22631 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22632
22633 [BZ #18787]
22634 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22635 clobber registers.
22636 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22637 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22638 Cast return to __typeof (oldval).
22639
22640 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22641
22642 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22643 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22644 and delete sys/syscall.h include.
22645
22646 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22647
22648 [BZ #16517]
22649 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22650 (tan): Force underflow exception for arguments with small absolute
22651 value.
22652 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22653 (__kernel_tanf): Force underflow exception for arguments with
22654 small absolute value.
22655 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22656 (__kernel_tanl): Force underflow exception for arguments with
22657 small absolute value.
22658 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22659 (__kernel_tanl): Force underflow exception for arguments with
22660 small absolute value.
22661 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22662 (__kernel_tanl): Force underflow exception for arguments with
22663 small absolute value.
22664 * math/auto-libm-test-in: Add more tests of tan.
22665 * math/auto-libm-test-out: Regenerated.
22666
22667 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22668
22669 Fix sysdeps/i386/fpu/s_scalbn.S build
22670
22671 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22672
22673 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22674
22675 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22676
22677 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22678
22679 Fix gcrt0.o compilation
22680
22681 When static-start-installed-name is different from
22682 start-installed-name, we must not use the shared objects.
22683
22684 * csu/Makefile
22685 (extra-objs): Add gmon-start.o when building shared library and
22686 $(static-start-installed-name) is different from
22687 $(start-installed-name).
22688 $(objpfx)g$(static-start-installed-name): When building shared
22689 library and $(static-start-installed-name) is different from
22690 $(static-start-installed-name), revert to non-shared rule,
22691 i.e. using $(objpfx)% and gmon-start.o.
22692
22693 2015-08-06 Joseph Myers <joseph@codesourcery.com>
22694
22695 [BZ #16519]
22696 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22697 (__ieee754_sinh): Force underflow exception for arguments with
22698 small absolute value.
22699 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22700 (__ieee754_sinhf): Force underflow exception for arguments with
22701 small absolute value.
22702 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22703 (__ieee754_sinhl): Force underflow exception for arguments with
22704 small absolute value.
22705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22706 (__ieee754_sinhl): Force underflow exception for arguments with
22707 small absolute value.
22708 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22709 (__ieee754_sinhl): Force underflow exception for arguments with
22710 small absolute value.
22711 * math/auto-libm-test-in: Add more tests of sinh.
22712 * math/auto-libm-test-out: Regenerated.
22713 * sysdeps/i386/fpu/libm-test-ulps: Update.
22714
22715 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22716
22717 * libio/oldfileops.c: Include unistd.h.
22718
22719 2015-08-06 Mike Frysinger <vapier@gentoo.org>
22720
22721 * stdlib/isomac.c: Include ctype.h.
22722
22723 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
22724
22725 * dirent/tst-seekdir.c (main): Converted to ...
22726 (do_test): ... this.
22727 (TEST_FUNCTION): New macro.
22728 Include test-skeleton.c.
22729 * elf/tst-dlmodcount.c (main): Converted to ...
22730 (do_test): ... this.
22731 (TEST_FUNCTION): New macro.
22732 Include test-skeleton.c.
22733 * elf/tst-order-main.c (main): Converted to ...
22734 (do_test): ... this.
22735 (TEST_FUNCTION): New macro.
22736 Include test-skeleton.c.
22737 * elf/tst-pie2.c (main): Converted to ...
22738 (do_test): ... this.
22739 (TEST_FUNCTION): New macro.
22740 Include test-skeleton.c.
22741 * inet/tst-ether_aton.c (main): Converted to ...
22742 (do_test): ... this.
22743 (TEST_FUNCTION): New macro.
22744 Include test-skeleton.c.
22745 * misc/tst-mntent.c (main): Converted to ...
22746 (do_test): ... this.
22747 (TEST_FUNCTION): New macro.
22748 Include test-skeleton.c.
22749 * misc/tst-tsearch.c (main): Converted to ...
22750 (do_test): ... this.
22751 (TEST_FUNCTION): New macro.
22752 Include test-skeleton.c.
22753 * posix/tst-regexloc.c (main): Converted to ...
22754 (do_test): ... this.
22755 (TEST_FUNCTION): New macro.
22756 Include test-skeleton.c.
22757 * resolv/tst-aton.c (main): Converted to ...
22758 (do_test): ... this.
22759 (TEST_FUNCTION): New macro.
22760 Include test-skeleton.c.
22761 * stdio-common/test-fwrite.c (main): Converted to ...
22762 (do_test): ... this.
22763 (TEST_FUNCTION): New macro.
22764 Include test-skeleton.c.
22765 * stdio-common/tst-ferror.c (main): Converted to ...
22766 (do_test): ... this.
22767 (TEST_FUNCTION): New macro.
22768 Include test-skeleton.c.
22769 * stdio-common/tst-printf.c (main): Converted to ...
22770 (do_test): ... this.
22771 (TEST_FUNCTION): New macro.
22772 Include test-skeleton.c.
22773 * stdio-common/tst-printfsz.c (main): Converted to ...
22774 (do_test): ... this.
22775 (TEST_FUNCTION): New macro.
22776 Include test-skeleton.c.
22777 * stdlib/tst-strtod.c (main): Converted to ...
22778 (do_test): ... this.
22779 (TEST_FUNCTION): New macro.
22780 Include test-skeleton.c.
22781 * string/tst-strlen.c (main): Converted to ...
22782 (do_test): ... this.
22783 (TEST_FUNCTION): New macro.
22784 Include test-skeleton.c.
22785 * string/tst-svc.c (main): Converted to ...
22786 (do_test): ... this.
22787 (TEST_FUNCTION): New macro.
22788 Include test-skeleton.c.
22789 * time/tst-strptime.c (main): Converted to ...
22790 (do_test): ... this.
22791 (TEST_FUNCTION): New macro.
22792 Include test-skeleton.c.
22793 * timezone/tst-timezone.c (main): Converted to ...
22794 (do_test): ... this.
22795 (TEST_FUNCTION): New macro.
22796 Include test-skeleton.c.
22797
22798 2015-08-05 Zack Weinberg <zackw@panix.com>
22799
22800 * misc/regexp.h: Update comments.
22801
22802 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
22803
22804 [BZ #18635]
22805 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22806 before return label.
22807
22808 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22809
22810 [BZ #18661]
22811 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22812 when calling __errno_location.
22813 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22814 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22815
22816 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22817
22818 [BZ #18661]
22819 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22820 (__lll_timedwait_tid): Align stack to 16 bytes when calling
22821 __gettimeofday.
22822
22823 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22824
22825 [BZ #18661]
22826 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22827 (__start_context): Don't use pop to restore %rdi so that stack
22828 is aligned to 16 bytes when calling __setcontext.
22829
22830 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22831
22832 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22833 only for libc.
22834 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22835
22836 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22837
22838 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22839 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
22840 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22841
22842 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22843
22844 * string/memccpy.c (memccpy):
22845 Improve performance by using memchr/memcpy/__mempcpy.
22846
22847 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22848
22849 * string/strncpy.c (strncpy):
22850 Improve performance by using __strnlen/memcpy.
22851
22852 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22853
22854 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22855 Optimize to avoid an unnecessary FPCR read.
22856
22857 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22858
22859 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22860 Optimize to reduce FPCR/FPSR accesses.
22861
22862 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22863
22864 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22865 dead->data[category] != NULL.
22866
22867 2015-08-05 Joseph Myers <joseph@codesourcery.com>
22868
22869 [BZ #18647]
22870 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22871 and |x| close to 1, use absolute value of x when computing log.
22872 * math/auto-libm-test-in: Add more tests of pow.
22873 * math/auto-libm-test-out: Regenerated.
22874
22875 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22876
22877 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22878 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22879 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22880
22881 2015-08-05 Marko Myllynen <myllynen@redhat.com>
22882
22883 [BZ #18525]
22884 * locales/km_KH: Remove timezone definition.
22885 * locales/lo_LA: Likewise.
22886 * locales/my_MM: Likewise.
22887 * locales/nan_TW@latin: Likewise.
22888 * locales/th_TH: Likewise.
22889 * locales/uk_UA: Likewise.
22890
22891 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
22892
22893 [BZ #18265]
22894 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22895 (wcsncat): Likewise.
22896 (wcscmp): Likewise.
22897 (wcsncmp): Likewise.
22898
22899 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22900
22901 * test-skeleton.c (usage): New function.
22902 (main): Call usage when opt is '?'.
22903
22904 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22905
22906 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22907 before first use.
22908
22909 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22910
22911 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22912 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
22913 in there too.
22914
22915 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
22916
22917 * version.h (RELEASE): Set to "development".
22918 (VERSION): Set to "2.22.90"
22919
22920 * version.h (RELEASE): Set to "stable".
22921 (VERSION): Set to "2.22"
22922 * include/features.h (__GLIBC_MINOR__): Set to 22.
22923
22924 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
22925
22926 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22927 Restructure macro to avoid "value computed is not used" warning.
22928 (atomic_compare_and_exchange_val_acq): Likewise.
22929
22930 2015-08-04 Andreas Schwab <schwab@suse.de>
22931
22932 [BZ #18635]
22933 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22934 ret.
22935 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22936
22937 2015-08-01 Carlos O'Donell <carlos@redhat.com>
22938
22939 * po/pl.po: Updated translation.
22940 * po/uk.po: Likewise.
22941 * po/fi.po: Likewise.
22942 * po/ko.po: Likewise.
22943 * po/ru.po: Likewise.
22944 * po/vi.po: Likewise.
22945
22946 2015-07-31 Zack Weinberg <zackw@panix.com>
22947
22948 [BZ #18681]
22949 * regexp.h: Add unconditional #warning stating that this header
22950 will be removed soon. Revise banner comment to match.
22951 (compile): Consistently use ERROR instead of RETURN to report
22952 errors (partial fix for bz#18681).
22953 * regexp.c: Don't include regexp.h. Remove some unnecessary
22954 declarations.
22955
22956 2015-07-31 Carlos O'Donell <carlos@redhat.com>
22957
22958 * po/libc.pot: Regenerated.
22959
22960 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
22961
22962 [BZ #18740]
22963 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22964 float-vlen4-arch-ext-cflags): Removed.
22965 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22966 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22967
22968 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22969
22970 [BZ #14113]
22971 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22972 aligned to __aligned__.
22973 (pthread_cond_t, pthread_rwlock_t): Likewise.
22974
22975 2015-07-30 Torvald Riegel <triegel@redhat.com>
22976
22977 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22978
22979 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22980
22981 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22982 (struct sigaction): Change sa_flags from a long to an int, and add
22983 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22984
22985 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22986
22987 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22988 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22989 sysdeps/generic/sysdep.h include.
22990 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22991 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
22992 sysdeps/hppa/sysdep.h.
22993 (ENTRY, PSEUDO): Undefine before defining.
22994
22995 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22996
22997 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22998 from scratch to use INTERNAL_SYSCALL.
22999
23000 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
23001
23002 [BZ #18078]
23003 * scripts/check-localplt.awk: Support alternate relocations.
23004 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23005 sections.
23006 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23007 malloc entries with + REL R_386_GLOB_DAT.
23008 * sysdeps/x86_64/localplt.data: New file.
23009
23010 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
23011
23012 [BZ #18731]
23013 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23014 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23015 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23016
23017 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23018
23019 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23020
23021 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23022
23023 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23024 directly in terms of __sync_fetch_and_add and delete (int) cast.
23025
23026 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23027
23028 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23029 the -D_ASM_IA64_CURRENT_H flag.
23030
23031 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23032
23033 [BZ #18641]
23034 * pwd/pwd.h (putpwent): Delete __nonnull markings.
23035
23036 2015-07-27 Andreas Schwab <schwab@suse.de>
23037
23038 * conform/conformtest.pl (checknamespace): Filter out string
23039 literals while tokenizing.
23040
23041 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23042
23043 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23044 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23045 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23046
23047 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23048
23049 * nptl/tst-join7mod.c: Add #include <string.h>.
23050
23051 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23052
23053 * sysdeps/nios2/libm-test-ulps: Update.
23054
23055 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23056
23057 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23058 Fix order of arguments to the rt_sigprocmask syscall.
23059 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23060 Likewise.
23061
23062 2015-07-24 Roland McGrath <roland@hack.frob.com>
23063
23064 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23065
23066 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23067
23068 [BZ #18457]
23069 * nptl/Makefile (tests): New test case tst-join7.
23070 (modules-names): New test case module tst-join7mod.
23071 * nptl/tst-join7.c: New file.
23072 * nptl/tst-join7mod.c: New file.
23073 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23074 all translation units in libc.so, libpthread.so and rtld.
23075
23076 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23077
23078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23079
23080 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
23081
23082 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23083 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23084 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23085 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23086 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23088 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23089 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23090 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23091 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23092 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23093 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23094 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23095 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23096 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23097 implementation.
23098
23099 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23100
23101 [BZ #17711]
23102 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23103 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23104 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23105 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23106 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23107 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23108
23109 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23110
23111 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23112 instead of just saying load lock in the comments.
23113
23114 2015-07-23 Roland McGrath <roland@hack.frob.com>
23115
23116 * sysdeps/unix/Subdirs: Moved ...
23117 * sysdeps/posix/Subdirs: ... here.
23118 * login/pty.h (struct termios, struct winsize): Add forward decls.
23119 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23120 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23121 * sysdeps/arm/nacl/libc.abilist: Updated.
23122 * sysdeps/nacl/libutil.abilist: New file.
23123
23124 * bits/signum.h: Update comments to mention 1003.1-2013 too.
23125 (SIGWINCH): New macro.
23126
23127 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23128 * sysdeps/arm/nacl/libc.abilist: Add it.
23129
23130 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23131
23132 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23133
23134 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23135
23136 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23137 Swap __glibc_reserved0 and sa_flags order.
23138
23139 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23140
23141 [BZ #18657]
23142 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23143 are pending TLS destructor calls.
23144 * include/link.h (struct link_map): Add concurrency note for
23145 L_TLS_DTOR_COUNT.
23146 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23147 Don't touch the link map flag. Atomically increment
23148 l_tls_dtor_count.
23149 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23150 Avoid taking the load lock and don't touch the link map flag.
23151 * stdlib/tst-tls-atexit-nodelete.c: New test case.
23152 * stdlib/Makefile (tests): Use it.
23153 * stdlib/tst-tls-atexit.c (do_test): dlopen
23154 tst-tls-atexit-lib.so again before dlclose. Add conditionals
23155 to allow tst-tls-atexit-nodelete test case to use it.
23156
23157 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23158
23159 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23160 to bits/types.h.
23161 (msgqnum_t): New typedef.
23162 (msglen_t): Likewise.
23163 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
23164 and msg_qbytes type to msglen_t.
23165
23166 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23167
23168 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23169 pad0 to __glibc_reserved0.
23170 (struct stat64): Likewise.
23171
23172 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23173
23174 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23175 Change sa_flags from a long to an int and add __glibc_reserved0 before
23176 it for padding.
23177
23178 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23179
23180 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23181 anonymous by deleting "siginfo" name.
23182
23183 2015-07-21 Roland McGrath <roland@hack.frob.com>
23184
23185 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23186 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23187 rather than __nacl_irt_filename.
23188 * sysdeps/nacl/xstat.c (__xstat): Likewise.
23189
23190 * NEWS: New item for arm-nacl port.
23191 * sysdeps/arm/nacl/libc.abilist: New file.
23192 * sysdeps/nacl/ld.abilist: New file.
23193 * sysdeps/nacl/libBrokenLocale.abilist: New file.
23194 * sysdeps/nacl/libanl.abilist: New file.
23195 * sysdeps/nacl/libcrypt.abilist: New file.
23196 * sysdeps/nacl/libdl.abilist: New file.
23197 * sysdeps/nacl/libm.abilist: New file.
23198 * sysdeps/nacl/libpthread.abilist: New file.
23199 * sysdeps/nacl/libresolv.abilist: New file.
23200 * sysdeps/nacl/librt.abilist: New file.
23201
23202 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
23203
23204 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23205 __startcontext to initialize the new context.
23206 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23207 up CFI directive to forbid further backtracing.
23208
23209 2015-07-21 Marko Myllynen <myllynen@redhat.com>
23210
23211 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23212 reference.
23213 * charmaps/ANSI_X3.4-1968: Likewise.
23214 * charmaps/BS_4730: Likewise.
23215 * charmaps/BS_VIEWDATA: Likewise.
23216 * charmaps/CP1250: Likewise.
23217 * charmaps/CP1251: Likewise.
23218 * charmaps/CP1252: Likewise.
23219 * charmaps/CP1253: Likewise.
23220 * charmaps/CP1254: Likewise.
23221 * charmaps/CP1255: Likewise.
23222 * charmaps/CP1256: Likewise.
23223 * charmaps/CSN_369103: Likewise.
23224 * charmaps/EBCDIC-DK-NO: Likewise.
23225 * charmaps/GB_1988-80: Likewise.
23226 * charmaps/GREEK-CCITT: Likewise.
23227 * charmaps/GREEK7: Likewise.
23228 * charmaps/INIS-8: Likewise.
23229 * charmaps/ISIRI-3342: Likewise.
23230 * charmaps/ISO_2033-1983: Likewise.
23231 * charmaps/ISO_5427-EXT: Likewise.
23232 * locales/POSIX: Likewise.
23233 * locales/ar_SA: Likewise.
23234 * locales/be_BY: Likewise.
23235 * locales/be_BY@latin: Likewise.
23236 * locales/ca_ES: Likewise.
23237 * locales/cs_CZ: Likewise.
23238 * locales/da_DK: Likewise.
23239 * locales/de_BE: Likewise.
23240 * locales/de_CH: Likewise.
23241 * locales/de_LU: Likewise.
23242 * locales/en_AU: Likewise.
23243 * locales/en_BW: Likewise.
23244 * locales/en_CA: Likewise.
23245 * locales/en_DK: Likewise.
23246 * locales/en_GB: Likewise.
23247 * locales/en_IE: Likewise.
23248 * locales/en_NZ: Likewise.
23249 * locales/en_ZA: Likewise.
23250 * locales/en_ZW: Likewise.
23251 * locales/es_AR: Likewise.
23252 * locales/es_BO: Likewise.
23253 * locales/es_CL: Likewise.
23254 * locales/es_CO: Likewise.
23255 * locales/es_DO: Likewise.
23256 * locales/es_EC: Likewise.
23257 * locales/es_ES: Likewise.
23258 * locales/es_HN: Likewise.
23259 * locales/es_MX: Likewise.
23260 * locales/es_PA: Likewise.
23261 * locales/es_PE: Likewise.
23262 * locales/es_PY: Likewise.
23263 * locales/es_SV: Likewise.
23264 * locales/es_US: Likewise.
23265 * locales/es_UY: Likewise.
23266 * locales/es_VE: Likewise.
23267 * locales/et_EE: Likewise.
23268 * locales/fa_IR: Likewise.
23269 * locales/fo_FO: Likewise.
23270 * locales/fr_CA: Likewise.
23271 * locales/fr_CH: Likewise.
23272 * locales/gv_GB: Likewise.
23273 * locales/he_IL: Likewise.
23274 * locales/hr_HR: Likewise.
23275 * locales/id_ID: Likewise.
23276 * locales/is_IS: Likewise.
23277 * locales/it_CH: Likewise.
23278 * locales/iw_IL: Likewise.
23279 * locales/kl_GL: Likewise.
23280 * locales/ko_KR: Likewise.
23281 * locales/kw_GB: Likewise.
23282 * locales/lg_UG: Likewise.
23283 * locales/lt_LT: Likewise.
23284 * locales/lv_LV: Likewise.
23285 * locales/mi_NZ: Likewise.
23286 * locales/nhn_MX: Likewise.
23287 * locales/nl_BE: Likewise.
23288 * locales/pl_PL: Likewise.
23289 * locales/sk_SK: Likewise.
23290 * locales/sl_SI: Likewise.
23291 * locales/sv_FI: Likewise.
23292 * locales/tl_PH: Likewise.
23293 * locales/tr_TR: Likewise.
23294 * locales/vi_VN: Likewise.
23295
23296 2015-07-21 Khem Raj <raj.khem@gmail.com>
23297
23298 [BZ #17475]
23299 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23300 of tu_IN and bh_IN.
23301
23302 2015-07-21 Mike Frysinger <vapier@gentoo.org>
23303
23304 [BZ #18694]
23305 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23306 bits/wordsize.h.
23307 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23308
23309 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23310
23311 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23312 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23313 (spawn_thread): New function.
23314 (load): Rename to reg_dtor_and_close. Move dlopen to...
23315 (do_test): ... here. Use IS_LOADED to test for its
23316 availability.
23317
23318 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
23319
23320 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23321
23322 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
23323
23324 [BZ #18696]
23325 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23326 si_addr_bnd.
23327 (si_lower): New.
23328 (si_upper): Likewise.
23329
23330 2015-07-16 David S. Miller <davem@davemloft.net>
23331
23332 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23333
23334 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23335
23336 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23337 buffer.
23338 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23339 fail output information.
23340
23341 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23342
23343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23344 and strstr-ppc64..
23345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23346 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23347 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23348 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23349 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23350
23351 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23352
23353 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23354 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23355 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23356 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23357
23358 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23359
23360 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23361 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23362 rtld_hidden_proto.
23363 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23364
23365 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23366
23367 * tst-nodelete-opened.c (do_test): Add comment to clarify how
23368 the test can fail.
23369
23370 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23371
23372 [BZ #18676]
23373 * elf/tst-nodelete-opened.c: New test case.
23374 * elf/tst-nodelete-opened-lib.c: New test case module.
23375 * elf/Makefile (tests, modules-names): Use them.
23376 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23377 early.
23378
23379 2015-07-15 David S. Miller <davem@davemloft.net>
23380
23381 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23382 futex-intenal.h
23383 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23384 * sysdeps/sparc/sparc64/Makefile: Likewise.
23385 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23386 Remove space from macro define.
23387 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23388
23389 2015-07-15 Pravin Satpute <psatpute@redhat.com>
23390
23391 [BZ #17475]
23392 * locale/iso-639.def: Update Bhili and Tulu language codes as
23393 per iso639-3.
23394
23395 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
23396
23397 * elf/tst-leaks1.c (main): Converted to ...
23398 (do_test): ... this.
23399 (TEST_FUNCTION): New macro.
23400 Include test-skeleton.c.
23401 * localedata/tst-langinfo.c (main): Converted to ...
23402 (do_test): ... this.
23403 (TEST_FUNCTION): New macro.
23404 Include test-skeleton.c.
23405 * math/test-fpucw.c (main): Converted to ...
23406 (do_test): ... this.
23407 (TEST_FUNCTION): New macro.
23408 Include test-skeleton.c.
23409 * math/test-tgmath.c (main): Converted to ...
23410 (do_test): ... this.
23411 (TEST_FUNCTION): New macro.
23412 Include test-skeleton.c.
23413 * math/test-tgmath2.c (main): Converted to ...
23414 (do_test): ... this.
23415 (TEST_FUNCTION): New macro.
23416 Include test-skeleton.c.
23417 * setjmp/tst-setjmp.c (main): Converted to ...
23418 (do_test): ... this.
23419 (TEST_FUNCTION): New macro.
23420 Include test-skeleton.c.
23421 * stdio-common/tst-sscanf.c (main): Converted to ...
23422 (do_test): ... this.
23423 (TEST_FUNCTION): New macro.
23424 Include test-skeleton.c.
23425 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23426 (do_test): ... this.
23427 (TEST_FUNCTION): New macro.
23428 Include test-skeleton.c.
23429
23430 * elf/tst-audit9.c (main): Converted to ...
23431 (do_test): ... this.
23432 (TEST_FUNCTION): New macro.
23433 Include test-skeleton.c.
23434
23435 2015-07-15 Mike Frysinger <vapier@gentoo.org>
23436
23437 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23438
23439 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23440
23441 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23442 New variable.
23443
23444 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23445
23446 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23447
23448 2015-07-14 Roland McGrath <roland@hack.frob.com>
23449
23450 * sysdeps/generic/dl-fileid.h: New file.
23451 * sysdeps/posix/dl-fileid.h: New file.
23452 * sysdeps/nacl/dl-fileid.h: New file.
23453 * include/link.h: Include <dl-fileid.h>.
23454 (struct link_map): Replace l_dev and l_ino with l_file_id.
23455 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23456 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
23457 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
23458
23459 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23460
23461 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23462
23463 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23464
23465 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23466 Add iff $CXX is set.
23467 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23468 Likewise.
23469 (tst-nodelete-zmodiff): Likewise.
23470 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23471
23472 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23473
23474 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23475
23476 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23477
23478 * sysdeps/aarch64/fpu/math_private.h
23479 (define math_opt_barrier): Add AArch64 version.
23480 (math_force_eval): Likewise.
23481
23482 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23483
23484 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23485
23486 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
23487
23488 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23489 %ld with %jd and cast to intmax_t.
23490 (do_test_length_zero): Likewise.
23491
23492 2015-07-10 Roland McGrath <roland@hack.frob.com>
23493
23494 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23495
23496 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
23497
23498 * sysdeps/tile/libm-test-ulps: Regenerated.
23499
23500 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23501 Comment out the whole function, not just its body.
23502
23503 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23504
23505 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23506 locks.
23507
23508 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23509
23510 2015-07-10 Torvald Riegel <triegel@redhat.com>
23511
23512 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23513 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23514
23515 2015-07-10 Torvald Riegel <triegel@redhat.com>
23516
23517 * sysdeps/nptl/futex-internal.h: New file.
23518 * sysdeps/nacl/futex-internal.h: New file.
23519 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23520 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23521 error checking.
23522 (setxid_unmark_thread): Likewise.
23523 (__nptl_setxid): Likewise.
23524 (__wait_lookup_done): Likewise.
23525 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23526 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23527 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23528 * nptl/pthread_once.c (clear_once_control): Likewise.
23529 (__pthread_once_slow): Likewise.
23530 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23531 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23532 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23533 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23534 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23535 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23536 Likewise.
23537 (__pthread_rwlock_rdlock): Likewise.
23538 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23539 Likewise.
23540 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23541 Likewise.
23542 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23543 Likewise.
23544 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23545 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23546 Likewise.
23547 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23548 __ASSUME_PRIVATE_FUTEX check.
23549 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23550 Check that shared futexes are supported.
23551 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23552 wrappers with error checking.
23553 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23554 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23555 * nptl/pthread_barrierattr_setpshared.c
23556 (pthread_barrierattr_setpshared): Check that shared futexes are
23557 supported.
23558 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23559 Likewise.
23560 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23561 Likewise.
23562 * nptl/sem_init.c (futex_private_if_supported): Remove.
23563 (__new_sem_init): Adapt and check that shared futexes are supported.
23564 * nptl/sem_open.c (sem_open): Likewise.
23565 * nptl/sem_post.c (futex_wake): Remove.
23566 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23567 (do_futex_wait): Use futex wrappers with error checking.
23568 * nptl/sem_wait.c: Include lowlevellock.h.
23569 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23570 Use futex_supports_pshared.
23571 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23572 Use futex wrappers with error checking.
23573 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23574 Likewise.
23575 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23576 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23577 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23578 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23579 (futex_wake): Likewise.
23580 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23581 (do_futex_wait): Use futex wrappers with error checking.
23582 (__new_sem_wait_slow): Update EINTR handling.
23583 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23584
23585 2015-07-09 Martin Sebor <msebor@redhat.com>
23586
23587 [BZ #18435]
23588 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23589 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23590 * nptl/Makefile (test-xfail-tst-once5): Define.
23591
23592 2015-07-09 Roland McGrath <roland@hack.frob.com>
23593
23594 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23595 * elf/dl-minimal.c: For readability, reorder some definitions and
23596 introduce more page breaks. Include <stdio.h>.
23597 (__libc_fatal): New function.
23598
23599 * include/unistd.h: Add rtld_hidden_proto for _exit.
23600 * posix/_exit.c: Add rtld_hidden_def.
23601 * sysdeps/mach/hurd/_exit.c: Likewise.
23602 * sysdeps/nacl/_exit.c: Likewise.
23603 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23604 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23605
23606 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23607
23608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23609 bndmov encoding with zero displacement.
23610
23611 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23612 H.J. Lu <hongjiu.lu@intel.com>
23613
23614 [BZ #18134]
23615 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23616 * sysdeps/i386/configure: Regenerated.
23617 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23618 (_dl_runtime_profile): Save and restore Intel MPX return bound
23619 registers when calling _dl_call_pltexit. Add
23620 PRESERVE_BND_REGS_PREFIX before return.
23621 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23622 (LRV_BND1_OFFSET): Likewise.
23623 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23624 lrv_bnd1.
23625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23626 typo in bndmov encoding.
23627 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23628 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23629 branch instructions to preserve bounds.
23630
23631 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23632
23633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23634 [GLIBC_2.22]: Add fmemopen.
23635
23636 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23637
23638 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23639 returns an error, also try to use host port from __mach_host_self for
23640 the __vm_wire call.
23641 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23642
23643 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23644
23645 [BZ #18400]
23646 [BZ #18648]
23647 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23648 Fix pr_uid and pr_gid members.
23649 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23650 definition to elf_greg_t.
23651
23652 2015-07-08 Roland McGrath <roland@hack.frob.com>
23653
23654 [BZ #18383]
23655 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23656 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23657 * sysdeps/arm/configure: Regenerated.
23658 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23659 (test-xfail-tst-tlsalign-static): Variable removed.
23660
23661 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23662 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23663 rather than explicit 'ln -s'.
23664
23665 * resolv/rpc/netdb.h: New file.
23666 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23667
23668 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23669
23670 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23671 length buffers.
23672 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23673 test-skeleton.c.
23674
23675 [BZ #6544]
23676 [BZ #11216]
23677 [BZ #12836]
23678 [BZ #13151]
23679 [BZ #13152]
23680 [BZ #14292]
23681 * include/stdio.h (fmemopen): Remove hidden prototype.
23682 (__fmemopen): Add new hidden prototype.
23683 * libio/Makefile: Add oldfmemopen object.
23684 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23685 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23686 compliance.
23687 * libio/oldfmemopen.c: New file: old fmemopen implementation for
23688 symbol compatibility.
23689 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23690 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23691 fmemopen.
23692 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23693 on append and read mode.
23694 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23695 fmemopen.
23696 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23697 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23698 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23699 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23700 Likewise.
23701 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23702 [GLIBC_2.22]: Likewise.
23703 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23704 Likewise.
23705 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23706 Likewise.
23707 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23708 [GLIBC_2.22]: Likewise.
23709 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23710 [GLIBC_2.22]: Likewise.
23711 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23712 [GLIBC_2.22]: Likewise.
23713 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23714 [GLIBC_2.22]: Likewise.
23715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23716 [GLIBC_2.22]: Likewise.
23717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23718 [GLIBC_2.22]: Likewise.
23719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23720 [GLIBC_2.22]: Likewise.
23721 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23722 Likewise.
23723 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23724 Likewise.
23725 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23726 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23727 [GLIBC_2.22]: Likewise.
23728 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23729 [GLIBC_2.22]: Likewise.
23730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23731 [GLIBC_2.22]: Likewise.
23732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23733 [GLIBC_2.22]: Likewise.
23734 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23735 Likewise.
23736 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23737 Likewise.
23738 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23739 Likewise.
23740 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23741 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23742
23743 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23744
23745 [BZ #18643]
23746 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23747 IPV6_PATHMTU, and IPV6_DONTFRAG.
23748
23749 2015-07-08 Feng Gao <gfree.wind@gmail.com>
23750
23751 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23752 and _IO_UNBUFFERED.
23753 * libio/oldfileops.c: Likewise.
23754 * libio/wfileops.c: Likewise.
23755
23756 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23757
23758 * nscd/selinux.c: Delete selinux/flask.h include.
23759
23760 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23761
23762 [BZ #18641]
23763 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23764 (putpwent): Likewise.
23765 (getpwnam): Likewise.
23766 (getpwent_r): Likewise.
23767 (getpwuid_r): Likewise.
23768 (getpwnam_r): Likewise.
23769 (fgetpwent_r): Likewise.
23770
23771 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23772
23773 [BZ #18557]
23774 * inet/rcmd.c (__validuser2_sa): Check user first to
23775 short-circuit host check.
23776
23777 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
23778 Mikhail Ilin <m.ilin@samsung.com>
23779
23780 [BZ #17833]
23781 * elf/Makefile (tests): Add tst-nodelete.
23782 (modules-names): Add tst-nodelete-uniquemod.
23783 (tst-nodelete-uniquemod.so-no-z-defs): New.
23784 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23785 (tst-nodelete-zmod.so-no-z-defs): Likewise.
23786 ($(objpfx)tst-nodelete): Likewise.
23787 ($(objpfx)tst-nodelete.out): Likewise.
23788 (LDFLAGS-tst-nodelete): Likewise.
23789 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23790 * elf/dl-close.c (_dl_close_worker): Add a parameter to
23791 implement forced object deletion.
23792 (_dl_close): Pass false to _dl_close_worker.
23793 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23794 * elf/tst-nodelete.cc: New file.
23795 * elf/tst-nodeletelib.cc: Likewise.
23796 * elf/tst-znodeletelib.cc: Likewise.
23797 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23798
23799 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23800
23801 [BZ #18508]
23802 * stdlib/Makefile ($(objpfx)tst-makecontext3):
23803 Depend on $(libdl).
23804 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23805 is not called infinitely times.
23806 (backtrace_helper): New function.
23807 (trace_arg): New struct.
23808 (st1): Enlarge stack size.
23809 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23810 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23811 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23812 Likewise.
23813
23814 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23815
23816 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23817
23818 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23819
23820 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23821 Include sys/types.h instead of bits/types.h.
23822 Remove inclusion of bits/wordsize.h.
23823
23824 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23825
23826 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23827 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23828 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23829 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23830 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23831 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23832
23833 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23834
23835 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23836 link-defines.sym.
23837 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23838 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23839 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23840 and LR_SIZE.
23841 * sysdeps/i386/link-defines.sym: New file.
23842
23843 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23844
23845 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23846 (modules-names): Add tst-auditmod3a tst-auditmod3b.
23847 ($(objpfx)tst-audit3): New rule.
23848 ($(objpfx)tst-audit3.out): Likewise.
23849 * sysdeps/i386/tst-audit3.c: New file.
23850 * sysdeps/i386/tst-audit3.h: Likewise.
23851 * sysdeps/i386/tst-auditmod3a.c: Likewise.
23852 * sysdeps/i386/tst-auditmod3b.c: Likewise.
23853
23854 2015-07-07 Torvald Riegel <triegel@redhat.com>
23855
23856 [BZ #18633]
23857 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23858 pointer in C code.
23859 (__strcat_c): Likewise.
23860 (__strcat_g): Likewise.
23861
23862 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
23863
23864 [BZ #18592]
23865 * misc/sbrk.c: Set errno to ENOMEM on overflow.
23866
23867 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23868
23869 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23870 New function. (__ieee754_sqrtf): New function.
23871 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23872 New function.
23873 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23874 New function.
23875
23876 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23877
23878 * sysdeps/ieee754/support.c: Remove unused file.
23879
23880 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
23881
23882 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23883 registers instead of d ones so the layout is kernel abi compatible.
23884 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23885 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23886 Likewise.
23887
23888 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23889
23890 * sysdeps/aarch64/libm-test-ulps: Regenerated.
23891
23892 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23893
23894 [BZ #18619]
23895 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23896 and return argument in case of subnormal argument.
23897
23898 2015-07-01 Martin Sebor <msebor@redhat.com>
23899
23900 [BZ #18435]
23901 * nptl/Makefile: Add tst-once5.cc.
23902 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23903 Remove macro redefinitions.
23904 * nptl/tst-once5.cc: New test.
23905
23906 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23907
23908 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23909
23910 * sysdeps/arm/libm-test-ulps: Regenerated.
23911
23912 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23913 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23914
23915 2015-06-30 Torvald Riegel <triegel@redhat.com>
23916
23917 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23918 lll_lock_wait_private and lll_futex_wake probes.
23919
23920 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23921 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23922 Likewise.
23923 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23924 atomic_spin_nop.
23925 * sysdeps/x86_64/bits/atomic.h: Likewise.
23926 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23927 to atomic_spin_nop and move ...
23928 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23929 ... here and ...
23930 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23931 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23932 atomic_spin_nop instead of BUSY_WAIT_NOP.
23933 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23934 Likewise.
23935 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23936 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23937 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23938 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23939 instead of atomic_delay.
23940
23941 2015-06-29 Joseph Myers <joseph@codesourcery.com>
23942
23943 [BZ #18613]
23944 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23945 X_ADJ not X when adjusting exponent.
23946 (__ieee754_gamma_r): Do intermediate computations in
23947 round-to-nearest then adjust overflowing and underflowing results
23948 as needed.
23949 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23950 of X_ADJ not X when adjusting exponent.
23951 (__ieee754_gammaf_r): Do intermediate computations in
23952 round-to-nearest then adjust overflowing and underflowing results
23953 as needed.
23954 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23955 log of X_ADJ not X when adjusting exponent.
23956 (__ieee754_gammal_r): Do intermediate computations in
23957 round-to-nearest then adjust overflowing and underflowing results
23958 as needed. Use 1.0L not 1.0f as numerator of division.
23959 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23960 log of X_ADJ not X when adjusting exponent.
23961 (__ieee754_gammal_r): Do intermediate computations in
23962 round-to-nearest then adjust overflowing and underflowing results
23963 as needed. Use 1.0L not 1.0f as numerator of division.
23964 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23965 of X_ADJ not X when adjusting exponent.
23966 (__ieee754_gammal_r): Do intermediate computations in
23967 round-to-nearest then adjust overflowing and underflowing results
23968 as needed. Use 1.0L not 1.0f as numerator of division.
23969 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
23970 to auto-libm-test-in.
23971 (tgamma_test): Use ALL_RM_TEST.
23972 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
23973 tests of tgamma with spurious-overflow.
23974 * math/auto-libm-test-out: Regenerated.
23975 * math/gen-libm-have-vector-test.sh: Do not check for START.
23976 * sysdeps/i386/fpu/libm-test-ulps: Update.
23977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23978
23979 [BZ #18612]
23980 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23981 arguments, just return 0.5 times the argument, with underflow
23982 forced as needed.
23983 * math/auto-libm-test-in: Add more tests of j1.
23984 * math/auto-libm-test-out: Regenerated.
23985
23986 [BZ #16559]
23987 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23988 (__ieee754_j1): Force underflow exception for small results.
23989 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23990 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23991 (__ieee754_j1f): Force underflow exception for small results.
23992 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23993 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23995 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23996 (__ieee754_j1l): Force underflow exception for small results.
23997 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23998 * math/auto-libm-test-in: Add more tests of j1 and jn.
23999 * math/auto-libm-test-out: Regenerated.
24000
24001 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24002 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24003 (PF_MPLS): Likewise.
24004 (AF_IB): Likewise.
24005 (AF_MPLS): Likewise.
24006 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24007 value and macro.
24008 (MS_RMT_MASK): Include MS_LAZYTIME.
24009
24010 2015-06-26 Mel Gorman <mgorman@suse.de>
24011
24012 [BZ #18502]
24013 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24014 already minimal.
24015
24016 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
24017
24018 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24019 (DT_MIPS_NUM): Update.
24020 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24021 DT_MIPS_RLD_MAP_REL.
24022
24023 2015-06-25 Joseph Myers <joseph@codesourcery.com>
24024
24025 [BZ #16559]
24026 [BZ #18602]
24027 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24028 round-to-nearest internally then recompute results that
24029 underflowed to zero in the original rounding mode.
24030 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24031 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24032 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24033 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24034 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24035 * sysdeps/i386/fpu/libm-test-ulps: Update.
24036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24037
24038 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
24039
24040 * NEWS: Fixed description of link with vector math library.
24041
24042 2015-06-25 Andreas Schwab <schwab@suse.de>
24043
24044 [BZ #18549]
24045 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24046 * libio/test-fmemopen.c (do_test): Add test for it.
24047
24048 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
24049
24050 [BZ #17841]
24051 * Makeconfig (no-pie-ldflag): New.
24052 (+link): Set to $(+link-pie) if default to PIE.
24053 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24054 * config.make.in (build-pie-default): New.
24055 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
24056 is default. AC_SUBST.
24057 * configure: Regenerated.
24058 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24059
24060 2015-06-24 Roland McGrath <roland@hack.frob.com>
24061
24062 * nptl/descr.h (struct pthread): Change type of field setxid_futex
24063 to 'unsigned int'.
24064
24065 * resolv/gai_misc.h (struct waitlist): Change type of field
24066 counterp to 'volatile unsigned int *'.
24067 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24068 FUTEXADDR and OLDVAL.
24069 * resolv/getaddrinfo_a.c (getaddrinfo_a):
24070 Give local variable TOTAL type 'volatile unsigned int'.
24071 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24072 * resolv/gai_suspend.c (gai_suspend):
24073 Give local variable CNTR type 'unsigned int'.
24074
24075 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24076 counterp to 'volatile unsigned int *'.
24077 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24078 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24079 (aio_suspend): Give local variable CNTR type 'unsigned int'.
24080 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24081 Give local variable TOTAL type 'volatile unsigned int'.
24082 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24083
24084 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24085
24086 [BZ #18383]
24087 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24088 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
24089 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24090 comment for i386/x86-64.
24091 (test-xfail-tst-tlsalign-extern-static): Removed.
24092
24093 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24094
24095 * math/test-double.h: New file.
24096 * math/test-float.h: Likewise.
24097 * math/test-ldouble.h: Likewise.
24098 * math/test-math-inline.h: Likewise.
24099 * math/test-math-no-inline.h: Likewise.
24100 * math/test-math-scalar.h: Likewise.
24101 * math/test-math-vector.h: Likewise.
24102 * math/test-vec-loop.h: Remove file. Contents moved into
24103 test-math-vector.h.
24104 * math/libm-test.inc (MATHCONST): Do not document macro.
24105 * math/test-double.c: Include test-double.h, test-math-no-inline.h
24106 and test-math-scalar.h.
24107 (FUNC): Remove macro.
24108 (FUNC_TEST): Likewise.
24109 (FLOAT): Likewise.
24110 (MATHCONST): Likewise.
24111 (PRINTF_EXPR): Likewise.
24112 (PRINTF_XEXPR): Likewise.
24113 (PRINTF_NEXPR): Likewise.
24114 (TEST_DOUBLE): Likewise.
24115 (TEST_MATHVEC): Likewise.
24116 (__NO_MATH_INLINES): Likewise.
24117 * math/test-float.c: Include test-float.h, test-math-no-inline.h
24118 and test-math-scalar.h.
24119 (FUNC): Remove macro.
24120 (FUNC_TEST): Likewise.
24121 (FLOAT): Likewise.
24122 (MATHCONST): Likewise.
24123 (PRINTF_EXPR): Likewise.
24124 (PRINTF_XEXPR): Likewise.
24125 (PRINTF_NEXPR): Likewise.
24126 (TEST_FLOAT): Likewise.
24127 (TEST_MATHVEC): Likewise.
24128 (__NO_MATH_INLINES): Likewise.
24129 * math/test-idouble.c: Include test-double.h, test-math-inline.h
24130 and test-math-scalar.h.
24131 (FUNC): Remove macro.
24132 (FUNC_TEST): Likewise.
24133 (FLOAT): Likewise.
24134 (MATHCONST): Likewise.
24135 (PRINTF_EXPR): Likewise.
24136 (PRINTF_XEXPR): Likewise.
24137 (PRINTF_NEXPR): Likewise.
24138 (TEST_DOUBLE): Likewise.
24139 (TEST_MATHVEC): Likewise.
24140 (TEST_INLINE): Likewise.
24141 (__NO_MATH_INLINES): Likewise.
24142 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24143 test-math-scalar.h.
24144 (FUNC): Remove macro.
24145 (FUNC_TEST): Likewise.
24146 (FLOAT): Likewise.
24147 (MATHCONST): Likewise.
24148 (PRINTF_EXPR): Likewise.
24149 (PRINTF_XEXPR): Likewise.
24150 (PRINTF_NEXPR): Likewise.
24151 (TEST_FLOAT): Likewise.
24152 (TEST_MATHVEC): Likewise.
24153 (TEST_INLINE): Likewise.
24154 (__NO_MATH_INLINES): Likewise.
24155 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24156 and test-math-scalar.h.
24157 (FUNC): Remove macro.
24158 (FUNC_TEST): Likewise.
24159 (FLOAT): Likewise.
24160 (MATHCONST): Likewise.
24161 (PRINTF_EXPR): Likewise.
24162 (PRINTF_XEXPR): Likewise.
24163 (PRINTF_NEXPR): Likewise.
24164 (TEST_LDOUBLE): Likewise.
24165 (TEST_MATHVEC): Likewise.
24166 (TEST_INLINE): Likewise.
24167 (__NO_MATH_INLINES): Likewise.
24168 * math/test-ldouble.c: Include test-ldouble.h,
24169 test-math-no-inline.h and test-math-scalar.h.
24170 (FUNC): Remove macro.
24171 (FUNC_TEST): Likewise.
24172 (FLOAT): Likewise.
24173 (MATHCONST): Likewise.
24174 (PRINTF_EXPR): Likewise.
24175 (PRINTF_XEXPR): Likewise.
24176 (PRINTF_NEXPR): Likewise.
24177 (TEST_LDOUBLE): Likewise.
24178 (TEST_MATHVEC): Likewise.
24179 (__NO_MATH_INLINES): Likewise.
24180 * math/test-double-vlen2.h: Include test-double.h,
24181 test-math-no-inline.h and test-math-vector.h.
24182 (FLOAT): Remove macro.
24183 (FUNC): Likewise.
24184 (MATHCONST): Likewise.
24185 (PRINTF_EXPR): Likewise.
24186 (PRINTF_XEXPR): Likewise.
24187 (PRINTF_NEXPR): Likewise.
24188 (TEST_DOUBLE): Likewise.
24189 (TEST_MATHVEC): Likewise.
24190 (__NO_MATH_INLINES): Likewise.
24191 (CNCT): Likewise.
24192 (CONCAT): Likewise.
24193 (WRAPPER_NAME): Likewise.
24194 (WRAPPER_DECL): Likewise.
24195 (WRAPPER_DECL_ff): Likewise.
24196 (WRAPPER_DECL_fFF): Likewise.
24197 (VECTOR_WRAPPER): Likewise.
24198 (VECTOR_WRAPPER_ff): Likewise.
24199 (VECTOR_WRAPPER_fFF): Likewise.
24200 (VEC_LEN): New macro.
24201 * math/test-double-vlen4.h: Include test-double.h,
24202 test-math-no-inline.h and test-math-vector.h.
24203 (FLOAT): Remove macro.
24204 (FUNC): Likewise.
24205 (MATHCONST): Likewise.
24206 (PRINTF_EXPR): Likewise.
24207 (PRINTF_XEXPR): Likewise.
24208 (PRINTF_NEXPR): Likewise.
24209 (TEST_DOUBLE): Likewise.
24210 (TEST_MATHVEC): Likewise.
24211 (__NO_MATH_INLINES): Likewise.
24212 (CNCT): Likewise.
24213 (CONCAT): Likewise.
24214 (WRAPPER_NAME): Likewise.
24215 (WRAPPER_DECL): Likewise.
24216 (WRAPPER_DECL_ff): Likewise.
24217 (WRAPPER_DECL_fFF): Likewise.
24218 (VECTOR_WRAPPER): Likewise.
24219 (VECTOR_WRAPPER_ff): Likewise.
24220 (VECTOR_WRAPPER_fFF): Likewise.
24221 (VEC_LEN): New macro.
24222 * math/test-double-vlen8.h: Include test-double.h,
24223 test-math-no-inline.h and test-math-vector.h.
24224 (FLOAT): Remove macro.
24225 (FUNC): Likewise.
24226 (MATHCONST): Likewise.
24227 (PRINTF_EXPR): Likewise.
24228 (PRINTF_XEXPR): Likewise.
24229 (PRINTF_NEXPR): Likewise.
24230 (TEST_DOUBLE): Likewise.
24231 (TEST_MATHVEC): Likewise.
24232 (__NO_MATH_INLINES): Likewise.
24233 (CNCT): Likewise.
24234 (CONCAT): Likewise.
24235 (WRAPPER_NAME): Likewise.
24236 (WRAPPER_DECL): Likewise.
24237 (WRAPPER_DECL_ff): Likewise.
24238 (WRAPPER_DECL_fFF): Likewise.
24239 (VECTOR_WRAPPER): Likewise.
24240 (VECTOR_WRAPPER_ff): Likewise.
24241 (VECTOR_WRAPPER_fFF): Likewise.
24242 (VEC_LEN): New macro.
24243 * math/test-float-vlen4.h: Include test-float.h,
24244 test-math-no-inline.h and test-math-vector.h.
24245 (FLOAT): Remove macro.
24246 (FUNC): Likewise.
24247 (MATHCONST): Likewise.
24248 (PRINTF_EXPR): Likewise.
24249 (PRINTF_XEXPR): Likewise.
24250 (PRINTF_NEXPR): Likewise.
24251 (TEST_FLOAT): Likewise.
24252 (TEST_MATHVEC): Likewise.
24253 (__NO_MATH_INLINES): Likewise.
24254 (CNCT): Likewise.
24255 (CONCAT): Likewise.
24256 (WRAPPER_NAME): Likewise.
24257 (WRAPPER_DECL): Likewise.
24258 (WRAPPER_DECL_ff): Likewise.
24259 (WRAPPER_DECL_fFF): Likewise.
24260 (VECTOR_WRAPPER): Likewise.
24261 (VECTOR_WRAPPER_ff): Likewise.
24262 (VECTOR_WRAPPER_fFF): Likewise.
24263 (VEC_LEN): New macro.
24264 * math/test-float-vlen8.h: Include test-float.h,
24265 test-math-no-inline.h and test-math-vector.h.
24266 (FLOAT): Remove macro.
24267 (FUNC): Likewise.
24268 (MATHCONST): Likewise.
24269 (PRINTF_EXPR): Likewise.
24270 (PRINTF_XEXPR): Likewise.
24271 (PRINTF_NEXPR): Likewise.
24272 (TEST_FLOAT): Likewise.
24273 (TEST_MATHVEC): Likewise.
24274 (__NO_MATH_INLINES): Likewise.
24275 (CNCT): Likewise.
24276 (CONCAT): Likewise.
24277 (WRAPPER_NAME): Likewise.
24278 (WRAPPER_DECL): Likewise.
24279 (WRAPPER_DECL_ff): Likewise.
24280 (WRAPPER_DECL_fFF): Likewise.
24281 (VECTOR_WRAPPER): Likewise.
24282 (VECTOR_WRAPPER_ff): Likewise.
24283 (VECTOR_WRAPPER_fFF): Likewise.
24284 (VEC_LEN): New macro.
24285 * math/test-float-vlen16.h: Include test-float.h,
24286 test-math-no-inline.h and test-math-vector.h.
24287 (FLOAT): Remove macro.
24288 (FUNC): Likewise.
24289 (MATHCONST): Likewise.
24290 (PRINTF_EXPR): Likewise.
24291 (PRINTF_XEXPR): Likewise.
24292 (PRINTF_NEXPR): Likewise.
24293 (TEST_FLOAT): Likewise.
24294 (TEST_MATHVEC): Likewise.
24295 (__NO_MATH_INLINES): Likewise.
24296 (CNCT): Likewise.
24297 (CONCAT): Likewise.
24298 (WRAPPER_NAME): Likewise.
24299 (WRAPPER_DECL): Likewise.
24300 (WRAPPER_DECL_ff): Likewise.
24301 (WRAPPER_DECL_fFF): Likewise.
24302 (VECTOR_WRAPPER): Likewise.
24303 (VECTOR_WRAPPER_ff): Likewise.
24304 (VECTOR_WRAPPER_fFF): Likewise.
24305 (VEC_LEN): New macro.
24306 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24307 test-vec-loop.h.
24308 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24309 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24310 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24311 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24312 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24313 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24314 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24315
24316 2015-06-24 Roland McGrath <roland@hack.frob.com>
24317
24318 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24319 (__getlogin_r): ... this.
24320
24321 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24322
24323 [BZ #18594]
24324 * math/s_ccosh.c (__ccosh): Compare with least normal value
24325 instead of comparing class with FP_SUBNORMAL.
24326 * math/s_ccoshf.c (__ccoshf): Likewise.
24327 * math/s_ccoshl.c (__ccoshl): Likewise.
24328 * math/s_cexp.c (__cexp): Likewise.
24329 * math/s_cexpf.c (__cexpf): Likewise.
24330 * math/s_cexpl.c (__cexpl): Likewise.
24331 * math/s_csin.c (__csin): Likewise.
24332 * math/s_csinf.c (__csinf): Likewise.
24333 * math/s_csinh.c (__csinh): Likewise.
24334 * math/s_csinhf.c (__csinhf): Likewise.
24335 * math/s_csinhl.c (__csinhl): Likewise.
24336 * math/s_csinl.c (__csinl): Likewise.
24337 * math/s_ctan.c (__ctan): Likewise.
24338 * math/s_ctanf.c (__ctanf): Likewise.
24339 * math/s_ctanh.c (__ctanh): Likewise.
24340 * math/s_ctanhf.c (__ctanhf): Likewise.
24341 * math/s_ctanhl.c (__ctanhl): Likewise.
24342 * math/s_ctanl.c (__ctanl): Likewise.
24343 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24344 csin, csinh, ctan and ctanh.
24345 * math/auto-libm-test-out: Regenerated.
24346 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24347 * sysdeps/i386/fpu/libm-test-ulps: Update.
24348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24349
24350 2015-06-24 Roland McGrath <roland@hack.frob.com>
24351
24352 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24353 return value is wrong, print the expected value too.
24354
24355 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24356
24357 [BZ #18585]
24358 * elf/readlib.c (is_gdb_python_file): New.
24359 (process_file): Don't issue errors on filenames with -gdb.py
24360 suffix.
24361
24362 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24363
24364 * math/auto-libm-test-in: Add more tests of csin and csinh.
24365 * math/auto-libm-test-out: Regenerated.
24366 * math/libm-test.inc (csin_test_data): Remove tests moved to
24367 auto-libm-test-in.
24368 (csinh_test_data): Likewise.
24369
24370 [BZ #18593]
24371 * math/s_csin.c (__csin): Negate before rather than after possibly
24372 overflowing multiplication.
24373 * math/s_csinf.c (__csinf): Likewise.
24374 * math/s_csinh.c (__csinh): Likewise.
24375 * math/s_csinhf.c (__csinhf): Likewise.
24376 * math/s_csinhl.c (__csinhl): Likewise.
24377 * math/s_csinl.c (__csinl): Likewise.
24378 * math/auto-libm-test-in: Add some tests of csin and csinh.
24379 * math/auto-libm-test-out: Regenerated.
24380 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24381 (csinh_test_data): Likewise.
24382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24383
24384 [BZ #18586]
24385 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24386 underflow exception for small results.
24387
24388 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
24389
24390 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24391 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24392 variable and included header.
24393 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24394 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24395 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24396 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24397 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24398 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24399 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24400 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24401 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24402 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24403 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24404 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24405 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24406 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24407 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24408 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24409
24410 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24411
24412 [BZ #16526]
24413 [BZ #16538]
24414 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24415 (__sin): Force underflow exception for arguments with small
24416 absolute value.
24417 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24418 (__kernel_sinf): Force underflow exception for arguments with
24419 small absolute value.
24420 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24421 (__kernel_sincosl): Force underflow exception for arguments with
24422 small absolute value.
24423 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24424 (__kernel_sinl): Force underflow exception for arguments with
24425 small absolute value.
24426 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24427 (__kernel_sincosl): Force underflow exception for arguments with
24428 small absolute value.
24429 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24430 (__kernel_sinl): Force underflow exception for arguments with
24431 small absolute value.
24432 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24433 (__kernel_sinl): Force underflow exception for arguments with
24434 small absolute value.
24435 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24436 (__kernel_sinf): Force underflow exception for arguments with
24437 small absolute value.
24438 * math/auto-libm-test-in: Add more tests of sin and sincos.
24439 * math/auto-libm-test-out: Regenerated.
24440
24441 [BZ #18245]
24442 [BZ #18583]
24443 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24444 (__kernel_standard_l): Use feholdexcept and fesetenv around
24445 conversion to double instead of special-casing overflow and
24446 underflow.
24447 * math/libm-test.inc (fmod_test_data): Add more tests.
24448 (remainder_test_data): Likewise.
24449 (sqrt_test_data): Likewise.
24450
24451 2015-06-23 Torvald Riegel <triegel@redhat.com>
24452
24453 [BZ #17403]
24454 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24455 atomic_read_barrier, atomic_write_barrier): Define.
24456 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24457 atomic_read_barrier, atomic_write_barrier): Define.
24458
24459 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24460
24461 * math/Makefile [$(PERL) != no]
24462 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24463 dependency on libm-test.stmp below the inclusion of Rules.
24464
24465 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
24466
24467 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24468 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24469 and included header.
24470 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24471 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24472 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24473 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24474 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24475 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24476 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24477 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24478 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24479 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24480 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24481 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24482 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24483 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24484 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24485 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24486 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24487 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24488 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24489
24490 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24491
24492 [BZ #18371]
24493 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24494 intermediate but not final result might underflow.
24495 * math/s_csqrtf.c (__csqrtf): Likewise.
24496 * math/s_csqrtl.c (__csqrtl): Likewise.
24497 * math/auto-libm-test-in: Add more tests of csqrt.
24498 * math/auto-libm-test-out: Regenerated.
24499 * sysdeps/i386/fpu/libm-test-ulps: Update.
24500
24501 [BZ #18219]
24502 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24503 threshold on absolute value of exponent for which scaling is used.
24504 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24505 * math/auto-libm-test-in: Add more tests of exp2.
24506 * math/auto-libm-test-out: Regenerated.
24507
24508 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24509
24510 [BZ #17977]
24511 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24512 when initializing interface list, based on the bug analysis
24513 and the patch proposed by Eric Newton.
24514 * resolv/tst-res_hconf_reorder.c: New test.
24515 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24516 tst-res_hconf_reorder.
24517 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24518 and $(shared-thread-library).
24519 (tst-res_hconf_reorder-ENV): New variable.
24520
24521 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24522 in comment.
24523
24524 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24525
24526 [BZ #16353]
24527 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24528 (__expm1): Force underflow exception for arguments with small
24529 absolute value.
24530 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24531 (__expm1f): Force underflow exception for arguments with small
24532 absolute value.
24533 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24534 (__expm1): Force underflow exception for arguments with small
24535 absolute value.
24536 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24537 (__expm1f): Force underflow exception for arguments with small
24538 absolute value.
24539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24540 Check for small arguments before calling __expm1.
24541 * math/auto-libm-test-in: Do not mark underflow exceptions as
24542 possibly missing for bug 16353.
24543 * math/auto-libm-test-out: Regenerated.
24544
24545 2015-06-22 Andreas Schwab <schwab@suse.de>
24546
24547 [BZ #18513]
24548 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24549 PTR queries.
24550
24551 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24552
24553 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24554
24555 * string/strcoll_l.c: Remove unused struct element idxnow.
24556
24557 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24558
24559 [BZ #18569]
24560 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24561 underflow and return argument in case of subnormal argument.
24562 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24563 Likewise.
24564 * math/auto-libm-test-in: Add more tests of expm1.
24565 * math/auto-libm-test-out: Regenerated.
24566
24567 [BZ #16361]
24568 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24569 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24570 tiny results.
24571 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24572 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24573 tiny results.
24574 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24575 mark underflow exceptions as possibly missing for bug 16361.
24576 * math/auto-libm-test-out: Regenerated.
24577
24578 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24579
24580 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24581 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24582 Remove variable.
24583 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24584 (test-xfail-XOPEN2K8/utmpx.h/conform).
24585
24586 * conform/conformtest.pl ($xerrors): New variable.
24587 (note_error): New function.
24588 (compiletest): New argument $xfail. Use not_error.
24589 (runtest): Likewise.
24590 (top level): Handle xfail- lines. Update calls to compiletest and
24591 runtest. Handle xfail- and optional- in headers listed with
24592 allow-header.
24593 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24594 (O_EXEC): Likewise.
24595 (O_SEARCH): Likewise.
24596 * conform/data/stropts.h-data (ioctl): Likewise.
24597 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24598 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24599 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24600 (msghdr.msg_controllen): Likewise.
24601 (cmsghdr.cmsg_len): Likewise.
24602 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24603 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24604 variable.
24605 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24606 (test-xfail-XPG4/stropts.h/conform): Likewise.
24607 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24608 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24609 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24610 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24611 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24612 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24613 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24614 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24615 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24616 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24617 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24618 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24619 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24620 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24621 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24622 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24623 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24624 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24625 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24626
24627 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24628
24629 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24630 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24631 definitions for proper unfolding of __MATHDECL_VEC.
24632
24633 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24634
24635 * benchtests/bench-strcoll.c:
24636 Include string.h.
24637 (main): Remove unused variable res.
24638
24639 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24640
24641 * timezone/Makefile (%/UTC %/Universal):
24642 Generate test-result files for UTC and Universal.
24643
24644 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24645
24646 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24647
24648 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24649
24650 [BZ #16350]
24651 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24652 for arguments with small absolute value.
24653 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24654 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24655 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24656 (__asinh): Force underflow exception for arguments with small
24657 absolute value.
24658 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24659 (__asinhf): Force underflow exception for arguments with small
24660 absolute value.
24661 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24662 (__asinhl): Force underflow exception for arguments with small
24663 absolute value.
24664 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24665 (__asinhl): Force underflow exception for arguments with small
24666 absolute value.
24667 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24668 (__asinhl): Force underflow exception for arguments with small
24669 absolute value.
24670 * math/auto-libm-test-in: Do not mark underflow exceptions as
24671 possibly missing for bug 16350.
24672 * math/auto-libm-test-out: Regenerated.
24673
24674 * include/bits/ipc.h: Remove file.
24675 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24676 variable.
24677 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24678 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24679 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24680 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24681 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24682 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24683 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24684 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24685 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24686
24687 * math/auto-libm-test-in: Remove spurious underflow allowance for
24688 tests of cexp.
24689 * math/auto-libm-test-out: Regenerated.
24690
24691 [BZ #18558]
24692 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24693 unconditional definition.
24694 (MCAST_BLOCK_SOURCE): Likewise.
24695 (MCAST_UNBLOCK_SOURCE): Likewise.
24696 (MCAST_LEAVE_GROUP): Likewise.
24697 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24698 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24699 (MCAST_MSFILTER): Likewise.
24700 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24701 Remove variable.
24702 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24703 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24704 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24705 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24706 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24707
24708 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
24709
24710 * NEWS: Mention addition of x86_64 vector sincosf.
24711 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24712 * math/test-float-vlen4.h: Likewise.
24713 * math/test-float-vlen8.h: Likewise.
24714 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24715 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24716 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24717 * sysdeps/x86_64/fpu/Versions: New versions added.
24718 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24719 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24720 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24721 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24722 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24723 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24724 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24725 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24726 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24727 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24728 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24729 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24730 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24731 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24732 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24733 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24734 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24735 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24736 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24737 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24738 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24739 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24740 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24741 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24742
24743 * NEWS: Mention addition of x86_64 vector sincos.
24744 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24745 * math/math.h (__MATHDECL_VEC): New macro.
24746 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24747 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24748 declaration under condition.
24749 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24750 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24751 TEST_VEC_LOOP change.
24752 * math/test-double-vlen4.h: Likewise.
24753 * math/test-double-vlen8.h: Likewise.
24754 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24755 * math/test-float-vlen4.h: Likewise.
24756 * math/test-float-vlen8.h: Likewise.
24757 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24758 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24759 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24760 * sysdeps/x86_64/fpu/Versions: New versions added.
24761 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24762 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24763 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24764 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24765 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24766 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24767 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24768 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24769 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24770 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24771 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24772 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24773 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24774 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24775 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24776 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24777 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24778 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24779 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24780 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24781 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24782 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24783 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24784 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24785
24786 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24787 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24788 redirections for powf.
24789 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24790 * sysdeps/x86_64/fpu/Versions: New versions added.
24791 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24792 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24793 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24794 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24795 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24796 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24797 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24798 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24799 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24800 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24801 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24802 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24803 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24804 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24805 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24806 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24807 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24808 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24809 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24810 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24811 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24812 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24813 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24814 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24815 * math/test-float-vlen16.h: Fixed 2 argument macro.
24816 * math/test-float-vlen4.h: Likewise.
24817 * math/test-float-vlen8.h: Likewise.
24818 * NEWS: Mention addition of x86_64 vector powf.
24819
24820 2015-06-17 Joseph Myers <joseph@codesourcery.com>
24821
24822 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24823 and redefine.
24824 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24825 and redefine.
24826 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24827 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24829
24830 [BZ #18553]
24831 * resource/getpriority.c (getpriority): Rename to __getpriority
24832 and define as weak alias of __getpriority.
24833 * resource/setpriority.c (setpriority): Rename to __setpriority
24834 and define as weak alias of __setpriority.
24835 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24836 __getpriority and define as weak alias of __getpriority.
24837 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24838 __setpriority and define as weak alias of __setpriority.
24839 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24840 strong name.
24841 (setpriority): Use __setpriority as strong name.
24842 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24843 __getpriority and define as weak alias of __getpriority.
24844 * include/sys/resource.h (__getpriority): Declare. Use
24845 libc_hidden_proto.
24846 (__setpriority): Likewise.
24847 (getpriority): Don't use libc_hidden_proto.
24848 (setpriority): Likewise.
24849 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24850 getpriority. Call __setpriority instead of setpriority.
24851 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24852 Remove variable.
24853
24854 [BZ #18547]
24855 * misc/getttyent.c (getttynam): Rename to __getttynam and define
24856 as weak alias of __getttynam. Use prototype function definition.
24857 Call __setttyent, __getttyent and __endttyent instead of
24858 setttyent, getttyent and endttyent.
24859 (getttyent): Rename to __getttyent and define as weak alias of
24860 __getttyent. Call __setttyent instead of setttyent. Call
24861 __fgets_unlocked instead of fgets_unlocked.
24862 (setttyent): Rename to __setttyent and define as weak alias of
24863 __setttyent.
24864 (endttyent): Rename to __endttyent and define as weak alias of
24865 __endttyent.
24866 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
24867 (__setttyent): Likewise.
24868 (__endttyent): Likewise.
24869 (getttyent): Don't use libc_hidden_proto.
24870 (setttyent): Likewise.
24871 (endttyent): Likewise.
24872 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24873 __endttyent instead of setttyent, getttyent and endttyent.
24874 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24875 Remove variable.
24876
24877 [BZ #18546]
24878 * socket/recv.c (__recv): Use libc_hidden_def.
24879 * socket/socket.c (__socket): Likewise.
24880 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24881 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24882 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24883 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24884 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24885 libc_hidden_def.
24886 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24887 libc_hidden_weak.
24888 * include/sys/socket.h (__socket): Do not use attribute_hidden.
24889 Use libc_hidden_proto.
24890 (__recv): Likewise.
24891 * socket/Versions (libc): Export __recv and __socket at version
24892 GLIBC_PRIVATE.
24893 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24894 instead of recv.
24895 (init_mq_netlink): Call __socket instead of socket.
24896 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24897 Remove variable.
24898
24899 [BZ #18545]
24900 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24901 __mq_timedreceive and define as alias of __mq_timedreceive. Use
24902 hidden_weak.
24903 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24904 define as alias of __mq_timedsend. Use hidden_weak.
24905 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24906 __mq_timedsend as strong name.
24907 (mq_timedreceive): Use __mq_timedreceive as strong name.
24908 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
24909 (__mq_timedreceive): Likewise.
24910 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24911 __mq_timedreceive instead of mq_timedreceive.
24912 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24913 instead of mq_timedsend.
24914 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24915 Remove variable.
24916
24917 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24918 hidden_def and hidden_weak instead of libc_hidden_def and
24919 libc_hidden_weak.
24920 (top level): Refer to hidden_def in comment.
24921 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24922 macro. Use it instead of libc_hidden_def.
24923 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24924 specify __GI_* name explicitly.
24925 (mq_timedreceive): Likewise.
24926 (mq_setattr): Likewise.
24927
24928 [BZ #18544]
24929 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24930 __pthread_barrier_init and define as weak alias of
24931 __pthread_barrier_init.
24932 * sysdeps/sparc/nptl/pthread_barrier_init.c
24933 (pthread_barrier_init): Likewise.
24934 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24935 __pthread_barrier_wait and define as weak alias of
24936 __pthread_barrier_wait.
24937 * sysdeps/sparc/nptl/pthread_barrier_wait.c
24938 (pthread_barrier_wait): Likewise.
24939 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24940 (pthread_barrier_wait): Likewise.
24941 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24942 (pthread_barrier_wait): Likewise.
24943 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24944 (pthread_barrier_wait): Likewise.
24945 * nptl/Versions (libpthread): Export __pthread_barrier_init and
24946 __pthread_barrier_wait at version GLIBC_PRIVATE.
24947 * include/pthread.h (__pthread_barrier_init): Declare.
24948 (__pthread_barrier_wait): Likewise.
24949 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24950 Call __pthread_barrier_wait instead of pthread_barrier_wait.
24951 (helper_thread): Likewise.
24952 (init_mq_netlink): Call __pthread_barrier_init instead of
24953 pthread_barrier_init.
24954
24955 [BZ #18542]
24956 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24957 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24958 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
24959 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24960 vswscanf.
24961 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24962 Remove variable.
24963
24964 [BZ #18540]
24965 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24966 strong alias of _IO_fflush. Use libc_hidden_def.
24967 * libio/iofflush_u.c (fflush_unlocked): Rename to
24968 __fflush_unlocked and define as weak alias of __fflush_unlocked.
24969 Use libc_hidden_weak.
24970 * include/stdio.h (__fflush_unlocked): Declare. Use
24971 libc_hidden_proto.
24972 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24973 fflush_unlocked.
24974 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24975 Remove variable.
24976
24977 [BZ #18539]
24978 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24979 define as weak alias of __addseverity.
24980 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24981 Remove variable.
24982 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24983 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24984 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24985
24986 [BZ #18536]
24987 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24988 (__tfind): Likewise.
24989 (__tdelete): Likewise.
24990 (__twalk): Likewise.
24991 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24992 __twalk to GLIBC_PRIVATE.
24993 * include/search.h (__tsearch): Use libc_hidden_proto.
24994 (__tfind): Likewise.
24995 (__tdelete): Likewise.
24996 (__twalk): Likewise.
24997 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24998 Call __tdelete instead of tdelete.
24999 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25000 tfind. Call __tsearch instead of tsearch.
25001 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25002 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25003 Remove variable.
25004 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25005
25006 [BZ #18534]
25007 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25008 (dprintf): Define as a weak alias of __dprintf, not a strong
25009 alias.
25010 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
25011 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25012 dprintf.
25013 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25014 Remove variable.
25015 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25016 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25017
25018 [BZ #18533]
25019 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25020 not a strong alias.
25021 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25022 Remove variable.
25023
25024 [BZ #18532]
25025 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25026 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
25027 (in6addr_loopback): Rename to __in6addr_loopback and define as
25028 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
25029 * include/netinet/in.h (__in6addr_loopback): Declare. Use
25030 libc_hidden_proto.
25031 (__in6addr_any): Likewise.
25032 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25033 in6addr_any.
25034 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25035 variable.
25036 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25037
25038 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
25039
25040 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25041 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25042 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25043 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25044 redirections for pow.
25045 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25046 * sysdeps/x86_64/fpu/Versions: New versions added.
25047 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25048 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25049 build of SSE, AVX2 and AVX512 IFUNC versions.
25050 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25051 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25052 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25053 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25054 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25055 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25056 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25057 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25058 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25059 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25060 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25061 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25062 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25063 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25064 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25065 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25066 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25067 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25068 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25069 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25070 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25071 * NEWS: Mention addition of x86_64 vector pow.
25072
25073 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25074 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25075 redirections for expf.
25076 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25077 * sysdeps/x86_64/fpu/Versions: New versions added.
25078 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25079 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25080 build of SSE, AVX2 and AVX512 IFUNC versions.
25081 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25082 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25083 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25084 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25085 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25086 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25087 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25088 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25089 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25090 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25091 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25092 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25093 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25094 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25095 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25096 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25097 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25098 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25099 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25100 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25101 * NEWS: Mention addition of x86_64 vector expf.
25102
25103 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25104 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25105 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25106 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25107 redirections for exp.
25108 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25109 * sysdeps/x86_64/fpu/Versions: New versions added.
25110 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25111 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25112 build of SSE, AVX2 and AVX512 IFUNC versions.
25113 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25114 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25115 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25116 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25117 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25118 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25119 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25120 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25121 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25122 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25123 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25124 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25125 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25126 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25127 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25128 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25129 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25130 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25131 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25132 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25133 * NEWS: Mention addition of x86_64 vector exp.
25134
25135 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25136 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25137 redirections for logf.
25138 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25139 * sysdeps/x86_64/fpu/Versions: New versions added.
25140 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25141 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25142 build of SSE, AVX2 and AVX512 IFUNC versions.
25143 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25144 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25145 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25146 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25147 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25148 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25149 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25150 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25151 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25152 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25153 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25154 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25155 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25156 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25157 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25158 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25159 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25160 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25161 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25162 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25163 * NEWS: Mention addition of x86_64 vector logf.
25164
25165 * bits/libm-simd-decl-stubs.h: Added stubs for log.
25166 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25167 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25168 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25169 redirections for log.
25170 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25171 * sysdeps/x86_64/fpu/Versions: New versions added.
25172 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25173 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25174 build of SSE, AVX2 and AVX512 IFUNC versions.
25175 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25176 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25177 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25178 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25179 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25180 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25181 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25182 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25183 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25184 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25185 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25186 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25187 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25188 test.
25189 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25190 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25191 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25192 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25193 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25194 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25195 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25196 * NEWS: Mention addition of x86_64 vector log.
25197
25198 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
25199
25200 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25201 cfi_adjust_cfa_offset argument.
25202 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25203 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25204
25205 [BZ #18034]
25206 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25207 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25208 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25209 ordering using ldar.
25210 (_dl_tlsdesc_dynamic): Likewise.
25211 (_dl_tlsdesc_return_lazy): Likewise.
25212 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25213 relaxed atomics instead of volatile and synchronize with release store.
25214 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25215 volatile.
25216 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25217
25218 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
25219
25220 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25221 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25222 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25223 * sysdeps/x86_64/fpu/Versions: New versions added.
25224 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25225 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25226 build of SSE, AVX2 and AVX512 IFUNC versions.
25227 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25228 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25229 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25230 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25231 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25232 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25233 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25234 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25235 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25236 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25237 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25238 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25239 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25240 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25241 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25242 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25243 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25244 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25245 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25246 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25247 * NEWS: Mention addition of x86_64 vector sinf.
25248
25249 2015-06-14 Joseph Myers <joseph@codesourcery.com>
25250
25251 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25252 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25253 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25254 Remove variable.
25255 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25256 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25257
25258 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25259
25260 [BZ #18530]
25261 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25262 strong alias of _IO_fputs. Use libc_hidden_def.
25263 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25264 and define as weak alias of __fputs_unlocked. Use
25265 libc_hidden_weak.
25266 * include/stdio.h (__fputs_unlocked): Declare. Use
25267 libc_hidden_proto.
25268 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25269 fputs_unlocked.
25270
25271 [BZ #18529]
25272 * resolv/netdb.h [__USE_POSIX]: Change condition to
25273 [__USE_XOPEN2K].
25274 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25275 not expect.
25276 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25277 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25278 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25279 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25280 [XPG4 || UNIX98] (AI_ALL): Likewise.
25281 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25282 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25283 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25284 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25285 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25286 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25287 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25288 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25289 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25290 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25291 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25292 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25293 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25294 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25295 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25296 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25297 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25298 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25299 [XPG4 || UNIX98] (gai_strerror): Likewise.
25300 [XPG4 || UNIX98] (getaddrinfo): Likewise.
25301 [XPG4 || UNIX98] (getnameinfo): Likewise.
25302
25303 [BZ #18528]
25304 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25305 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25306 __USE_XOPEN2K8].
25307 (getgrent): Likewise.
25308 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25309 expect.
25310 [XPG3 || POSIX2008] (endgrent): Likewise.
25311 [XPG3] (setgrent): Likewise.
25312 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25313 variable.
25314 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25315
25316 [BZ #18527]
25317 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25318 define as weak alias of __getlogin_r. Use libc_hidden_weak.
25319 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25320 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25321 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25322 * include/unistd.h (__getlogin_r): Declare. Use
25323 libc_hidden_proto.
25324 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25325 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25326 variable.
25327 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25328 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25329 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25330
25331 2015-06-12 Martin Sebor <msebor@redhat.com>
25332
25333 [BZ #18512]
25334 * Makerules (check-install-supported): New target.
25335 (install): Add check-install-supported as a dependency.
25336 * manual/install.texi (Installing the C Library): Document
25337 that overriding prefix and exec_prefix is not supported.
25338 Mention DESTDIR.
25339 * INSTALL: Regenerate from the above.
25340
25341 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25342
25343 [BZ #18519]
25344 * posix/Versions (libc): Export __libc_pread at version
25345 GLIBC_PRIVATE.
25346 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25347 instead of pread.
25348 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25349 variable.
25350
25351 [BZ #18522]
25352 * misc/efgcvt_r.c
25353 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25354 (cvt_symbol): Use weak_alias instead of strong_alias.
25355 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25356 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25357 Remove variable.
25358 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25359 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25360
25361 [BZ #18520]
25362 * inet/herrno.c (h_errno): Rename to __h_errno.
25363 (__libc_h_errno): Define as alias of __h_errno not h_errno.
25364 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25365 to __h_errno instead of h_errno.
25366 * nptl/herrno.c (h_errno): Rename to __h_errno.
25367 (__h_errno_location): Refer to __h_errno not h_errno.
25368 * resolv/Versions (h_errno): Rename to __h_errno.
25369 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25370 Remove variable.
25371 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25372
25373 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
25374
25375 * configure.ac: More strict check for AVX512 assembler support.
25376 * configure: Regenerated.
25377
25378 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25379 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25380 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25381 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25382 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25383 * sysdeps/x86_64/fpu/Versions: New versions added.
25384 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25385 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25386 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25387 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25388 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25389 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25390 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25391 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25392 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25393 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25394 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25395 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25396 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25397 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25398 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25399 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25400 test.
25401 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25402 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25403 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25404 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25405 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25406 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25407 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25408 * NEWS: Mention addition of x86_64 vector sin.
25409
25410 2015-06-11 Florian Weimer <fweimer@redhat.com>
25411
25412 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25413 comment.
25414
25415 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25416
25417 [BZ #18479]
25418 * nptl/pt-interp.c: New file.
25419 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25420 Add pt-interp.
25421 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25422 $(common-objpfx)runtime-linker.h.
25423
25424 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
25425
25426 * Makeconfig (+interp): Remove unused variable.
25427 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25428 only. Depend on $(common-objpfx)runtime-linker.h instead of
25429 $(elf-objpfx)runtime-linker.h.
25430 ($(elf-objpfx)runtime-linker.h): Rename to
25431 $(common-objpfx)runtime-linker.h and move ...
25432 * Makerules [$(build-shared) = yes]: ... here.
25433 * elf/interp.c: Include <runtime-linker.h> instead of
25434 <elf/runtime-linker.h>.
25435
25436 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25437
25438 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25439 (__gettimeofday_syscall): Remove vsyscall fallback.
25440 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25441 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25442 Add syscall fallback function.
25443 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25444 if vDSO is not present.
25445 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25446 fallback function.
25447 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25448 present.
25449 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25450 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25451
25452 2015-06-09 Joseph Myers <joseph@codesourcery.com>
25453
25454 [BZ #18497]
25455 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25456 of wcscmp.
25457 (wcscmp): Define as weak alias of WCSCMP.
25458 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25459 wcscoll.
25460 (USE_HIDDEN_DEF): Define.
25461 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25462 __wcscoll. Don't use libc_hidden_weak.
25463 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25464 wcscmp.
25465 * sysdeps/i386/i686/multiarch/wcscmp-c.c
25466 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25467 __GI_wcscmp.
25468 (weak_alias): Undefine and redefine.
25469 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25470 __wcscmp and define as weak alias of __wcscmp.
25471 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25472 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
25473 (__wcscoll): Likewise.
25474 (wcscmp): Don't use libc_hidden_proto.
25475 (wcscoll): Likewise.
25476 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25477 wcscoll.
25478 * posix/regexec.c (check_node_accept_bytes): Likewise.
25479 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25480 variable.
25481 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25482 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25483
25484 [BZ #18507]
25485 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25486 __fstatvfs and define as weak alias of __fstatvfs. Use
25487 libc_hidden_weak.
25488 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25489 and define as weak alias of __statvfs. Use libc_hidden_weak.
25490 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25491 Define as alias of __fstatvfs, not fstatvfs.
25492 (fstatvfs64): Likewise.
25493 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25494 Define as alias of __statvfs, not statvfs.
25495 (statvfs64): Likewise.
25496 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25497 Remove variable.
25498
25499 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25500
25501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25502 (HAVE_GETCPU_VSYSCALL): Define.
25503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25504 (HAVE_GETCPU_VSYSCALL): Likewise.
25505 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25506 * sysdeps/unix/sysv/linux/sched_getcpu.c
25507 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25508 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25509 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25510 prototype.
25511 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25512 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25513 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25515 Define.
25516 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25517 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25518 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25520
25521 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25522
25523 * sysdeps/x86_64/fpu/Makefile: New file.
25524 * sysdeps/x86_64/fpu/Versions: New file.
25525 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25526 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25527 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25528 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25529 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25530 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25531 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25532 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25533 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25534 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25535 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25536 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25537 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25538 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25539 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25540 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25541 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25542 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25543 * sysdeps/x86_64/configure: Regenerated.
25544 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25545 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25546 * manual/install.texi (Configuring and compiling): Document
25547 --disable-mathvec.
25548 * INSTALL: Regenerated.
25549 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25550
25551 * math/Makefile: Added rules for vector tests.
25552 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25553 declaration under condition.
25554 * math/test-double-vlen2.h: New file.
25555 * math/test-double-vlen4.h: New file.
25556 * math/test-double-vlen8.h: New file.
25557 * math/test-vec-loop.h: Added initialization macro.
25558 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25559 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25560 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25561 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25562 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25563 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25564 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25565 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25566 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25567 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25568 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25569
25570 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25571 * sysdeps/x86_64/fpu/Versions: New versions added.
25572 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25573 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25574 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25575 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25576 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25577 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25578 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25579 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25580 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25581 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25582 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25583 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25584 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25585 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25586 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25587 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25588 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25589 * NEWS: Mention addition of x86_64 vector cosf.
25590
25591 * math/Makefile: Added CFLAGS for new tests.
25592 * math/test-float-vlen16.h: New file.
25593 * math/test-float-vlen4.h: New file.
25594 * math/test-float-vlen8.h: New file.
25595 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25596 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25597 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25598 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25599 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25600 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25601 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25602 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25603 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25604 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25605 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25606
25607 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25608
25609 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25610 * locale/programs/ld-ctype.c: Likewise.
25611
25612 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25613
25614 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25615 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25616 bit_ZMM16_31_state): New macro.
25617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25618 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25619
25620 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25621
25622 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25623
25624 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25625
25626 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25627
25628 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25629
25630 [BZ #18498]
25631 * libio/memstream.c (open_memstream): Rename to __open_memstream
25632 and define as weak alias of __open_memstream.
25633 * include/stdio.h (__open_memstream): Declare. Use
25634 libc_hidden_proto.
25635 (open_memstream): Don't use libc_hidden_proto.
25636 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25637 open_memstream.
25638 * posix/getopt.c (_getopt_internal_r): Likewise.
25639 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25640 variable.
25641 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25642 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25643 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25644
25645 [BZ #18496]
25646 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25647 instead of wcrtomb.
25648
25649 [BZ #18483]
25650 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25651 [__USE_XOPEN2K8]. Remove redundant #endif.
25652 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25653 Remove redundant #if.
25654 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25655 Remove variable.
25656 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25657 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25658
25659 [BZ #18495]
25660 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25661 (__iswlower): Likewise.
25662 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25663 (__iswlower): Likewise.
25664 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25665 instead of towlower.
25666 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25667 instead of iswlower. Call __towupper instead of towupper.
25668 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25669 instead of iswalnum.
25670
25671 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25672
25673 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25674 errors to stderr.
25675
25676 2015-06-05 Florian Weimer <fweimer@redhat.com>
25677
25678 [BZ #15661]
25679 [BZ #17322]
25680 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25681 Check for overflow properly. Check for O_APPEND. Ignore large
25682 file system block sizes. Add comments about problems.
25683 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25684 * manual/filesys.texi (Storage Allocation): New node.
25685
25686 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25687
25688 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25689 cancellable syscalls.
25690 (SYS_ify): Add guard to no redefine it.
25691 (INLINE_SYSCALL): Likewise.
25692 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25693 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25694 SYSCALL_CANCEL instead.
25695 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25696 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25697 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25698 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25699 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25700 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25701 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25702 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25703 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25704 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25705 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25706 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25707 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25708 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25709 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25710 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25711 Likewise.
25712 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25713 (__libc_pread64): Likewise.
25714 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25715 (__libc_preadv): Likewise.
25716 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25717 (__libc_readv64): Likewise.
25718 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25719 (__libc_pwrite): Likewise.
25720 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25721 (__libc_pwrite64): Likewise.
25722 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25723 (__libc_pwritev): Likewise.
25724 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25725 (__libc_pwritev64): Likewise.
25726 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25727 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25728 (sync_file_range): Likewise.
25729 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25730 Likewise.
25731 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25732 Likewise.
25733 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25734 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25735 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25736 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25737 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25738 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25739 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25740 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25742 Likewise.
25743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25744 (__libc_read64): Likewise.
25745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25746 Likewise.
25747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25748 Likewise.
25749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25750 Likewise.
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25752 Likewise.
25753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25754 (__libc_pread64): Likewise.
25755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25756 Likewise.
25757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25758 (__libc_pwrite64): Likewise.
25759 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25760 (sync_file_range): Likewise.
25761 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25762 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25763 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25764 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25765 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25766 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25767 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25768 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25769 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25770 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25771 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25772 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25773 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25774 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25775 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25776 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25777 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25778 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25779 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25780 Likewise.
25781 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25782 Likewise.
25783 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25784 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25785 Likewise.
25786 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25787 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25788 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25789 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25790 Likewise.
25791 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25792 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25793 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25794 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25795 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25796
25797 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
25798
25799 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25800 Include dl-vdso.
25801 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25802 Use VDSO routines for gettimeofday, clock_gettime if
25803 available.
25804 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25805 Declare VDSO symbols.
25806 * sysdeps/unix/sysv/linux/arm/sysdep.h:
25807 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25808 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25809 * sysdeps/unix/sysv/linux/arm/Versions: Add
25810 __vdso_clock_gettime.
25811
25812 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25813
25814 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25815 be an inline implementation regardless of library is built within.
25816 (open_not_cancel_2): Likewise.
25817 (__read_nocancel): Likewise.
25818 (__write_nocancel): Likewise.
25819 (openat_not_cancel): Likewise.
25820 (openat_not_cancel_3): Likewise.
25821 (openat64_not_cancel): Likewise.
25822 (openat64_not_cancel_3): Likewise.
25823 (__close_nocancel): Likewise.
25824 (pause_not_cancel): Likewise.
25825 (nanosleep_not_cancel): Likewise.
25826 (sigsuspend_not_cancel): Likewise.
25827
25828 2015-06-04 Torvald Riegel <triegel@redhat.com>
25829
25830 [BZ #14958]
25831 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25832 wake-up.
25833 (__pthread_rwlock_rdlock_slow): Likewise.
25834 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25835 Likewise.
25836 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25837 Likewise.
25838 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25839 * nptl/tst-rwlock16.c: New file.
25840 * nptl/Makefile (tests): Add new test.
25841
25842 2015-06-04 Torvald Riegel <triegel@redhat.com>
25843
25844 [BZ #18324]
25845 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25846 missing wake-up of readers.
25847 * nptl/tst-rwlock15.c: New file.
25848 * nptl/Makefile (tests): Add new test.
25849
25850 2015-06-03 Roland McGrath <roland@hack.frob.com>
25851
25852 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25853 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25854 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25855 and __nacl_supply_interface_rtld.
25856 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25857 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25858 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25859 Add __nacl_supply_interface_rtld.
25860 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25861
25862 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25863
25864 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25865 isfinite.
25866 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25867 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25868
25869 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25870
25871 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25872 __signbit* with standard C99 macros.
25873 * math/e_exp10l.c: Likewise.
25874 * math/e_exp2l.c: Likewise.
25875 * math/e_scalb.c: Likewise.
25876 * math/e_scalbf.c: Likewise.
25877 * math/e_scalbl.c: Likewise.
25878 * math/s_ldexp.c: Likewise.
25879 * math/s_ldexpf.c: Likewise.
25880 * math/s_ldexpl.c: Likewise.
25881 * math/w_atan2.c: Likewise.
25882 * math/w_atan2f.c: Likewise.
25883 * math/w_atan2l.c: Likewise.
25884 * math/w_cosh.c: Likewise.
25885 * math/w_coshf.c: Likewise.
25886 * math/w_coshl.c: Likewise.
25887 * math/w_exp10.c: Likewise.
25888 * math/w_exp10f.c: Likewise.
25889 * math/w_exp10l.c: Likewise.
25890 * math/w_exp2.c: Likewise.
25891 * math/w_exp2f.c: Likewise.
25892 * math/w_exp2l.c: Likewise.
25893 * math/w_fmod.c: Likewise.
25894 * math/w_fmodf.c: Likewise.
25895 * math/w_fmodl.c: Likewise.
25896 * math/w_hypot.c: Likewise.
25897 * math/w_hypotf.c: Likewise.
25898 * math/w_hypotl.c: Likewise.
25899 * math/w_jnl.c: Likewise.
25900 * math/w_lgamma.c: Likewise.
25901 * math/w_lgamma_r.c: Likewise.
25902 * math/w_lgammaf.c: Likewise.
25903 * math/w_lgammaf_r.c: Likewise.
25904 * math/w_lgammal.c: Likewise.
25905 * math/w_lgammal_r.c: Likewise.
25906 * math/w_pow.c: Likewise.
25907 * math/w_powf.c: Likewise.
25908 * math/w_powl.c: Likewise.
25909 * math/w_remainder.c: Likewise.
25910 * math/w_remainderf.c: Likewise.
25911 * math/w_remainderl.c: Likewise.
25912 * math/w_scalb.c: Likewise.
25913 * math/w_scalbf.c: Likewise.
25914 * math/w_scalbl.c: Likewise.
25915 * math/w_scalbln.c: Likewise.
25916 * math/w_scalblnf.c: Likewise.
25917 * math/w_scalblnl.c: Likewise.
25918 * math/w_sinh.c: Likewise.
25919 * math/w_sinhf.c: Likewise.
25920 * math/w_sinhl.c: Likewise.
25921 * math/w_tgamma.c: Likewise.
25922 * math/w_tgammaf.c: Likewise.
25923 * math/w_tgammal.c: Likewise.
25924 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25926 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25927 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25928 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25930 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25931 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25932 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25933 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25934 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25935 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25936 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25938 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25939 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25941 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25942 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25946 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25950 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25951 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25952 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25953 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25954 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25955 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25956 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25957 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25958 * stdio-common/printf_fp.c: Likewise.
25959 * stdio-common/printf_fphex.c: Likewise.
25960 * stdio-common/printf_size.c: Likewise.
25961
25962 2015-06-03 Joseph Myers <joseph@codesourcery.com>
25963
25964 [BZ #18470]
25965 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25966 strnlen.
25967 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25968 Remove variable.
25969 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25970 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25971 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25972 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25973 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25974 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25975 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25976 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25977 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25978 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25979
25980 [BZ #18468]
25981 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25982 weak alias of __wmemchr. Use libc_hidden_weak.
25983 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
25984 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25985 instead of wmemchr.
25986
25987 2015-06-02 Roland McGrath <roland@hack.frob.com>
25988
25989 [BZ #18383]
25990 * elf/tst-tlsalign-extern.c: New file.
25991 * elf/tst-tlsalign-extern-static.c: New file.
25992 * elf/tst-tlsalign-vars.c: New file.
25993 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25994 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25995 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25996 ($(objpfx)tst-tlsalign-extern-static): Likewise.
25997 (test-xfail-tst-tlsalign-extern-static): New variable.
25998
25999 2015-06-02 Joseph Myers <joseph@codesourcery.com>
26000
26001 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26002 Use variable name _sc_err instead of err.
26003 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26004 instead of ret.
26005 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26006 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26007 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26008 (INLINE_SYSCALL): Likewise.
26009
26010 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26011 * include/string.h (__strnlen): Use libc_hidden_proto.
26012 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26013 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26014 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26015 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26016 (libc_hidden_def): Undefine and redefine.
26017 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26018 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26019 __GI_strnlen.
26020 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26021 libc_hidden_def.
26022 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26023
26024 [BZ #18469]
26025 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26026 weak alias of __towlower. Use libc_hidden_weak.
26027 (towupper): Rename to __towupper and define as weak alias of
26028 __towupper. Use libc_hidden_weak.
26029 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
26030 (__towupper): Likewise.
26031 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26032 __towlower instead of towlower.
26033
26034 2015-06-02 Roland McGrath <roland@hack.frob.com>
26035
26036 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26037 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26038
26039 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26040
26041 * sysdeps/aarch64/libm-test-ulps: Update.
26042
26043 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26044
26045 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26046 Define.
26047 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26049 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26050 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26051 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26052 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26053 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26054
26055 2015-06-01 Martin Sebor <msebor@redhat.com>
26056
26057 [BZ #18116]
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26059 (__setcontext): Use extended four-operand version of mtsf whenever
26060 possible.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26062 (__novec_swapcontext): Likewise.
26063
26064 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26065
26066 * benchtests/scripts/compare_bench.py: New file.
26067 * benchtests/scripts/import_bench.py (mean): New function.
26068 (split_list): Likewise.
26069 (do_for_all_timings): Likewise.
26070 (compress_timings): Likewise.
26071
26072 * benchtests/scripts/import_bench.py: New file.
26073 * benchtests/scripts/validate_benchout.py: Import import_bench
26074 instead of jsonschema.
26075 (validate_bench): Remove function.
26076 (main): Use import_bench.
26077
26078 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
26079
26080 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26081 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26082
26083 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26084
26085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26086
26087 2015-05-28 Roland McGrath <roland@hack.frob.com>
26088
26089 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26090 set THREAD_SELF->tid to a magic value and futex-wake it.
26091 Pass its address to the thread_exit system call.
26092 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26093 bit is clear.
26094 * sysdeps/nacl/lowlevellock.h: New file.
26095 * sysdeps/nacl/lll_timedwait_tid.c: New file.
26096
26097 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26098 Add TIMEOUT to current time, don't subtract it.
26099
26100 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
26101
26102 [BZ #2981]
26103 [BZ #18422]
26104 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26105 ($(objpfx)tst-audit2.out): Also depend on
26106 $(objpfx)tst-auditmod9b.so.
26107 * elf/tst-audit2.c: Include <dlfcn.h>.
26108 (calloc_called): New.
26109 (calloc): Allow to be called more than once.
26110 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26111
26112 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
26113
26114 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26115 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26116
26117 2015-05-27 Marko Myllynen <myllynen@redhat.com>
26118
26119 * stdlib/monetary.h: Fix comment.
26120
26121 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
26122
26123 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26124 Avoid using variables in #defines that might cause shadowing.
26125 (INTERNAL_VSYSCALL_CALL): Likewise.
26126
26127 2015-05-26 Roland McGrath <roland@hack.frob.com>
26128
26129 * sysdeps/nacl/lll_timedlock_wait.c: New file.
26130
26131 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26132 * nptl/lll_timedlock_wait.c: ... to this new file.
26133 * nptl/Makefile (libpthread-routines): Add it.
26134 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26135 * nptl/lll_timedwait_tid.c: ... to this new file.
26136 * nptl/Makefile (libpthread-routines): Add it.
26137 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26138 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26139 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26140 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26141 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26142 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26143 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26144 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26145 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26146 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26147
26148 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26149
26150 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26151 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26152 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26153 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26154 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26155 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26156 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26158 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26159 * sysdeps/unix/sysv/linux/tile/sysdep.h
26160 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26161 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26162 using vDSO syscall macro.
26163
26164 2015-05-26 Andriy Rysin <arysin@gmail.com>
26165
26166 [BZ #17293]
26167 * uk_UA: Fix sorting order for Ukrainian locale
26168
26169 2015-05-26 Marko Myllynen <myllynen@redhat.com>
26170
26171 * stdlib/monetary.h: Fix comment.
26172
26173 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
26174
26175 [BZ #18234]
26176 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26177 st_mtim and st_ctim members.
26178 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26179 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26180 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26181 (struct stat64): Likewise.
26182 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26183 (struct stat64): Likewise.
26184 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26185 (struct stat64): Likewise.
26186
26187 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26188
26189 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26190 Define and include sysdep-vdso.h.
26191 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26192 Likewise.
26193 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26194 Likewise.
26195 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26196 Define with VDSO_SYMBOL and use PTR_MANGLE.
26197 (__vdso_clock_gettime): Likewise.
26198 (__vdso_clock_getres): Likewise.
26199 (_libc_vdso_platform_setup): Likewise.
26200 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26201 Likewise.
26202 (_libc_vdso_platform_setup): Likewise.
26203 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26204 Likewise.
26205 (__vdso_clock_gettime): Likewise.
26206 (__vdso_clock_getres): Likewise.
26207 (__vdso_get_tbfreq): Likewise.
26208 (__vdso_getcpu): Likewise.
26209 (__vdso_time): Likewise.
26210 (__vdso_sigtramp_rt64): Likewise.
26211 (__vdso_signtramp32): Likewise.
26212 (__vdso_sigtramp_rt32): Likewise.
26213 (_libc_vdso_platform_setup): Likewise.
26214 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26215 Likewise.
26216 (__vdso_clock_gettime): Likewise.
26217 (__vdso_clock_getres): Likewise.
26218 (_libc_vdso_platform_setup): Likewise.
26219 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26220 Likewise.
26221 (__vdso_clock_gettime): Likewise.
26222 (_libc_vdso_platform_setup): Likewise.
26223 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26224 Likewise.
26225 (__vdso_getcpu): Likewise.
26226 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26227 Use VDSO_SYMBOL macro to define.
26228 (__vdso_clock_gettime): Likewise.
26229 (__vdso_clock_getres): Likewise.
26230 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26231 Likewise.
26232 (__vdso_clock_gettime): Likewise.
26233 (__vdso_clock_getres): Likewise.
26234 (__vdso_get_tbfreq): Likewise.
26235 (__vdso_getcpu): Likewise.
26236 (__vdso_time): Likewise.
26237 (__vdso_sigtramp_rt64): Likewise.
26238 (__vdso_signtramp32): Likewise.
26239 (__vdso_sigtramp_rt32): Likewise.
26240 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26241 Likewise.
26242 (__vdso_clock_gettime): Likewise.
26243 (__vdso_clock_getres): Likewise.
26244 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26245 Likewise.
26246 (__vdso_clock_gettime): Likewise.
26247 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26248 Likewise.
26249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
26250 macro.
26251 (INTERNAL_VSYSCALL): Likewise.
26252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26253 Remove macro.
26254 (INTERNAL_VSYSCALL): Likewise.
26255 (INTERNAL_VSYSCALL_NCS): Likewise.
26256 (INTERNAL_VSYSCALL_CALL): New macro.
26257 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26259 Likewise.
26260 (INTERNAL_VSYSCALL): Likewise.
26261 (INTERNAL_VSYSCALL_NCS): Likewise.
26262 (INTERNAL_VSYSCALL_CALL): New macro.
26263 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26265 (INLINE_VSYSCALL): Remove macro.
26266 (INTERNAL_VSYSCALL): Remove macro.
26267 (INTERNAL_VSYSCALL_NCS): Remove macro.
26268 (INTERNAL_VSYSCALL_CALL): New macro.
26269 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26270 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26271 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26272 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26273 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26275 (INLINE_VSYSCALL): Remove macro.
26276 (INTERNAL_VSYSCALL): Likewise.
26277 (INTERNAL_VSYSCALL_NCS): Likewise.
26278 (INTERNAL_VSYSCALL_CALL): New macro.
26279 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26280 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26281 PTR_DEMANGLE on vDSO pointer.
26282 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26283 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26284 macro.
26285 (INTERNAL_SYSCALL): Likewise.
26286 (INTERNAL_VSYSCALL_NCS): Remove macro.
26287 (INTERNAL_VSYSCALL_CALL): New macro.
26288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26289 Remove macro.
26290 (INTERNAL_VSYSCALL): Likewise.
26291 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26292 sysdep-vdso.h instead of libc-vdso.h.
26293 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26294 definition.
26295 (INLINE_VSYSCALL): Likewise.
26296 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26297 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26298 definition.
26299 (INLINE_VSYSCALL): Likewise.
26300 (INTERNAL_VSYSCALL): Likewise.
26301 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26302 * sysdeps/unix/sysv/linux/timespec_get.c
26303 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26304 (timespec_get): Use ANSI prototype.
26305 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26306 and definition for Linux.
26307
26308 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
26309
26310 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26311 * include/libc-symbols.h: libmvec_hidden_* macro series added.
26312
26313 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
26314
26315 [BZ #2981]
26316 [BZ #18410]
26317 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26318 for missing DT_PLTRELSZ.
26319
26320 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
26321
26322 Remove obsolete aliases that broke 'locale -a'
26323 [BZ #18412]
26324 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26325 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26326 breaking some applications that use 'locale -a' output.
26327 Change the encoding of this file from Latin-1 to ASCII to avoid
26328 other potential problems with people grepping this file.
26329
26330 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26331
26332 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26333 -fasynchronous-unwind-tables.
26334 (CFLAGS-sendto.c): Likewise.
26335 (CFLAGS-sendmsg.c): Likewise.
26336 (CFLAGS-connect.c): Likewise.
26337 (CFLAGS-recvmsg.c): Likewise.
26338 (CFLAGS-recvfrom.c): Likewise.
26339 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26340 (SOCKETCALL): New macro: non-cancellable socketcall.
26341 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26342 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26343 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26344 * sysdeps/unix/sysv/linux/accept.c: New file.
26345 * sysdeps/unix/sysv/linux/bind.c: Likewise.
26346 * sysdeps/unix/sysv/linux/connect.c: Likewise.
26347 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26348 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26349 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26350 * sysdeps/unix/sysv/linux/listen.c: Likewise.
26351 * sysdeps/unix/sysv/linux/recv.c: Likewise.
26352 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26353 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26354 * sysdeps/unix/sysv/linux/send.c: Likewise.
26355 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26356 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26357 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26358 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26359 * sysdeps/unix/sysv/linux/socket.c: Likewise.
26360 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26361 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26362 prototype.
26363 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26364 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26365 instead of __internal_xxx function.
26366 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26367 prototype.
26368 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26369 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26370 instead of __internal_xxx function.
26371 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26372 prototype.
26373 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26374 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26375 instead of __internal_xxx function.
26376 * sysdeps/unix/sysv/linux/accept.S: Remove file.
26377 * sysdeps/unix/sysv/linux/bind.S: Likewise.
26378 * sysdeps/unix/sysv/linux/connect.S: Likewise.
26379 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26380 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26381 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26382 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26383 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26384 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26385 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26386 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26387 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26388 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26389 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26390 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26391 * sysdeps/unix/sysv/linux/listen.S: Likewise.
26392 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26393 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26394 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26395 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26398 * sysdeps/unix/sysv/linux/recv.S: Likewise.
26399 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26400 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26401 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26402 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26403 * sysdeps/unix/sysv/linux/send.S: Likewise.
26404 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26405 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26406 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26407 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26408 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26409 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26410 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26411 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26412 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26413 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26414 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26415 socketcall is implemented in GLIBC.
26416
26417 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26418
26419 * soft-fp/fmadf4.c: Include <libc-internal.h>.
26420 (__fma): Ignore uninitialized warnings around packing.
26421 * soft-fp/fmasf4.c: Include <libc-internal.h>.
26422 (__fmaf): Ignore uninitialized warnings around packing.
26423 * soft-fp/fmatf4.c: Include <libc-internal.h>.
26424 (__fmal): Ignore uninitialized warnings around packing.
26425
26426 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26427 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26428 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26429 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26430
26431 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26432 switch statement into default case.
26433 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26434
26435 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26436 a conditional in forcing "inexact".
26437 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26438 Likewise.
26439
26440 2015-05-22 Roland McGrath <roland@hack.frob.com>
26441
26442 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26443 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26444 for each INTERNAL_SYSCALL use.
26445
26446 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26447
26448 [BZ #438]
26449 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26450 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26451 variable.
26452
26453 [BZ #18444]
26454 * string/basename.c (basename): Rename to __basename and define as
26455 weak alias of __basename. Use libc_hidden_weak.
26456 * include/string.h (__basename): Declare. Use libc_hidden_proto.
26457 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26458 __basename instead of basename.
26459 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26460 Remove variable.
26461 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26462
26463 2015-05-18 Florian Weimer <fweimer@redhat.com>
26464
26465 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26466 (_IO_JUMPS_FILE_plus): New.
26467 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26468 _IO_CAST_FIELD_ACCESS.
26469 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26470 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26471 * libio/freopen.c (freopen): Likewise.
26472 * libio/freopen64.c (freopen64): Likewise.
26473 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26474 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26475 * libio/iofwide.c (_IO_fwide): Likewise.
26476 * libio/memstream.c (open_memstream): Likewise.
26477 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26478 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26479 * libio/oldiopopen.c (_IO_old_popen): Likewise.
26480
26481 2015-05-21 Joseph Myers <joseph@codesourcery.com>
26482
26483 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26484 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26485 NADJ.
26486 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26487 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26488 NADJ.
26489 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26490 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26491 NADJ.
26492
26493 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26494 (p == 4) case.
26495
26496 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26497 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26498 Remove variable.
26499 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26500 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26501 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26502
26503 2015-05-21 Florian Weimer <fweimer@redhat.com>
26504
26505 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26506 Adjust jump table label generation macros.
26507
26508 2015-05-21 Florian Weimer <fweimer@redhat.com>
26509
26510 * stdio-common/vfprintf.c (vfprintf): Move local variables
26511 args_malloced, specs, specs_malloced, and the code after
26512 do_positional to the printf_positional function.
26513 (printf_positional): New function.
26514
26515 2015-05-21 Florian Weimer <fweimer@redhat.com>
26516
26517 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26518 function.
26519 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26520 STEP4_TABLE, process_arg): Move macro definitions
26521 out of the vfprintf function. (Cosmetic change only.)
26522
26523 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26524
26525 * benchtests/Makefile (stdio-common-bench): Define.
26526 (benchset): Add stdio-common-bench.
26527 * sprintf-inputs: New file.
26528 * sprintf-source.c: New file.
26529
26530 2015-05-21 Andreas Schwab <schwab@suse.de>
26531
26532 [BZ #13028]
26533 [BZ #17053]
26534 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26535 of struct __res_state.
26536 * resolv/res_send.c (__libc_res_nsend): Likewise.
26537 (get_nsaddr): New function.
26538 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26539 statp directly.
26540
26541 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26542
26543 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26544 -D_POSIX_C_SOURCE=199506L.
26545
26546 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26547
26548 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26549 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26550 Do not mention otherwise.
26551 [POSIX] (_XOPEN_VERSION): Do not expect.
26552 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26553 [POSIX] (_POSIX2_C_BIND): Likewise.
26554 [POSIX] (_POSIX2_VERSION): Likewise.
26555 [POSIX] (_XOPEN_XPG2): Likewise.
26556 [POSIX] (_XOPEN_XPG3): Likewise.
26557 [POSIX] (_XOPEN_XPG4): Likewise.
26558 [POSIX] (_XOPEN_UNIX): Likewise.
26559 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26560 [POSIX] (_POSIX_BARRIERS): Likewise.
26561 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26562 [POSIX] (_POSIX_CPUTIME): Likewise.
26563 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26564 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26565 [POSIX] (_POSIX_SHELL): Likewise.
26566 [POSIX] (_POSIX_SPAWN): Likewise.
26567 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26568 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26569 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26570 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26571 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26572 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26573 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26574 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26575 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26576 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26577 [POSIX] (_POSIX2_PBS): Likewise.
26578 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26579 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26580 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26581 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26582 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26583 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26584 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26585 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26586 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26587 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26588 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26589 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26590 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26591 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26592 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26593 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26594 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26595 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26596 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26597 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26598 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26599 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26600 [POSIX] (_SC_2_C_BIND): Likewise.
26601 [POSIX] (_SC_2_C_VERSION): Likewise.
26602 [POSIX] (_SC_2_PBS): Likewise.
26603 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26604 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26605 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26606 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26607 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26608 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26609 [POSIX] (_SC_BARRIERS): Likewise.
26610 [POSIX] (_SC_BASE): Likewise.
26611 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26612 [POSIX] (_SC_DEVICE_IO): Likewise.
26613 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26614 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26615 [POSIX] (_SC_FD_MGMT): Likewise.
26616 [POSIX] (_SC_FIFO): Likewise.
26617 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26618 [POSIX] (_SC_FILE_LOCKING): Likewise.
26619 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26620 [POSIX] (_SC_IOV_MAX): Likewise.
26621 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26622 [POSIX] (_SC_NETWORKING): Likewise.
26623 [POSIX] (_SC_PAGE_SIZE): Likewise.
26624 [POSIX] (_SC_PASS_MAX): Likewise.
26625 [POSIX] (_SC_PIPE): Likewise.
26626 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26627 [POSIX] (_SC_REGEXP): Likewise.
26628 [POSIX] (_SC_SHELL): Likewise.
26629 [POSIX] (_SC_SIGNALS): Likewise.
26630 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26631 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26632 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26633 [POSIX] (_SC_USER_GROUPS): Likewise.
26634 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26635 [POSIX] (_SC_STREAMS): Likewise.
26636 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26637 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26638 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26639 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26640 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26641 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26642 [POSIX] (_PC_FILESIZEBITS): Likewise.
26643 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26644 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26645 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26646 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26647 [POSIX] (uid_t): Likewise.
26648 [POSIX] (gid_t): Likewise.
26649 [POSIX] (off_t): Likewise.
26650 [POSIX] (pid_t): Likewise.
26651 [POSIX] (cuserid): Allow.
26652 (_SC_2_CHAR_TERM): Require constant.
26653 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26654 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26655 variable.
26656
26657 2015-05-20 Roland McGrath <roland@hack.frob.com>
26658
26659 * sysdeps/nacl/pthread-pids.h: New file.
26660 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26661 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26662
26663 * nptl/pthread-pids.h: New file.
26664 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26665 * nptl/nptl-init.c: Include <pthread-pids.h>.
26666 (__pthread_initialize_minimal_internal):
26667 Call __pthread_initialize_pids instead of set_tid_address syscall.
26668
26669 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26670 * sysdeps/posix/usleep.c: ... here.
26671
26672 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26673
26674 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26675 call_pselect6 object.
26676 [$(subdir) = io]: Remove call_sync_file_range object.
26677 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26678 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26679 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26680 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26681
26682 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26683
26684 * math/s_cproj.c: Add include "math_private.h".
26685 * math/s_cprojf.c: Likewise.
26686 * math/s_cprojl.c: Likewise.
26687
26688 2015-05-19 Joseph Myers <joseph@codesourcery.com>
26689
26690 [BZ #18244]
26691 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26692 high mantissa bit when testing whether P is a NaN.
26693 * math/libm-test.inc (remainder_test_data): Add more tests.
26694 (remquo_test_data): Likewise.
26695
26696 [BZ #18049]
26697 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26698 below -32, return the argument, with underflow if subnormal.
26699 * math/auto-libm-test-in: Add more tests of atanh.
26700 * math/auto-libm-test-out: Regenerated.
26701
26702 2015-05-19 Roland McGrath <roland@hack.frob.com>
26703
26704 [BZ #18434]
26705 * nptl/tst-sem15.c: New file.
26706 * nptl/Makefile (tests): Add it.
26707 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26708 s/<</>>/ to fix typo in EOVERFLOW check.
26709 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26710
26711 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26712
26713 * manual/strings.texi (envz_remove): Fix typo in safety
26714 annotations.
26715
26716 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
26717 Steve Ellcey <sellcey@imgtec.com>
26718
26719 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26720 in order to avoid strict alias warnings.
26721 (iruserok_af): Ditto for ra.
26722
26723 2015-05-19 James Lemke <jwlemke@codesourcery.com>
26724
26725 [BZ #17581]
26726 * malloc/hooks.c
26727 (magicbyte): Convert to a function and avoid returning 0x01.
26728 (mem2mem_check): Avoid using a length byte equal to the magic byte.
26729 (mem2chunk_check): Fix unsigned comparisons to zero.
26730 Hoist defs of sz and magic.
26731
26732 2015-05-19 Richard Henderson <rth@redhat.com>
26733
26734 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26735
26736 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26737
26738 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26739
26740 [BZ #16159]
26741 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26742 * malloc/arena.c (arena_lock): Check if arena is corrupt.
26743 (reused_arena): Find a non-corrupt arena.
26744 (heap_trim): Pass arena to unlink.
26745 * malloc/hooks.c (malloc_check_get_size): Pass arena to
26746 malloc_printerr.
26747 (top_check): Likewise.
26748 (free_check): Likewise.
26749 (realloc_check): Likewise.
26750 * malloc/malloc.c (malloc_printerr): Add arena argument.
26751 (unlink): Likewise.
26752 (munmap_chunk): Adjust.
26753 (ARENA_CORRUPTION_BIT): New macro.
26754 (arena_is_corrupt): Likewise.
26755 (set_arena_corrupt): Likewise.
26756 (sysmalloc): Use mmap if there are no usable arenas.
26757 (_int_malloc): Likewise.
26758 (__libc_malloc): Don't fail if arena_get returns NULL.
26759 (_mid_memalign): Likewise.
26760 (__libc_calloc): Likewise.
26761 (__libc_realloc): Adjust for additional argument to
26762 malloc_printerr.
26763 (_int_free): Likewise.
26764 (malloc_consolidate): Likewise.
26765 (_int_realloc): Likewise.
26766 (_int_memalign): Don't touch corrupt arenas.
26767 * malloc/tst-malloc-backtrace.c: New test case.
26768
26769 * Makefile (summarize-tests): Fix return value on success.
26770
26771 * manual/string.texi (Envz Functions): Add envz_remove.
26772
26773 2015-05-18 Roland McGrath <roland@hack.frob.com>
26774
26775 * sysdeps/posix/opendir.c: Include <stdbool.h>.
26776 (invalid_name): New function, broken out of ...
26777 (__opendirat): ... here. Call it.
26778 (need_isdir_precheck): New function, broken out of ...
26779 (__opendirat): ... here. Call it.
26780 Use __fxstatat64, not __xstatat64.
26781 (opendir_oflags): New function, broken out of ...
26782 (__opendirat): ... here. Call it.
26783 (opendir_tail): New function, broken out of ...
26784 (__opendirat): ... here. Call it.
26785 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26786 opendir_tail, rather than punting to __opendirat.
26787 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26788
26789 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26790
26791 * .gitignore: Ignore generated *.pyc.
26792
26793 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
26794
26795 * include/stdio.h: Define __need_wint_t.
26796 * test-skeleton.c: Avoid `for' loop initial declaration.
26797 * nptl/tst-initializers1.c: Use test-skeleton.c.
26798
26799 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26800
26801 [BZ #18418]
26802 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26803
26804 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26805
26806 [BZ #16352]
26807 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26808 (__ieee754_atanh): Force underflow exception for results with
26809 small absolute value.
26810 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26811 (__ieee754_atanhf): Force underflow exception for results with
26812 small absolute value.
26813 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26814 (__ieee754_atanh): Force underflow exception for results with
26815 small absolute value.
26816 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26817 (__ieee754_atanhf): Force underflow exception for results with
26818 small absolute value.
26819 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26820 (__ieee754_atanhl): Force underflow exception for results with
26821 small absolute value.
26822 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26823 (__ieee754_atanhl): Force underflow exception for results with
26824 small absolute value.
26825 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26826 (__ieee754_atanhl): Force underflow exception for results with
26827 small absolute value.
26828 * math/auto-libm-test-in: Do not allow missing underflow
26829 exceptions from atanh.
26830 * math/auto-libm-test-out: Regenerated.
26831
26832 [BZ #18221]
26833 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26834 2**-28 as threshold for returning x or +/- 1/x.
26835 * math/auto-libm-test-in: Add more tests of tan.
26836 * math/auto-libm-test-out: Regenerated.
26837
26838 [BZ #18220]
26839 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26840 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26841 * math/auto-libm-test-in: Add another test of lgamma.
26842 * math/auto-libm-test-out: Regenerated.
26843
26844 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
26845
26846 * stdio-common/printf_fp.c (___printf_fp): Use abs.
26847 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
26848 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26849 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26850 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
26851 (ADD2A): Use fabs. (SUB2A): Use fabs.
26852 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26853 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26855 (log1): Use fabs. (my_log2): Use fabs.
26856 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26857 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26859 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26860 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26861 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
26862 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
26863 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
26864 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
26865 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26866 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26867
26868 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26869
26870 [BZ #18217]
26871 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26872 as threshold for returning 1 - x.
26873 * math/auto-libm-test-in: Add more tests of erfc.
26874 * math/auto-libm-test-out: Regenerated.
26875
26876 2015-05-14 Joseph Myers <joseph@codesourcery.com>
26877
26878 [BZ #18196]
26879 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26880 threshold for large arguments.
26881 * math/auto-libm-test-in: Add another test of atan.
26882 * math/auto-libm-test-out: Regenerated.
26883
26884 [BZ #16339]
26885 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26886 (__log1p): Force underflow exception for results with small
26887 absolute value.
26888 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26889 (__log1pf): Force underflow exception for results with small
26890 absolute value.
26891 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26892 (__log1p): Force underflow exception for results with small
26893 absolute value.
26894 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26895 (__log1pf): Force underflow exception for results with small
26896 absolute value.
26897 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26898 (__log1pl): Force underflow exception for results with small
26899 absolute value.
26900 * math/auto-libm-test-in: Do not allow missing underflow
26901 exceptions from log1p.
26902 * math/auto-libm-test-out: Regenerated.
26903
26904 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
26905 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26906
26907 [BZ #16704]
26908 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26909
26910 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
26911
26912 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26913 (libmvec): New variable.
26914 * configure.ac: Added option for mathvec build.
26915 * configure: Regenerated.
26916 * mathvec/Depend: New file.
26917 * mathvec/Makefile: New file.
26918 * shlib-versions: Added libmvec.
26919 * math/Makefile: Added rule for libm.so installation.
26920
26921 * bits/math-vector.h: New file.
26922 * bits/libm-simd-decl-stubs.h: New header.
26923 * math/Makefile (headers): Added new header
26924 libm-simd-decl-stubs.h.
26925 * math/math.h (__MATHCALL_VEC): New macro.
26926
26927 * math/gen-libm-have-vector-test.sh: Script generates series of macros
26928 for conditions in testing functions.
26929 * math/Makefile: Added call of libm-have-vector-test.sh.
26930 * math/libm-test.inc (HAVE_VECTOR): New macros.
26931
26932 * math/libm-test.inc: START refactored.
26933 * math/test-double.c (TEST_MATHVEC): Add define.
26934 * math/test-float.c: Likewise.
26935 * math/test-idouble.c: Likewise.
26936 * math/test-ifloat.c: Likewise.
26937 * math/test-ildoubl.c: Likewise.
26938 * math/test-ldouble.c: Likewise.
26939 * sysdeps/generic/math-tests-arch.h
26940 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26941 architecture check.
26942
26943 * math/test-double.c (FUNC_TEST): New macro.
26944 * math/test-float.c: Likewise.
26945 * math/test-idouble.c: Likewise.
26946 * math/test-ifloat.c: Likewise.
26947 * math/test-ildoubl.c: Likewise.
26948 * math/test-ldouble.c: Likewise.
26949 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26950
26951 2015-05-13 Roland McGrath <roland@hack.frob.com>
26952
26953 * sysdeps/nacl/fdopendir.c: New file.
26954
26955 * dirent/scandir-tail.c: New file.
26956 * dirent/scandir64-tail.c: New file.
26957 * dirent/Makefile (routines): Add them.
26958 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26959 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26960 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26961 [!SCANDIR] (SCANDIR_TAIL): New macro.
26962 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26963 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26964 (SCANDIRAT): Macro removed.
26965 (SCANDIR_TAIL): New macro.
26966 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26967 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26968 (SCANDIRAT): Just call __opendirat and __scandir_tail.
26969 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26970 (READDIR): Macro removed.
26971 (SCANDIR_TAIL): New macro.
26972 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26973 (SCANDIR_TAIL): New macro.
26974
26975 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26976 * dirent/scandir-cancel.c: ... to this new file.
26977 * dirent/Makefile (routines): Add it.
26978 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26979 * sysdeps/unix/sysv/linux/i386/scandir64.c
26980 (SKIP_SCANDIR_CANCEL): Macro removed.
26981 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26982
26983 * dirent/tst-scandir.c: New file.
26984 * dirent/tst-scandir64.c: New file.
26985 * dirent/Makefile (tests): Add them.
26986
26987 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
26988
26989 [BZ #18409]
26990 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26991
26992 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26993
26994 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26995 list.
26996
26997 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
26998
26999 * benchtests/bench-strcoll.c: New benchmark.
27000 * benchtests/Makefile: Generate locales and run benchmark.
27001 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27002 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27003 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27004 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27005 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27006 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27007 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27008 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27009 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27010 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27011 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27012 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27013 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27014 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27015 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27016 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27017 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27018 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27019 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27020 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27021 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27022 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27023 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27024 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27025
27026 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
27027
27028 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27029 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27030
27031 2015-05-12 Roland McGrath <roland@hack.frob.com>
27032
27033 * posix/uname-values.h: New file.
27034 * posix/uname.c: Include that instead of <config-name.h>.
27035 * sysdeps/nacl/uname-values.h: New file.
27036 * sysdeps/arm/nacl/uname-values.h: New file.
27037
27038 2015-05-12 Joseph Myers <joseph@codesourcery.com>
27039
27040 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27041 splitting into fields.
27042
27043 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
27044
27045 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27046 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27047 * locale/localeinfo.h: Add enum collation_encoding_type.
27048 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27049 * programs/ld-collate.c (collate_output): Add encoding type info.
27050 * string/strcoll_l.c (STRDIFF): New function.
27051 * (STRCOLL): Use STRDIFF to skip over equal prefix.
27052 * wcsmbs/wcscoll_l.c: Define STRDIFF.
27053
27054 2015-05-11 Joseph Myers <joseph@codesourcery.com>
27055
27056 [BZ #18397]
27057 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27058 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
27059 <fpu_control.h> instead of <math/fpu_control.c>.
27060 * sysdeps/mips/mips32/fpu/Makefile: New file.
27061
27062 2015-05-11 Andreas Schwab <schwab@suse.de>
27063
27064 [BZ #18007]
27065 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27066 nss_endgrent.
27067 (_nss_compat_endgrent): Call nss_endgrent.
27068 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27069 nss_endpwent.
27070 (_nss_compat_endpwent): Call nss_endpwent.
27071 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27072 needent, call nss_setspent only if non-zero.
27073 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27074 (internal_endspent): Don't call nss_endspent.
27075 (_nss_compat_endspent): Call nss_endspent.
27076 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27077 Remove. All uses removed.
27078 (internal_setent): Remove parameter stayopen, add parameter
27079 stream. Use it instead of global variable.
27080 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27081 (internal_endent, internal_getent): Add parameter stream. Use it
27082 instead of global variable.
27083 (CONCAT(_nss_files_end,ENTNAME))
27084 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27085 (_nss_files_get##name##_r): Pass local stream. Remove locking.
27086 * nss/nss_files/files-alias.c (position, last_use): Remove. All
27087 uses removed.
27088 (internal_setent, internal_endent): Add parameter stream. Use it
27089 instead of global variable.
27090 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27091 stream.
27092 (get_next_alias): Add parameter stream.
27093 (_nss_files_getaliasent_r): Pass global stream.
27094 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
27095 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27096 (_nss_files_gethostbyname4_r): Pass local stream to
27097 internal_setent, internal_getent and internal_endent. Remove
27098 locking.
27099
27100 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27101
27102 * tst-strfmon1.c (tests): Update expected currency symbol.
27103
27104 2015-05-08 Roland McGrath <roland@hack.frob.com>
27105
27106 * sysdeps/nacl/gethostname.c: New file.
27107
27108 2015-05-08 Joseph Myers <joseph@codesourcery.com>
27109
27110 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27111 and sinh.
27112 * math/auto-libm-test-out: Regenerated.
27113 * sysdeps/i386/fpu/libm-test-ulps: Update.
27114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27115
27116 2015-05-08 Carlos O'Donell <carlos@redhat.com>
27117
27118 [BZ #18125]
27119 * stdlib/tst-setcontext3.c: New file.
27120 * stdlib/tst-setcontext3.sh: New file.
27121 * stdlib/Makefile (tests): Add tst-setcontext3.
27122 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27123 to verify test program created output file.
27124 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27125 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27126 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27127 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27128
27129 2015-05-06 Roland McGrath <roland@hack.frob.com>
27130
27131 [BZ #18383]
27132 * elf/tst-tlsalign.c: New file.
27133 * elf/tst-tlsalign-static.c: New file.
27134 * elf/tst-tlsalign-lib.c: New file.
27135 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27136 (tests-static): Add tst-tlsalign-static.
27137 (modules-names): Add tst-tlsalign-lib.
27138 (test-xfail-tst-tlsalign): New variable.
27139 (test-xfail-tst-tlsalign-static): New variable.
27140
27141 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27142 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27143
27144 2015-05-06 Joseph Myers <joseph@codesourcery.com>
27145
27146 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27147 csqrt, erfc, sin and sincos.
27148 * math/auto-libm-test-out: Regenerated.
27149 * sysdeps/i386/fpu/libm-test-ulps: Update.
27150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27151
27152 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
27153
27154 * sysdeps/aarch64/libm-test-ulps: Update.
27155
27156 2015-05-05 Joseph Myers <joseph@codesourcery.com>
27157
27158 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27159 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27160 * math/auto-libm-test-out: Regenerated.
27161 * sysdeps/i386/fpu/libm-test-ulps: Update.
27162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27163
27164 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
27165
27166 [BZ #18265]
27167 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27168 (wcsncpy): Likewise.
27169
27170 2015-05-05 Florian Weimer <fweimer@redhat.com>
27171
27172 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27173 Assume __ASSUME_FALLOCATE is always true.
27174 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27175 (__posix_fallocate64_l64): Likewise.
27176 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27177 (posix_fallocate): Likewise.
27178 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27179 (__posix_fallocate64_l64): Likewise.
27180 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27181 [!__ASSUME_FALLOCATE]: Add comment.
27182
27183 2015-05-05 Florian Weimer <fweimer@redhat.com>
27184
27185 * sysdeps/unix/sysv/linux/i386/Makefile
27186 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27187 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27188 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27189 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27190 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27191 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27192 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27193
27194 2015-05-02 Joseph Myers <joseph@codesourcery.com>
27195
27196 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27197 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27198 tgamma.
27199 * math/auto-libm-test-out: Regenerated.
27200 * sysdeps/i386/fpu/libm-test-ulps: Update.
27201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27202
27203 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27204
27205 * math/auto-libm-test-in: Add more tests of tgamma.
27206 * math/auto-libm-test-out: Regenerated.
27207 * sysdeps/i386/fpu/libm-test-ulps: Update.
27208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27209
27210 * math/auto-libm-test-in: Add more tests of tanh.
27211 * math/auto-libm-test-out: Regenerated.
27212 * sysdeps/i386/fpu/libm-test-ulps: Update.
27213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27214
27215 * math/auto-libm-test-in: Add more tests of tan.
27216 * math/auto-libm-test-out: Regenerated.
27217 * sysdeps/i386/fpu/libm-test-ulps: Update.
27218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27219
27220 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27221 * math/auto-libm-test-out: Regenerated.
27222 * sysdeps/i386/fpu/libm-test-ulps: Update.
27223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27224
27225 * math/auto-libm-test-in: Add another test of pow.
27226 * math/auto-libm-test-out: Regenerated.
27227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27228
27229 * math/auto-libm-test-in: Add more tests of lgamma.
27230 * math/auto-libm-test-out: Regenerated.
27231 * sysdeps/i386/fpu/libm-test-ulps: Update.
27232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27233
27234 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27235 log1p.
27236 * math/auto-libm-test-out: Regenerated.
27237 * sysdeps/i386/fpu/libm-test-ulps: Update.
27238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27239
27240 2015-05-01 Mark Wielaard <mjw@redhat.com>
27241
27242 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27243 Elf64_Chdr structs and ELFCOMPRESS constants.
27244
27245 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27246
27247 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27248 expm1.
27249 * math/auto-libm-test-out: Regenerated.
27250 * sysdeps/i386/fpu/libm-test-ulps: Update.
27251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27252
27253 * math/auto-libm-test-in: Add more tests of erf and erfc.
27254 * math/auto-libm-test-out: Regenerated.
27255 * sysdeps/i386/fpu/libm-test-ulps: Update.
27256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27257
27258 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
27259
27260 * config.h.in (HAVE_AARCH64_BE): Add.
27261
27262 2015-04-30 Joseph Myers <joseph@codesourcery.com>
27263
27264 * math/auto-libm-test-in: Add more tests of csqrt.
27265 * math/auto-libm-test-out: Regenerated.
27266 * sysdeps/i386/fpu/libm-test-ulps: Update.
27267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27268
27269 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27270 * math/auto-libm-test-out: Regenerated.
27271 * sysdeps/i386/fpu/libm-test-ulps: Update.
27272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27273
27274 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27275
27276 2015-04-29 Roland McGrath <roland@hack.frob.com>
27277
27278 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27279 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27280
27281 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27282 (euidaccess, eaccess): Define as weak aliases.
27283
27284 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27285 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
27286 but __suseconds_t is often 'long int' so some sources assume that
27287 type is being used (e.g. they use %ld to print tv_usec).
27288
27289 2015-04-29 Florian Weimer <fweimer@redhat.com>
27290
27291 [BZ #18007]
27292 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27293 (CVE-2014-8121)
27294 * nss/tst-nss-getpwent.c: New file.
27295 * nss/Makefile (tests): Add new test.
27296
27297 2015-04-28 Joseph Myers <joseph@codesourcery.com>
27298
27299 [BZ #18346]
27300 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27301 exponents less than 48 as cases where high part of mantissa needs
27302 examining to determine whether argument is integral.
27303 * math/libm-test.inc (round_test_data): Add more tests.
27304
27305 2015-04-28 Mark Wielaard <mjw@redhat.com>
27306
27307 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27308
27309 2015-04-27 David S. Miller <davem@davemloft.net>
27310
27311 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27312 __tls_get_addr.
27313 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27314
27315 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
27316
27317 [BZ#18333]
27318 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27319
27320 2015-04-27 Florian Weimer <fweimer@redhat.com>
27321
27322 [BZ#18333]
27323 * time/tzset.c (parse_tzname): Return error on memory allocation
27324 failure.
27325 * test-skeleton.c (struct temp_name_list): Change type of name
27326 member to non-const.
27327 (add_temp_file): Create a copy of the file name.
27328 (delete_temp_files): Deallocate memory.
27329 (create_temp_file): Add comment.
27330
27331 2015-04-24 Florian Weimer <fweimer@redhat.com>
27332
27333 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27334 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27335
27336 2015-04-24 Roland McGrath <roland@hack.frob.com>
27337
27338 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27339 * sysdeps/arm/configure: Regenerated.
27340
27341 2015-04-24 Florian Weimer <fweimer@redhat.com>
27342
27343 [BZ #17715]
27344 * time/tzfile.c (__tzfile_read): Check for large values of
27345 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
27346 * time/tzset.c (__tzstring_len): New function, based on the old
27347 __tzstring function.
27348 (__tzstring): Call __tzstring_len.
27349 (parse_tzname): New helper function extracted from
27350 __tzset_parse_tz. Call __tzstring_len, without making a copy of
27351 the input string.
27352 (parse_offset): New helper function extracted from
27353 __tzset_parse_tz. Replace switch with fallthrough with
27354 initialization before sscanf.
27355 (parse_rule): Likewise.
27356 (__tzset_parse_tz): Rewrite using the new helper functions. Use
27357 new-style function definition.
27358 * timezone/Makefile (tests): Add tst-tzset.
27359 (tst-tzset.out): Dependencies on time zone files.
27360 (tst-tzset-ENV): Set TZDIR.
27361 (testdata/XT%): Copy crafted time zone files.
27362 * timezone/README: Mention crafted time zone files.
27363 * timezone/testdata/XT1, timezone/testdata/XT2,
27364 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27365 files.
27366 * timezone/tst-tzset.c: New test.
27367
27368 2015-04-24 Florian Weimer <fweimer@redhat.com>
27369
27370 * Makeconfig (+gccwarn): Remove -Winline.
27371
27372 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27373
27374 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27375
27376 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27377
27378 * NEWS: Mention sysconf() cache information support for s390.
27379 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27380
27381 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
27382
27383 * math/k_casinh.c (__kernel_casinh): Use __copysign.
27384 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27385 (__nearbyint): Likewise.
27386 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27387 (copysignl): Likewise.
27388
27389 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
27390
27391 [BZ #18287]
27392 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27393 based on padding. (CVE-2015-1781)
27394
27395 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27396
27397 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27398 libc-vdso.h.
27399 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27400 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27401 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27402 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27403 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27404 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27405 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27406 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27407 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27408 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27409 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27410 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27411 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27412 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27413 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27414 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27415 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27416 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27417 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27418 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27419 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27420 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27421 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27422
27423 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
27424
27425 * stdlib/setenv.c (__add_to_environ):
27426 Dump core quickly if setenv (..., NULL, ...) is called.
27427 This time, do it the right way, and pacify GCC with a pragma.
27428
27429 2015-04-17 Roland McGrath <roland@hack.frob.com>
27430
27431 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27432 IMAP->l_prev cannot be null, and #if out the code for the contrary
27433 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27434 believe that NS (&_dl_ns[NSID]) could point outside the array.
27435
27436 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27437 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27438 before using NSID as an index.
27439
27440 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
27441
27442 [BZ #17825]
27443 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27444 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27445 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27446
27447 2015-04-17 Roland McGrath <roland@hack.frob.com>
27448
27449 Add preliminary port to Google Native Client on ARM.
27450 * abi-tags (.*-.*-nacl.*): New entry.
27451 * sysdeps/arm/nacl: New directory.
27452 * sysdeps/nacl: New directory.
27453
27454 2015-04-16 David S. Miller <davem@davemloft.net>
27455
27456 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27457 lowlevellock-futex.h
27458
27459 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
27460
27461 * sysdeps/tile/configure.ac: New file.
27462 * sysdeps/tile/configure: Regenerated.
27463
27464 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27465
27466 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
27467 conditionals for weak_alias and libc_hidden_weak.
27468 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27469 libc_hidden_weak and weak_alias.
27470 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27471 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27472 and weak_alias for static one.
27473
27474 2015-04-15 David S. Miller <davem@davemloft.net>
27475
27476 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27477
27478 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27479
27480 [BZ #18206]
27481 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27482 Use signed comparision instead of substraction to avoid
27483 overflow bug.
27484 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27485 Take the sign of ret.
27486 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27487 Do not expect precise return values. Only the sign matters.
27488 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27489 * wcsmbs/test-wcsncmp.c: New File.
27490 * string/test-strncmp.c: Add wcsncmp support.
27491
27492 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27493
27494 [BZ #6792]
27495 * math/w_log1p.c: New file.
27496 * math/w_log1pf.c: Likewise.
27497 * math/w_log1pl.c: Likewise.
27498 * math/Makefile (libm-calls): Add w_log1p.
27499 * math/s_log1pl.c (log1pl): Remove weak_alias.
27500 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27501 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27502 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27503 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27504 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27505 [NO_LONG_DOUBLE] (log1pl): Likewise.
27506 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27507 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27508 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27509 (log1p): Remove long_double_symbol.
27510 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27511 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27512 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27513 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27514 remove weak_alias for corresponding log1p function.
27515 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27516 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27517 * sysdeps/ia64/fpu/w_log1p.c: New file.
27518 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27519 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27520 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27521
27522 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27523
27524 [BZ #18247]
27525 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27526 decimal exponent by 1.
27527 * stdlib/tst-strtod-round-data: Add more tests.
27528 * stdlib/tst-strtod-round.c (tests): Regenerated.
27529
27530 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27531
27532 * math/auto-libm-test-in: Add more tests of clog and clog10.
27533 * math/auto-libm-test-out: Regenerated.
27534 * sysdeps/i386/fpu/libm-test-ulps: Update.
27535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27536
27537 2015-04-09 Roland McGrath <roland@hack.frob.com>
27538
27539 * Makeconfig (module-cppflags): Exclude all .v.i files.
27540 (skip-module-cppflags): Variable removed.
27541
27542 * configure.ac (libc_config_ok): Initialize before reading
27543 preconfigure scripts, not after.
27544 * configure: Regenerated.
27545
27546 * test-skeleton.c (TIMEOUT): Move #define to top level.
27547 (main): Grok environment variable TEST_DIRECT. If set, print
27548 test expectation details into that file and then behave as if
27549 given --direct.
27550
27551 2015-04-09 Florian Weimer <fweimer@redhat.com>
27552
27553 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27554 warning on 32-bit.
27555
27556 2015-04-08 David S. Miller <davem@davemloft.net>
27557
27558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27559
27560 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27561
27562 * math/auto-libm-test-in: Add more tests of atanh.
27563 * math/auto-libm-test-out: Regenerated.
27564 * sysdeps/i386/fpu/libm-test-ulps: Update.
27565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27566
27567 * math/auto-libm-test-in: Add more tests of atan.
27568 * math/auto-libm-test-out: Regenerated.
27569 * sysdeps/i386/fpu/libm-test-ulps: Update.
27570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27571
27572 2015-04-08 Florian Weimer <fweimer@redhat.com>
27573
27574 * elf/pldd.c (main): Rewrite to use struct
27575 scratch_buffer instead of extend_alloca.
27576 * elf/pldd-xx.c (find_maps): Likewise.
27577 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27578 <alloca.h>.
27579 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27580 scratch_buffer instead of extend_alloca.
27581 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27582 grp/compat-initgroups.c.
27583 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27584 Rewrite to use struct scratch_buffer instead of extend_alloca.
27585 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27586 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27587
27588 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27589
27590 * math/auto-libm-test-in: Add more tests of cbrt.
27591 * math/auto-libm-test-out: Regenerated.
27592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27593
27594 * math/auto-libm-test-in: Add more tests of cabs.
27595 * math/auto-libm-test-out: Regenerated.
27596 * sysdeps/i386/fpu/libm-test-ulps: Update.
27597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27598
27599 [BZ #18210]
27600 [BZ #18211]
27601 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27602 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27603 computations.
27604 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27605 clog10.
27606 * math/auto-libm-test-out: Regenerated.
27607 * sysdeps/i386/fpu/libm-test-ulps: Update.
27608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27609
27610 [BZ #18197]
27611 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27612 (atan): Set FE_TONEAREST mode for internal computations.
27613 * math/auto-libm-test-in: Add more tests of atan.
27614 * math/auto-libm-test-out: Regenerated.
27615
27616 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27617
27618 [BZ #17930]
27619 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27620
27621 2015-04-07 Florian Weimer <fweimer@redhat.com>
27622
27623 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27624
27625 2015-04-07 Florian Weimer <fweimer@redhat.com>
27626
27627 * include/scratch_buffer.h: New file.
27628 * malloc/scratch_buffer_grow.c: Likewise.
27629 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27630 * malloc/scratch_buffer_set_array_size.c: Likewise.
27631 * malloc/tst-scratch_buffer.c: Likewise.
27632 * malloc/Makefile (routines): Add scratch_buffer_grow.
27633 (tests): Add test case.
27634 * malloc/Versions (GLIBC_PRIVATE): Export
27635 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27636 __libc_scratch_buffer_set_array_size.
27637
27638 2015-04-06 Richard Henderson <rth@redhat.com>
27639
27640 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27641 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27642
27643 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27644 unsigned int before printing.
27645
27646 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27647
27648 [BZ #17596]
27649 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27650 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27651
27652 2015-04-02 Florian Weimer <fweimer@redhat.com>
27653
27654 * include/libc-internal.h (libc_max_align_t): Define.
27655
27656 2015-04-02 Andreas Schwab <schwab@suse.de>
27657
27658 [BZ #16850]
27659 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27660
27661 2015-04-02 Mel Gorman <mgorman@suse.de>
27662
27663 [BZ #17195]
27664 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27665 as well as the main arena.
27666
27667 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27668
27669 [BZ #18185]
27670 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27671 sharing L2 cache to 2 for Silvermont/Knights Landing.
27672
27673 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27674
27675 [BZ #17711]
27676 * config.make.in (have-protected-data): New.
27677 * configure.ac: Check linker support for protected data symbol.
27678 * configure: Regenerated.
27679 * elf/Makefile (modules-names): Add tst-protected1moda and
27680 tst-protected1modb if $(have-protected-data) is yes.
27681 (tests): Add tst-protected1a and tst-protected1b if
27682 $(have-protected-data) is yes.
27683 ($(objpfx)tst-protected1a): New.
27684 ($(objpfx)tst-protected1b): Likewise.
27685 (tst-protected1modb.so-no-z-defs): Likewise.
27686 * elf/tst-protected1a.c: New file.
27687 * elf/tst-protected1b.c: Likewise.
27688 * elf/tst-protected1mod.h: Likewise.
27689 * elf/tst-protected1moda.c: Likewise.
27690 * elf/tst-protected1modb.c: Likewise.
27691
27692 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27693
27694 [BZ #17711]
27695 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27696 indicates it is called from do_lookup_x on relocation against
27697 protected data, skip the data definion in the executable from
27698 copy reloc.
27699 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27700 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27701 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27702 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27703 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27704 otherwise to 0.
27705 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27706 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27707 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27708 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27709 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27710 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27711
27712 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
27713
27714 * sysdeps/nptl/pthread.h: Remove duplicate definition of
27715 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27716
27717 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
27718
27719 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27720 THREAD_SETMEM_NC.
27721 * sysdeps/x86_64/nptl/tls.h: Ditto.
27722
27723 2015-03-27 Roland McGrath <roland@hack.frob.com>
27724
27725 * dlfcn/tststatic.c (main): Converted to ...
27726 (do_test): ... this.
27727 (TEST_FUNCTION): New macro.
27728 Include test-skeleton.c.
27729
27730 2015-03-26 Alan Modra <amodra@gmail.com>
27731
27732 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27733 Don't segfault if ifunc resolver returns a NULL. Do set plt to
27734 zero for undefined weak.
27735 (elf_machine_plt_conflict): Similarly.
27736
27737 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27738
27739 * math/auto-libm-test-in: Add more tests of acosh, asinh and
27740 atanh.
27741 * math/auto-libm-test-out: Regenerated.
27742 * sysdeps/i386/fpu/libm-test-ulps: Update.
27743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27744
27745 * math/auto-libm-test-in: Add another test of asin.
27746 * math/auto-libm-test-out: Regenerated.
27747 * sysdeps/i386/fpu/libm-test-ulps: Update.
27748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27749
27750 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27751 Remove macro.
27752 (LLL_EBX_REG): Likewise.
27753 (LLL_ENTER_KERNEL): Likewise.
27754
27755 * math/auto-libm-test-in: Add more tests of asin.
27756 * math/auto-libm-test-out: Regenerated.
27757 * sysdeps/i386/fpu/libm-test-ulps: Update.
27758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27759
27760 [BZ #18138]
27761 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27762 libc_do_syscall_args): New structure.
27763 (INTERNAL_SYSCALL_MAIN_0): New macro.
27764 (INTERNAL_SYSCALL_MAIN_1): Likewise.
27765 (INTERNAL_SYSCALL_MAIN_2): Likewise.
27766 (INTERNAL_SYSCALL_MAIN_3): Likewise.
27767 (INTERNAL_SYSCALL_MAIN_4): Likewise.
27768 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27769 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
27770 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27771 Replace conditional definitions by conditional definitions of ....
27772 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
27773 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27774 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27775 (libpthread-sysdep_routines): Add libc-do-syscall.
27776 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27777 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27778 to __NR_futex not 240.
27779
27780 2015-03-25 Alan Modra <amodra@gmail.com>
27781
27782 * NEWS: Advertise TLS optimization.
27783 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27784 (DT_PPC_NUM): Increment.
27785 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27786 (CHECK_STATIC_TLS): Use here.
27787 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27788 TLS descriptors.
27789 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27790 * sysdeps/powerpc/dl-tls.c: New file.
27791 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27792 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27793 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27794 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27798
27799 2015-03-25 Alan Modra <amodra@gmail.com>
27800
27801 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27802 for overlapping .opd entries" to "support...".
27803 * sysdeps/powerpc/powerpc64/configure: Regenerate
27804
27805 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27806
27807 * math/auto-libm-test-in: Add more tests of acos.
27808 * math/auto-libm-test-out: Regenerated.
27809 * sysdeps/i386/fpu/libm-test-ulps: Update.
27810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27811
27812 * math/auto-libm-test-in: Add more tests of expm1.
27813 * math/auto-libm-test-out: Regenerated.
27814 * sysdeps/i386/fpu/libm-test-ulps: Update.
27815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27816
27817 2015-03-24 Joseph Myers <joseph@codesourcery.com>
27818
27819 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27820 * math/auto-libm-test-out: Regenerated.
27821 * sysdeps/i386/fpu/libm-test-ulps: Update.
27822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27823
27824 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27826
27827 * math/auto-libm-test-in: Add more tests of log2.
27828 * math/auto-libm-test-out: Regenerated.
27829 * sysdeps/i386/fpu/libm-test-ulps: Update.
27830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27831
27832 2015-03-23 Roland McGrath <roland@hack.frob.com>
27833
27834 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27835 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
27836 _IO_IS_APPENDING bit in READ_WRITE instead.
27837
27838 2015-03-23 Florian Weimer <fweimer@redhat.com>
27839
27840 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27841 (__determine_cpumask_size): Replace extend_alloca with a
27842 variable-length array. Do not treat res == 0 as an error.
27843
27844 2015-03-23 Florian Weimer <fweimer@redhat.com>
27845
27846 [BZ #18100]
27847 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27848 and integer overflow.
27849 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27850 (main): Add integer overflow tests.
27851 * manual/pattern.texi (Calling Wordexp): Document additional use
27852 for WRDE_SYNTAX.
27853
27854 2015-03-23 Alan Modra <amodra@gmail.com>
27855
27856 * config.h.in: Remove HAVE_ASM_PPC_REL16.
27857 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27858 and false branch of conditional.
27859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27860 Likewise.
27861
27862 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
27863
27864 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27865 libc-modules.h
27866 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27867 unused declaration of _hurd_intr_rpc_msg_in_trap.
27868 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27869 defined instead of whether it is non-zero.
27870 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27871 input constraint instead of both input and output constraint. Use ecx
27872 clobber instead of %ecx.
27873 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27874 mutex_unlock): Use a statement expression instead of an expression list.
27875 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27876 type to vm_size_t instead of vm_address_t.
27877 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27878 defined instead of whether it is non-zero.
27879 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27880 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27881 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27882 comparisons with mapaddr.
27883 * nscd/nscd-client.h: Include <time.h>.
27884 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27885 9th parameter to __vm_region instead of int.
27886 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27887 * scripts/check-local-headers.sh (exclude): Add device/,
27888 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27889 cthreads.h.
27890
27891 2015-03-19 Roland McGrath <roland@hack.frob.com>
27892
27893 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27894 to account for alignment padding.
27895 * sysdeps/arm/memmove.S: Likewise.
27896
27897 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
27898
27899 * sysdeps/unix/sysv/linux/generic/README: New file.
27900
27901 2015-03-18 Joseph Myers <joseph@codesourcery.com>
27902
27903 [BZ #18138]
27904 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27905 (futex_abstimed_wait)
27906 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27907 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27908 of lll_futex_timed_wait.
27909
27910 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
27911
27912 [BZ #17542]
27913 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27914
27915 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
27916
27917 [BZ #17090]
27918 [BZ #17620]
27919 [BZ #17621]
27920 [BZ #17628]
27921 * NEWS: Update.
27922 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27923 entries with Static TLS too. Skip entries past the end of the
27924 allocated DTV, from Alan Modra.
27925 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
27926 Static TLS DTV entry set up from...
27927 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27928 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27929 * nptl/allocatestack.c (init_one_static_tls): ... and here...
27930 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27931 for Static TLS.
27932 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
27933 that the slot we find is associated with the given map before
27934 using its generation count.
27935 * nptl_db/db_info.c: Include ldsodefs.h.
27936 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27937 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27938 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27939 (link_map::l_tls_offset): New struct field.
27940 (dtv_t::counter): Likewise.
27941 (rtld_global): New struct.
27942 (_rtld_global): New rtld variable.
27943 (dl_tls_dtv_slotinfo_list): New rtld global field.
27944 (dtv_slotinfo_list): New struct.
27945 (dtv_slotinfo): Likewise.
27946 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27947 (td_lookup): Rename to...
27948 (td_mod_lookup): ... this. Use new mod parameter instead of
27949 LIBPTHREAD_SO.
27950 * nptl_db/td_thr_tlsbase.c: Include link.h.
27951 (dtv_slotinfo_list, dtv_slotinfo): New functions.
27952 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
27953 addresses even if the DTV is out of date or missing them.
27954 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27955 index zero-length arrays.
27956 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27957 (td_lookup): Make it a macro implemented in terms of...
27958 (td_mod_lookup): ... this declaration.
27959 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27960 (DB_MAIN_VARIABLE): Likewise.
27961
27962 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
27963
27964 [BZ #18134]
27965 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27966
27967 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
27968
27969 * stdlib/setenv.c (__add_to_environ): Revert previous change.
27970
27971 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
27972
27973 [BZ #18128]
27974 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27975 (atomic_add, atomic_increment_and_test)
27976 (atomic_decrement_and_test): Fix 64-bit arithmetic.
27977
27978 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
27979
27980 * stdlib/setenv.c (__add_to_environ):
27981 Dump core quickly if setenv (..., NULL, ...) is called.
27982
27983 2015-03-13 Roland McGrath <roland@hack.frob.com>
27984
27985 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27986 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27987 all the necessary asm magic in one place.
27988 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27989 using those.
27990
27991 2015-03-13 Carlos O'Donell <carlos@redhat.com>
27992
27993 [BZ #14906]
27994 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27995 traced file mtime. Use consistent log message.
27996 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27997 (register_traced_file): Call install_watches. Always set mtime.
27998 (invalidate_cache): Iterate over all trace files. Call install_watches.
27999 (inotify_check_files): Don't inline. Handle watching parent
28000 directories and configuration file movement in and out.
28001 (handle_inotify_events): New function.
28002 (main_loop_poll): Call handle_inotify_events.
28003 (main_loop_epoll): Likewise.
28004 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28005 (struct traced_file): Use array of inotify fds. Add parent directory,
28006 and basename.
28007 (struct database_dyn): Remove unused file_mtime.
28008 (init_traced_file): New inline function.
28009 (define_traced_file): New macro.
28010 * nss/nss_db/db-init.c: Use define_traced_file.
28011 (_nss_db_init): Use init_traced_file.
28012 * nss/nss_files/files-init.c: Use define_traced_file.
28013 (_nss_files_init): Use init_traced_file.
28014
28015 2015-03-12 Joseph Myers <joseph@codesourcery.com>
28016
28017 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28018 [_LIBC]: Do not include <stdlib.h>.
28019 [!_LIBC] (abort): Remove declaration.
28020 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28021 _FP_STATIC_ASSERT instead of conditionally calling abort.
28022 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28023 (_FP_EXTEND_CNAN): Likewise.
28024 (FP_TRUNC): Likewise.
28025 (__FP_CLZ): Likewise.
28026 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28027
28028 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
28029
28030 * manual/string.texi (XPG basename): Fix prototype.
28031
28032 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28033
28034 [BZ #18080]
28035 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28036 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28037 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28038 (__setcontext): Likewise.
28039 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28040 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28041 Call rt_sigprocmask syscall one time to set new signal mask
28042 and retrieve the current signal mask instead of two calls.
28043 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28044 (__swapcontext): Likewise.
28045 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28046 * stdlib/tst-setcontext2.c: New file.
28047
28048 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28049
28050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28051
28052 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
28053
28054 [BZ #18093]
28055 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28056 the wrong size.
28057
28058 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
28059
28060 [BZ #18043]
28061 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28062
28063 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28064
28065 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28066 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28067 Remove define.
28068 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28069 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28070 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28071 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28072 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28073 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28074 define.
28075 * nptl_db/td_symbol_list.c (td_lookup): Remove
28076 HAVE_ASM_GLOBAL_DOT_NAME code.
28077 * sysdeps/powerpc/powerpc64/configure.ac: Remove
28078 HAVE_ASM_GLOBAL_DOT_NAME check.
28079 * sysdeps/powerpc/powerpc64/configure: Regenerate.
28080 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28081 (DOT_LABEL): Remove define.
28082 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28083 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28084 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28085 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28086 (__TLS_GET_ADDR): Likewise.
28087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28088 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28089
28090 2015-03-11 Carlos O'Donell <carlos@redhat.com>
28091
28092 [BZ #18111]
28093 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28094 (_FPU_SETCW): Initialize cw from fpsr before storing.
28095 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28096 (fesetexceptflag): Rewrite using fpu_control.h.
28097 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28098
28099 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
28100
28101 [BZ #18110]
28102 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28103 asms.
28104 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28105
28106 2015-03-11 Joseph Myers <joseph@codesourcery.com>
28107
28108 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28109 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28110 abort.
28111 (_FP_FMA): Likewise.
28112 (_FP_DIV): Likewise.
28113
28114 2015-03-10 Roland McGrath <roland@hack.frob.com>
28115
28116 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28117 with 0 in that case.
28118 * Makefile (summarize-tests): New canned sequence, factored out of
28119 commands for targets tests and xtests. Display summary lines that
28120 don't start with PASS: or XFAIL: rather than ones that do start with
28121 ERROR: or FAIL:. Make the commands fail if any summary lines fail
28122 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28123 do start with ERROR: or FAIL:.
28124 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28125 (except for [$(build-shared) = yes]).
28126 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28127 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28128 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28129 * nptl/Makefile: Revert 2015-03-04 changes.
28130 [$(CXX) empty] (tests-unsupported): New variable.
28131 * debug/Makefile: Likewise.
28132
28133 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28134 gnulib file. Replace __attribute with __attribute__ throughout.
28135
28136 2015-03-10 Carlos O'Donell <carlos@redhat.com>
28137
28138 * sysdeps/hppa/fpu/libm-test-ulps: Update.
28139
28140 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28141
28142 [BZ #18104]
28143 * math/auto-libm-test-in: Add another test of pow.
28144 * math/auto-libm-test-out: Regenerated.
28145
28146 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28147
28148 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28149 $(config-cflags-nofma).
28150
28151 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28152
28153 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28154 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28155 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28156 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28157 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28158 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28159 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28160 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28161 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28162 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28163 Add comment on closing #endif.
28164
28165 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28166
28167 * posix/wordexp.c (CHAR_IN_SET): New macro.
28168 (parse_param): Use it.
28169
28170 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28171
28172 * sysdeps/powerpc/fpu/libm-test-ulps: update.
28173
28174 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28175
28176 [BZ #18043]
28177 * posix/wordexp.c (parse_param): Fix buffer overflow.
28178 * posix/wordexp-test.c (test_case): Add test case.
28179
28180 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28181
28182 [BZ #18042]
28183 * posix/wordexp.c (parse_backtick): Fix off-by-one.
28184 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28185
28186 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28187
28188 [BZ #18043]
28189 * posix/wordexp-test.c (test_case): Add test for BZ #18043
28190 (do_bz18043): Delete.
28191 (at_page_end): New.
28192 (testit): Refactor to have words at the edge of unreadable page.
28193
28194 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28195
28196 [BZ #16734]
28197 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28198 Cleanup read-only streams as well.
28199 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28200
28201 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28202
28203 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28204 <bits/libc-lockP.h>
28205
28206 2015-03-07 Joseph Myers <joseph@codesourcery.com>
28207
28208 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
28209 on [__KERNEL__].
28210 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28211 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28212 * soft-fp/op-common.h (_FP_DECL): Likewise.
28213
28214 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
28215
28216 * elf/ifuncdep2.c (global): Replace
28217 __attribute__((visibility("protected"))) with
28218 asm (".protected global").
28219 * elf/ifuncmod1.c (global): Likewise.
28220 * elf/ifuncmod5.c (global): Likewise.
28221
28222 2015-03-06 Joseph Myers <joseph@codesourcery.com>
28223
28224 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28225 <asm/sfp-machine.h> instead of <sfp-machine.h>.
28226
28227 2015-03-06 Roland McGrath <roland@hack.frob.com>
28228
28229 * manual/install.texi (Configuring and compiling):
28230 Document test-wrapper-env-only.
28231 * INSTALL: Regenerated.
28232
28233 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28234
28235 [BZ #18043]
28236 * posix/wordexp.c (parse_param): Fix buffer overflow.
28237 * posix/wordexp-test.c (do_bz18043): Add test case.
28238
28239 2015-03-06 Vincent Bernat <vincent@bernat.im>
28240
28241 * time/tst-strptime2.c (do_test): Ensure failing tests are
28242 reported correctly.
28243 * time/tst-strptime3.c (do_test): Likewise.
28244
28245 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
28246
28247 Fix aio_error thread-safety.
28248 * sysdeps/pthread/aio_error.c: New file
28249 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28250 synchronization.
28251
28252 2015-03-06 Florian Weimer <fweimer@redhat.com>
28253
28254 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28255 (group_number, vfprintf): Use it.
28256 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28257 (JUMP, REF): Use it.
28258 (WORK_BUFFER_SIZE): New enum constant.
28259 (process_arg, vfprintf): Use it.
28260
28261 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
28262
28263 * manual/errno.texi (Error Messages): Complete example function
28264 by adding missing #define.
28265 (program_invocation_name): Add statement indicating GNU
28266 extension and reference which header file declares the variable.
28267 (program_invocation_short_name): Likewise.
28268
28269 2015-03-06 Mike Frysinger <vapier@gentoo.org>
28270
28271 * manual/errno.texi (Error Messages): Delete strerror ISO C89
28272 compatibility note.
28273
28274 2015-03-05 Roland McGrath <roland@hack.frob.com>
28275
28276 * Makeconfig (test-wrapper-env-only): New variable.
28277 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28278 then use that with $(test-wrapper-env-only) rather than using
28279 $(test-wrapper-env) $(run-program-env) $($*-ENV).
28280
28281 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
28282
28283 [BZ #18082]
28284 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28285 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28286 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28287 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28288 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28289 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28290 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28291 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28292 Likewise.
28293 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28294 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28295 Likewise.
28296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28297 Likewise.
28298 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28299 Likewise.
28300 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28301 Likewise.
28302 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28304 Likewise.
28305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28306 Likewise.
28307 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28308 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28309
28310 2015-03-04 Roland McGrath <roland@hack.frob.com>
28311
28312 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28313 (ETH_ALEN): New macro.
28314 (struct ether_addr): Use it for length of ether_addr_octet.
28315
28316 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28317 (setdb): Don't call __nss_configure_lookup for "rpc".
28318 (do_test): Don't call test_rpc.
28319 (output_rpcent, test_rpc): Functions moved ...
28320 * sunrpc/test-rpcent.c: ... to this new file.
28321 * sunrpc/Makefile (tests): Add it.
28322
28323 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28324 __xpg_sigpause.
28325 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28326 * nptl/tst-signal6.c: Likewise.
28327 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28328 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28329
28330 * configure.ac (libc_cv_cxx_link_ok): New check.
28331 Reset CXX to empty if it fails to link.
28332 * configure: Regenerated.
28333 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28334 bug-atexit3-lib only if $(CXX) is nonempty.
28335 * nptl/Makefile (tests): Likewise for tst-cancel24.
28336 (tests, tests-static): Likewise for tst-cancel24-static.
28337 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28338 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28339 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28340 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28341
28342 2015-03-04 Andreas Schwab <schwab@suse.de>
28343
28344 [BZ #17631]
28345 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28346 for non-GCC compilers.
28347 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28348 Likewise.
28349
28350 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28351
28352 [BZ #17776]
28353 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28354 integer before bitwise and assembly operations.
28355 (feclearexcept): Likewise.
28356 * math/test-fenvinline.c: New file.
28357 * math/Makefile: Add test-fenvinline test.
28358
28359 2015-03-03 Alan Modra <amodra@gmail.com>
28360
28361 [BZ #16512]
28362 * scripts/localplt.awk: Strip off symbol version.
28363 * NEWS: Mention bug fix.
28364
28365 2015-03-02 Roland McGrath <roland@hack.frob.com>
28366
28367 * sysdeps/pthread/timer_routines.c
28368 (timer_free_list, thread_free_list, thread_active_list): Make static.
28369
28370 2015-03-02 Joseph Myers <joseph@codesourcery.com>
28371
28372 [BZ #17779]
28373 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28374 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28375 Undefine.
28376 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28377 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28378 Likewise.
28379 * sysdeps/unix/sysv/linux/sh/kernel-features.h
28380 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28381 Likewise.
28382
28383 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
28384
28385 [BZ #18036]
28386 * posix/fnmatch_loop.c (END): Detect invalid pattern.
28387 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28388
28389 2015-03-02 Andreas Schwab <schwab@suse.de>
28390
28391 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28392 variable name.
28393
28394 2015-03-02 Florian Weimer <fweimer@redhat.com>
28395
28396 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28397 Return error status.
28398
28399 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
28400
28401 [BZ #15969]
28402 * locale/findlocale.c (_nl_find_locale): Introduce const
28403 version of loc_name and drop unsafe type casts.
28404
28405 2015-02-27 Roland McGrath <roland@hack.frob.com>
28406
28407 * dlfcn/tststatic2.c (main): Converted to ...
28408 (do_test): ... this.
28409 (TEST_FUNCTION): New macro.
28410 Include test-skeleton.c.
28411
28412 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
28413
28414 [BZ #17711]
28415 * elf/Makefile (tests): Add vismain only if PIE is enabled.
28416 (tests-pie): Add vismain.
28417 (CFLAGS-vismain.c): New.
28418 * elf/vismain.c: Add comments for PIE requirement.
28419
28420 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28421
28422 [BZ #18046]
28423 [BZ #18047]
28424 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28425 0x1p-56L as threshold for just returning the argument.
28426 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28427 0x1p-32L as threshold for just returning the argument.
28428 * math/auto-libm-test-in: Add more tests of atanh.
28429 * math/auto-libm-test-out: Regenerated.
28430 * sysdeps/i386/fpu/libm-test-ulps: Update.
28431 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28432
28433 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28434
28435 * string/bcopy.c (bcopy): Call memmove for performance.
28436
28437 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28438
28439 * string/bzero.c (__bzero): Call memset for performance.
28440
28441 2015-02-27 John David Anglin <dave.anglin@bell.net>
28442
28443 [BZ #18068]
28444 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28445 to 00100000.
28446
28447 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28448
28449 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28450
28451 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28452
28453 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28454 (__kernel_standard): Use CSTR macro when setting exc.name.
28455 * sysdeps/ieee754/Makefile [$(subdir) = math]
28456 (CFLAGS-k_standard.c): Remove variable.
28457
28458 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28459 setting p and q from "else if" to "else".
28460 (qzero): Likewise.
28461 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28462 (qone): Likewise.
28463 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28464 (qzerof): Likewise.
28465 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28466 (qonef): Likewise.
28467 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28468 (qzero): Likewise.
28469 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28470 (qone): Likewise.
28471
28472 [BZ #18038]
28473 [BZ #18039]
28474 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28475 return pi/2 for arguments below 0x1p-113L.
28476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28477 return pi/2 for arguments below 0x1p-106L.
28478 * math/auto-libm-test-in: Add more tests of acos.
28479 * math/auto-libm-test-out: Regenerated.
28480
28481 [BZ #16351]
28482 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28483 (MO): New macro.
28484 (__ieee754_asin): Force underflow exception for results with small
28485 absolute value.
28486 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28487 (MO): New macro.
28488 (__ieee754_asinf): Force underflow exception for results with
28489 small absolute value.
28490 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28491 (__ieee754_asin): Force underflow exception for results with small
28492 absolute value.
28493 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28494 (__ieee754_asinf): Force underflow exception for results with
28495 small absolute value.
28496 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28497 (__ieee754_asinl): Force underflow exception for results with
28498 small absolute value.
28499 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28500 (__ieee754_asinl): Force underflow exception for results with
28501 small absolute value.
28502 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28503 (__ieee754_asinl): Force underflow exception for results with
28504 small absolute value.
28505 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28506 Include <math.h>.
28507 * math/auto-libm-test-in: Do not mark underflow exceptions as
28508 possibly missing for bug 16351.
28509 * math/auto-libm-test-out: Regenerated.
28510
28511 [BZ #18030]
28512 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28513 of power of 2 down when low part has opposite sign.
28514 * math/libm-test.inc (logb_test_data): Add more tests.
28515
28516 2015-02-26 Andreas Schwab <schwab@suse.de>
28517
28518 [BZ #18032]
28519 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28520 over collating symbol inside a bracket expression. Minor cleanup.
28521 * posix/tst-fnmatch3.c (do_test): Add test case.
28522
28523 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28524
28525 [BZ #18029]
28526 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28527 Adjust exponent of power of 2 down when low part has opposite
28528 sign.
28529 * math/libm-test.inc (ilogb_test_data): Add more tests.
28530
28531 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28532
28533 [BZ #15969]
28534 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28535 the previous change.
28536
28537 [BZ #15969]
28538 * locale/findlocale.c (_nl_find_locale): Retry archive search
28539 after alias expansion.
28540
28541 2015-02-25 Roland McGrath <roland@hack.frob.com>
28542
28543 * iconv/tst-iconv3.c (main): Converted to ...
28544 (do_test): ... this.
28545 (TEST_FUNCTION): New macro.
28546 Include test-skeleton.c.
28547
28548 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28549 (convert): Make function static.
28550 (test_unalign): Likewise. Add const to argument pointee types.
28551 (main): Replace with static function do_test.
28552 Print "Succeeded." only if RET is zero.
28553 (TEST_FUNCTION): New macro.
28554 Include test-skeleton.c.
28555
28556 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28557 returns a null pointer.
28558
28559 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28560
28561 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28562 to __memcpy_ppc only for static builds.
28563
28564 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28565
28566 [BZ #18020]
28567 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28568 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28569 * math/auto-libm-test-in: Add more tests of asinh.
28570 * math/auto-libm-test-out: Regenerated.
28571 * sysdeps/i386/fpu/libm-test-ulps: Update.
28572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28573
28574 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28575
28576 [BZ #15850]
28577 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28578 and ip6_mtuinfo definitions here.
28579 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28580 in this define too. Update comment.
28581
28582 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28583
28584 * elf/sprof.c (load_shobj): Tweak error message to match others.
28585
28586 2015-02-24 Kevin Easton <kevin@guarana.org>
28587
28588 [BZ #16145] (partial fix)
28589 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28590 to reduce lock contention.
28591
28592 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28593
28594 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28595 (struct timex): Update time comment.
28596 (ADJ_SETOFFSET): Define.
28597
28598 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28599
28600 [BZ #18019]
28601 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28602 2**56 not 2**28 as threshold for log (2x) formula.
28603 * math/auto-libm-test-in: Add more tests of acosh.
28604 * math/auto-libm-test-out: Regenerated.
28605 * sysdeps/i386/fpu/libm-test-ulps: Update.
28606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28607
28608 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28609
28610 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28611 parenthesis around the buf assignment.
28612 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28613
28614 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28615
28616 [BZ #16783]
28617 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28618 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28619 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28620 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28621 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28622 * math/libm-test.inc (scalb_test_data): Add more tests.
28623
28624 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28625
28626 [BZ #17916]
28627 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28628 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28629
28630 2015-02-24 Eric Rannaud <e@nanocritical.com>
28631
28632 [BZ #17523]
28633 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28634 * io/bits/fcntl2.h (open): Use it.
28635 (openat): Likewise.
28636 * io/open.c (__libc_open): Likewise.
28637 * io/open64.c (__libc_open64): Likewise.
28638 * io/open64_2.c (__open64_2): Likewise.
28639 * io/open_2.c (__open_2): Likewise.
28640 * io/openat.c (__openat): Likewise.
28641 * io/openat64.c (__openat64): Likewise.
28642 * io/openat64_2.c (__openat64_2): Likewise.
28643 * io/openat_2.c (__openat_2): Likewise.
28644 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28645 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28646 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28647 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28648 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28649 (__open_nocancel): Likewise.
28650 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28651 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28652 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28653
28654 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28655
28656 [BZ #14841]
28657 * resolv/gethnamaddr.c (getanswer): Skip logging if
28658 RES_USE_DNSSEC is set.
28659 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28660
28661 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28662
28663 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28664
28665 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28666
28667 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28668 201304L, for Unicode 7.
28669
28670 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28671
28672 [BZ #17836]
28673 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28674 shared library. Add gmon-start.os otherwise.
28675 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28676 $(objpfx)gmon-start.os if builing shared library.
28677 ($(objpfx)g$(static-start-installed-name)): Likewise.
28678
28679 2015-02-23 Andreas Schwab <schwab@suse.de>
28680
28681 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28682
28683 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28684
28685 [BZ #17269]
28686 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28687 (enlarge_userbuf): Likewise.
28688
28689 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
28690
28691 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28692 * math/atest-exp.c (TIMEOUT): Adjust to 200.
28693 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28694 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28695
28696 2015-02-20 Joseph Myers <joseph@codesourcery.com>
28697
28698 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28699 expression inside statement expression.
28700
28701 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28702
28703 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28704 <sysdeps/nptl/lowlevellock.h> and remove macros and
28705 functions that are now defined there.
28706 (SYS_futex): Remove.
28707 (lll_compare_and_swap): Remove.
28708 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28709
28710 2015-02-19 Joseph Myers <joseph@codesourcery.com>
28711
28712 [BZ #17999]
28713 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28714 instead of scandirat.
28715 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28716 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28717 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28718 __scandirat.
28719 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28720 (__scandirat): Declare. Use libc_hidden_proto.
28721 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28722 Remove variable.
28723 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28724
28725 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28726
28727 [BZ #15319]
28728 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28729 (MO): New macro.
28730 (__ieee754_atan2): For results with small absolute value, force
28731 underflow exception and remove excess range and precision from
28732 return value.
28733 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28734 (MO): New macro.
28735 (__ieee754_atan2f): For results with small absolute value, force
28736 underflow exception and remove excess range and precision from
28737 return value.
28738 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28739 (MO): New macro.
28740 (__atan): For results with small absolute value, force underflow
28741 exception and remove excess range and precision from return value.
28742 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28743 (MO): New macro.
28744 (__atanf): For results with small absolute value, force underflow
28745 exception and remove excess range and precision from return value.
28746 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28747 <math.h>.
28748 (__ieee754_atan2): Force underflow exception for results with
28749 small absolute value.
28750 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28751 <math_private.h>.
28752 (atan): Force underflow exception for results with small absolute
28753 value.
28754 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28755 (__atanf): Force underflow exception for results with small
28756 absolute value.
28757 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28758 <math.h>.
28759 (__atanl): Force underflow exception for results with small
28760 absolute value.
28761 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28762 (__atanl): Force underflow exception for results with small
28763 absolute value.
28764 * sysdeps/x86/fpu/bits/mathinline.h
28765 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28766 (__ieee754_atan2): Only define inline for long double.
28767 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28768 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28769 * math/auto-libm-test-in: Do not mark underflow exceptions as
28770 possibly missing for bug 15319. Add more tests of atan2.
28771 * math/auto-libm-test-out: Regenerated.
28772 * math/libm-test.inc (casin_test_data): Do not mark underflow
28773 exceptions as possibly missing for bug 15319.
28774 (casinh_test_data): Likewise.
28775 * sysdeps/i386/fpu/libm-test-ulps: Update.
28776
28777 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
28778
28779 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28780 * sysdeps/mips/bits/endian.h: Fix comments.
28781
28782 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28783
28784 [BZ #17996]
28785 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28786 (hdestroy_r): Likewise.
28787 (hsearch_r): Likewise.
28788 (__hcreate_r): Declare and use libc_hidden_proto.
28789 (__hdestroy_r): Likewise.
28790 (__hsearch_r): Likewise.
28791 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28792 (hcreate): Call __hcreate_r instead of hcreate_r.
28793 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28794 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28795 as weak alias of __hcreate_r.
28796 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28797 __hdestroy_r.
28798 (hsearch_r): Rename to __hsearch_r and define as weak alias of
28799 __hsearch_r.
28800 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28801 Remove variable.
28802 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28803 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28804 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28805 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28806
28807 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28808
28809 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28810 arena_lock into a single arena_get.
28811
28812 2015-02-17 Carlos O'Donell <carlos@redhat.com>
28813
28814 * dl-reloc.c: Inlucde libc-internal.h.
28815 (_dl_try_allocate_static_tls): Call ALIGN_UP.
28816 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28817 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28818 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28819 (grow_heap): Likewise.
28820 * malloc/malloc.c: Include libc-internal.h.
28821 (do_check_malloc): Call powerof2.
28822 (sysmalloc): Use pagesize. Call ALIGN_UP.
28823 (systrim): Use pagesize.
28824 (mremap_chunk): Use pagesize. Call ALIGN_UP.
28825 (__libc_valloc): Use pagesize.
28826 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28827
28828 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28829
28830 [BZ #17991]
28831 * include/sys/resource.h (__getrlimit64): Declare. Use
28832 libc_hidden_proto.
28833 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28834 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
28835 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28836 getrlimit64.
28837 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28838 __getrlimit64.
28839 [!getrlimit64] (getrlimit64): Define as weak alias of
28840 __getrlimit64. Use libc_hidden_weak.
28841 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28842 using __getrlimit64 not __new_getrlimit64.
28843 (__GI_getrlimit64): Likewise.
28844 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28845 Likewise.
28846 (__GI_getrlimit64): Likewise.
28847 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28849 (getrlimit): Add __getrlimit64 alias.
28850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28851 Likewise.
28852 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28853 Remove variable.
28854 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28855 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28856
28857 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
28858
28859 * libio/fileops.c: Add missing sys/mman.h
28860 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28861
28862 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28863
28864 * manual/math.texi (Errors in Math Functions): Clarify goals
28865 regarding inexact and underflow exceptions.
28866
28867 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28868
28869 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28870 * sysdeps/mips/memset.S: Ditto.
28871
28872 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28873
28874 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28875
28876 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28877
28878 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28879 (__v1longjmp): Remove versioned symbol.
28880 (__v1siglongjmp): Remove alias and versioned symbol.
28881 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28882 (__v2siglongjmp): Likewise.
28883
28884 2015-02-16 Torvald Riegel <triegel@redhat.com>
28885
28886 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28887
28888 2015-02-16 Mike Frysinger <vapier@gentoo.org>
28889
28890 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28891
28892 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28893
28894 [BZ #17987]
28895 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28896 zero result does not depend on the sign resulting from
28897 subtraction.
28898 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28899 Likewise.
28900 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28901 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28902 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28903 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28904 * math/libm-test.inc (remquo_test_data): Add more tests.
28905
28906 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
28907
28908 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28909 Problem reported by J William Piggott.
28910
28911 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28912
28913 [BZ #17978]
28914 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28915 products 4 * y and 2 * y where those would overflow.
28916 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28917 Likewise.
28918 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28919 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28920 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28921 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28922 * math/libm-test.inc (remquo_test_data): Add more tests.
28923
28924 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28925
28926 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28927 [defined _COMPILING_NEWLIB].
28928 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28929 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28930
28931 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28932 [!defined __mips_isa_rev || __mips_isa_rev < 6].
28933
28934 2015-02-16 Torvald Riegel <triegel@redhat.com>
28935
28936 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28937 acquired.
28938
28939 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
28940
28941 [BZ #17792]
28942 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28943 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28944 HOST_STACK_END_ADDR): Likewise.
28945
28946 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
28947
28948 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28949 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28950 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28951
28952 2015-02-13 Roland McGrath <roland@hack.frob.com>
28953
28954 * sysdeps/generic/c++-types.data: New file.
28955 * sysdeps/generic/ld.abilist: New file.
28956 * sysdeps/generic/libBrokenLocale.abilist: New file.
28957 * sysdeps/generic/libanl.abilist: New file.
28958 * sysdeps/generic/libc.abilist: New file.
28959 * sysdeps/generic/libcrypt.abilist: New file.
28960 * sysdeps/generic/libdl.abilist: New file.
28961 * sysdeps/generic/libm.abilist: New file.
28962 * sysdeps/generic/libpthread.abilist: New file.
28963 * sysdeps/generic/libresolv.abilist: New file.
28964 * sysdeps/generic/librt.abilist: New file.
28965
28966 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28967
28968 [BZ #17569]
28969 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28970 Compute absolute value of x as modified by fmod, not original
28971 value of x.
28972 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28973 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
28974 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
28975 RUN_TEST_ffI_f1_mod8.
28976 (remquo_test_data): Add more tests.
28977
28978 2015-02-13 Roland McGrath <roland@hack.frob.com>
28979
28980 * sysdeps/init_array/pt-crti.S: New file.
28981
28982 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28983
28984 [BZ #17967]
28985 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28986 __builtin_fmaf instead of relying on contraction of a * b + c.
28987
28988 2015-02-12 J William Piggott <elseifthen@gmx.com>
28989
28990 [BZ #17969]
28991 * manual/time.texi: correct the zoneinfo path in the TZ Variable
28992 node.
28993
28994 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28995
28996 [BZ #17964]
28997 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28998 __builtin_fma instead of relying on contraction of a * b + c.
28999
29000 2015-02-12 Roland McGrath <roland@hack.frob.com>
29001
29002 * Makeconfig (ASFLAGS): Add -Werror=undef.
29003 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29004 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29005 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29006
29007 * Makeconfig (after-link): New variable.
29008 (+link-pie, +link-pie-tests): Use it.
29009 (+link-static, +link-static-tests): Likewise.
29010 (+link, +link-tests): Likewise.
29011 * Makerules (build-module, build-module-asneeded): Likewise.
29012 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29013 Likewise.
29014 * elf/Makefile ($(objpfx)ld.so): Likewise.
29015
29016 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
29017
29018 [BZ #17965]
29019 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29020 both struct timeval and struct timespec.
29021
29022 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29023
29024 [BZ #16560]
29025 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29026 and redefine.
29027 (__ieee754_exp2l): Do not multiply small fractional parts by
29028 M_LN2l.
29029 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29030 small argument.
29031 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29032 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29033 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29034 * math/auto-libm-test-in: Add more tests of exp2.
29035 * math/auto-libm-test-out: Regenerated.
29036
29037 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29038
29039 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29040 unaligned path.
29041
29042 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29043
29044 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29045 little endian.
29046
29047 2015-02-12 Andreas Schwab <schwab@suse.de>
29048
29049 [BZ #15790]
29050 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29051 Filter out elision flags from value returned in kind.
29052 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29053 * nptl/tst-pthread-mutexattr.c: New file.
29054
29055 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
29056
29057 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29058 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29059 into gnu-gnu, and update comment to refer to abi-tags.
29060
29061 2015-02-11 Joseph Myers <joseph@codesourcery.com>
29062
29063 [BZ #15467]
29064 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29065 (__sincos): Set errno to EDOM for infinite argument.
29066 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29067 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29068 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29069 (__sincosl): Set errno to EDOM for infinite argument.
29070 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29071 (__sincosl): Set errno to EDOM for infinite argument.
29072 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29073 (__sincosl): Set errno to EDOM for infinite argument.
29074 * math/libm-test.inc (sincos_test_data): Test errno setting.
29075
29076 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
29077
29078 * string/strxfrm_l.c: Remove #define STRCMP.
29079 * string/strcoll_l.c: Remove #define STRLEN.
29080 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29081 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29082
29083 2015-02-10 Joseph Myers <joseph@codesourcery.com>
29084
29085 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29086 * sysdeps/mips/mips32/sfp-machine.h: ... here.
29087 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29088 * sysdeps/mips/mips64/Makefile: ... here.
29089 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29090 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29091 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29092 * sysdeps/mips/mips64/sfp-machine.h: ... here.
29093 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29094 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29095 * sysdeps/mips/mips64/n64/Implies: Likewise.
29096
29097 2015-02-10 Roland McGrath <roland@hack.frob.com>
29098
29099 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29100 <sys/time.h>, <string.h>, and <errno.h>.
29101 (dest_offset, dest_address, value, zero): Remove unused variables.
29102 (ldouble): Remove typedef.
29103 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29104 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
29105 1). Fix code style.
29106 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29107 (check): Function removed.
29108 (CHECK): New macro.
29109 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
29110 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29111 Don't call set_sigaction_FP and remove_sigaction_FP here.
29112 (ldouble_test): Just use 'long double' as macro argument, no need for
29113 the 'ldouble' typedef.
29114 (do_test): Set up SIGFPE handler at start, using plain signal rather
29115 than sigaction. Fix code style.
29116
29117 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
29118
29119 [BZ #17949]
29120 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29121 jump label.
29122
29123 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29124
29125 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29126 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29127
29128 * sysdeps/powerpc/configure.ac: Remove file.
29129 * sysdeps/powerpc/configure: Likewise.
29130
29131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29132 [sysdep_routines]: Remove wordcopy-power6 object.
29133 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29134 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29135 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29136 (__memmove_ppc32): Likewise.
29137 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29138 file.
29139 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29140 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29141 Remove preprocessor.
29142
29143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29144 [sysdep_routines]: Remove wide chars objects.
29145 [wcsmbs]: New rule for wide char objects.
29146
29147 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29148 Remove wordcopy-power6 obejct.
29149 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29150 Use local call for wordcopy and memcpy symbols.
29151 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29152 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29153 implementation for loader.
29154 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29155
29156 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29157 Remove wordcopy-power7 object.
29158 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29159 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29160 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29161 (_wordcopy_fwd_dest_aligned): Likewise.
29162 (_wordcopy_bwd_aligned): Likewise.
29163 (_wordcopy_bwd_dest_aligned): Likewise.
29164
29165 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29166 Rewrite to call __memmove_ppc instead of include default
29167 implementation.
29168
29169 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29170 Remove wide chars objects.
29171 [wcsmbs]: New rule for wide char objects.
29172
29173 2015-02-09 Andreas Schwab <schwab@suse.de>
29174
29175 [BZ #17912]
29176 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29177 in terms of __O_DIRECTORY.
29178
29179 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29180
29181 * time/getdate.c: Include <stdbool.h>.
29182 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29183 call PTR_MANGLE.
29184 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29185 PTR_DEMANGLE.
29186
29187 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
29188
29189 Add ersatz _Static_assert on older C hosts
29190 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29191 pre-C11 C platform that is not known to support _Static_assert.
29192
29193 2015-02-07 Richard Braun <rbraun@sceen.net>
29194
29195 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29196 sigstate.
29197 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29198
29199 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29200
29201 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29202 priority against unexistent AIO_PRIO_DELTA_MAX.
29203 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29204 instead of int.
29205 * misc/fchflags.c (fchflags): Likewise.
29206 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29207 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29208 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29209 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29210 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29211 Declare macros.
29212 [__USE_MISC] (chflags, fchflags): Declare functions.
29213 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29214 EINVAL when nfds is greater than FD_SETSIZE.
29215 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29216 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29217 45.
29218 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29219 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29220 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29221 MACH_RCV_TIMED_OUT.
29222 * hurd/hurd/signal.h (_hurd_self_sigstate,
29223 _hurd_critical_section_lock, _hurd_critical_section_unlock):
29224 Explicit casts from void *.
29225 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29226 * abi-tags: Rename gnu-gnu os into gnu.
29227
29228 [BZ #4719]
29229 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29230 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29231 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29232 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29233 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29234 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29235
29236 [BZ #17944]
29237 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29238 duplicates ADDR->sun_path with sockaddr LEN limitation.
29239 * sysdeps/mach/hurd/connect.c: Include <string.h>
29240 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29241 * sysdeps/mach/hurd/sendmsg.c: Likewise.
29242 * sysdeps/mach/hurd/sendto.c: Likewise.
29243 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29244 implementing it by hand.
29245
29246 2015-02-06 Roland McGrath <roland@hack.frob.com>
29247
29248 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29249 Use sfi_breg on ldr.
29250 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29251 Likewise.
29252
29253 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29254 it's defined.
29255 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29256 Test SIGSETXID only if it's defined.
29257
29258 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29259
29260 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29261 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
29262
29263 * nptl/tst-align2.c: Moved ...
29264 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29265 * nptl/Makefile (tests): Remove tst-align2.
29266 * sysdeps/unix/sysv/linux/Makefile
29267 [$(subdir) = nptl] (tests): Add tst-align-clone.
29268 * nptl/tst-getpid1.c: Moved ...
29269 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29270 * nptl/tst-getpid2.c: Moved ...
29271 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29272 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29273 * sysdeps/unix/sysv/linux/Makefile
29274 [$(subdir) = nptl] (tests): ... here.
29275 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29276 * sysdeps/unix/sysv/linux/Makefile
29277 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29278
29279 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29280 Drop trailing \n from perror argument. Use return rather than exit.
29281
29282 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29283 on [SA_SIGINFO].
29284 * nptl/tst-cancel21.c (do_test): Likewise.
29285 * debug/tst-backtrace6.c: Include <signal.h> first thing.
29286 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29287 [!SA_SIGINFO]: Make it a stub test.
29288
29289 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29290 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29291
29292 * posix/tst-getlogin.c: Move to ...
29293 * login/tst-getlogin.c: ... here.
29294 * posix/Makefile (tests): Move tst-getlogin to ...
29295 * login/Makefile (tests): ... here.
29296
29297 * libio/tst-atime.c (do_test): Move local variables SV and E
29298 inside [ST_NOATIME] conditional.
29299
29300 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29301
29302 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29303
29304 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29305 (wait_code): New function replaces macro.
29306 Call nanosleep rather than syscall.
29307
29308 * nptl/pt-system.c: Rewritten. Put everything under
29309 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29310 Use IFUNC to redirect when possible.
29311
29312 * nptl/pt-longjmp.c: Rewritten. Put everything under
29313 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29314 Use IFUNC to redirect when possible.
29315
29316 * nptl/pt-fork.c: Rewritten. Put everything under
29317 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29318 Use IFUNC to redirect when possible.
29319 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29320
29321 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29322 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29323 unconditionally nowadays. This included the only reference to
29324 __vdso_clock_gettime that appears outside libc proper.
29325 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29326 Remove version set (containing only __vdso_clock_gettime).
29327 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29328 Add attribute_hidden.
29329 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29330 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29331 libc_hidden_data_def.
29332 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29333 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29334
29335 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29336 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29337 setrpcent, and getrpcport to ...
29338 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29339 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29340 getrpcbynumber_r, and getrpcent_r to ...
29341 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29342 * inet/getrpcbyname.c: Moved ...
29343 * sunrpc/getrpcbyname.c: ... here.
29344 * inet/getrpcbyname_r.c: Moved ...
29345 * sunrpc/getrpcbyname_r.c: ... here.
29346 * inet/getrpcbynumber.c: Moved ...
29347 * sunrpc/getrpcbynumber.c: ... here.
29348 * inet/getrpcbynumber_r.c: Moved ...
29349 * sunrpc/getrpcbynumber_r.c: ... here.
29350 * inet/getrpcent.c: Moved ...
29351 * sunrpc/getrpcent.c: ... here.
29352 * inet/getrpcent_r.c: Moved ...
29353 * sunrpc/getrpcent_r.c: ... here.
29354 * inet/Makefile (routines): Move those to ...
29355 * sunrpc/Makefile (routines): ... here.
29356 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29357 the $(subdirs) list.
29358 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
29359 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29360 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29361 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29362
29363 * elf/Makefile (routines): Include $(all-dl-routines), not just
29364 $(dl-routines).
29365 (rtld-routines): Likewise. Use = rather than :=.
29366 * sysdeps/aarch64/Makefile [$(subdir) = elf]
29367 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29368 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29369 * sysdeps/arm/Makefile: Likewise.
29370 * sysdeps/i386/Makefile: Likewise.
29371 * sysdeps/x86_64/Makefile: Likewise.
29372 * sysdeps/hppa/Makefile [$(subdir) = elf]
29373 (sysdep_routines, sysdep-rtld-routines): Don't add
29374 $(sysdep-dl-routines) to these.
29375 * sysdeps/ia64/Makefile: Likewise.
29376 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29377 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29378 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29379 Don't add dl-static to these; sysdep-dl-routines alone is enough.
29380 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29381 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29382 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29383 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29384 * sysdeps/powerpc/Makefile [$(subdir) = elf]
29385 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29386 these; sysdep-dl-routines alone is enough.
29387
29388 2015-02-06 Joseph Myers <joseph@codesourcery.com>
29389
29390 [BZ #17932]
29391 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29392 where multiplication results in zero and third argument is finite
29393 and nonzero.
29394 * math/auto-libm-test-in: Add more tests of fma.
29395 * math/auto-libm-test-out: Regenerated.
29396
29397 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29398 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29399 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29400 (_FP_CMP_EQ): Likewise.
29401 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29402
29403 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29404 extra argument CHECK_NAN. Redefine as wrapper around
29405 _FP_EXTEND_CNAN.
29406
29407 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
29408
29409 * version.h (RELEASE): Set to "stable".
29410 (VERSION): Set to "2.21"
29411 * include/features.h (__GLIBC_MINOR__): Set to 21.
29412
29413 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29414
29415 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29416 Paul Eggert <eggert@cs.ucla.edu>
29417
29418 [BZ #16618]
29419 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29420 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29421 size in bytes. Store needed elements in wpmax. Use needed size
29422 in bytes for extend_alloca.
29423
29424 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
29425
29426 * manual/install.texi: Latest tested versions are GCC 4.9.2,
29427 binutls 2.25, and texinfo 5.2.
29428 * INSTALL: Regenerate.
29429 * sysdeps/nios2/configure: Regenerate.
29430 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29431 * manual/contrib.texi: Update.
29432 * po/be.po: Update.
29433 * po/bg.po: Update.
29434 * po/ca.po: Update.
29435 * po/cs.po: Update.
29436 * po/da.po: Update.
29437 * po/de.po: Update.
29438 * po/el.po: Update.
29439 * po/eo.po: Update.
29440 * po/es.po: Update.
29441 * po/fi.po: Update.
29442 * po/fr.po: Update.
29443 * po/gl.po: Update.
29444 * po/hr.po: Update.
29445 * po/hu.po: Update.
29446 * po/ia.po: Update.
29447 * po/id.po: Update.
29448 * po/it.po: Update.
29449 * po/ja.po: Update.
29450 * po/ko.po: Update.
29451 * po/lt.po: Update.
29452 * po/nb.po: Update.
29453 * po/nl.po: Update.
29454 * po/pl.po: Update.
29455 * po/pt_BR.po: Update.
29456 * po/ru.po: Update.
29457 * po/rw.po: Update.
29458 * po/sk.po: Update.
29459 * po/sl.po: Update.
29460 * po/sv.po: Update.
29461 * po/tr.po: Update.
29462 * po/uk.po: Update.
29463 * po/vi.po: Update.
29464 * po/zh_CN.po: Update.
29465 * po/zh_TW.po: Update.
29466
29467 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29468 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29469 * sysdeps/hppa/dl-irel.h: Remove #warning.
29470 * sysdeps/hppa/entry.h: Provide prototype for
29471 __canonicalize_funcptr_for_compare and cast argument.
29472 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29473 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29474 * sysdeps/hppa/sotruss-lib.c: New file.
29475 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29476 (atomic_compare_and_exchange_val_acq): Use __typeof__.
29477 (atomic_compare_and_exchange_bool_acq): Likewise.
29478 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29479 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29480
29481 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29482 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29483 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29484
29485 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
29486
29487 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29488 called function in non-PIC case.
29489
29490 2015-01-31 David S. Miller <davem@davemloft.net>
29491
29492 * sysdeps/sparc/sparc32/bits/atomic.h
29493 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29494 unlock not after it.
29495 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29496 volatile register usage warnings from the compiler.
29497
29498 * sysdeps/sparc/nptl/sem_init.c: Delete.
29499 * sysdeps/sparc/nptl/sem_post.c: Delete.
29500 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29501 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29502 * sysdeps/sparc/sparc32/sem_init.c: New file.
29503 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29504 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29505 padding explicitly initialized.
29506 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29507 padding for in-semaphore spinlock.
29508 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29509 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29510 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29511 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29512 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29513 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29514 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29515 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29516 version.
29517 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29518 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29519
29520 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29521
29522 [BZ #17801]
29523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29524 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29525 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29526 New.
29527 (index_AVX_Fast_Unaligned_Load): Likewise.
29528 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29529 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29530 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29531 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29532 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29533 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29534 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29535 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29536 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29537
29538 2015-01-29 Andreas Schwab <schwab@suse.de>
29539
29540 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29541
29542 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29543
29544 [BZ #17892]
29545 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29546
29547 2015-01-28 Martin Sebor <msebor@redhat.com>
29548
29549 * math/README.libm-test: Clarify. Add "How to read the test output."
29550
29551 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29552
29553 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29554 Define to 0.
29555
29556 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29557
29558 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29559 (__HAVE_64B_ATOMICS): Define to 0.
29560
29561 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29562
29563 [BZ #17885]
29564 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29565 value to set as new flag.
29566
29567 [BZ #16576]
29568 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29569 and use _ARCH_PPCSQ instead.
29570 (__ieee754_sqrt): Likewise.
29571 (__ieee754_sqrtf): Likewise.
29572 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29573 _ARCH_PPCSQ is defined.
29574 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29575 fsqrt instruction.
29576 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29577 _ARCH_PPCSQ is defined.
29578 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29579 fsqrts instruction.
29580 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29581
29582 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29583
29584 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29585 bug (GCC BZ #64739).
29586
29587 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29588
29589 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29590 Mark _retval as used.
29591 (lll_futex_wake_unlock): Likewise.
29592 (lll_futex_timed_wait_requeue_pi): Likewise.
29593
29594 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29595 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29596 register variables.
29597
29598 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29599 libm_hidden_def.
29600
29601 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29602 (__bswap_64): Mark as __always_inline.
29603
29604 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29605
29606 [BZ #15378]
29607 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29608 when none of the search directories exist.
29609
29610 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29611
29612 [BZ #17869]
29613 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29614 power8 in .machine directive.
29615
29616 [BZ #17868]
29617 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29618 set dependency from opd value.
29619
29620 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29621
29622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29623 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29624 architecture.
29625
29626 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29627
29628 [BZ #17870]
29629 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29630 with uint64_t.
29631 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29632 (uint64_t) 1.
29633 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29634 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29635 Replace 1UL with (uint64_t) 1.
29636 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29637 int with uint64_t.
29638
29639 2015-01-23 Roland McGrath <roland@hack.frob.com>
29640
29641 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29642 (if_freenameindex): Likewise.
29643
29644 * resource/getrlimit64.c: Add missing libc_hidden_def.
29645
29646 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29647
29648 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29649 __label__.
29650 (_FP_FMA): Likewise.
29651 (_FP_TO_INT_ROUND): Likewise.
29652 (_FP_FROM_INT): Likewise.
29653
29654 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29655
29656 [BZ #16418]
29657 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29658 Make code racy and cancel safe.
29659
29660 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29661
29662 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29663 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29664 attribution.
29665
29666 * pwd/tst-getpw.c: Rewrite.
29667
29668 [BZ #17702]
29669 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29670 (modules-names): Add moddummy1 and moddummy2.
29671 ($(objpfx)tst-rec-dlopen): Define.
29672 * dlfcn/moddummy1.c: New file.
29673 * dlfcn/moddummy2.c: New file.
29674 * dlfcn/tst-rec-dlopen.c: New file.
29675 * elf/dl-cache.c (_dl_load_cache_lookup):
29676 Return char*. Copy result with alloca/strcpy/strdup.
29677 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29678 returns char*. Free cached. If not saving realname
29679 free cached.
29680 * elf/dl-open.c (dl_open_worker): Do not assert that
29681 _r_debug->r_state is RT_CONSISTENT.
29682 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29683 returns char*.
29684
29685 2015-01-21 Torvald Riegel <triegel@redhat.com>
29686 Carlos O'Donell <carlos@redhat.com>
29687
29688 [BZ #12674]
29689 * nptl/sem_waitcommon.c: New file.
29690 * nptl/sem_wait.c: Include sem_waitcommon.c.
29691 (__sem_wait_cleanup, do_futex_wait): Remove.
29692 (__new_sem_wait): Adapt.
29693 (__new_sem_trywait): New function.
29694 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29695 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29696 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29697 (sem_timedwait): Adapt.
29698 * nptl/sem_post.c (__new_sem_post): Adapt.
29699 (futex_wake): New function.
29700 (__old_sem_post): Add release MO fence.
29701 * nptl/sem_open.c (sem_open): Adapt.
29702 * nptl/sem_init.c (__new_sem_init): Adapt.
29703 (futex_private_if_supported): New function.
29704 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29705 (__old_sem_getvalue): Add using previous code.
29706 * sysdeps/nptl/internaltypes.h: Adapt.
29707 * nptl/tst-sem13.c (do_test): Adapt.
29708 * nptl/tst-sem11.c (main): Adapt.
29709 * nptl/sem_trywait.c: Remove.
29710 * nptl/DESIGN-sem.txt: Remove.
29711 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29712 (gen-as-const-headers): Remove structsem.sym.
29713 * nptl/structsem.sym: Remove.
29714 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29715 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29716 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29717 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29718 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29719 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29720 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29721 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29722 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29723 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29724 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29725 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29726 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29727 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29728 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29729 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29730 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29731 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29732 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29733 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29734 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29735 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29736
29737 2015-01-20 Carlos O'Donell <carlos@redhat.com>
29738
29739 * INSTALL: Regenerated.
29740
29741 * po/libc.pot: Regenerated.
29742
29743 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
29744 Sandra Loosemore <sandra@codesourcery.com>
29745 Andrew Jenner <andrew@codesourcery.com>
29746 Joseph Myers <joseph@codesourcery.com>
29747 Nathan Sidwell <nathan@codesourcery.com>
29748
29749 * NEWS: Mention new Nios II port.
29750 * sysdeps/nios2/Implies: New file.
29751 * sysdeps/nios2/Makefile: New file.
29752 * sysdeps/nios2/Subdirs: New file.
29753 * sysdeps/nios2/Versions: New file.
29754 * sysdeps/nios2/__longjmp.S: New file.
29755 * sysdeps/nios2/abort-instr.h: New file.
29756 * sysdeps/nios2/backtrace.c: New file.
29757 * sysdeps/nios2/bits/endian.h: New file.
29758 * sysdeps/nios2/bits/fenv.h: New file.
29759 * sysdeps/nios2/bits/link.h: New file.
29760 * sysdeps/nios2/bits/setjmp.h: New file.
29761 * sysdeps/nios2/bsd-_setjmp.S: New file.
29762 * sysdeps/nios2/bsd-setjmp.S: New file.
29763 * sysdeps/nios2/configure: New generated file.
29764 * sysdeps/nios2/configure.ac: New file.
29765 * sysdeps/nios2/crti.S: New file.
29766 * sysdeps/nios2/crtn.S: New file.
29767 * sysdeps/nios2/dl-init.c: New file.
29768 * sysdeps/nios2/dl-machine.h: New file.
29769 * sysdeps/nios2/dl-sysdep.h: New file.
29770 * sysdeps/nios2/dl-tls.h: New file.
29771 * sysdeps/nios2/dl-trampoline.S: New file.
29772 * sysdeps/nios2/gccframe.h: New file.
29773 * sysdeps/nios2/gmp-mparam.h: New file.
29774 * sysdeps/nios2/jmpbuf-offsets.h: New file.
29775 * sysdeps/nios2/jmpbuf-unwind.h: New file.
29776 * sysdeps/nios2/ldsodefs.h: New file.
29777 * sysdeps/nios2/libc-tls.c: New file.
29778 * sysdeps/nios2/libm-test-ulps: New file.
29779 * sysdeps/nios2/machine-gmon.h: New file.
29780 * sysdeps/nios2/math-tests.h: New file.
29781 * sysdeps/nios2/math_private.h: New file.
29782 * sysdeps/nios2/memusage.h: New file.
29783 * sysdeps/nios2/nptl/Makefile: New file.
29784 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29785 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29786 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29787 * sysdeps/nios2/nptl/pthreaddef.h: New file.
29788 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29789 * sysdeps/nios2/nptl/tls.h: New file.
29790 * sysdeps/nios2/preconfigure: New file.
29791 * sysdeps/nios2/s_fma.c: New file.
29792 * sysdeps/nios2/s_fmaf.c: New file.
29793 * sysdeps/nios2/setjmp.S: New file.
29794 * sysdeps/nios2/sfp-machine.h: New file.
29795 * sysdeps/nios2/sotruss-lib.c: New file.
29796 * sysdeps/nios2/stackguard-macros.h: New file.
29797 * sysdeps/nios2/stackinfo.h: New file.
29798 * sysdeps/nios2/start.S: New file.
29799 * sysdeps/nios2/sysdep.h: New file.
29800 * sysdeps/nios2/tls-macros.h: New file.
29801 * sysdeps/nios2/tst-audit.h: New file.
29802 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29803 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29804 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29805 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29806 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29807 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29808 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29809 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29810 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29811 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29812 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29813 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29814 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29815 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29816 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29817 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29818 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29819 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29820 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29821 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29822 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29823 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29824 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29825 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29826 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29827 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29828 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29829 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29830 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29831 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29832 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29833 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29834 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29835 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29836 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29837 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29838 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29839 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29840 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29841 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29842 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29843 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29844 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29845 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29846
29847 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29848
29849 [BZ #17844]
29850 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29851 (getutent): Use weak_alias in non SHARED case
29852 and default_symbol_version in SHARED case.
29853 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29854 (getutent_r, pututline): Likewise.
29855 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29856 (getutid): Likewise.
29857 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29858 (getutid_r): Likewise.
29859 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29860 (getutline): Likewise.
29861 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29862 (getutline_r): Likewise.
29863 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29864 (updwtmp): Likewise.
29865
29866 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29867
29868 [BZ #17848]
29869 * sysdeps/s390/s390-32/memcmp.S
29870 (memcmp_g5): Rename to __memcmp_g5.
29871 * sysdeps/s390/s390-32/memcpy.S
29872 (memcpy_g5): Rename to __memcpy_g5.
29873 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29874 (memcpy_mvcle) Rename to __memcpy_mvcle.
29875 * sysdeps/s390/s390-32/memset.S
29876 (memset_g5): Rename to __memset_g5.
29877 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29878 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29879 and use prefixed functions.
29880 * sysdeps/s390/s390-32/multiarch/memcmp.S
29881 (memcmp_z196): Rename to __memcmp_z196.
29882 (memcmp_z10): Rename to __memcmp_z10.
29883 (memcmp): Set alias to __memcmp_g5.
29884 (bcmp): Set alias to __memcmp_g5.
29885 * sysdeps/s390/s390-32/multiarch/memcpy.S
29886 (memcpy_z196): Rename to __memcpy_z196.
29887 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29888 (memcpy_z10): Rename to __memcpy_z10.
29889 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29890 (memcpy): Set alias to __memcpy_g5.
29891 * sysdeps/s390/s390-32/multiarch/memset.S
29892 (memset_z196): Rename to __memset_z196.
29893 Jump to __memset_mvcle instead of memset_mvcle.
29894 (memset_z10): Rename to __memset_z10.
29895 Jump to __memset_mvcle instead of memset_mvcle.
29896 (memset_mvcle) Rename to __memset_mvcle.
29897 (memset): Set alias to __memset_g5.
29898 * sysdeps/s390/s390-64/memcmp.S
29899 (memcmp_z900): Rename to __memcmp_z900.
29900 * sysdeps/s390/s390-64/memcpy.S
29901 (memcpy_z900): Rename to __memcpy_z900.
29902 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29903 (memcpy_mvcle) Rename to __memcpy_mvcle.
29904 * sysdeps/s390/s390-64/memset.S
29905 (memset_z900): Rename to __memset_z900.
29906 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29907 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29908 and use prefixed functions.
29909 * sysdeps/s390/s390-64/multiarch/memcmp.S
29910 (memcmp_z196): Rename to __memcmp_z196.
29911 (memcmp_z10): Rename to __memcmp_z10.
29912 (memcmp): Set alias to __memcmp_z900.
29913 (bcmp): Set alias to __memcmp_z900.
29914 * sysdeps/s390/s390-64/multiarch/memcpy.S
29915 (memcpy_z196): Rename to __memcpy_z196.
29916 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29917 (memcpy_z10): Rename to __memcpy_z10.
29918 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29919 (memcpy): Set alias to __memcpy_z900.
29920 * sysdeps/s390/s390-64/multiarch/memset.S
29921 (memset_z196): Rename to __memset_z196.
29922 Jump to __memset_mvcle instead of memset_mvcle.
29923 (memset_z10): Rename to __memset_z10.
29924 Jump to __memset_mvcle instead of memset_mvcle.
29925 (memset_mvcle) Rename to __memset_mvcle.
29926 (memset): Set alias to __memset_z900.
29927
29928 2015-01-14 Joseph Myers <joseph@codesourcery.com>
29929
29930 [BZ #17748]
29931 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29932 __fesetenv instead of fesetenv.
29933
29934 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29935
29936 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29937 macro.
29938
29939 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29940
29941 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29942 regression on LE.
29943
29944 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29945 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29946 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29947 strncmp-power8 object.
29948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29949 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29950 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29951 * NEWS: Update.
29952
29953 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29954 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29955
29956 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29957 trailing byte check.
29958
29959 2015-01-13 David S. Miller <davem@davemloft.net>
29960
29961 * include/signal.h (__sigreturn): Guard with __USE_MISC.
29962
29963 2015-01-13 Roland McGrath <roland@hack.frob.com>
29964
29965 * login/logout.c (logout): Use memset rather than bzero.
29966 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29967 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29968 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29969 (_gethtbyaddr): Likewise.
29970 * locale/programs/simple-hash.c (bcopy): Macro removed.
29971
29972 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29973
29974 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29975 Add strcmp-power8 object.
29976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29977 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29978 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29979 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29980 __strcmp_power8 implementation.
29981 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29982 * NEWS: Update.
29983
29984 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29985 Add strncpy-power8 and stpncpy-power8 objects.
29986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29987 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29988 implementations.
29989 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29990 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29991 __stpncpy_power8 implementation.
29992 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29993 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29994 __strncpy_power8 implementation.
29995 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29996 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29997 * NEWS: Update.
29998
29999 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30000 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30001 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30002
30003 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30004 strncat-power8 object.
30005 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30006 __strcat_power8 implementation.
30007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30008 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30009 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30010 optimized strcat for power8.
30011
30012 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30013 strcpy-power8 and stpcpy-power8 objects.
30014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30015 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30016 implementations.
30017 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30018 multiarch stpcpy implementation for POWER8.
30019 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30020 multiarch strcpy implementation for POWER8.
30021 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30022 __strcpy_power8 function.
30023 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30024 stpcpy for POWER8.
30025 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30026 strcpy for POWER8.
30027 * NEWS: Update.
30028
30029 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
30030
30031 [BZ #16009]
30032 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30033 weights and rules. Use do_xfrm_cached if data fits in cache,
30034 do_xfrm otherwise. Moved former main loop to...
30035 * (do_xfrm_cached): New function.
30036 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30037 find_idx, find_position and stack_push.
30038 * (find_idx): New function.
30039 * (find_position): Likewise.
30040 * localedata/sort-test.sh: Added test run for do_xfrm.
30041 * localedata/xfrm-test.c (main): Added command line option
30042 -nocache to run the test with strings that are too large for
30043 the STRXFRM cache.
30044
30045 2015-01-13 Torvald Riegel <triegel@redhat.com>
30046
30047 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30048 variable to lll_futex_wake call, not the value itself.
30049
30050 2015-01-12 Joseph Myers <joseph@codesourcery.com>
30051
30052 [BZ #17803]
30053 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30054 twom64. Adjust value to 0x1p-64L.
30055 (__scalblnl): Only return standard underflowing result for K <=
30056 -64 not K <= -63; adjust exponent for underflowing result by 64
30057 not 63.
30058 * math/libm-test.inc (scalbn_test_data): Add more tests.
30059 (scalbln_test_data): Likewise.
30060
30061 [BZ #17834]
30062 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30063 0x1p63L.
30064 (__scalblnl): Get new exponent of adjusted subnormal value from ES
30065 not HX.
30066 * math/libm-test.inc (scalbn_test_data): Add more tests.
30067 (scalbln_test_data): Likewise.
30068
30069 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30070 Stefani Seibold <stefani@seibold.net>
30071
30072 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30073 (sysdep_routines): Add dl-vdso here, ...
30074 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30075 (sysdep_routines): ... not here.
30076 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30077 fallback when vDSO is not presented.
30078 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30079 Define with libc_hidden_proto/libc_hidden_data_def definitions.
30080 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30081 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30082 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30083 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30084 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30085 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30086 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30087 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30088 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
30089 fallback configurable symbol when vDSO is not available.
30090 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30091 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
30092 be able to redefine fallback symbol when vDSO is not available.
30093 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30094 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30095
30096 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30097
30098 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30099 (TLS_INIT_TP): Add tm_capable initialization.
30100 (TLS_DEFINE_INIT_TP): Likewise.
30101 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30102 TCB.
30103 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30104 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30105 calculation.
30106 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30107 transactoion is lock elision is built and TCB tm_capable is set.
30108 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30110 (INTERNAL_SYSCALL_NCS): Likewise.
30111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30112 (INTERNAL_SYSCALL_NCS): Likewise.
30113 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30114
30115 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30116 for powerpc.
30117 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30118 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30119 and remove it for 32 bits case.
30120 [pthread_rwlock_t] (__rwelision): New field for lock elision.
30121 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30122 initialization.
30123 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30124 Disable lock elision with rdlocks if elision is not available.
30125
30126 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30127 (sysdep_routines): Add lock elision objects.
30128 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30129 [pthread_mutex_t] (__spins): Rework to add lock elision field.
30130 [pthread_mutex_t] (__elision): Add field.
30131 [__PTHREAD_SPINS]: Adjust to init lock elision field.
30132 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30133 elision definitions for powerpc.
30134 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30135 implementation of lock elision for powerpc.
30136 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30137 implementation of timed lock elision for powerpc.
30138 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30139 implementation of trylock with lock elision for powerpc.
30140 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30141 implementaion of unlock for lock elision for powerpc.
30142 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30143 automatic enable lock elision for mutexes.
30144 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30145 transaction execution definitions for powerpc.
30146 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30147 definitions.
30148 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30149 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30150 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30151 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30152 * NEWS: Update.
30153
30154 2015-01-09 Roland McGrath <roland@hack.frob.com>
30155
30156 * sysdeps/posix/shm-directory.c: Use <> rather than ""
30157 for #include of <shm-directory.h>.
30158
30159 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
30160
30161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30162 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30163
30164 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
30165
30166 [BZ #17791]
30167 * NEWS: Mention bug fix.
30168 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30169 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30170 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30171
30172 2015-01-09 Torvald Riegel <triegel@redhat.com>
30173
30174 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30175
30176 2015-01-09 Torvald Riegel <triegel@redhat.com>
30177
30178 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30179
30180 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30181
30182 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30183 pointer and cast to uintptr_t.
30184
30185 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30186
30187 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30188 removed.
30189 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30190
30191 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30192
30193 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30194 of 0.
30195
30196 2015-01-08 Roland McGrath <roland@hack.frob.com>
30197
30198 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30199 <nptl/pthreadP.h> instead.
30200 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30201
30202 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30203 already defined.
30204 [__SIGRTMIN] (init): Function removed.
30205 [__SIGRTMIN] (initialized): Variable removed.
30206 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30207 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30208 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30209 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30210 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30211 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30212 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30213 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30214 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30215 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30216 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30217 * sysdeps/nptl/allocrtsig.c: New file.
30218 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30219 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30220 * sysdeps/generic/testrtsig.h: File removed.
30221
30222 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30223 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30224
30225 * nptl/nptl-init.c (pthread_functions): Conditionalize
30226 .ptr__nptl_setxid initialization on [SIGSETXID].
30227
30228 * sysdeps/nptl/sys/procfs.h: New file.
30229 * nptl_db/Makefile (headers): Add it.
30230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30231
30232 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30233 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30234 * nptl/pthread_attr_setaffinity.c: Include it.
30235 * nptl/pthread_setattr_default_np.c: Likewise.
30236 * nptl/check-cpuset.h: New file.
30237
30238 2015-01-08 Richard Henderson <rth@redhat.com>
30239
30240 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30241 (CFLAGS-tst-execstack-prog.c): Likewise.
30242 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30243
30244 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
30245 Sandra Loosemore <sandra@codesourcery.com>
30246 Andrew Jenner <andrew@codesourcery.com>
30247 Joseph Myers <joseph@codesourcery.com>
30248 Nathan Sidwell <nathan@codesourcery.com>
30249
30250 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30251 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30252 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30253 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30254 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30255 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30256 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30257 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30258 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30259 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30260 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30261 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30262 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30263 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30264 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30265 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30266 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30267
30268 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30269
30270 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30271 timespec struct member in syscall macro.
30272 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30273 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30274 first timeval struct member in syscall macro.
30275 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30276
30277 2015-01-07 Joseph Myers <joseph@codesourcery.com>
30278
30279 [BZ #17748]
30280 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30281 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30282 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30283 __feupdateenv and define as weak alias of __feupdateenv. Use
30284 libm_hidden_weak.
30285 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30286 libm_hidden_def.
30287 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30288 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
30289 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30290 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30291 libm_hidden_def.
30292 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30293 __feupdateenv and define as weak alias of __feupdateenv. Use
30294 libm_hidden_weak.
30295 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30296 libm_hidden_def.
30297 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30298 __feupdateenv and define as weak alias of __feupdateenv. Use
30299 libm_hidden_weak.
30300 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30301 libm_hidden_def.
30302 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30303 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30304 (__feupdateenv): Likewise.
30305 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30306 __feupdateenv and define as weak alias of __feupdateenv. Use
30307 libm_hidden_weak.
30308 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30309 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30310 libm_hidden_def.
30311 * sysdeps/tile/math_private.h (__feupdateenv): New inline
30312 function.
30313 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30314 libm_hidden_def.
30315 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30316 __feupdateenv instead of feupdateenv.
30317 (default_libc_feupdateenv_test): Likewise.
30318 (libc_feresetround_ctx): Likewise.
30319
30320 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30321
30322 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30323 prototype.
30324
30325 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
30326
30327 * posix/regcomp.c (parse_bracket_exp): Initialize type to
30328 COLL_SYM in a couple of places to avoid uninitialized variable
30329 wanings on tilegx gcc 4.8.2.
30330
30331 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30332
30333 * sysdeps/aarch64/strcpy.S: New file.
30334 * sysdeps/aarch64/stpcpy.S: New file.
30335 * NEWS: Updated.
30336
30337 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30338
30339 * sysdeps/aarch64/strrchr.S: New file.
30340 * NEWS: Updated.
30341
30342 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
30343
30344 [BZ #17658]
30345 * stdlib/setenv.c: Fix memory leak when setting large,
30346 duplicate string.
30347
30348 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
30349
30350 [BZ #17273]
30351 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30352 and tabs from buffer before parsing fstab entry.
30353 * misc/tst-mntent.c (main): Add test for mount entry with
30354 trailing spaces and tabs.
30355
30356 2015-01-06 Joseph Myers <joseph@codesourcery.com>
30357
30358 [BZ #17748]
30359 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
30360 * math/fesetround.c (fesetround): Rename to __fesetround and
30361 define as weak alias of __fesetround. Use libm_hidden_weak.
30362 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30363 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30364 * sysdeps/arm/fesetround.c (fesetround): Likewise.
30365 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30366 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30367 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30368 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30369 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30370 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30371 __fesetround_inline.
30372 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30373 __fesetround_inline instead of __fesetround.
30374 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30375 __fesetround and define as weak alias of __fesetround. Use
30376 libm_hidden_weak. Call __fesetround_inline instead of
30377 __fesetround.
30378 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30379 __fesetround and define as weak alias of __fesetround. Use
30380 libm_hidden_weak.
30381 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30382 Likewise.
30383 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30384 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30385 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30386 * sysdeps/tile/math_private.h (__fesetround): New inline function.
30387 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30388 __fesetround and define as weak alias of __fesetround. Use
30389 libm_hidden_weak.
30390 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30391 __fesetround instead of fesetround.
30392 (default_libc_feholdexcept_setround): Likewise.
30393 (libc_feholdsetround_ctx): Likewise.
30394 (libc_feholdsetround_noex_ctx): Likewise.
30395
30396 [BZ #17748]
30397 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30398 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30399 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30400 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30401 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30402 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30403 define as weak alias of __fesetenv. Use libm_hidden_weak.
30404 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30405 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30406 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30407 define as weak alias of __fesetenv. Use libm_hidden_weak.
30408 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30409 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30410 define as weak alias of __fesetenv. Use libm_hidden_weak.
30411 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30412 libm_hidden_def.
30413 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30414 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30415 Likewise.
30416 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30417 define as weak alias of __fesetenv. Use libm_hidden_weak.
30418 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30419 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30420 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30421 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30422 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30423 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30424 __fesetenv instead of fesetenv.
30425 (libc_feresetround_noex_ctx): Likewise.
30426 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30427 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30428 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30429 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30430 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30431 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30432 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30433 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30434 (__feupdateenv): Likewise.
30435 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30436 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30437 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30438 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30439
30440 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30441
30442 [BZ #17806]
30443 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30444 addresses have been freed.
30445
30446 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30447
30448 * resolv/res_init.c (__res_vinit): Improve comments about nserv
30449 and nservall.
30450
30451 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
30452
30453 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30454 Clean up check_pf allocation pattern. addresses
30455
30456 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30457
30458 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30459 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30460 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30461 * nptl/pthread_exit.c (__pthread_exit): Likewise.
30462 * nptl/pthread_join.c (pthread_join): Likewise.
30463 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30464 * sysdeps/posix/waitid.c (__waitid): Likewise.
30465 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30466 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30467 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30468 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30470 Likewise.
30471 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30472 (__libc_pread64): Likewise.
30473 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30474 (__libc_pwrite): Likewise.
30475 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30476 (__libc_pwrite64): Likewsie.
30477 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30478 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30479 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30480 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30481 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30482 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30483 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30485 Likewise.
30486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30487 (__libc_pread64): Likewise.
30488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30489 Likewise.
30490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30491 (__libc_pwrite64): Likewise.
30492 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30493 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30494 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30495 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30496 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30497 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30498 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30499 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30500 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30501 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30502 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30503 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30504 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30505 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30506 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30507 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30508 Likewise.
30509
30510 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30511
30512 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30513 (CFLAGS-test-double.c): Likewise.
30514 (CFLAGS-test-ldouble.c): Likewise.
30515 (CPPFLAGS-test-ifloat.c): Likewise.
30516 (CPPFLAGS-test-idouble.c): Likewise.
30517 (CPPFLAGS-test-ildoubl.c): Likewise.
30518 (CFLAGS-test-test-fenv.c): Remove variable.
30519 (CFLAGS-test-misc.c): Likewise.
30520
30521 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30522
30523 [BZ #17797]
30524 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30525 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30526 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30527 CLOCKS_PER_SEC == 1000000.
30528 * time/clocktest.c (main): Replace %ld with %jd and cast to
30529 intmax_t.
30530
30531 2015-01-05 Roland McGrath <roland@hack.frob.com>
30532
30533 * sysdeps/generic/unwind-resume.h: New file.
30534 * sysdeps/gnu/unwind-resume.c: Include it.
30535 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30536 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30537 argument list.
30538 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30539 global rather than static.
30540 (_Unwind_Resume): Update user.
30541 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30542 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30543 rather than static. Add __attribute__ ((cold)).
30544 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30545 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30546 * sysdeps/arm/arm-unwind-resume.S: New file.
30547 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30548 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30549 * sysdeps/arm/Makefile [$(subdir) = csu]
30550 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30551 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30552 Add rt-arm-unwind-resume.
30553 [$(subdir) = nptl]
30554 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30555 Add pt-arm-unwind-resume.
30556 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30557 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30558
30559 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30560
30561 [BZ #17748]
30562 * include/fenv.h (__feholdexcept): Declare. Use
30563 libm_hidden_proto.
30564 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30565 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30566 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30567 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30568 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30569 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30570 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30571 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30572 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30573 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30574 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30575 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30576 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30577 (feholdexcept): Likewise.
30578 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30579 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30580 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30581 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30582 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30583 __feholdexcept instead of feholdexcept.
30584 (default_libc_feholdexcept_setround): Likewise.
30585
30586 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30587
30588 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30589 to avoid using stl/str to align destination.
30590
30591 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30592
30593 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30594
30595 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30596
30597 [BZ #17796]
30598 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30599 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30600 Define as weak alias not strong alias.
30601
30602 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30603
30604 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30605 bltzal with addiupc.
30606 (RTLD_START): Ditto.
30607
30608 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30609
30610 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30611 for __vdso_* functions in declarations.
30612 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30613 definitions.
30614 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30615 INTERNAL_VSYSCALL): Use struct return types to check for error.
30616
30617 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30618 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30619 function with cast from llround().
30620 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30621 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30622 Define.
30623
30624 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30625
30626 [BZ #17793]
30627 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30628 Define as weak alias not strong alias.
30629
30630 [BZ #17635]
30631 * ctype/ctype-c99.c: New file. isblank implementation moved from
30632 ...
30633 * ctype/ctype-extn.c: ... here.
30634 (__isblank_l): Move to ...
30635 * ctype/ctype-c99_l.c: ... here. New file.
30636 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30637 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30638 Remove variable.
30639 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30640 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30641 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30642 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30643 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30644
30645 [BZ #17777]
30646 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30647 (posix_fadvise64): Define as weak alias not strong alias.
30648 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30649 (posix_fallocate64): Likewise.
30650 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30651 Remove variable.
30652 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30653 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30654 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30655 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30656 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30657
30658 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30659
30660 [BZ #16191]
30661 * NEWS: Mention bug fix.
30662 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30663 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30664 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30665 (HOST_STACK_END_ADDR): Likewise.
30666
30667 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30668
30669 [BZ #17748]
30670 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30671 * math/fegetround.c (fegetround): Rename to __fegetround and
30672 define as weak alias of __fegetround. Use libm_hidden_weak.
30673 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30674 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30675 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30676 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30677 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30678 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30679 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30680 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30681 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30682 Undefine after rather than before function definition; use
30683 parentheses around function name in definition.
30684 (__fegetround): Also undefine macro after function definition.
30685 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30686 __fegetround and define as weak alias of __fegetround. Use
30687 libm_hidden_weak. Do not undefine as macro.
30688 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30689 Likewise.
30690 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30691 __fegetround and define as weak alias of __fegetround. Use
30692 libm_hidden_weak.
30693 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30694 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30695 * sysdeps/tile/math_private.h (__fegetround): New inline function.
30696 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30697 __fegetround and define as weak alias of __fegetround. Use
30698 libm_hidden_weak.
30699 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30700 __fegetround instead of fegetround.
30701
30702 [BZ #17782]
30703 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30704 Condition macro definition on [__USE_MISC].
30705
30706 [BZ #17781]
30707 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30708 (struct sigaction): Change type of sa_flags field to int.
30709
30710 [BZ #17780]
30711 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30712 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30713 __glibc_reserved0.
30714
30715 * nptl/version.c (banner): Use single year in copyright notice.
30716
30717 * NEWS: Update copyright dates.
30718 * catgets/gencat.c (print_version): Likewise.
30719 * csu/version.c (banner): Likewise.
30720 * debug/catchsegv.sh: Likewise.
30721 * debug/pcprofiledump.c (print_version): Likewise.
30722 * debug/xtrace.sh (do_version): Likewise.
30723 * elf/ldconfig.c (print_version): Likewise.
30724 * elf/ldd.bash.in: Likewise.
30725 * elf/pldd.c (print_version): Likewise.
30726 * elf/sotruss.sh: Likewise.
30727 * elf/sprof.c (print_version): Likewise.
30728 * iconv/iconv_prog.c (print_version): Likewise.
30729 * iconv/iconvconfig.c (print_version): Likewise.
30730 * locale/programs/locale.c (print_version): Likewise.
30731 * locale/programs/localedef.c (print_version): Likewise.
30732 * login/programs/pt_chown.c (print_version): Likewise.
30733 * malloc/memusage.sh (do_version): Likewise.
30734 * malloc/memusagestat.c (print_version): Likewise.
30735 * malloc/mtrace.pl: Likewise.
30736 * manual/libc.texinfo: Likewise.
30737 * nptl/version.c (banner): Likewise.
30738 * nscd/nscd.c (print_version): Likewise.
30739 * nss/getent.c (print_version): Likewise.
30740 * nss/makedb.c (print_version): Likewise.
30741 * posix/getconf.c (main): Likewise.
30742 * scripts/test-installation.pl: Likewise.
30743 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30744
30745 2015-01-02 Will Newton <will.newton@linaro.org>
30746
30747 * sysdeps/arm/armv7/configure: Removed.
30748 * sysdeps/arm/armv7/configure.ac: Likewise.
30749
30750 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30751
30752 * All files with FSF copyright notices: Update copyright dates
30753 using scripts/update-copyrights.
30754 * intl/plural.c: Regenerated.
30755 * locale/programs/charmap-kw.h: Likewise.
30756 * locale/programs/locfile-kw.h: Likewise.
30757
30758 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30759
30760 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30761
30762 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30763
30764 [BZ #17748]
30765 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30766 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30767 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30768 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30769 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30770 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30771 define as weak alias of __fegetenv. Use libm_hidden_weak.
30772 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30773 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30774 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30775 define as weak alias of __fegetenv. Use libm_hidden_weak.
30776 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30777 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30778 define as weak alias of __fegetenv. Use libm_hidden_weak.
30779 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30780 libm_hidden_def.
30781 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30782 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30783 Likewise.
30784 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30785 define as weak alias of __fegetenv. Use libm_hidden_weak.
30786 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30787 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30788 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30789 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30790 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30791 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30792 __fegetenv instead of fegetenv.
30793 (libc_feholdsetround_noex_ctx): Likewise.
30794
30795 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
30796
30797 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30798 (Elf_MIPS_ABIFlags_v0): New structure.
30799 (EF_MIPS_FP64): Define.
30800 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30801 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30802 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30803 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30804 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30805 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30806 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30807 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30808 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30809 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30810 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30811 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30812 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30813 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30814 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30815 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30816 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30817 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30818 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30819 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30820 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30821 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30822 field.
30823 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30824 EF_MIPS_FP64.
30825 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30826 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30827 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30828 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30829 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30830 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30831 * sysdeps/mips/tst-abi-interlink.c: Likewise.
30832 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30833 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30834 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30835 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30836 record the current FP ABI extension.
30837 (mips-mode-switch): Define to show if kernel headers support mode
30838 switching.
30839 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30840 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30841 supported SYSV ABI version to 3.
30842 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30843 feature.
30844
30845 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30846 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30847
30848 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30849 path.
30850 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30851
30852 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30853
30854 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30855 __fegetround and redefine to call __fegetround. Remove condition
30856 on [!__NO_MATH_INLINES].
30857 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30858 function.
30859 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30860 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30861 Remove macro.
30862 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30863 instead of <fenv_libc.h>.
30864 (__llrintl): Call fegetround instead of __fegetround.
30865 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30866 instead of <fenv_libc.h>.
30867 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30868 (__lrintl): Call fegetround instead of __fegetround.
30869 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30870 instead of <fenv_libc.h>.
30871 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30872 (__rintl): Call fegetround instead of __fegetround.
30873
30874 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30875
30876 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30877 arrays.
30878
30879 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30880
30881 [BZ #17775]
30882 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30883 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30884 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30885
30886 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30887
30888 * sysdeps/i386/tls-macros.h: Include <features.h>.
30889 (TLS_LE): Use non-PIC version for GCC >= 5.0.
30890 (TLS_IE): Likewise.
30891 (TLS_LD): Likewise.
30892 (TLS_GD): Likewise.
30893 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30894 define for GCC >= 5.0.
30895
30896 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
30897
30898 * math/test-fenv.c (test_single_exception, set_single_exc,
30899 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30900 feexcp_mask_test, feenable_test, fe_single_test): Add
30901 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30902 case where they are not used.
30903 * math/libm-test.inc: Likewise.
30904 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30905 unused in the absence of FP rounding/exception support.
30906 * stdio-common/tst-printf-round.c: Likewise.
30907 * stdlib/tst-strtod-round.c: Likewise.
30908 * stdlib/tst-strtod-underflow.c: Likewise.
30909
30910 2014-12-30 Joseph Myers <joseph@codesourcery.com>
30911
30912 [BZ #17723]
30913 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30914 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30915 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30916 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30917 libm_hidden_weak.
30918 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30919 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30920 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30921 libm_hidden_def.
30922 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30923 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30924 libm_hidden_weak.
30925 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30926 Likewise.
30927 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30928 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30929 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30930 libm_hidden_weak.
30931 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30932 libm_hidden_def.
30933 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30934 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30935 (__feraiseexcept): Likewise.
30936 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30937 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30938 libm_hidden_weak.
30939 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30940 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30941 libm_hidden_def.
30942 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30943 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30944 Use libm_hidden_def.
30945 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30946 libm_hidden_def.
30947 (feraiseexcept): Define as weak not strong alias. Use
30948 libm_hidden_weak.
30949 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30950 New inline function. Factored out of ...
30951 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
30952 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30953 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30954 feraiseexcept.
30955 * math/w_acos.c (__acos): Likewise.
30956 * math/w_asin.c (__asin): Likewise.
30957 * math/w_ilogb.c (__ilogb): Likewise.
30958 * math/w_j0.c (y0): Likewise.
30959 * math/w_j1.c (y1): Likewise.
30960 * math/w_jn.c (yn): Likewise.
30961 * math/w_log.c (__log): Likewise.
30962 * math/w_log10.c (__log10): Likewise.
30963 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30964 * sysdeps/aarch64/fpu/math_private.h
30965 (libc_feupdateenv_test_aarch64): Likewise.
30966 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30967 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30968 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30969 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30970 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30971 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30972 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30973 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30974 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30975 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30976
30977 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30978
30979 [BZ #17732]
30980 * io/test-utime.c (main): Replace %ld with %jd and cast to
30981 intmax_t.
30982 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30983 * nptl/tst-mutex5.c: Include <stdint.h>.
30984 (do_test): Replace %ld with %jd and cast to intmax_t.
30985 * posix/tst-regex.c (run_test): Likewise.
30986 (run_test_backwards): Likewise.
30987 * rt/tst-clock.c: Include <stdint.h>.
30988 (clock_test): Replace %ld with %jd and cast to intmax_t.
30989 * rt/tst-cpuclock1.c: Include <stdint.h>.
30990 (do_test): Replace %lu with %ju and cast to uintmax_t.
30991 * rt/tst-cpuclock2.c: Include <stdint.h>.
30992 (do_test): Replace %lu with %ju and cast to uintmax_t.
30993 * rt/tst-mqueue1.c: Include <stdint.h>.
30994 (check_attrs): Replace %ld with %jd and cast to intmax_t.
30995 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30996 intmax_t.
30997 * rt/tst-mqueue4.c (do_test): Likewise.
30998 * rt/tst-timer4.c: Include <stdint.h>.
30999 (check_ts): Replace %ld with %jd and cast to intmax_t.
31000 (do_test): Likewise.
31001 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31002 and cast to intmax_t.
31003 * sysdeps/pthread/tst-timer.c (main): Likewise.
31004 * time/clocktest.c (main): Likewise.
31005 * time/tst-posixtz.c (do_test): Likewise.
31006 * timezone/tst-timezone.c (main): Likewise.
31007
31008 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31009 H.J. Lu <hongjiu.lu@intel.com>
31010
31011 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31012 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31016 version if bit_Fast_Unaligned_Load is set.
31017 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31018 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31019 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31020 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31021 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31022 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31024 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31025 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31026 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31027 to 4.
31028 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31029 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31030 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31031 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31032
31033 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
31034
31035 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31036 instead of #if to avoid a Wundef warning.
31037 * stdlib/tst-limits.c (do_test): Likewise.
31038
31039 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31040 parallel other exception macros.
31041 (fegetenv): Convert from macro to extern inline so that it applies
31042 retroactively to inline functions already seen by the compiler.
31043 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31044
31045 * posix/Makefile (before-compile): Use $(objpfx) for
31046 posix-conf-vars-def.h.
31047
31048 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31049
31050 * posix/getconf.c (main): Use size_t for type of I.
31051 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31052 NSPEC.
31053
31054 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31055 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31056 * posix/posix-envs.def: Likewise.
31057 * sysdeps/posix/sysconf.c: Likewise.
31058 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31059 (specs): Remove array.
31060 * scripts/gen-posix-conf-vars.awk: Support generation of specs
31061 array.
31062
31063 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31064 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31065 (__sysconf): Use CONF_IS_* macros.
31066
31067 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31068 ($(objpfx)posix-conf-vars-def.h): New target.
31069 * posix/posix-conf-vars.list: New file.
31070 * posix/posix-conf-vars.h: New file.
31071 * posix/confstr.c: Include posix-conf-vars.h.
31072 (confstr): Use CONF_IS_* macros.
31073 * posix/posix-envs.def: Include posix-conf-vars.h. Use
31074 CONF_IS_* macros.
31075 * scripts/gen-posix-conf-vars.awk: New file.
31076
31077 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
31078
31079 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31080 fegetround): Add no-op macros to avoid linknamespace issues.
31081
31082 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31083 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31084
31085 * sysdeps/unix/sysv/linux/tile/sysdep.h
31086 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31087 assembly-specific section to avoid a redefinition warning.
31088
31089 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31090 long before casting to pointer to avoid a cast warning.
31091
31092 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
31093
31094 * sysdeps/tile/tilegx/Implies: New file.
31095
31096 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
31097
31098 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31099
31100 2014-12-23 Florian Weimer <fweimer@redhat.com>
31101
31102 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31103
31104 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31105
31106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31107 not define.
31108 * sysdeps/unix/sysv/linux/utimes.c: Do not include
31109 <kernel-features.h>.
31110 (__utimes) [__NR_utimes]: Make code unconditional.
31111 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31112 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31113 (__ASSUME_UTIMES): Do not undefine.
31114 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31115 (__ASSUME_UTIMES): Likewise.
31116 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31117 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31118 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31119 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31120
31121 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31122
31123 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31124
31125 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
31126
31127 [BZ #17747]
31128 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31129 alias to weak alias for j0l, y0l.
31130 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31131 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31132
31133 [BZ #17746]
31134 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31135 conversion.
31136
31137 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31138
31139 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31140 to zero if not already defined.
31141
31142 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31143
31144 [BZ #17724]
31145 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31146 (__kernel_standard_f): Remove. Moved to k_standardf.c.
31147 (__kernel_standard_l): Remove. Moved to k_standardl.c with
31148 (char *) casts added.
31149 * sysdeps/ieee754/k_standardf.c: New file.
31150 * sysdeps/ieee754/k_standardl.c: Likewise.
31151 * math/Makefile (libm-support): Remove k_standard.
31152 (libm-calls): Add k_standard.
31153
31154 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31155
31156 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31157 Optimize to avoid an unnecessary FPCR read.
31158
31159 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31160
31161 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31162 Optimize to reduce FPCR/FPSR accesses.
31163
31164 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31165
31166 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31167 Call libc_fetestexcept_aarch64.
31168
31169 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31170
31171 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31172 Call libc_fesetround_aarch64.
31173
31174 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31175
31176 [BZ #17733]
31177 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31178 (__bind): Do not define as weak alias.
31179 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31180 define.
31181 (__getsockname): Do not define as weak alias.
31182
31183 2014-12-22 Will Newton <will.newton@linaro.org>
31184
31185 * manual/install.texi: Document that we require bison 2.7
31186 or above.
31187 * INSTALL: Regenerate.
31188 * configure.ac: Use AC_CHECK_PROG_VER instead of
31189 AC_PATH_PROG when checking for bison and check for
31190 version 2.7 or above.
31191 * configure: Regenerate.
31192
31193 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
31194
31195 [BZ #17745]
31196 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31197 * sysdeps/tile/ffsll.c (ffsll): To here.
31198
31199 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31200
31201 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31202
31203 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31204 if not defined.
31205 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31206 definition.
31207 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31208 hidden ___tls_get_addr.
31209 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31210 hidden __tls_get_addr.
31211 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31212 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31213 Likewise.
31214
31215 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
31216
31217 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31218 _dl_init call.
31219
31220 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31221
31222 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31223 from "call _dl_init@PLT".
31224 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31225
31226 2014-12-21 Anders Kaseorg <andersk@mit.edu>
31227
31228 * manual/search.texi: (Array Sort Function): Clarify stable sorting
31229 guarantees.
31230
31231 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
31232
31233 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31234
31235 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31236
31237 [BZ #17744]
31238 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31239 strnlen.
31240
31241 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31242
31243 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31244 of multu on MIPSr6.
31245 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31246 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31247 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31248 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31249 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31250
31251 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31252
31253 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31254 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31255 (PTR_SUBU): Use subu for mips32r6/mips64r6.
31256 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31257 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31258 mips32r6/mips64r6.
31259 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31260
31261 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
31262
31263 * string/strncat.c (STRNCAT): Simplify implementation.
31264
31265 2014-12-19 David S. Miller <davem@davemloft.net>
31266
31267 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31268 access the quad as both a long double and as a series of 4 words.
31269
31270 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31271 link_map->l_info array access.
31272
31273 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31274
31275 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31276
31277 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31278 * math/atest-exp2.c (TIMEOUT): Likewise.
31279 * math/atest-sincos.c (TIMEOUT): Likewise.
31280
31281 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31282
31283 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31284 -Wno-error with -fno-builtin-lround.
31285
31286 2014-12-19 Torvald Riegel <triegel@redhat.com>
31287
31288 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31289 Contains futex constants and functions moved over from ...
31290 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
31291 <lowlevellock-futex.h>.
31292 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31293 (lll_timedwait_tid): Add comments and parentheses around macro
31294 arguments.
31295
31296 2014-12-19 Torvald Riegel <triegel@redhat.com>
31297
31298 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31299 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
31300 (__lll_private_flag): Remove.
31301 (lll_futex_wait): Likewise.
31302 (lll_futex_timed_wait): Likewise.
31303 (lll_futex_wake): Likewise.
31304 (lll_futex_requeue): Likewise.
31305 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31306 (__lll_timedwait_tid): Spell out argument names.
31307 (lll_timedwait_tid): Add comments and parentheses around macro
31308 arguments.
31309 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31310 LLL_SHARED and LLL_PRIVATE usable from assembly code.
31311
31312 2014-12-19 Torvald Riegel <triegel@redhat.com>
31313
31314 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31315 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31316 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31317 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31318 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31319 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31320 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31321 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31322 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31323 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31324 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31325 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31326 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31327 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31328 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31329 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31330 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31331 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31332 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31333
31334 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31335
31336 * sysdeps/x86_64/x32/Makefile: New file.
31337
31338 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31339
31340 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31341 1L with (mp_limb_t) 1.
31342
31343 2014-12-17 Roland McGrath <roland@hack.frob.com>
31344
31345 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31346 * nptl/libc_pthread_init.c: ... here.
31347 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31348 * nptl/register-atfork.c: ... here.
31349
31350 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31351 Use pthread_sigmask rather than INTERNAL_SYSCALL.
31352 Use assert_perror to check its return value.
31353 (__gai_create_helper_thread): Likewise.
31354
31355 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31356
31357 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31358
31359 2014-12-17 Joseph Myers <joseph@codesourcery.com>
31360
31361 [BZ #17725]
31362 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31363 __profil_counter.
31364 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31365 Likewise.
31366 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31367 Likewise.
31368 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31369 Likewise.
31370 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31371 (profil_counter): Likewise.
31372 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31373 (profil_counter): Likewise.
31374 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31375 Likewise.
31376 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31377 Likewise.
31378 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31379 (profil_counter): Likewise.
31380 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31381 Likewise.
31382 [!__profil_counter] (profil_counter): Define as weak alias of
31383 __profil_counter.
31384 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31385 (profil_counter): Rename to __profil_counter.
31386 [!__profil_counter] (profil_counter): Define as weak alias of
31387 __profil_counter.
31388 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31389 (profil_counter): Rename to __profil_counter.
31390 [!__profil_counter] (profil_counter): Define as weak alias of
31391 __profil_counter.
31392 * sysdeps/posix/profil.c: Update comment referring to
31393 profil_counter.
31394 (__profil): Use __profil_counter instead of profil_counter.
31395 * sysdeps/posix/sprofil.c (profil_counter): Rename to
31396 __profil_counter. Use __profil_counter_ushort and
31397 __profil_counter_uint in definitions.
31398 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31399 instead of profil_counter_uint and profil_counter_ushort.
31400
31401 [BZ #17722]
31402 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31403 define as weak alias of __inet_makeaddr.
31404 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31405 as weak alias of __inet_addr.
31406 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31407 as weak alias of __inet_pton. Use libc_hidden_weak.
31408 * include/arpa/inet.h (__inet_pton): Declare. Use
31409 libc_hidden_proto.
31410 (inet_makeaddr): Don't use libc_hidden_proto.
31411 (__inet_makeaddr): Declare. Use libc_hidden_proto.
31412 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31413 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
31414 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31415 Remove variable.
31416 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31417 (test-xfail-POSIX/time.h/linknamespace): Likewise.
31418
31419 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
31420
31421 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31422
31423 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31424
31425 * stdio-common/bug-vfprintf-nargs.c (do_test):
31426 Cast value to intptr_t to avoid format warning
31427 for usage with PRIdPTR printing macro.
31428
31429 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31430
31431 * libio/tst-widetext.c (do_test):
31432 Use format type %td instead of %Zd for ptrdiff_t
31433 in order to avoid format warning.
31434
31435 2014-12-17 Andreas Schwab <schwab@suse.de>
31436
31437 * nscd/mem.c (gc): Add size_t cast to match printf format.
31438
31439 2014-12-16 Roland McGrath <roland@hack.frob.com>
31440
31441 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31442 (init): Apply PTR_MANGLE to pointers before storing them.
31443 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31444 before using them.
31445
31446 2014-12-16 Joseph Myers <joseph@codesourcery.com>
31447
31448 [BZ #17719]
31449 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31450 define as weak alias of __memrchr.
31451 (__memrchr): Do not define as strong alias of memrchr.
31452 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31453 Remove variable.
31454 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31455 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31456 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31457
31458 [BZ #17717]
31459 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31460 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
31461 (if_indextoname): Rename to __if_indextoname and define as weak
31462 alias of __if_indextoname. Use libc_hidden_weak.
31463 (if_freenameindex): Rename to __if_freenameindex and define as
31464 weak alias of __if_freenameindex.
31465 (if_nameindex): Rename to __if_nameindex and define as weak alias
31466 of __if_nameindex.
31467 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31468 __if_nametoindex and define as weak alias of __if_nametoindex.
31469 Use libc_hidden_weak.
31470 (if_freenameindex): Rename to __if_freenameindex and define as
31471 weak alias of __if_freenameindex.
31472 (if_nameindex): Rename to __if_nameindex and define as weak alias
31473 of __if_nameindex.
31474 (if_indextoname): Rename to __if_indextoname and define as weak
31475 alias of __if_indextoname. Use libc_hidden_weak.
31476 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31477 __if_nametoindex and define as weak alias of __if_nametoindex.
31478 Use libc_hidden_weak.
31479 (if_freenameindex): Rename to __if_freenameindex and define as
31480 weak alias of __if_freenameindex. Use libc_hidden_weak.
31481 (if_nameindex_netlink): Use __if_freenameindex instead of
31482 if_freenameindex.
31483 (if_nameindex): Rename to __if_nameindex and define as weak alias
31484 of __if_nameindex. Use libc_hidden_weak.
31485 (if_indextoname): Rename to __if_indextoname and define as weak
31486 alias of __if_indextoname. Use libc_hidden_weak.
31487 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31488 libc_hidden_proto.
31489 [!_ISOMAC] (__if_freenameindex): Likewise.
31490 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31491 if_nametoindex.
31492 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31493 variable.
31494 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31495 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31496 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31497 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31498 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31499 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31500 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31501
31502 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31503 Remove variable.
31504 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31505 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31506
31507 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31508
31509 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31510 subscript above bounds'
31511
31512 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31513 bounds.
31514
31515 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31516
31517 * libio/tst-fopenloc.c: Use test-skeleton.c.
31518
31519 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31520 (entry): Rename to ITEM.
31521 (do_test, comp): Adjust.
31522
31523 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31524
31525 2014-12-16 Torvald Riegel <triegel@redhat.com>
31526
31527 * string/tester.c: Include <libc-internal.h>.
31528 (test_memset): Ignore -Wmemset-transposed-args.
31529
31530 2014-12-16 Torvald Riegel <triegel@redhat.com>
31531
31532 * misc/tst-mntent2.c (do_test): Fix warning.
31533
31534 2014-12-16 Torvald Riegel <triegel@redhat.com>
31535
31536 * elf/tst-unique4lib.cc(a): Mark as used.
31537
31538 2014-12-16 Florian Weimer <fweimer@redhat.com>
31539
31540 [BZ #17630]
31541 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31542 names.
31543
31544 2014-12-16 Allan McRae <allan@archlinux.org>
31545
31546 * stdio-common/Makefile (tests): Re-add bug26.
31547
31548 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31549
31550 [BZ #17657]
31551 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31552 static array.
31553
31554 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31555
31556 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31557 (__lll_lock_wait): Likewise.
31558 (__lll_timedlock_wait): Likewise.
31559 (__lll_timedwait_tid): Likewise.
31560 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31561 (__lll_robust_timedlock_wait): Likewise.
31562 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31563 (lll_cond_trylock): Likewise.
31564 (__lll_lock): Likewise.
31565 (__lll_robust_lock): Likewise.
31566 (__lll_cond_lock): Likewise.
31567 (lll_robust_cond_lock): Likewise.
31568 (__lll_timedlock): Likewise.
31569 (__lll_robust_timedlock): Likewise.
31570 (__lll_unlock): Likewise.
31571 (__lll_robust_unlock): Likewise.
31572 (lll_wait_tid): Likewise.
31573 (lll_timedwait_tid): Likewise.
31574
31575 2014-12-15 Torvald Riegel <triegel@redhat.com>
31576
31577 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31578
31579 2014-12-15 Torvald Riegel <triegel@redhat.com>
31580
31581 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31582
31583 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31584
31585 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31586 * stdio-common/tst-sprintf.c: Likewise.
31587
31588 2014-12-15 Torvald Riegel <triegel@redhat.com>
31589
31590 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31591
31592 2014-12-15 Jeff Law <law@redhat.com>
31593
31594 [BZ #16617]
31595 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31596 on the heap. (CVE-2012-3406)
31597 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31598 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31599 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31600
31601 2014-12-15 Will Newton <will.newton@linaro.org>
31602
31603 * manual/install.texi: Bump required version of texinfo
31604 to 4.7 from 4.5.
31605 * INSTALL: Regenerated.
31606 * configure.ac: Check for makeinfo version 4.7 and above.
31607 * configure: Regenerated.
31608
31609 2014-12-12 Roland McGrath <roland@hack.frob.com>
31610
31611 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31612 PREFIX, string constant to insert between directory and name.
31613 * sysdeps/posix/shm_open.c: Update caller.
31614 * sysdeps/posix/shm_unlink.c: Likewise.
31615 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31616 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31617 (SEM_SHM_PREFIX): New macro.
31618 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31619 [$(have-thread-library) = no].
31620 * nptl/Makefile (libpthread-routines): Add shm-directory.
31621 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31622 * sysdeps/nptl/shm-directory.h: New file.
31623 * sysdeps/posix/shm-directory.c
31624 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31625 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31626 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31627 INTERNAL_SYSCALL.
31628 (__where_is_shmfs): Function removed.
31629 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31630 Variables removed.
31631 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31632 Use SHM_GET_NAME.
31633 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31634
31635 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31636 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31637 unconditional for use inside libpthread.
31638 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31639
31640 2014-12-12 Roland McGrath <roland@hack.frob.com>
31641
31642 * nptl/pthread_getaffinity.c: New file.
31643 * nptl/pthread_setaffinity.c: New file.
31644 * nptl/pthread_getname.c: New file.
31645 * nptl/pthread_setname.c: New file.
31646
31647 * nptl/pthread_create.c (START_THREAD_DEFN)
31648 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31649
31650 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31651 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31652
31653 * resolv/res_send.c (send_vc): Disable warning resplen may
31654 be used uninitialized.
31655
31656 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31657
31658 * nptl/tst-mutex6.c
31659 (ATTR_NULL): New define checks ATTR against NULL.
31660 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31661 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31662
31663 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31664
31665 [BZ #17581]
31666 * malloc/hooks.c
31667 (mem2mem_check): Revert my previous change.
31668 (malloc_check_get_size): Revert my previous change.
31669 (mem2chunk_check): Revert my previous change.
31670
31671 2014-12-11 Roland McGrath <roland@hack.frob.com>
31672
31673 * sysdeps/posix/shm-directory.c: New file.
31674 * sysdeps/posix/shm-directory.h: New file.
31675 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31676 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31677 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31678 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31679 Transmute EPERM to EACCES.
31680 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31681 from ...
31682 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31683 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31684
31685 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31686
31687 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31688 pointer and cast to uintptr_t.
31689 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31690 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31691 Add cast to avoid warning.
31692 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31693
31694 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31695
31696 * nptl/semaphore.h: Move to ...
31697 * sysdeps/pthread/semaphore.h: ... here.
31698 * Makefile (installed-headers): Change nptl/semaphore.h to
31699 sysdeps/pthread/semaphore.h.
31700
31701 2014-12-11 Roland McGrath <roland@hack.frob.com>
31702
31703 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31704 generated error format strings.
31705
31706 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31707 -Wformat-extra-args warnings for scanf formats.
31708 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31709 test of zero-length format (duh).
31710 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31711 corner-case scanf format test.
31712 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31713 generated fprintf format string.
31714 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31715 corner-case sprintf format tests.
31716 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31717 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31718 -Wformat-extra-args warnings throughout.
31719 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31720 (CFLAGS-scanf4.c): Likewise.
31721 (CFLAGS-scanf7.c): Likewise.
31722 (CFLAGS-tst-sprintf.c): Likewise.
31723 (CFLAGS-tst-printf.c): Likewise.
31724 (CFLAGS-tst-printfsz.c): Likewise.
31725
31726 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31727
31728 * include/cpio.h: New file.
31729 * include/fmtmsg.h: Likewise.
31730
31731 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
31732 corresponding format argument to size_t.
31733 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
31734 arguments.
31735 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
31736 corresponding format argument to size_t.
31737 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
31738 arguments.
31739 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
31740 corresponding format argument to size_t.
31741 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31742 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31743 (CFLAGS-tst-mbswcs2.c): Likewise.
31744 (CFLAGS-tst-mbswcs3.c): Likewise.
31745 (CFLAGS-tst-mbswcs4.c): Likewise.
31746 (CFLAGS-tst-mbswcs5.c): Likewise.
31747 (CFLAGS-tst-trans.c): Likewise.
31748
31749 2014-12-11 Roland McGrath <roland@hack.frob.com>
31750
31751 * posix/regexbug1.c (main): Use "%s" format with regerror results,
31752 rather than assuming they won't contain any '%'s.
31753
31754 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
31755
31756 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31757 inhibit_loop_to_libcall to avoid recursive calls.
31758 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31759 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31760
31761 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31762
31763 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31764 prototype.
31765
31766 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31767
31768 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31769 integer value instead of boolean.
31770
31771 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31772
31773 * malloc/malloc.c: Fix powerof2 check.
31774
31775 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31776
31777 * locale/programs/locfile.h (maybe_swap_uint32):
31778 Remove inline and add unused attribute.
31779
31780 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31781
31782 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31783 Truncating assembler expression to a .long expression.
31784
31785 2014-12-11 Andreas Schwab <schwab@suse.de>
31786
31787 * elf/rtld.c (struct map_args): Constify str member.
31788 (do_preload): Constify fname argument.
31789
31790 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31791
31792 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31793 constants definition.
31794
31795 2014-12-11 Andreas Schwab <schwab@suse.de>
31796
31797 [BZ #16657]
31798 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31799 FORCE_ELISION instead of DO_ELISION.
31800 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31801 Remove.
31802 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31803 Likewise.
31804
31805 * iconvdata/gconv-modules: Remove duplicate entry.
31806
31807 2014-12-11 Will Newton <will.newton@linaro.org>
31808
31809 Merge gettext 0.19.3 into intl/.
31810
31811 This involves a number of cosmetic changes to comments
31812 and ANSI function definitions and prototypes throughout
31813 all the files. The gettext copyright header is used but
31814 with the date ranges taken from the glibc copy.
31815
31816 * NEWS: Add gettext merge to 2.21.
31817 * intl/bindtextdom.c: Switch to gettext copyright.
31818 Use ANSI definitions and prototypes.
31819 Use gl_* locking primitives rather than __libc_* ones.
31820 Use __builtin_expect rather than __glibc_likely/unlikely.
31821 * intl/dcgettext.c: Switch to gettext copyright.
31822 Use ANSI definitions and prototypes.
31823 * intl/dcigettext.c: Switch to gettext copyright.
31824 Use ANSI definitions and prototypes.
31825 (INTDIV0_RAISES_SIGFPE): New define.
31826 Use gl_* locking primitives rather than __libc_* ones.
31827 Include eval-plural.h instead of plural-eval.c.
31828 Use __builtin_expect rather than __glibc_likely/unlikely.
31829 * intl/dcngettext.c: Switch to gettext copyright.
31830 Use ANSI definitions and prototypes.
31831 * intl/dgettext.c: Likewise.
31832 * intl/dngettext.c: Likewise.
31833 * intl/plural-eval.c: Renamed to...
31834 * intl/eval-plural.h: ...this.
31835 * intl/explodename.c: Switch to gettext copyright.
31836 Use ANSI definitions and prototypes.
31837 (_nl_explode_name): Use strchr instead of __rawmemchr.
31838 * intl/finddomain.c: Switch to gettext copyright.
31839 Use ANSI definitions and prototypes.
31840 Use gl_* locking primitives rather than __libc_* ones.
31841 (_nl_find_domain): Use malloc rather than alloca for
31842 allocation of temporary locale name.
31843 * intl/gettext.c: Switch to gettext copyright.
31844 Use ANSI definitions and prototypes.
31845 * intl/gettextP.h: Switch to gettext copyright.
31846 Use ANSI definitions and prototypes.
31847 Use gl_* locking primitives rather than __libc_* ones.
31848 * intl/gmo.h: Switch to gettext copyright.
31849 (struct sysdep_string): Move struct segment_pair outside of
31850 struct definition.
31851 * intl/hash-string.c: Use ANSI definitions and prototypes.
31852 * intl/hash-string.h: Switch to gettext copyright.
31853 Use ANSI definitions and prototypes.
31854 * intl/l10nflist.c: Switch to gettext copyright.
31855 Use ANSI definitions and prototypes.
31856 (_nl_normalize_codeset): Avoid integer overflow.
31857 * intl/loadinfo.h: Switch to gettext copyright.
31858 Use ANSI definitions and prototypes.
31859 (LIBINTL_DLL_EXPORTED): New define.
31860 (PATH_SEPARATOR): New define.
31861 * intl/loadmsgcat.c: Switch to gettext copyright.
31862 * intl/localealias.c: Switch to gettext copyright.
31863 Use ANSI definitions and prototypes.
31864 (_nl_expand_alias): Use PATH_SEPARATOR.
31865 * intl/ngettext.c: Switch to gettext copyright.
31866 Use ANSI definitions and prototypes.
31867 * intl/plural-exp.c: Likewise.
31868 * intl/plural-exp.h: Switch to gettext copyright.
31869 Use ANSI definitions and prototypes.
31870 (struct expression): Move definition of enum operator outside
31871 of struct definition.
31872 * intl/plural.c: Regenerate.
31873 * intl/plural.y: Switch to gettext copyright.
31874 Use ANSI definitions and prototypes.
31875 Port to bison 3.0.
31876 * intl/textdomain.c: Switch to gettext copyright.
31877 Use ANSI definitions and prototypes.
31878 Use gl_* locking primitives rather than __libc_* ones.
31879
31880 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
31881
31882 * debug/warning-nop.c: Add used atrribute.
31883
31884 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31885
31886 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31887
31888 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31889 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31890 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31891
31892 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31893 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31894
31895 [BZ #17634]
31896 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31897 Undefine after defining function. Define as weak alias of
31898 __wcschr. Use libc_hidden_weak.
31899 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
31900 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31901 (libc_hidden_def): Also define __GI___wcschr alias.
31902 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31903 __wcschr and define as weak alias of __wcschr.
31904 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31905 __wcschr.
31906 [!WCSCHR] (DEFAULT_WCSCHR): Define.
31907 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31908 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
31909 libc_hidden_weak. Do not use libc_hidden_def.
31910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31911 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31912 __GI___wcschr alias.
31913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31914 [IS_IN (libc)] (wcschr): Define as macro expanding to
31915 __redirect_wcschr.
31916 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31917 [IS_IN (libc)] (__wcschr_power6): Likewise.
31918 [IS_IN (libc)] (__wcschr_power7): Likewise.
31919 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
31920 instead of wcschr.
31921 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31922 __libc_wcschr.
31923 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31924 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31925 __wcschr and define as weak alias of __wcschr. Use
31926 libc_hidden_builtin_def.
31927 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31928 as weak alias of __wcschr. Use libc_hidden_weak.
31929 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31930 wcschr.
31931 * time/era.c (_nl_init_era_entries): Likewise.
31932 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31933 variable.
31934 (test-xfail-XPG3/time.h/linknamespace): Likewise.
31935 (test-xfail-XPG4/time.h/linknamespace): Likewise.
31936
31937 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31938
31939 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31940 format for long int variable.
31941
31942 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
31943
31944 [BZ #10672]
31945 * manual/search.texi: (Array Sort Function): Remove claim how to make
31946 qsort stable.
31947
31948 2014-12-10 Andreas Schwab <schwab@suse.de>
31949
31950 [BZ #12847]
31951 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31952 user-controlled locks.
31953
31954 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
31955
31956 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31957 register.
31958
31959 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31960
31961 * configure.ac (--disable-werror): New configure option.
31962 (enable_werror): New AC_SUBST.
31963 * configure: Regenerated.
31964 * config.make.in (enable-werror): New variable.
31965 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31966 -Wno-error=undef.
31967 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31968 * manual/install.texi (Configuring and compiling): Document
31969 --disable-werror.
31970 * INSTALL: Regenerated.
31971 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31972 (CFLAGS-tst-chk2.c): Likewise.
31973 (CFLAGS-tst-chk3.c): Likewise.
31974 (CFLAGS-tst-chk4.cc): Likewise.
31975 (CFLAGS-tst-chk5.cc): Likewise.
31976 (CFLAGS-tst-chk6.cc): Likewise.
31977 (CFLAGS-tst-lfschk1.c): Likewise.
31978 (CFLAGS-tst-lfschk2.c): Likewise.
31979 (CFLAGS-tst-lfschk3.c): Likewise.
31980 (CFLAGS-tst-lfschk4.cc): Likewise.
31981 (CFLAGS-tst-lfschk5.cc): Likewise.
31982 (CFLAGS-tst-lfschk6.cc): Likewise.
31983
31984 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31985 (main): Disable -Wdeprecated-declarations around calls to
31986 register_printf_function.
31987
31988 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31989 (do_test): Disable -Wdiv-by-zero around some calls to
31990 fwrite_unlocked and fread_unlocked.
31991
31992 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31993 (DIAG_POP_NEEDS_COMMENT): Likewise.
31994 (_DIAG_STR1): Likewise.
31995 (_DIAG_STR): Likewise.
31996 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31997 * stdio-common/bug21.c: Include <libc-internal.h>.
31998 (do_test): Disable -Wformat around call to sscanf.
31999 * stdio-common/scanf14.c: Include <libc-internal.h>.
32000 (main): Disable -Wformat around some calls to scanf functions.
32001
32002 2014-12-09 Torvald Riegel <triegel@redhat.com>
32003
32004 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32005
32006 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32007
32008 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32009 stack variable alignment.
32010
32011 2014-12-06 Joseph Myers <joseph@codesourcery.com>
32012
32013 [BZ #17682]
32014 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32015 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32016 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32017 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32018 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32019 __getrlimit instead of getrlimit.
32020 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32021 __gettimeofday instead of gettimeofday.
32022 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32023 Likewise.
32024 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32025 Likewise.
32026 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32027 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32028 Remove variable.
32029 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32030 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32031
32032 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32033
32034 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32035 for wide-character tests.
32036
32037 2014-12-04 Roland McGrath <roland@hack.frob.com>
32038
32039 * io/openat64.c: #include <libc-internal.h>
32040 (__openat64): Prototypify. Use ignore_value on MODE.
32041 * io/openat.c: Likewise.
32042 * misc/reboot.c: #include <libc-internal.h>
32043 (reboot): Prototypify. Use ignore_value on HOWTO.
32044 * misc/ptrace.c: #include <libc-internal.h>
32045 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
32046
32047 2014-12-04 Joseph Myers <joseph@codesourcery.com>
32048
32049 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32050 XPG4, UNIX98 and XOPEN2K.
32051 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32052 Remove variable.
32053 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32054
32055 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32056
32057 * libio/fileops.c: Use ISO C style for function definitions.
32058 * libio/iofopen.c: Likewise.
32059 * libio/wfileops.c: Likewise.
32060
32061 [BZ #17653]
32062 * libio/fileops.c (_IO_new_file_underflow): Unset cached
32063 offset on EOF.
32064 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32065 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32066 (fgets_func): Function pointer to fgets and fgetws.
32067 (do_ftell_test): Add test to verify ftell value after read
32068 EOF.
32069 (do_test): Set fgets_func.
32070
32071 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32072 O_TRUNC flag for w and w+ modes.
32073 (do_rewind_test): Likewise.
32074 (do_ftell_test): Likewise.
32075 (do_write_test): Likewise.
32076
32077 [BZ #17647]
32078 * libio/fileops.c (do_ftell): Seek only when there are
32079 unflushed writes.
32080 * libio/wfileops.c (do_ftell_wide): Likewise.
32081 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32082 test case.
32083 (do_one_test): Call it.
32084
32085 2014-12-03 Joseph Myers <joseph@codesourcery.com>
32086
32087 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32088 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32089 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32090 Remove variable.
32091 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32092 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32093 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32094
32095 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32096
32097 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32098 Remove variable.
32099 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32100
32101 [BZ #17668]
32102 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32103 as weak alias of __getifaddrs. Use libc_hidden_weak.
32104 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32105 __freeifaddrs. Use libc_hidden_weak.
32106 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32107 define as weak alias of __getifaddrs. Use libc_hidden_weak.
32108 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32109 __freeifaddrs. Use libc_hidden_weak.
32110 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32111 __getifaddrs and define as weak alias of __getifaddrs. Use
32112 libc_hidden_weak.
32113 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32114 __freeifaddrs. Use libc_hidden_weak.
32115 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32116 Remove variable.
32117 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32118 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32119
32120 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32121
32122 [BZ #17601]
32123 * sysdeps/mips/start.S (__start): Use indirect jump to call
32124 __libc_start_main.
32125
32126 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32127
32128 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32129
32130 * nptl/tst-mutex1.c: Include <stdbool.h>.
32131 [!ATTR] (ATTR_NULL): New macro.
32132 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32133 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32134 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32135
32136 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32137 to char *.
32138
32139 [BZ #17665]
32140 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32141 Change conditional to [__USE_MISC].
32142
32143 [BZ #17664]
32144 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32145 fgets_unlocked.
32146 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32147 __fgets_unlocked.
32148 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32149 fgets_unlocked.
32150 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32151 Remove variable.
32152 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32153 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32154 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32155 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32156 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32157 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32158 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32159 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32160 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32161
32162 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32163
32164 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32165
32166 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32167 Remove strpbrk objects.
32168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32169 (__libc_ifunc_impl_list): Remove strpbrk implementation.
32170 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32171 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32172 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32173 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32174
32175 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32176 Remove strcspn objects.
32177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32178 (__libc_ifunc_impl_list): Remove strcspn implementation.
32179 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32180 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32181 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32182 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32183
32184 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32185 Remove strspn objetcs.
32186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32187 (__libc_ifunc_impl_list): Remove strspn implementation.
32188 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32189 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32190 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32191 * sysdeps/powerpc/powerpc64/strspn.S: New file.
32192
32193 2014-12-01 James Lemke <jwlemke@codesourcery.com>
32194
32195 [BZ #17581]
32196 * malloc/hooks.c
32197 (mem2mem_check): Add a terminator to the chain of checking blocks.
32198 (malloc_check_get_size): Use it here.
32199 (mem2chunk_check): Ditto.
32200
32201 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32202
32203 * sysdeps/powerpc/powerpc64/strtok.S: New file.
32204 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32205
32206 2014-11-29 Carlos O'Donell <carlos@redhat.com>
32207
32208 * bits/ioctl-types.h: Indent preprocessor directives correctly.
32209
32210 * nptl/nptl-init.c: Include libc-internal.h.
32211 (__pthread_initialize_minimal_internal): Use ROUND_UP.
32212
32213 * elf/ldconfig.c (search_dir): Expand comment.
32214
32215 2014-11-29 Joseph Myers <joseph@codesourcery.com>
32216
32217 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32218 variable.
32219 (linknamespace-symlist-stdlibs-tests): Likewise.
32220 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32221 instead of $(objpfx)symlist-stdlibs.
32222 (linknamespace-libs-isoc): New variable.
32223 (linknamespace-libs): Use $(linknamespace-libs-isoc).
32224 (linknamespace-libs-ISO): New variable.
32225 (linknamespace-libs-ISO99): Likewise.
32226 (linknamespace-libs-ISO11): Likewise.
32227 (linknamespace-libs-XPG3): Likewise.
32228 (linknamespace-libs-XPG4): Likewise.
32229 (linknamespace-libs-POSIX): Likewise.
32230 (linknamespace-libs-UNIX98): Likewise.
32231 (linknamespace-libs-XOPEN2K): Likewise.
32232 (linknamespace-libs-POSIX2008): Likewise.
32233 (linknamespace-libs-XOPEN2K8): Likewise.
32234 ($(objpfx)symlist-stdlibs): Replace by
32235 $(linknamespace-symlist-stdlibs-tests). Use
32236 $(linknamespace-libs-$*) as set of libraries.
32237 ($(linknamespace-header-tests)): Update dependencies. Use
32238 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32239 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32240 * conform/linknamespace.pl: Remove comment about considering
32241 definitions of symbols from irrelevant libraries.
32242
32243 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
32244
32245 [BZ #13862]
32246 * elf/dl-tls.c: Include <atomic.h>.
32247 (oom): Remove #ifdef SHARED/#endif.
32248 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32249 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
32250 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32251 big enough.
32252 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32253 * nptl/Makefile (tests): Add tst-stack4.
32254 (modules-names): Add tst-stack4mod.
32255 ($(objpfx)tst-stack4): New.
32256 (tst-stack4mod.sos): Likewise.
32257 ($(objpfx)tst-stack4.out): Likewise.
32258 ($(tst-stack4mod.sos)): Likewise.
32259 (clean): Likewise.
32260 * nptl/tst-stack4.c: New file.
32261 * nptl/tst-stack4mod.c: Likewise.
32262
32263 2014-11-27 J. Brown <jb999@gmx.de>
32264
32265 * sysdeps/x86/bits/string.h: Add recent CPUs.
32266
32267 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32268
32269 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32270 sigblock.
32271
32272 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32273 feof.
32274
32275 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32276 variable.
32277
32278 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
32279
32280 * nscd/connections.c: Include libc-internal.h because of macro
32281 usage ignore_value.
32282
32283 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32284
32285 * string/bits/string3.h (__warn_memset_zero_len): Don't
32286 declare for gcc newer than 5.0.
32287 (memset): Don't test for zero-length __LEN for gcc newer than
32288 5.0.
32289
32290 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32291
32292 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32293 size_t for %zu format.
32294
32295 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32296 difference, not %ju.
32297
32298 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32299
32300 * include/libc-internal.h (ignore_value): New macro.
32301 * nscd/connections.c (restart): Wrap calls to setuid and setgid
32302 with ignore_value.
32303
32304 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32305 definition.
32306
32307 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32308 pthread_cleanup_push to void *.
32309
32310 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32311 Undefine.
32312
32313 [BZ #16619]
32314 [BZ #16740]
32315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32316 instead of 1L << 52.
32317
32318 * libio/bug-rewind.c (do_test): Check fwscanf return values.
32319 * libio/bug-rewind2.c (do_test): Likewise.
32320
32321 * debug/test-stpcpy_chk-ifunc.c: Remove file.
32322 * debug/test-strcpy_chk-ifunc.c: Likewise.
32323 * wcsmbs/test-wcschr-ifunc.c: Likewise.
32324 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32325 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32326 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32327 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32328 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32329 * Rules [$(multi-arch) = no] (tests): Do not filter out
32330 $(tests-ifunc).
32331 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32332 * debug/Makefile (tests-ifunc): Remove variable.
32333 (tests): Do not add $(tests-ifunc).
32334 * wcsmbs/Makefile (tests-ifunc): Remove variable.
32335 (tests): Do not add $(tests-ifunc).
32336 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32337 [TEST_IFUNC]: Remove conditionals.
32338 * string/test-string.h (TEST_IFUNC): Remove macro.
32339 [TEST_IFUNC]: Remove conditionals.
32340
32341 * string/test-strchr.c [!WIDE] (L): New macro.
32342 [WIDE] (L): Likewise.
32343 (check1): Use CHAR instead of char. Use L on string and character
32344 constants.
32345
32346 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
32347
32348 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32349 tests.
32350 * sysdeps/powerpc/bits/atomic.h
32351 (__arch_atomic_exchange_and_add_32_acq): Add definition.
32352 (__arch_atomic_exchange_and_add_32_rel): Likewise.
32353 (atomic_exchange_and_add_acq): Likewise.
32354 (atomic_exchange_and_add_rel): Likewise.
32355 * sysdeps/powerpc/powerpc32/bits/atomic.h
32356 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32357 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32358 * sysdeps/powerpc/powerpc64/bits/atomic.h
32359 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32360 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32361
32362 2014-11-26 Torvald Riegel <triegel@redhat.com>
32363
32364 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32365 Change synchronization of __sched_fifo_min_prio and
32366 __sched_fifo_max_prio.
32367 * nptl/pthread_mutexattr_getprioceiling.c
32368 (pthread_mutexattr_getprioceiling): Likewise.
32369 * nptl/pthread_mutexattr_setprioceiling.c
32370 (pthread_mutexattr_setprioceiling): Likewise.
32371 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32372 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32373 Likewise.
32374
32375 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32376
32377 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32378 void.
32379
32380 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32381
32382 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32383 third argument const.
32384
32385 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
32386
32387 fnmatch: work around GCC compiler warning bug with uninit var
32388 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32389 This works around a bug with x86-64 GCC 4.9.2 and earlier
32390 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32391 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32392 used uninitialized in this function [-Wmaybe-uninitialized]".
32393
32394 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32395
32396 * posix/bug-regex31.c (main): Return RES not 0.
32397
32398 2014-11-25 Anton Blanchard <anton@samba.org>
32399
32400 * sysdeps/powerpc/bits/atomic.h
32401 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32402
32403 2014-11-24 Sterling Augustine <saugustine@google.com>
32404
32405 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32406
32407 2014-11-24 Ryan Cumming <etaoins@gmail.com>
32408
32409 [BZ #17608]
32410 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32411
32412 2014-11-24 Joseph Myers <joseph@codesourcery.com>
32413
32414 [BZ #17633]
32415 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32416 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32417 variable.
32418 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32419 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32420
32421 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32422
32423 * string/strncpy.c (strncpy): Improve performance by using memset.
32424
32425 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32426
32427 * string/strcpy.c (strcpy):
32428 Improve performance by using strlen and memcpy.
32429
32430 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
32431
32432 * string/strcoll_l.c (get_next_seq): __always_inline.
32433 * string/strcoll_l.c (do_compare): __always_inline.
32434
32435 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32436
32437 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32438 defined.
32439 * include/mqueue.h: Likewise.
32440 * include/stdlib.h: Likewise.
32441
32442 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32443 (get_null_defines): Adjust.
32444 * sunrpc/Makefile: Adjust comment.
32445 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32446 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32447 (CFLAGS-interp.c): Likewise.
32448 (CFLAGS-ldconfig.c): Likewise.
32449 (CPPFLAGS-.os): Likewise.
32450 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32451 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32452 * extra-modules.mk (extra-modules.mk): Likewise.
32453 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32454 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32455 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32456 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32457 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32458 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32459 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32460 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32461 * iconvdata/Makefile (CPPFLAGS): Likewise.
32462 (cpp-srcs-left): Add libof for all iconvdata routines.
32463 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32464 * include/assert.h: Likewise.
32465 * include/ctype.h: Likewise.
32466 * include/errno.h: Likewise.
32467 * include/libc-symbols.h: Likewise.
32468 * include/math.h: Likewise.
32469 * include/netdb.h: Likewise.
32470 * include/resolv.h: Likewise.
32471 * include/stdio.h: Likewise.
32472 * include/stdlib.h: Likewise.
32473 * include/string.h: Likewise.
32474 * include/sys/stat.h: Likewise.
32475 * include/wctype.h: Likewise.
32476 * intl/l10nflist.c: Likewise.
32477 * libidn/idn-stub.c: Likewise.
32478 * libio/libioP.h: Likewise.
32479 * nptl/libc_multiple_threads.c: Likewise.
32480 * nptl/pthreadP.h: Likewise.
32481 * posix/regex_internal.h: Likewise.
32482 * resolv/res_hconf.c: Likewise.
32483 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32484 * sysdeps/arm/memmove.S: Likewise.
32485 * sysdeps/arm/sysdep.h: Likewise.
32486 * sysdeps/generic/_itoa.h: Likewise.
32487 * sysdeps/generic/symbol-hacks.h: Likewise.
32488 * sysdeps/gnu/errlist.awk: Likewise.
32489 * sysdeps/gnu/errlist.c: Likewise.
32490 * sysdeps/i386/i586/memcpy.S: Likewise.
32491 * sysdeps/i386/i586/memset.S: Likewise.
32492 * sysdeps/i386/i686/memcpy.S: Likewise.
32493 * sysdeps/i386/i686/memmove.S: Likewise.
32494 * sysdeps/i386/i686/mempcpy.S: Likewise.
32495 * sysdeps/i386/i686/memset.S: Likewise.
32496 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32497 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32498 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32499 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32500 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32501 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32502 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32503 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32504 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32506 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32507 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32508 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32509 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32510 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32511 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32512 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32513 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32514 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32515 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32516 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32517 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32518 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32519 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32520 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32521 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32522 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32523 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32524 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32525 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32526 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32530 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32536 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32538 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32539 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32540 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32541 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32542 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32543 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32544 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32545 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32546 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32547 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32548 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32549 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32550 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32551 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32552 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32553 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32554 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32555 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32556 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32557 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32558 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32559 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32560 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32561 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32562 * sysdeps/posix/closedir.c: Likewise.
32563 * sysdeps/posix/opendir.c: Likewise.
32564 * sysdeps/posix/readdir.c: Likewise.
32565 * sysdeps/posix/rewinddir.c: Likewise.
32566 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32567 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32568 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32569 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32570 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32571 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32572 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32574 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32575 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32576 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32577 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32578 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32579 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32580 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32581 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32582 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32583 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32584 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32585 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32586 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32587 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32588 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32589 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32590 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32591 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32592 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32593 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32594 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32598 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32600 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32601 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32602 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32603 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32604 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32605 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32606 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32607 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32608 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32609 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32610 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32611 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32612 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32613 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32614 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32615 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32616 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32617 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32618 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32619 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32620 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32621 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32622 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32623 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32624 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32625 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32626 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32627 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32628 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32629 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32630 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32631 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32632 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32633 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32634 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32635 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32636 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32637 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32638 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32639 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32640 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32641 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32642 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32643 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32644 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32645 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32646 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32647 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32648 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32649 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32650 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32651 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32652 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32653 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32654 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32655 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32656 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32657 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32658 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32659 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32661 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32662 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32664 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32665 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32666 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32667 * sysdeps/unix/alpha/sysdep.S: Likewise.
32668 * sysdeps/unix/alpha/sysdep.h: Likewise.
32669 * sysdeps/unix/make-syscalls.sh: Likewise.
32670 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32671 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32672 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32673 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32674 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32675 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32676 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32677 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32678 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32679 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32680 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32681 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32682 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32683 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32684 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32685 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32686 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32687 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32688 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32689 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32690 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32691 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32692 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32693 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32694 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32695 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32696 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32699 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32700 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32701 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32703 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32704 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32708 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32709 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32710 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32711 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32712 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32713 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32714 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32717 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32720 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32721 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32722 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32723 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32724 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32725 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32726 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32728 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32729 * sysdeps/x86_64/memcpy.S: Likewise.
32730 * sysdeps/x86_64/memmove.c: Likewise.
32731 * sysdeps/x86_64/memset.S: Likewise.
32732 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32733 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32734 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32735 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32736 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32738 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32739 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32740 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32741 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32742 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32743 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32744 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32745 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32746 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32747 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32748 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32749 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32750 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32751 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32752 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32753 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32754 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32756 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32757 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32758 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32759 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32760 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32761 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32762 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32763 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32764 * sysdeps/x86_64/strcmp.S: Likewise.
32765
32766 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32767
32768 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32769 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32770 * elf/rtld-Rules: Likewise.
32771 * elf/setup-vdso.h: Likewise.
32772 * include/assert.h: Likewise.
32773 * include/bits/stdlib-float.h: Likewise.
32774 * include/errno.h: Likewise.
32775 * include/sys/stat.h: Likewise.
32776 * include/unistd.h: Likewise.
32777 * sysdeps/aarch64/setjmp.S: Likewise.
32778 * sysdeps/alpha/setjmp.S: Likewise.
32779 * sysdeps/arm/__longjmp.S: Likewise.
32780 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32781 * sysdeps/arm/setjmp.S: Likewise.
32782 * sysdeps/arm/sysdep.h: Likewise.
32783 * sysdeps/generic/_itoa.h: Likewise.
32784 * sysdeps/generic/dl-sysdep.h: Likewise.
32785 * sysdeps/generic/ldsodefs.h: Likewise.
32786 * sysdeps/i386/dl-tls.h: Likewise.
32787 * sysdeps/i386/setjmp.S: Likewise.
32788 * sysdeps/m68k/setjmp.c: Likewise.
32789 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32790 * sysdeps/mach/hurd/opendir.c: Likewise.
32791 * sysdeps/posix/getcwd.c: Likewise.
32792 * sysdeps/posix/opendir.c: Likewise.
32793 * sysdeps/posix/profil.c: Likewise.
32794 * sysdeps/powerpc/dl-procinfo.h: Likewise.
32795 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32796 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32797 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32798 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32799 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32800 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32801 * sysdeps/s390/dl-tls.h: Likewise.
32802 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32803 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32804 * sysdeps/sh/sh3/setjmp.S: Likewise.
32805 * sysdeps/sh/sh4/setjmp.S: Likewise.
32806 * sysdeps/unix/alpha/sysdep.h: Likewise.
32807 * sysdeps/unix/arm/sysdep.S: Likewise.
32808 * sysdeps/unix/i386/sysdep.S: Likewise.
32809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32810 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32811 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32812 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32814 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32815 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32816 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32817 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32818 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32819 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32820 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32821 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32824 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32827 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32828 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32829 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32830 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32832 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32833 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32834 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32836 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32837 * sysdeps/x86_64/setjmp.S: Likewise.
32838
32839 * include/math.h: Use IS_IN instead of IS_IN_libm.
32840 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32841 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32842 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32843 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32844 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32845 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32846 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32847 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32848 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32849 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32850 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32851 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32852 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32853 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32854 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32855 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32856 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32857 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32858 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32859 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32860 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32861 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32862 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32863 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32864 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32865 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32866 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32867 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32868 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32869 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32870 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32871 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32872 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32874 Likewise.
32875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32876 Likewise.
32877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32878 Likewise.
32879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32880 Likewise.
32881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32882 Likewise.
32883 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32885 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32886 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32887 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32888 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32894 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32895 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32896 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32897 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32899 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32900 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32901 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32902 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32903 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32904 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32905 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32906 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32907 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32909 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32910
32911 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32912 * nptl/pthreadP.h: Likewise.
32913 * nptl_db/structs.def: Likewise.
32914 * sysdeps/arm/sysdep.h: Likewise.
32915 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32916 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32917 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32918 * sysdeps/unix/alpha/sysdep.h: Likewise.
32919 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32920 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32921 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32922 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32923 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32924 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32926 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32927 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32928 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32929 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32930 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32931 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32932 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32935 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32936 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32937 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32940 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32941 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32942 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32943 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32944 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32945
32946 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32947 * nptl/pthreadP.h: Likewise.
32948 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32949 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32950 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32951 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32952 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32953 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32954 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32955 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32956 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32957 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32958 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32959 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32961 Likewise.
32962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32963 Likewise.
32964 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32966 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32969 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32970 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32971 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32972
32973 * dlfcn/dladdr.c: Use IS_IN.
32974 * dlfcn/dladdr1.c: Likewise.
32975 * dlfcn/dlclose.c: Likewise.
32976 * dlfcn/dlerror.c: Likewise.
32977 * dlfcn/dlinfo.c: Likewise.
32978 * dlfcn/dlmopen.c: Likewise.
32979 * dlfcn/dlopen.c: Likewise.
32980 * dlfcn/dlsym.c: Likewise.
32981 * dlfcn/dlvsym.c: Likewise.
32982
32983 * include/ifaddrs.h: Use IS_IN.
32984 * inet/check_pf.c: Likewise.
32985 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32986 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32987
32988 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32989 IS_IN_ldconfig.
32990 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32991 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32992
32993 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32994 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32995 IS_IN (libc).
32996
32997 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32998
32999 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33000 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33001 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33002 * include/libc-symbols.h (IS_IN_LIB): New macro.
33003 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33004 * include/netdb.h: Likewise.
33005 * include/stap-probe.h: Remove all uses of IN_LIB.
33006
33007 * Makeconfig (module-cppflags-real): Define MODULE_NAME
33008 instead of IN_MODULE.
33009 * include/libc-symbols.h (IN_MODULE): Define using
33010 MODULE_NAME.
33011 (PASTE_NAME, PASTE_NAME1): New macros.
33012 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33013 of IN_LIB.
33014 (STAP_PROBE_ASM): Likewise.
33015
33016 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
33017
33018 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33019 __mach_init in dlopened libc.
33020
33021 2014-11-22 Mike Frysinger <vapier@gentoo.org>
33022
33023 * sysdeps/arm/preconfigure.ac: Delete EABI check.
33024 * sysdeps/arm/preconfigure: Regenerate.
33025
33026 2014-11-21 Roland McGrath <roland@hack.frob.com>
33027
33028 * nptl/pthread_create.c (__pthread_create_2_1): Set
33029 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33030 when copying values from IATTR into PD.
33031
33032 2014-11-21 Will Newton <will.newton@linaro.org>
33033 Andrew Pinski <andrew.pinski@caviumnetworks.com>
33034
33035 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33036 Refactor inline-asm. Also add comment.
33037
33038 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33039 ElfW macro instead of hardcoded Elf64 types.
33040 (la_aarch64_gnu_pltenter): Likewise.
33041 * sysdeps/aarch64/dl-machine.h
33042 (elf_machine_runtime_setup): Use ElfW(Addr).
33043
33044 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33045 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33046 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33047 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33048 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33049 (R_AARCH64_TLS_DTPMOD64): Rename to ..
33050 (R_AARCH64_TLS_DTPMOD): This.
33051 (R_AARCH64_TLS_DTPREL64): Rename to ...
33052 (R_AARCH64_TLS_DTPREL): This.
33053 (R_AARCH64_TLS_TPREL64): Rename to ...
33054 (R_AARCH64_TLS_TPREL): This.
33055 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33056 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33057 R_AARCH64_TLS_TPREL64.
33058 (elf_machine_rela): Likewise.
33059
33060 2014-11-21 Torvald Riegel <triegel@redhat.com>
33061
33062 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33063 by setting it to 0. 64b atomics are not supported currently.
33064
33065 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33066
33067 [BZ #16469]
33068 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33069 search domain names.
33070
33071 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33072
33073 [BZ #16469]
33074 * NEWS: Update.
33075 * resolv/res_query.c (__libc_res_nquerydomain): Retain
33076 trailing dot.
33077 * posix/tst-getaddrinfo5.c: New.
33078 * posix/Makefile (tests): Add it.
33079
33080 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33081
33082 [BZ #14498]
33083 * NEWS: Fixed.
33084 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33085 after parsing line but before break_if_match.
33086 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33087 if there is a protocol mismatch.
33088
33089 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33090
33091 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33092 because the potential race is on the user-supplied stream.
33093
33094 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33095
33096 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33097 string literal if not passed a buffer.
33098 * manual/job.texi (ctermid): Update reasoning, note deviation
33099 from posix, suggest mtasurace when not passed a buffer, for
33100 future non-preliminary safety notes.
33101
33102 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33103
33104 * manual/users.texi (cuserid): Fix MT-Safety note for the case
33105 of not passing it a buffer.
33106 Reported by Peng Haitao.
33107
33108 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33109
33110 * manual/Makefile ($(objpfx)stamp-summary): Require
33111 check-safety.sh to pass.
33112 * manual/check-safety.sh: Wish for verification that every
33113 @deftypefn and @deftypefun is followed by a @safety remark.
33114
33115 2014-11-20 Roland McGrath <roland@hack.frob.com>
33116
33117 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33118
33119 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33120 PTHREAD_CANCEL_ASYNCHRONOUS.
33121 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33122 send SIGCANCEL.
33123
33124 * nptl/default-sched.h: New file.
33125 * sysdeps/unix/sysv/linux/default-sched.h: New file.
33126 * nptl/pthread_create.c: Include it.
33127 (__pthread_create_2_1): Use collect_default_sched instead of making
33128 Linux syscalls here directly.
33129
33130 2014-11-20 Torvald Riegel <triegel@redhat.com>
33131
33132 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33133 __pthread_once): Use C11 atomics.
33134
33135 2014-11-20 Torvald Riegel <triegel@redhat.com>
33136
33137 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33138
33139 2014-11-20 Torvald Riegel <triegel@redhat.com>
33140
33141 * include/atomic.h (__atomic_link_error, __atomic_check_size,
33142 atomic_thread_fence_acquire, atomic_thread_fence_release,
33143 atomic_thread_fence_seq_cst, atomic_load_relaxed,
33144 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33145 atomic_compare_exchange_weak_relaxed,
33146 atomic_compare_exchange_weak_acquire,
33147 atomic_compare_exchange_weak_release,
33148 atomic_exchange_acquire, atomic_exchange_release,
33149 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33150 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33151 atomic_fetch_and_acquire,
33152 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33153
33154 2014-11-20 Torvald Riegel <triegel@redhat.com>
33155
33156 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33157 USE_ATOMIC_COMPILER_BUILTINS): Define.
33158 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33159 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33160 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33161 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33162 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33163 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33164 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33165 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33166 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33167 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33168 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33169 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33170 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33171 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33172 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33173 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33174 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33175 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33176 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33177 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33178 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33179 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33180 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33181 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33182 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33183 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33184 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33185 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33186 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33187 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33188 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33189 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33190 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33191 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33192 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33193 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33194 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33195 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33196 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33197 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33198
33199 2014-11-19 Roland McGrath <roland@hack.frob.com>
33200
33201 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33202 the sched_priority value here. It was already checked when the user
33203 called pthread_attr_setschedparam.
33204
33205 * nptl/tst-bad-schedattr.c: New file.
33206 * nptl/Makefile (tests): Add it.
33207
33208 2014-11-19 Carlos O'Donell <carlos@redhat.com>
33209 Florian Weimer <fweimer@redhat.com>
33210 Joseph Myers <joseph@codesourcery.com>
33211 Adam Conrad <adconrad@0c3.net>
33212 Andreas Schwab <schwab@suse.de>
33213 Brooks <bmoses@google.com>
33214
33215 [BZ #17625]
33216 * wordexp-test.c (__dso_handle): Add prototype.
33217 (__register_atfork): Likewise.
33218 (__app_register_atfork): New function.
33219 (registered_forks): New global.
33220 (register_fork): New function.
33221 (test_case): Add 3 new tests for WRDE_CMDSUB.
33222 (main): Call __app_register_atfork.
33223 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33224 fork count is non-zero fail the test.
33225 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33226 is set.
33227 (parse_dollars): Remove check for WRDE_NOCMD.
33228 (parse_dquote): Likewise.
33229
33230 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33231
33232 * Makeconfig (built-modules): List non-library modules to be
33233 built.
33234 (module-cppflags): Include libc-modules.h for
33235 everything except shlib-versions.v.i.
33236 (CPPFLAGS): Use it.
33237 (before-compile): Add libc-modules.h.
33238 ($(common-objpfx)libc-modules.h,
33239 $(common-objpfx)libc-modules.stmp): New targets.
33240 (common-generated): Add libc-modules.h and libc-modules.stmp.
33241 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33242 * include/libc-symbols.h: Don't include libc-modules.h.
33243 * include/libc-modules.h: Remove file.
33244 * scripts/gen-libc-modules.awk: New script to generate
33245 libc-modules.h.
33246 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33247 Depend on libc-modules.stmp.
33248
33249 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33250
33251 * Makeconfig (in-module): Get value of libof set for the
33252 translation unit.
33253 (CPPFLAGS): Use $(in-module).
33254 * Makerules: Don't suffix routine names for nonlib.
33255 * include/libc-modules.h: New file.
33256 * include/libc-symbols.h: Include libc-modules.h
33257 (IS_IN): New macro to replace IS_IN_* macros.
33258 * elf/Makefile: Set libof-* for each routine.
33259 * elf/rtld-Rules: Likewise.
33260 * extra-modules.mk: Likewise.
33261 * iconv/Makefile: Likewise.
33262 * iconvdata/Makefile: Likewise.
33263 * locale/Makefile: Likewise.
33264 * malloc/Makefile: Likewise.
33265 * nss/Makefile: Likewise.
33266 * sysdeps/gnu/Makefile: Likewise.
33267 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33268 * sysdeps/unix/sysv/linux/Makefile: Likewise.
33269 * sysdeps/s390/s390-64/Makefile: Likewise.
33270 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
33271 CPPFLAGS for nscd instead of nonlib.
33272
33273 2014-11-18 Roland McGrath <roland@hack.frob.com>
33274
33275 * nptl/createthread.c: New file.
33276
33277 * nptl/createthread.c: Moved ...
33278 * sysdeps/unix/sysv/linux/createthread.c: ... here.
33279
33280 * nptl/createthread.c: Add proper top-line comment.
33281 (do_clone): Folded into ...
33282 (create_thread): ... here. Take new arguments STOPPED_START and
33283 THREAD_RAN. Always set PD->stopped_start to something here. Don't
33284 increment __nptl_threads, do event-reporting logic, do
33285 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33286 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
33287 resource cleanup if sched_setaffinity or sched_setscheduler fails,
33288 just send SIGCANCEL.
33289 * nptl/pthread_create.c: Forward-declare create_thread before
33290 including createthread.c.
33291 (start_thread): Use new macro START_THREAD_DEFN to replace defining
33292 declaration, and new macro START_THREAD_SELF to replace argument.
33293 Remove return statement.
33294 (report_thread_creation): New function.
33295 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
33296 synchronization logic, and __nptl_nthreads increment here, around
33297 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
33298 PD->parent_cancelhandling here, before create_thread. When
33299 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33300 __deallocate_stack, and ENOMEM translation here.
33301
33302 2014-11-18 Joseph Myers <joseph@codesourcery.com>
33303
33304 [BZ #17616]
33305 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33306 (mptwo): Rename to __mptwo.
33307 (__inv): Use __mptwo instead of mptwo.
33308 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33309 (mptwo): Rename to __mptwo.
33310 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33311 of mpone and __mptwo instead of mptwo.
33312 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33313 instead of mpone.
33314 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33315 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33316 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33317 of mpone and __mptwo instead of mptwo.
33318 (__mpranred): Use __mpone instead of mpone.
33319 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33320 variable.
33321 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33322 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33323 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33324 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33325 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33326 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33327 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33328 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33329 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33330 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33331 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33332 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33333 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33334 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33335 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33336 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33337 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33338 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33339 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33340
33341 2014-11-18 Tom de Vries <tom@codesoucery.com>
33342
33343 * manual/signal.texi (Primitives Interrupted by Signals): In section,
33344 replace BSD Handler xref with BSD Signal Handling.
33345
33346 2014-11-17 Richard Henderson <rth@redhat.com>
33347
33348 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33349 (_FP_PACK_RAW_2): Remove.
33350 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33351 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33352 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33353 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33354 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33355 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33356 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33357 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33358 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33359 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33360 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33361 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33362 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33363 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33364 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33365 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33366
33367 2014-11-14 Roland McGrath <roland@hack.frob.com>
33368
33369 * signal/signal.h [__USE_MISC]
33370 (struct sigvec): Remove type.
33371 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33372 (sigvec): Remove declaration.
33373 * sysdeps/posix/sigvec.c: Moved ...
33374 * signal/sigvec.c: ... here, replacing old file.
33375 (struct sigvec): New type, copied from old signal.h definition.
33376 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33377 (__sigvec): Convert definition to prototype.
33378 (sigvec): Replace weak_alias with compat_symbol.
33379 * signal/Versions (libc: GLIBC_2.21): New version set.
33380 * include/signal.h: Remove __sigvec declaration.
33381 * sysdeps/unix/bsd/sigvec.c: Remove file.
33382 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33383 * manual/signal.texi (BSD Handler): Remove subsection.
33384 Move siginterrupt up to ...
33385 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
33386 (Blocking in BSD): Fold subsection into its parent.
33387 * NEWS: Mention sigvec removal.
33388
33389 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33390
33391 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33392 (DLA_FMS): Make definition conditional only on [__FMA4__].
33393 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33394 definition.
33395
33396 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33397 Make definition conditional only on [PROF].
33398 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33399 definition.
33400 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33401 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33402
33403 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33404 !__GNUC__].
33405 * include/signal.h (__sigpause): Move declaration above call to
33406 libc_hidden_proto.
33407 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33408 variable.
33409 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33410 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33411
33412 2014-11-14 David S. Miller <davem@davemloft.net>
33413
33414 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33415 Define before including <string/memcpy.c> and <string/mempcpy.c>.
33416
33417 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33418
33419 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33420 * configure: Regenerated.
33421 * manual/install.texi (Tools for Compilation): Document a
33422 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33423 compiler verified to work.
33424 * INSTALL: Regenerated.
33425
33426 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33427 redeclare with asm name.
33428 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33429 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33430 including <string.h>.
33431 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33432 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33433 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33434 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33435 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33436 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33437 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33438
33439 2014-11-13 Joseph Myers <joseph@codesourcery.com>
33440
33441 * stdlib/strtol.c (__strtol): Use prototype definition.
33442
33443 [BZ #17594]
33444 * stdlib/strtol.c (SYM__): New macro.
33445 (SYM__1): Likewise.
33446 (__strtol): Likewise.
33447 (strtol): Rename to __strtol and define as weak alias of
33448 __strtol. Use libc_hidden_weak.
33449
33450 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33451
33452 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33453 Use numbered labels in inline assembly.
33454
33455 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33456
33457 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33458 Add setjmp LIBC_PROBE.
33459 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33460 Likewise.
33461 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33462 Add longjmp, longjmp_target LIBC_PROBE.
33463 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33464 Likewise.
33465
33466 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33467
33468 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33469 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33470 to get rid of unused variable warning.
33471
33472 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33473
33474 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33475 Check for unwind_backtrace == NULL only in SHARED case.
33476 (__backchain_backtrace): Compile only in SHARED case.
33477 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33478 Likewise.
33479 (__backchain_backtrace): Declare as static.
33480
33481 2014-11-12 Roland McGrath <roland@hack.frob.com>
33482
33483 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33484 (__libc_multiple_threads_ptr): Variable moved ...
33485 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33486
33487 2014-11-12 Joseph Myers <joseph@codesourcery.com>
33488
33489 * conform/GlibcConform.pm: New file.
33490 * conform/conformtest.pl: Use GlibcConform module.
33491 * conform/linknamespace.pl: New file.
33492 * conform/list-header-symbols.pl: Likewise.
33493 * conform/Makefile (linknamespace-symlists-base): New variable.
33494 (linknamespace-symlists-tests): Likewise.
33495 (linknamespace-header-base): Likewise.
33496 (linknamespace-header-tests): Likewise.
33497 (tests-special): Add new tests.
33498 ($(linknamespace-symlists-tests)): New rule.
33499 (linknamespace-libs): New variable.
33500 ($(objpfx)symlist-stdlibs): New rule.
33501 ($(linknamespace-header-tests)): Likewise.
33502 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33503 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33504 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33505 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33506 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33507 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33508 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33509 (test-xfail-ISO/math.h/linknamespace): Likewise.
33510 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33511 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33512 (test-xfail-ISO/time.h/linknamespace): Likewise.
33513 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33514 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33515 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33516 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33517 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33518 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33519 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33520 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33521 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33522 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33523 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33524 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33525 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33526 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33527 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33528 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33529 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33530 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33531 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33532 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33533 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33534 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33535 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33536 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33537 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33538 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33539 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33540 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33541 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33542 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33543 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33544 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33545 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33546 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33547 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33548 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33549 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33550 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33551 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33552 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33553 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33554 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33555 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33556 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33557 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33558 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33559 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33560 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33561 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33562 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33563 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33564 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33565 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33566 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33567 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33568 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33569 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33570 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33571 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33572 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33573 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33574 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33575 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33576 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33577 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33578 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33579 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33580 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33581 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33582 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33583 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33584 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33585 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33586 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33587 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33588 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33589 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33590 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33591 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33592 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33593 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33594 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33595 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33596 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33597 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33598 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33599 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33600 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33601 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33602 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33603 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33604 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33605 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33606 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33607 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33608 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33609 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33610 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33611 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33612 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33613 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33614 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33615 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33616 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33617 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33618 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33619 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33620 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33621 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33622 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33623 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33624 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33625 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33626 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33627 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33628 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33629 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33630 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33631 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33632 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33633 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33634 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33635 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33636 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33637 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33638 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33639 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33640 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33641 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33642 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33643 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33644 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33645 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33646 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33647 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33648 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33649 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33650 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33651 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33652 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33653 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33654 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33655 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33656 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33657 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33658 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33659 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33660 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33661 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33662 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33663
33664 [BZ #17589]
33665 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33666 of fgets_unlocked.
33667
33668 [BZ #17585]
33669 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33670 (memmem): Rename to __memmem and define as weak alias of
33671 __memmem. Use libc_hidden_weak.
33672 (__memmem): Use libc_hidden_def.
33673 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33674 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33675 memmem.
33676
33677 [BZ #17582]
33678 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33679 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33680 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33681 and define as weak alias of __fgets_unlocked. Use
33682 libc_hidden_weak.
33683 (__fgets_unlocked): Use libc_hidden_def.
33684 * include/stdio.h (__fgets_unlocked): Declare. Use
33685 libc_hidden_proto.
33686 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33687 __fgets_unlocked instead of fgets_unlocked.
33688 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33689 (GET_NPROCS_CONF_PARSER): Likewise.
33690 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33691 (GET_NPROCS_CONF_PARSER): Likewise.
33692
33693 [BZ #17574]
33694 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33695 weak alias of __wmemset. Use libc_hidden_weak.
33696 (__wmemset): Use libc_hidden_def.
33697 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33698 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33699 of wmemset.
33700
33701 [BZ #17573]
33702 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33703 with asm name __mempcpy.
33704 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33705
33706 [BZ #17572]
33707 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33708 and define as weak alias of __rawmemchr.
33709 (__rawmemchr): Do not define as strong alias of rawmemchr.
33710
33711 [BZ #17571]
33712 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33713 alias of __qsort_r.
33714 (qsort): Call __qsort_r instead of qsort_r.
33715 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33716 (__qsort_r): Declare. Call libc_hidden_proto.
33717 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33718 instead of qsort_r.
33719 * nscd/gai.c (__qsort_r): Define to qsort_r.
33720 * posix/tst-rfc3484.c (__qsort_r): Likewise.
33721 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33722 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33723
33724 [BZ #17570]
33725 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33726 define as weak alias of __malloc_info.
33727
33728 [BZ #17584]
33729 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33730 as weak alias of __rewinddir. Don't use libc_hidden_def.
33731 (__rewinddir): Use libc_hidden_def.
33732 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33733 as weak alias of __rewinddir. Don't use libc_hidden_def.
33734 (__rewinddir): Use libc_hidden_def.
33735 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33736 weak alias of __rewinddir. Don't use libc_hidden_def.
33737 (__rewinddir): Use libc_hidden_def.
33738 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33739 (__rewinddir): Use libc_hidden_proto.
33740 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33741 rewinddir.
33742 (__getcwd): Use __rewinddir instead of rewinddir.
33743
33744 [BZ #17583]
33745 * libio/fileno.c (fileno): Rename to __fileno and define as weak
33746 alias of __fileno. Use libc_hidden_weak.
33747 (__fileno): Use libc_hidden_def.
33748 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33749 * libio/ftello.c (ftello): Rename to __ftello and define as weak
33750 alias of __ftello.
33751 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33752 __ftello.
33753 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33754 (__fread_unlocked): Define as strong alias of _IO_fread. Use
33755 libc_hidden_def.
33756 (fread_unlocked): Don't use libc_hidden_ver.
33757 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33758 and define as weak alias of __fread_unlocked. Don't use
33759 libc_hidden_def.
33760 (__fread_unlocked): Use libc_hidden_def.
33761 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
33762 (ftello): Don't use libc_hidden_proto.
33763 (__ftello): Declare. Use libc_hidden_proto.
33764 (fread_unlocked): Don't use libc_hidden_proto.
33765 (__fread_unlocked): Declare. Use libc_hidden_proto.
33766 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33767 and __ftello instead of fileno, fread_unlocked and ftello.
33768
33769 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33770
33771 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33772 GOT12.
33773 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33774 Likewise.
33775 (_dl_start_user): Likewise.
33776 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33777
33778 2014-11-12 Carlos O'Donell <carlos@redhat.com>
33779 Siddhesh Poyarekar <siddhesh@redhat.com>
33780
33781 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33782 Move argv and envp down instead of moving argc up.
33783 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33784
33785 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
33786
33787 [BZ #17506]
33788 * test-skeleton.c (main): Return successful if one of
33789 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33790 * string/tst-strcoll-overflow.c: Define expected status.
33791
33792 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
33793
33794 [BZ #17475]
33795 * locale/iso-639.def: Define Bhili and Tulu language codes.
33796
33797 2014-11-11 Alan Hayward <alan.hayward@arm.com>
33798
33799 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33800
33801 2014-11-10 Renlin Li <Renlin.Li@arm.com>
33802
33803 [BZ #17555]
33804 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33805
33806 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33807
33808 * configure.ac: Updated check of minimal required version to
33809 2.22.
33810 * manual/install.texi (Tools for Compilation): Updated version
33811 number.
33812 * configure: Regenerated.
33813 * INSTALL: Likewise.
33814
33815 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
33816
33817 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33818 __tls_get_addr.
33819
33820 2014-11-07 Joseph Myers <joseph@codesourcery.com>
33821
33822 * include/sys/wait.h (__libc_waitpid): Remove declaration.
33823 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33824 (__waitpid): Don't define as alias. Use libc_hidden_def not
33825 libc_hidden_weak.
33826 (waitpid): Define as alias of __waitpid.
33827 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33828 __waitpid.
33829 (__waitpid): Don't define as alias. Use libc_hidden_def not
33830 libc_hidden_weak.
33831 (waitpid): Define as alias of __waitpid.
33832 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33833 __libc_waitpid alias.
33834 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33835 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33836 Likewise.
33837 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33838 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33839 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33840 alias.
33841 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33842 __waitpid.
33843 (__waitpid): Don't define as alias. Use libc_hidden_def not
33844 libc_hidden_weak.
33845 (waitpid): Define as alias of __waitpid.
33846
33847 2014-11-06 Carlos O'Donell <carlos@redhat.com>
33848
33849 * manual/llio.texi: Add comment that write safety has been
33850 fixed in Linux.
33851
33852 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33853 (localplt-build-dso): Add elf/ld.so.
33854 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33855 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33856 and free for ld.so.
33857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33858 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33860 Likewise.
33861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33862 Likewise.
33863 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33864 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33865 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33866 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33867 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33868 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33869 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33870 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33871 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33872 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33873 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33874
33875 2014-11-05 Joseph Myers <joseph@codesourcery.com>
33876
33877 [BZ #14132]
33878 * include/libc-symbols.h (INTUSE): Remove macro.
33879 (INTDEF): Likewise.
33880 (INTVARDEF): Likewise.
33881 (_INTVARDEF): Likewise.
33882 (INTDEF2): Likewise.
33883 (INTVARDEF2): Likewise.
33884 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33885 rtld_hidden_def instead of INTVARDEF.
33886 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33887 (_dl_starting_up_internal): Remove declaration.
33888 (_dl_starting_up): Use rtld_hidden_proto.
33889 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33890 declaration.
33891 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33892 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33893 _dl_starting_up.
33894 * elf/dl-writev.h (_dl_writev): Likewise.
33895 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33896 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33897 _dl_starting_up_internal.
33898
33899 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33900
33901 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33902 test-skeleton.c.
33903
33904 2014-11-05 Will Newton <will.newton@linaro.org>
33905
33906 * benchtests/Makefile: (bench-malloc): Add malloc thread
33907 scalability benchmark.
33908 * benchtests/bench-malloc-threads.c: New file.
33909
33910 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
33911
33912 * sysdeps/aarch64/strchrnul.S: New file.
33913
33914 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33915
33916 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33917 definition.
33918 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33919 Likewise.
33920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33921 Likewise.
33922 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33923 Likewise.
33924 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33925 Likewise.
33926 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33927 Likewise.
33928
33929 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
33930
33931 * catgets/test-gencat.c: Use test-skeleton.c.
33932 * catgets/tst-catgets.c: Likewise.
33933 * csu/tst-empty.c: Likewise.
33934 * elf/tst-audit2.c: Likewise.
33935 * elf/tst-global1.c: Likewise.
33936 * elf/tst-pathopt.c: Likewise.
33937 * elf/tst-piemod1.c: Likewise.
33938 * elf/tst-tls10.c: Likewise.
33939 * elf/tst-tls11.c: Likewise.
33940 * elf/tst-tls12.c: Likewise.
33941 * gnulib/tst-gcc.c: Likewise.
33942 * iconvdata/tst-e2big.c: Likewise.
33943 * iconvdata/tst-loading.c: Likewise.
33944 * iconv/tst-iconv1.c: Likewise.
33945 * iconv/tst-iconv2.c: Likewise.
33946 * inet/test-inet6_opt.c: Likewise.
33947 * inet/tst-gethnm.c: Likewise.
33948 * inet/tst-network.c: Likewise.
33949 * inet/tst-ntoa.c: Likewise.
33950 * intl/tst-codeset.c: Likewise.
33951 * intl/tst-gettext2.c: Likewise.
33952 * intl/tst-gettext3.c: Likewise.
33953 * intl/tst-ngettext.c: Likewise.
33954 * intl/tst-translit.c: Likewise.
33955 * io/test-stat.c: Likewise.
33956 * libio/test-fmemopen.c: Likewise.
33957 * libio/tst-freopen.c: Likewise.
33958 * libio/tst-sscanf.c: Likewise.
33959 * libio/tst-ungetwc1.c: Likewise.
33960 * libio/tst-ungetwc2.c: Likewise.
33961 * libio/tst-widetext.c: Likewise.
33962 * localedata/tst-ctype.c: Likewise.
33963 * localedata/tst-digits.c: Likewise.
33964 * localedata/tst-leaks.c: Likewise.
33965 * localedata/tst-mbswcs1.c: Likewise.
33966 * localedata/tst-mbswcs2.c: Likewise.
33967 * localedata/tst-mbswcs3.c: Likewise.
33968 * localedata/tst-mbswcs4.c: Likewise.
33969 * localedata/tst-mbswcs5.c: Likewise.
33970 * localedata/tst-setlocale.c: Likewise.
33971 * localedata/tst-trans.c: Likewise.
33972 * localedata/tst-wctype.c: Likewise.
33973 * localedata/tst-xlocale1.c: Likewise.
33974 * login/tst-grantpt.c: Likewise.
33975 * malloc/tst-calloc.c: Likewise.
33976 * malloc/tst-malloc.c: Likewise.
33977 * malloc/tst-mallocstate.c: Likewise.
33978 * malloc/tst-mcheck.c: Likewise.
33979 * malloc/tst-mtrace.c: Likewise.
33980 * malloc/tst-obstack.c: Likewise.
33981 * math/atest-exp2.c: Likewise.
33982 * math/atest-exp.c: Likewise.
33983 * math/atest-sincos.c: Likewise.
33984 * math/test-matherr.c: Likewise.
33985 * math/test-misc.c: Likewise.
33986 * math/test-powl.c: Likewise.
33987 * math/tst-definitions.c: Likewise.
33988 * misc/tst-dirname.c: Likewise.
33989 * misc/tst-efgcvt.c: Likewise.
33990 * misc/tst-fdset.c: Likewise.
33991 * misc/tst-hsearch.c: Likewise.
33992 * misc/tst-mntent2.c: Likewise.
33993 * nptl/tst-sem7.c: Likewise.
33994 * nptl/tst-sem8.c: Likewise.
33995 * nptl/tst-sem9.c: Likewise.
33996 * nss/test-netdb.c: Likewise.
33997 * posix/tst-fnmatch.c: Likewise.
33998 * posix/tst-getlogin.c: Likewise.
33999 * posix/tst-gnuglob.c: Likewise.
34000 * posix/tst-mmap.c: Likewise.
34001 * pwd/tst-getpw.c: Likewise.
34002 * resolv/tst-inet_ntop.c: Likewise.
34003 * rt/tst-timer.c: Likewise.
34004 * stdio-common/test-fseek.c: Likewise.
34005 * stdio-common/test-popen.c: Likewise.
34006 * stdio-common/test-vfprintf.c: Likewise.
34007 * stdio-common/tst-cookie.c: Likewise.
34008 * stdio-common/tst-fileno.c: Likewise.
34009 * stdio-common/tst-gets.c: Likewise.
34010 * stdio-common/tst-obprintf.c: Likewise.
34011 * stdio-common/tst-perror.c: Likewise.
34012 * stdio-common/tst-sprintf2.c: Likewise.
34013 * stdio-common/tst-sprintf3.c: Likewise.
34014 * stdio-common/tst-sprintf.c: Likewise.
34015 * stdio-common/tst-swprintf.c: Likewise.
34016 * stdio-common/tst-tmpnam.c: Likewise.
34017 * stdio-common/tst-unbputc.c: Likewise.
34018 * stdio-common/tst-wc-printf.c: Likewise.
34019 * stdlib/tst-environ.c: Likewise.
34020 * stdlib/tst-fmtmsg.c: Likewise.
34021 * stdlib/tst-limits.c: Likewise.
34022 * stdlib/tst-rand48-2.c: Likewise.
34023 * stdlib/tst-rand48.c: Likewise.
34024 * stdlib/tst-random2.c: Likewise.
34025 * stdlib/tst-random.c: Likewise.
34026 * stdlib/tst-strtol.c: Likewise.
34027 * stdlib/tst-strtoll.c: Likewise.
34028 * stdlib/tst-tls-atexit.c: Likewise.
34029 * stdlib/tst-xpg-basename.c: Likewise.
34030 * string/test-ffs.c: Likewise.
34031 * string/tst-bswap.c: Likewise.
34032 * string/tst-inlcall.c: Likewise.
34033 * string/tst-strtok.c: Likewise.
34034 * string/tst-strxfrm.c: Likewise.
34035 * sysdeps/x86_64/tst-audit10.c: Likewise.
34036 * sysdeps/x86_64/tst-audit3.c: Likewise.
34037 * sysdeps/x86_64/tst-audit4.c: Likewise.
34038 * sysdeps/x86_64/tst-audit5.c: Likewise.
34039 * time/tst-ftime_l.c: Likewise.
34040 * time/tst-getdate.c: Likewise.
34041 * time/tst-mktime3.c: Likewise.
34042 * time/tst-mktime.c: Likewise.
34043 * time/tst-posixtz.c: Likewise.
34044 * time/tst-strptime2.c: Likewise.
34045 * time/tst-strptime3.c: Likewise.
34046 * wcsmbs/tst-btowc.c: Likewise.
34047 * wcsmbs/tst-mbrtowc.c: Likewise.
34048 * wcsmbs/tst-mbsrtowcs.c: Likewise.
34049 * wcsmbs/tst-wchar-h.c: Likewise.
34050 * wcsmbs/tst-wcpncpy.c: Likewise.
34051 * wcsmbs/tst-wcrtomb.c: Likewise.
34052 * wcsmbs/tst-wcsnlen.c: Likewise.
34053 * wcsmbs/tst-wcstof.c: Likewise.
34054
34055 2014-11-04 Joseph Myers <joseph@codesourcery.com>
34056
34057 [BZ #14132]
34058 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34059 INTDEF.
34060 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34061 declaration.
34062 (_dl_mcount): Use rtld_hidden_proto.
34063 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34064 _dl_mcount.
34065 * elf/rtld.c (_rtld_global_ro): Likewise.
34066
34067 [BZ #14132]
34068 * elf/dl-init.c (_dl_init): Don't use INTDEF.
34069 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34070 of _dl_init_internal.
34071 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34072 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34073 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34074 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34075 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34076 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34077 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34078 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34079 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34080 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34081 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34082 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34083 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34084 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34085 * sysdeps/tile/dl-start.S (_start): Likewise.
34086 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34087 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34088
34089 [BZ #14132]
34090 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34091 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34092 (rtld_progname): Make macro definition unconditional.
34093 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34094 INTDEF.
34095 (dlmopen_doit): Do not use INTUSE with _dl_argv.
34096 (dl_main): Likewise.
34097 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34098 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34099 instead of _dl_argv_internal.
34100 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34101 __GI__dl_argv instead of INTUSE(_dl_argv).
34102 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34103 __GI__dl_argv instead of _dl_argv_internal.
34104
34105 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34106 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34107 macro.
34108 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34109 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34110 New macro.
34111 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34112 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34113 macro.
34114 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34115 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34116
34117 2014-11-04 Andreas Schwab <schwab@suse.de>
34118
34119 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34120
34121 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34122
34123 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34124 mtvsrd instruction in binary form.
34125
34126 2014-11-03 Andreas Schwab <schwab@suse.de>
34127
34128 [BZ #17522]
34129 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34130 for less than MB_LEN_MAX use a local buffer of that size.
34131 * libio/tst-fputws.c: New file.
34132 * libio/Makefile (tests): Add tst-fputws.
34133
34134 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
34135
34136 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34137 the size of the fpu_fr.fpu_dregs[] array.
34138
34139 2014-11-01 Joseph Myers <joseph@codesourcery.com>
34140
34141 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34142 (__nanosleep): Do not define as alias.
34143 (nanosleep): Define as alias of __nanosleep.
34144 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34145 __libc_nanosleep name.
34146
34147 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34148
34149 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34150 install.texi in comment.
34151
34152 2014-10-31 Torvald Riegel <triegel@redhat.com>
34153
34154 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34155 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34156 ... add here and use lwsync or sync ...
34157 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34158 ... and add here using lwsync.
34159
34160 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
34161
34162 * elf/dl-machine-reject-phdr.h: New file.
34163 * elf/dl-load.c: #include that.
34164 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34165 if that returned true.
34166
34167 2014-10-31 Roland McGrath <roland@hack.frob.com>
34168
34169 [BZ #17496]
34170 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34171 gen-as-const-headers chunk. Add a big scare comment after the last
34172 safe place to touch before-compile.
34173
34174 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34175
34176 * manual/install.texi (Tools for Compilation): Update autoconf
34177 version requirements.
34178 * INSTALL: Regenerated.
34179
34180 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34181 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34182 (__libc_pselect): Likewise.
34183
34184 [BZ #14138]
34185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34189
34190 2014-10-31 Torvald Riegel <triegel@redhat.com>
34191
34192 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34193 correct barrier instruction.
34194 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34195 Likewise.
34196 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34197 Likewise.
34198
34199 2014-10-30 Roland McGrath <roland@hack.frob.com>
34200
34201 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34202 after defining inlines. Instead, just use parens to defeat macro
34203 expansion of __isctype in its declaration.
34204
34205 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34206
34207 * include/sys/uio.h (__libc_readv): Remove declaration.
34208 (__libc_writev): Likewise.
34209 * misc/readv.c (__libc_readv): Rename to __readv.
34210 (__readv): Do not define as alias.
34211 (readv): Define as alias of __readv.
34212 * misc/writev.c (__libc_writev): Rename to __writev.
34213 (__writev): Do not define as alias.
34214 (writev): Define as alias of __writev.
34215 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34216 (__readv): Do not define as alias.
34217 (readv): Define unconditionally as alias of __readv.
34218 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34219 (__writev): Do not define as alias.
34220 (writev): Define unconditionally as alias of __writev.
34221 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34222 name.
34223 (writev): Do not define __libc_writev name.
34224
34225 2014-10-30 Roland McGrath <roland@hack.frob.com>
34226
34227 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34228 (convert_charseq): New function, broken out of ...
34229 (use_from_charmap): ... here. Call it.
34230 (use_to_charmap): Use convert_charseq and free instead of duplicating
34231 its code with a variable-length stack struct.
34232
34233 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34234
34235 * include/fcntl.h (__libc_creat): Remove declaration.
34236 * io/creat.c (__libc_creat): Rename to creat.
34237 (creat): Do not define as alias.
34238 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34239 of creat instead of __libc_creat.
34240 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34241 to creat.
34242 (creat): Do not define as alias.
34243 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34244 __libc_creat.
34245 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34246 __libc_creat name.
34247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34248 Likewise.
34249
34250 2014-10-29 Carlos O'Donell <carlos@redhat.com>
34251
34252 * manual/llio.texi: Add comments discussing why write() may be
34253 considered MT-unsafe on Linux.
34254
34255 2014-10-28 Carlos O'Donell <carlos@redhat.com>
34256
34257 * dl-load.c (local_strdup): Remove.
34258 (expand_dynamic_string_token): Use __strdup.
34259 (decompose_rpath): Likewise.
34260 (_dl_map_object): Likewise.
34261
34262 2014-10-28 Joseph Myers <joseph@codesourcery.com>
34263
34264 [BZ #14132]
34265 * sysdeps/generic/unwind-dw2-fde.c
34266 (__register_frame_info_bases_internal): Do not declare.
34267 (__register_frame_info_table_bases_internal): Likewise.
34268 (__deregister_frame_info_bases_internal): Likewise.
34269 (__register_frame_info_bases): Declare and use hidden_proto before
34270 definition. Use hidden_def instead of INTDEF.
34271 (__register_frame_info_table_bases): Likewise.
34272 (__deregister_frame_info_bases): Likewise.
34273 (__register_frame_info): Do not use INTUSE.
34274 (__register_frame): Likewise.
34275 (__register_frame_info_table): Likewise.
34276 (__register_frame_table): Likewise.
34277 (__deregister_frame_info): Likewise.
34278 (__deregister_frame): Likewise.
34279
34280 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
34281
34282 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34283 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34284 not undefine.
34285 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34286 Likewise.
34287 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34288 Likewise.
34289
34290 2014-10-27 Joseph Myers <joseph@codesourcery.com>
34291
34292 [BZ #14138]
34293 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34294 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34295 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34296 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34297 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34298 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34299 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34300 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34301 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34302 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34303 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34304 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34305 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34306 syscall.
34307 (setfsuid): Likewise.
34308 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34309 (setfsuid): Likewise.
34310 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34311 (setfsuid): Likewise.
34312 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34313 Likewise.
34314 (setfsuid): Likewise.
34315 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34316 (setfsuid): Likewise.
34317 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34318 Likewise.
34319 (setfsuid): Likewise.
34320
34321 2014-10-27 Andreas Schwab <schwab@suse.de>
34322
34323 [BZ #17501]
34324 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34325 check for Slow_SSE4_2 feature bit.
34326 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34327 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34328 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34329 Likewise. Fix check for Fast_Unaligned_Load feature bit.
34330
34331 2014-10-24 Roland McGrath <roland@hack.frob.com>
34332
34333 * configure.ac: Validate compiler version with a empirical test of
34334 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34335 $CC -v output.
34336 * configure: Regenerated.
34337
34338 * inet/htons.c (htons): Prototypify.
34339 * inet/htonl.c (htonl): Likewise.
34340
34341 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34342
34343 * string/strncat.c (strncat): Improve performance by using strlen.
34344
34345 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34346
34347 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34348
34349 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34350
34351 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34352 Call libc_fetestexcept_aarch64.
34353
34354 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34355
34356 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34357 Call libc_feholdexcept_aarch64.
34358
34359 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34360
34361 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34362 Call get_rounding_mode.
34363
34364 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34365
34366 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34367 Simplify logic.
34368
34369 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34370
34371 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34372 Simplify logic.
34373
34374 2014-10-24 Joseph Myers <joseph@codesourcery.com>
34375
34376 [BZ #14138]
34377 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34378 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34379 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34380 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34381 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34382 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34383 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34384 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34385 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34386 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34387 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34388 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34389 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34390 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34391 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34392 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34393 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34394 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34395 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34396 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34397 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34398 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34399 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34400 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34401 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34402 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34403 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34404 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34405 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34406 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34407 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34408 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34409 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34410 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34411 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34412 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34413 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34414 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34415 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34416 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34417 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34418 syscall.
34419 (geteuid): Likewise.
34420 (getgid): Likewise.
34421 (getuid): Likewise.
34422 (getresgid): Likewise.
34423 (getresuid): Likewise.
34424 (getgroups): Likewise.
34425 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34426 (geteuid): Likewise.
34427 (getgid): Likewise.
34428 (getuid): Likewise.
34429 (getresgid): Likewise.
34430 (getresuid): Likewise.
34431 (getgroups): Likewise.
34432 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34433 (geteuid): Likewise.
34434 (getgid): Likewise.
34435 (getuid): Likewise.
34436 (getresgid): Likewise.
34437 (getresuid): Likewise.
34438 (getgroups): Likewise.
34439 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34440 Likewise.
34441 (geteuid): Likewise.
34442 (getgid): Likewise.
34443 (getuid): Likewise.
34444 (getresgid): Likewise.
34445 (getresuid): Likewise.
34446 (getgroups): Likewise.
34447 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34448 (geteuid): Likewise.
34449 (getgid): Likewise.
34450 (getuid): Likewise.
34451 (getresgid): Likewise.
34452 (getresuid): Likewise.
34453 (getgroups): Likewise.
34454 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34455 Likewise.
34456 (geteuid): Likewise.
34457 (getgid): Likewise.
34458 (getuid): Likewise.
34459 (getgroups): Likewise.
34460
34461 [BZ #14138]
34462 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34463 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34464 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34465 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34466 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34467 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34468 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34469 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34470 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34471 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34472 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34473 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34474 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34475 __chown.
34476 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34477 (lchown): Likewise.
34478 (fchown): Likewise.
34479 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34480 Likewise.
34481 (lchown): Likewise.
34482 (fchown): Likewise.
34483 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34484 (lchown): Likewise.
34485 (fchown): Likewise.
34486 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34487 Likewise.
34488 (lchown): Likewise.
34489 (fchown): Likewise.
34490
34491 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34492
34493 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34494 Simplify logic.
34495
34496 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34497
34498 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34499 Cleanup logic.
34500
34501 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34502
34503 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34504 Remove unused include.
34505
34506 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34507
34508 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34509 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34510 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34511 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34512
34513 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34514 Helge Deller <deller@gmx.de>
34515
34516 [BZ #17508]
34517 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34518 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34519 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34520
34521 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34522
34523 [BZ #14132]
34524 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34525 Remove macro definition.
34526 (__ashrdi3_v_glibc20): Likewise.
34527 (__lshrdi3_v_glibc20): Likewise.
34528 (__cmpdi2_v_glibc20): Likewise.
34529 (__ucmpdi2_v_glibc20): Likewise.
34530 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34531 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34532 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34533 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34534 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34535 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34536
34537 2014-10-22 Roland McGrath <roland@hack.frob.com>
34538
34539 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34540 old GNU extension [0] syntax.
34541 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34542 alloca rather than an array member with variable length.
34543 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34544 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34545 (parse_opt): ... here. Likewise use alloca there.
34546 Validate the -i argument before checking for rootness.
34547 (send_shutdown): New function, broken out of ...
34548 (parse_opt): ... here.
34549
34550 2014-10-22 Roland McGrath <roland@hack.frob.com>
34551
34552 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34553 macro to get at the _rt_local_ro field.
34554 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34555 ([PIC] case) or _dl_hwcap ([!PIC] case).
34556 * sysdeps/arm/setjmp.S: Likewise.
34557
34558 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34559 * sysdeps/arm/configure.ac: New check to define it.
34560 * sysdeps/arm/configure: Regenerated.
34561 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34562 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34563 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34564 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34565 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34566 Use move/movt pair instead of a load.
34567 (LDST_GLOBAL): Macro removed.
34568 (LDR_GLOBAL): New macro replaces it.
34569 (LDR_HIDDEN): New macro.
34570 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34571 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34572
34573 * setjmp/tst-setjmp-static.c: New file.
34574 * setjmp/Makefile (tests): Add it.
34575 (tests-static): New variable.
34576
34577 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34578
34579 [BZ #17485]
34580 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34581
34582 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34583
34584 [BZ #14132]
34585 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34586
34587 2014-10-21 Roland McGrath <roland@hack.frob.com>
34588
34589 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34590
34591 2014-10-20 Roland McGrath <roland@hack.frob.com>
34592
34593 * io/fts.c (dirent_not_directory): New function.
34594 (fts_build): Call it.
34595
34596 2014-10-20 Roland McGrath <roland@hack.frob.com>
34597
34598 * nptl/version.c (__nptl_main): Use normal __write rather than
34599 INTERNAL_SYSCALL.
34600 (banner): Update copyright years.
34601
34602 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34603 gettimeofday.
34604 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34605 * nptl/pthread_cond_timedwait.c: Likewise.
34606 * nptl/pthread_mutex_timedlock.c: Likewise.
34607 * nptl/sem_timedwait.c: Likewise.
34608
34609 * sysdeps/nptl/bits/libc-lock.h
34610 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34611 (__libc_lock_init_recursive): Return void, not 0.
34612 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34613 (__libc_rwlock_init): Likewise.
34614 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34615
34616 2014-10-20 Torvald Riegel <triegel@redhat.com>
34617
34618 [BZ #15215]
34619 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34620 (__pthread_once_slow): ... here.
34621 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34622 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34623
34624 2014-10-20 Torvald Riegel <triegel@redhat.com>
34625
34626 [BZ #15215]
34627 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34628 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34629 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34630 * nptl/pthread_once.c (__pthread_once): Likewise.
34631 Update comments.
34632
34633 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34634
34635 [BZ #14138]
34636 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34637 name.
34638 (writev): Use __libc_writev as strong name.
34639 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34640 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34641
34642 2014-10-17 Roland McGrath <roland@hack.frob.com>
34643
34644 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34645
34646 * sysdeps/i386/nptl/tls.h
34647 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34648 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34649 New macros.
34650 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34651 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34652 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34653 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34654 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34655 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34656
34657 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34658 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34659 on [__NR_futex].
34660 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34661 broken out of ...
34662 (__pthread_mutex_init): ... here. Call it.
34663 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34664 Conditionalize PI cases on [__NR_futex].
34665 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34666 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34667 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34668
34669 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34670 conditional on [SIGSETXID].
34671 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34672 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34673 is defined. Likewise for SIGSETXID.
34674 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34675 Conditionalize definitions on [SIGSETXID].
34676 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34677 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34678 unblocking on [SIGCANCEL].
34679
34680 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34681 [__NR_set_robust_list].
34682
34683 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34684
34685 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34686 (do_compare): Likewise.
34687
34688 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
34689
34690 [BZ #15884]
34691 * string/strcoll_l.c: Don't include stdio.h.
34692 (coll_seq): Remove members idxarr and rulearr.
34693 (get_next_seq_cached): Remove function.
34694 (get_next_seq): Likewise.
34695 (get_next_seq_nocache): Rename to get_next_seq.
34696 (do_compare): Remove function.
34697 (do_compare_nocache): Rename to do_compare.
34698 (STRCOLL): Remove weight and rules cache.
34699
34700 2014-10-16 Roland McGrath <roland@hack.frob.com>
34701
34702 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34703 * sysdeps/arm/sfp-machine.h: ... to here.
34704 * sysdeps/arm/Implies: Remove arm/soft-fp.
34705
34706 2014-10-14 Joseph Myers <joseph@codesourcery.com>
34707
34708 * conform/data/sys/utsname.h-data (*_t): Allow.
34709 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34710 [POSIX] (WEXITED): Do not expect constant.
34711 [POSIX] (WSTOPPED): Likewise.
34712 [POSIX] (WNOHANG): Likewise.
34713 [POSIX] (WNOWAIT): Likewise.
34714 [POSIX] (siginfo_t): Do not expect type or elements.
34715 [POSIX] (pid_t): Do not expect type.
34716 [POSIX] (signal.h): Do not allow header.
34717 [POSIX] (sys/resource.h): Likewise.
34718 [POSIX] (si_*): Do not allow pattern.
34719 [POSIX] (W*): Likewise.
34720 [POSIX] (P_*): Likewise.
34721 [POSIX] (BUS_*): Likewise.
34722 [POSIX] (CLD_*): Likewise.
34723 [POSIX] (FPE_*): Likewise.
34724 [POSIX] (ILL_*): Likewise.
34725 [POSIX] (POLL_*): Likewise.
34726 [POSIX] (SEGV_*): Likewise.
34727 [POSIX] (SI_*): Likewise.
34728 [POSIX] (TRAP_*): Likewise.
34729 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34730 variable.
34731
34732 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
34733
34734 [BZ #12926]
34735 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34736 infinite loop when __recvmsg returns 0.
34737
34738 2014-10-10 Joseph Myers <joseph@codesourcery.com>
34739
34740 * CANCEL-FCT-WAIVE: Remove file.
34741 * CANCEL-FILE-WAIVE: Likewise.
34742
34743 [BZ #14132]
34744 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34745 instead of INTVARDEF.
34746 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34747 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34748 rtld_hidden_data_def instead of INTVARDEF.
34749 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34750 * elf/dl-deps.c (expand_dst): Likewise.
34751 * elf/dl-load.c (_dl_dst_count): Likewise.
34752 (_dl_dst_substitute): Likewise.
34753 (decompose_rpath): Likewise.
34754 (_dl_init_paths): Likewise.
34755 (open_path): Likewise.
34756 (_dl_map_object): Likewise.
34757 * elf/rtld.c (dl_main): Likewise.
34758 (process_dl_audit): Likewise.
34759 (process_envvars): Likewise.
34760 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34761 Remove declaration.
34762 (__libc_enable_secure): Use rtld_hidden_proto.
34763
34764 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34765
34766 * elf/dl-load.c
34767 (add_path): New function broken out of _dl_rtld_di_serinfo.
34768 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
34769
34770 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34771
34772 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34773 parentheses around macro arguments.
34774 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34775 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34776 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34777 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34778 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34779 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34780 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34781 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34782 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34783 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34784 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34785 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34786 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34787 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34788 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34789 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34790 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34791 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34792 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34793 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34794 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34795 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34796 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34797 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34798 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34799 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34800 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34801 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34802 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34803 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34804 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34805 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34806 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34807 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34808 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34809 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34810 Likewise.
34811 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34812 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34813 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34814 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34815 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34816 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34817 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34818 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34819 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34820 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34821 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34822 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34823 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34824 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34825 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34826 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34827 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34828 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34829 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34830 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34831 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34832 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34833 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34834 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34835 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34836 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34837 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34838 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34839 (_FP_FRAC_SRS_1): Likewise.
34840 (_FP_FRAC_CLZ_1): Likewise.
34841 (_FP_MUL_MEAT_1_imm): Likewise.
34842 (_FP_MUL_MEAT_1_wide): Likewise.
34843 (_FP_MUL_MEAT_1_hard): Likewise.
34844 (_FP_SQRT_MEAT_1): Likewise.
34845 (_FP_FRAC_ASSEMBLE_1): Likewise.
34846 (_FP_FRAC_DISASSEMBLE_1): Likewise.
34847 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34848 (__FP_CLZ_2): Likewise.
34849 (_FP_MUL_MEAT_2_wide): Likewise.
34850 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34851 (_FP_MUL_MEAT_2_gmp): Likewise.
34852 (_FP_MUL_MEAT_2_120_240_double): Likewise.
34853 (_FP_SQRT_MEAT_2): Likewise.
34854 (_FP_FRAC_ASSEMBLE_2): Likewise.
34855 (_FP_FRAC_DISASSEMBLE_2): Likewise.
34856 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34857 (_FP_FRAC_CLZ_4): Likewise.
34858 (_FP_MUL_MEAT_4_wide): Likewise.
34859 (_FP_MUL_MEAT_4_gmp): Likewise.
34860 (_FP_SQRT_MEAT_4): Likewise.
34861 (_FP_FRAC_ASSEMBLE_4): Likewise.
34862 (_FP_FRAC_DISASSEMBLE_4): Likewise.
34863 * soft-fp/op-common.h (_FP_CMP): Likewise.
34864 (_FP_CMP_EQ): Likewise.
34865 (_FP_CMP_UNORD): Likewise.
34866 (_FP_TO_INT): Likewise.
34867 (_FP_FROM_INT): Likewise.
34868 [!__FP_CLZ] (__FP_CLZ): Likewise.
34869 (_FP_DIV_HELP_imm): Likewise.
34870 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34871 Likewise.
34872 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34873 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34874 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34875 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34876 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34877 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34878 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34879 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34880 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34881 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34882 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34883 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34884 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34885 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34886 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34887 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34888 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34890 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34891 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34892 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34893 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34894 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34895 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34896 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34897 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34898 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34899 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34900 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34901 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34902 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34903 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34904 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34905 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34906 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34907 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34908 (FP_UNPACK_RAW_SP): Likewise.
34909 (FP_PACK_RAW_S): Likewise.
34910 (FP_PACK_RAW_SP): Likewise.
34911 (FP_UNPACK_S): Likewise.
34912 (FP_UNPACK_SP): Likewise.
34913 (FP_UNPACK_SEMIRAW_S): Likewise.
34914 (FP_UNPACK_SEMIRAW_SP): Likewise.
34915 (FP_PACK_S): Likewise.
34916 (FP_PACK_SP): Likewise.
34917 (FP_PACK_SEMIRAW_S): Likewise.
34918 (FP_PACK_SEMIRAW_SP): Likewise.
34919 (_FP_SQRT_MEAT_S): Likewise.
34920 (FP_CMP_S): Likewise.
34921 (FP_CMP_EQ_S): Likewise.
34922 (FP_CMP_UNORD_S): Likewise.
34923 (FP_TO_INT_S): Likewise.
34924 (FP_FROM_INT_S): Likewise.
34925
34926 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34927
34928 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34929 (FP_EX_INVALID_IMZ): Likewise.
34930 (FP_EX_INVALID_IMZ_FMA): Likewise.
34931 (FP_EX_INVALID_ISI): Likewise.
34932 (FP_EX_INVALID_ZDZ): Likewise.
34933 (FP_EX_INVALID_IDI): Likewise.
34934 (FP_EX_INVALID_SQRT): Likewise.
34935 (FP_EX_INVALID_CVI): Likewise.
34936 (FP_EX_INVALID_VC): Likewise.
34937 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34938 "invalid" exceptions.
34939 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34940 (_FP_ADD_INTERNAL): Likewise.
34941 (_FP_MUL): Likewise.
34942 (_FP_FMA): Likewise.
34943 (_FP_DIV): Likewise.
34944 (_FP_CMP_CHECK_NAN): Likewise.
34945 (_FP_SQRT): Likewise.
34946 (_FP_TO_INT): Likewise.
34947 (FP_EXTEND): Likewise.
34948
34949 2014-10-09 Allan McRae <allan@archlinux.org>
34950
34951 * po/fr.po: Update French translation from translation project.
34952
34953 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34954
34955 [BZ #14132]
34956 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34957 of INTDEF.
34958 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34959 (__cxa_atexit): Use libc_hidden_proto.
34960 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34961
34962 [BZ #14132]
34963 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34964 declaration.
34965 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34966 [!_ISOMAC] (__iswspace_l_internal): Likewise.
34967 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34968 [!_ISOMAC] (__iswctype_internal): Likewise.
34969 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34970 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34971 alias.
34972 (fcntl): Remove __fcntl_internal alias.
34973 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34974 __connect_internal alias.
34975 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34976 Likewise.
34977
34978 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34979 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34980 FP_DENORM_ZERO.
34981 (_FP_CHECK_FLUSH_ZERO): New macro.
34982 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34983 (_FP_CMP): Likewise.
34984 (_FP_CMP_EQ): Likewise.
34985 (_FP_TO_INT): Do not set inexact for subnormal arguments if
34986 FP_DENORM_ZERO.
34987 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34988 (FP_TRUNC): Likewise.
34989
34990 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34991 treated as invalid conversion, not as normal exponent.
34992
34993 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34994 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
34995 (_FP_CMP_EQ): Likewise.
34996 (_FP_CMP_UNORD): Likewise.
34997 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34998 (FP_CMP_EQ_D): Likewise.
34999 (FP_CMP_UNORD_D): Likewise.
35000 * soft-fp/extended.h (FP_CMP_E): Likewise.
35001 (FP_CMP_EQ_E): Likewise.
35002 (FP_CMP_UNORD_E): Likewise.
35003 * soft-fp/quad.h (FP_CMP_Q): Likewise.
35004 (FP_CMP_EQ_Q): Likewise.
35005 (FP_CMP_UNORD_Q): Likewise.
35006 * soft-fp/single.h (FP_CMP_S): Likewise.
35007 (FP_CMP_EQ_S): Likewise.
35008 (FP_CMP_UNORD_S): Likewise.
35009 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35010 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35011 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35012 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35013 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35014 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35015 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35016 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35017 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35018 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35019 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35020 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35021 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35022 to FP_CMP_Q.
35023 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35024 FP_CMP_Q.
35025 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35026 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35027 FP_CMP_EQ_Q.
35028 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35029 FP_CMP_Q.
35030 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35031 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35032 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35033 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35034 FP_CMP_EQ_Q.
35035 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35036 FP_CMP_Q.
35037 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35038 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35039 FP_CMP_EQ_Q.
35040 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35041 FP_CMP_Q.
35042 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35043 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35044 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35045 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35046 FP_CMP_EQ_Q.
35047
35048 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35049 a subnormal result, set the underflow exception if trapping on
35050 underflow is enabled.
35051 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35052 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35053 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35054 redefine to 0.
35055 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35056 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35057 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35058 * soft-fp/extendxftf2.c (__extendxftf2): Use
35059 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35060
35061 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35062 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35063 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35064 FP_HANDLE_EXCEPTIONS.
35065 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35066 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35067 FP_HANDLE_EXCEPTIONS.
35068 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35069 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35070 FP_HANDLE_EXCEPTIONS.
35071 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35072 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35073 FP_HANDLE_EXCEPTIONS.
35074
35075 2014-10-08 Joseph Myers <joseph@codesourcery.com>
35076
35077 [BZ #14132]
35078 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35079 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35080 use INTUSE.
35081 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35082 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35083 Remove alias.
35084 (__adjtimex): Define using libc_hidden_ver.
35085 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35086 Remove declaration.
35087 (ntp_gettime): Call __adjtimex directly.
35088 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35089 Remove declaration.
35090 (ntp_gettimex): Call __adjtimex directly.
35091 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35092 __adjtimex_internal alias.
35093
35094 2014-10-08 Roland McGrath <roland@hack.frob.com>
35095
35096 [BZ #17460]
35097 * nscd/nscd.c (more_help): Rewrite list of tables collection
35098 using xstrdup and asprintf.
35099
35100 * nscd/nscd_conf.c: Remove local xstrdup declaration.
35101
35102 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35103 Roland McGrath <roland@hack.frob.com>
35104
35105 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35106 (do_lookup_unique): ... local function 'enter' here; update callers.
35107
35108 2014-10-06 Joseph Myers <joseph@codesourcery.com>
35109
35110 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35111 compat_symbol calls on [SHARED].
35112 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35113 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35114 Remove.
35115 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35116 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35117 (oldsetrlimit): Remove.
35118 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35120 (lchown): New syscall entry.
35121 (oldsetrlimit): Remove.
35122 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35123 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35124 (oldsetrlimit): Remove.
35125 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35126
35127 [BZ #14138]
35128 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35129 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35130 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35131 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35132 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35133 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35134 (fchown): Likewise.
35135 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35136 (fchown): Likewise.
35137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35138 Likewise.
35139
35140 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35141
35142 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35143 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35144 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35145 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35146 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35147 Likewise.
35148 (__old_sem_post): Likewise.
35149
35150 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
35151
35152 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35153 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35154 HAVE_CLOCK_GETTIME_VSYSCALL macros.
35155 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35156 Use INLINE_VSYSCALL macro.
35157 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35158 __vdso_clock_gettime.
35159 * sysdeps/unix/sysv/linux/tile/init-first.c
35160 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35161 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35162 __vdso_clock_gettime.
35163
35164 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35165 to set up frame more cleanly.
35166
35167 * sysdeps/tile/memcmp.c: New file.
35168
35169 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35170
35171 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35172 * sysdeps/tile/tilegx/strcasestr.c: New file.
35173 * sysdeps/tile/tilegx/strnlen.c: New file.
35174 * sysdeps/tile/tilegx/strstr.c: New file.
35175
35176 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35177
35178 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
35179
35180 * nptl/tst-setuid3.c: Write errors to stdout.
35181
35182 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35183
35184 * elf/dl-deps.c
35185 (preload): New functions broken out of _dl_map_object_deps.
35186 (_dl_map_object_deps): Remove a nested function. Update call sites.
35187
35188 2014-10-01 Joseph Myers <joseph@codesourcery.com>
35189
35190 [BZ #14138]
35191 * sysdeps/unix/sysv/linux/execve.c: Remove file.
35192 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35193
35194 2014-10-01 Steve Ellcey <sellcey@mips.com>
35195
35196 * sysdeps/mips/strcmp.S: New.
35197
35198 2014-09-30 Joseph Myers <joseph@codesourcery.com>
35199
35200 [BZ #14138]
35201 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35202 (linkat): Likewise.
35203 (mkdirat): Likewise.
35204 (readlinkat): Likewise.
35205 (renameat): Likewise.
35206 (symlinkat): Likewise.
35207 (unlinkat): Likewise.
35208 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35209 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35210 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35211 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35212 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35213 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35214 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35215
35216 2014-09-30 Will Newton <will.newton@linaro.org>
35217
35218 * math/math.h: Define long double math functions if
35219 _LIBC_TEST is defined.
35220 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35221
35222 * localedata/Makefile: Move assignment to tests-special
35223 into an ifdef testing run-built-tests.
35224 * timezone/Makefile: Likewise.
35225
35226 2014-09-29 Joseph Myers <joseph@codesourcery.com>
35227
35228 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35229 with $(BASH) not $(SHELL).
35230
35231 2014-09-29 Carlos O'Donell <carlos@redhat.com>
35232 Matthew LeGendre <legendre1@llnl.gov>
35233
35234 [BZ #17411]
35235 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35236 l_reloc_result.
35237
35238 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35239
35240 * stdio-common/printf_fp.c
35241 (hack_digit): New function, broken out of ...
35242 (__printf_fp): ... local function here. Update call sites.
35243 hack_digit now takes an additional parameter that is a pointer
35244 to a struct of the referenced locals. Those locals moved inside
35245 the struct and references updated.
35246
35247 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
35248
35249 * aclocal.m4: Require autoconf 2.69.
35250 * configure: Regenerated.
35251 * sysdeps/aarch64/configure: Likewise.
35252 * sysdeps/alpha/configure: Likewise.
35253 * sysdeps/arm/armv7/configure: Likewise.
35254 * sysdeps/arm/configure: Likewise.
35255 * sysdeps/ia64/configure: Likewise.
35256 * sysdeps/mach/configure: Likewise.
35257 * sysdeps/mips/configure: Likewise.
35258 * sysdeps/s390/configure: Likewise.
35259 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35261
35262 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35263 file.
35264 * sysdeps/ia64/configure.ac: Likewise.
35265
35266 2014-09-26 Joseph Myers <joseph@codesourcery.com>
35267
35268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35269 specify symbol version for ld.so. Do not include entry for
35270 libpthread.
35271 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35272 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35273 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35274
35275 [BZ #14171]
35276 * Makeconfig [$(build-shared) = yes]
35277 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35278 makefiles.
35279 [$(build-shared) = yes && $(soversions.mk-done) = t]
35280 ($(common-objpfx)gnu/lib-names.h): Remove rule.
35281 [$(build-shared) = yes && $(soversions.mk-done) = t]
35282 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
35283 to Makerules.
35284 [$(build-shared) = yes && $(soversions.mk-done) = t]
35285 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35286 here.
35287 [$(build-shared) = yes && $(soversions.mk-done) = t]
35288 (common-generated): Don't append gnu/lib-names.h and
35289 gnu/lib-names.stmp here.
35290 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35291 (lib-names-h-abi): New variable.
35292 [$(build-shared) = yes && $(soversions.mk-done) = t]
35293 (lib-names-stmp-abi): Likewise.
35294 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35295 abi-variants] (before-compile): Append
35296 $(common-objpfx)$(lib-names-h-abi).
35297 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35298 abi-variants] (common-generated): Append gnu/lib-names.h.
35299 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35300 abi-variants] (install-others-nosubdir): Depend on
35301 $(inst_includedir)/$(lib-names-h-abi).
35302 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35303 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35304 [$(build-shared) = yes && $(soversions.mk-done) = t]
35305 ($(common-objpfx)$(lib-names-h-abi)): New rule.
35306 [$(build-shared) = yes && $(soversions.mk-done) = t]
35307 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35308 [$(build-shared) = yes && $(soversions.mk-done) = t]
35309 (common-generated): Append $(lib-names-h-abi) and
35310 $(lib-names-stmp-abi).
35311 * scripts/lib-names.awk: Do not handle multi being set.
35312 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35313 Remove variable.
35314 (abi-lp64_be-ld-soname): Likewise.
35315 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35316 Likewise.
35317 (abi-hard-ld-soname): Likewise.
35318 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35319 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35320 Remove variable.
35321 (abi-o32_hard-ld-soname): Likewise.
35322 (abi-o32_soft_2008-ld-soname): Likewise.
35323 (abi-o32_hard_2008-ld-soname): Likewise.
35324 (abi-n32_soft-ld-soname): Likewise.
35325 (abi-n32_hard-ld-soname): Likewise.
35326 (abi-n32_soft_2008-ld-soname): Likewise.
35327 (abi-n32_hard_2008-ld-soname): Likewise.
35328 (abi-n64_soft-ld-soname): Likewise.
35329 (abi-n64_hard-ld-soname): Likewise.
35330 (abi-n64_soft_2008-ld-soname): Likewise.
35331 (abi-n64_hard_2008-ld-soname): Likewise.
35332 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35333 Likewise.
35334 (abi-64-v2-ld-soname): Likewise.
35335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35336 ld.so entries.
35337 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35338 variable.
35339 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35340 entry.
35341 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35342 variable.
35343 (abi-64-ld-soname): Likewise.
35344 (abi-x32-ld-soname): Likewise.
35345 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35346 entry.
35347 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35348
35349 2014-09-23 Joseph Myers <joseph@codesourcery.com>
35350
35351 [BZ #14138]
35352 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35353 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35354 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35355 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35356 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35357 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35358 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35359 syscall entry for GLIBC_2.2 symbol version.
35360 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35361 Likewise.
35362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35363 (setrlimit): Likewise.
35364 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35365 Likewise.
35366
35367 2014-09-23 Will Newton <will.newton@linaro.org>
35368
35369 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35370 _LINUX_ARM_SYSDEP_H include guard too.
35371 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35372 define.
35373
35374 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
35375
35376 * sysdeps/unix/sysv/linux/eventfd.c:
35377 Make first argument unsigned.
35378 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35379 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35380
35381 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
35382
35383 [BZ #16852]
35384 * socket/recvmmsg.c (recvmmsg): Drop const argument.
35385 * socket/sys/socket.h: Likewise.
35386 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35387
35388 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35389
35390 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35391
35392 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
35393
35394 * time/tst-ftime.c: New test.
35395 * time/Makefile (tests): Add tst-ftime.
35396
35397 2014-09-17 Joseph Myers <joseph@codesourcery.com>
35398
35399 * soft-fp/extended.h: Fix comment formatting.
35400 * soft-fp/op-1.h: Likewise.
35401 * soft-fp/op-2.h: Likewise.
35402 * soft-fp/op-4.h: Likewise.
35403 * soft-fp/op-8.h: Likewise.
35404 * soft-fp/op-common.h: Likewise.
35405 * soft-fp/soft-fp.h: Likewise.
35406
35407 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35408
35409 2014-09-16 Joseph Myers <joseph@codesourcery.com>
35410
35411 [BZ #6652]
35412 * Makeconfig (soversions-default-setname): Remove variable.
35413 ($(common-objpfx)soversions.i): Don't pass default_setname to
35414 soversions.awk.
35415 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35416 oldest_abi to abi-versions.awk.
35417 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35418 * config.make.in (oldest-abi): Remove variable.
35419 * configure.ac (--enable-oldest-abi): Remove configure option.
35420 * configure: Regenerated.
35421 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35422 text.
35423 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35424 * scripts/soversions.awk: Do not handle default_setname variable.
35425 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35426 variable.
35427 * sysdeps/mach/hurd/configure: Regenerated.
35428 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35429 variable.
35430 * sysdeps/unix/sysv/linux/configure: Regenerated.
35431
35432 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35433
35434 * elf/Makefile (CFLAGS-interp.c): Remove.
35435 ($(elf-objpfx)runtime-linker.h): Generate header with linker
35436 path string.
35437 * elf/interp.c: Include generated runtime-linker.h
35438
35439 * Makerules (lib%.so): Don't include $(+interp) in
35440 prerequisites.
35441 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35442 * dlfcn/eval.c: Remove file.
35443
35444 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35445 macros.
35446
35447 [BZ #17266]
35448 * misc/sys/cdefs.h: Define __extern_always_inline for clang
35449 4.2 and newer.
35450
35451 [BZ #17370]
35452 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35453
35454 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35455 Jakub Jelinek <jakub@redhat.com>
35456
35457 [BZ #17266]
35458 * libio/stdio.h: Check definition of __fortify_function
35459 instead of __extern_always_inline to include bits/stdio2.h.
35460 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35461 check if __extern_always_inline is defined.
35462 [__USE_MISC || __USE_XOPEN]: Likewise.
35463 [__USE_ISOC99] Likewise.
35464 * misc/sys/cdefs.h (__fortify_function): Define only if
35465 __extern_always_inline is defined.
35466 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35467 __extern_always_inline and __extern_inline only for g++-4.3
35468 and newer or a compatible gcc.
35469
35470 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
35471
35472 [BZ #17371]
35473 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35474 last change to handle zero prefix length.
35475
35476 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35477
35478 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35479 _SC_REGEX_VERSION.
35480
35481 * posix/getconf.c (vars): Add _POSIX_IPV6 and
35482 _POSIX_RAW_SOCKETS.
35483
35484 2014-09-13 Allan McRae <allan@archlinux.org>
35485
35486 * po/ru.po: Update Russian translation from translation project.
35487
35488 2014-09-12 Roland McGrath <roland@hack.frob.com>
35489
35490 * locale/programs/locale.c (show_locale_vars): Inline local function
35491 into its sole call site. Clean up some style nits.
35492 (print_item): New function, broken out of ...
35493 (show_info): ... local function here. Clean up style nits.
35494
35495 * locale/programs/ld-ctype.c (set_one_default): New function, broken
35496 out of ...
35497 (set_class_defaults): ... local function set_default here.
35498 Define set_default as a macro locally to pass constant parameters.
35499 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35500 rather than a shared local.
35501
35502 * stdlib/rpmatch.c (try): New function, broken out of ...
35503 (rpmatch): ... local function here. Also, prototypify definition.
35504
35505 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35506
35507 * scripts/soversions.awk: Do not handle configuration names.
35508 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35509 vendor and os variables to soversions.awk.
35510 * configure.ac: Do not modify gnu-* host_os.
35511 * configure: Regenerated
35512 * shlib-versions: Remove first column with configuration names.
35513 * nptl/shlib-versions: Likewise.
35514 * nptl_db/shlib-versions: Likewise.
35515 * sysdeps/hppa/shlib-versions: Likewise.
35516 * sysdeps/m68k/shlib-versions: Likewise.
35517 * sysdeps/mach/hurd/shlib-versions: Likewise.
35518 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35519 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35520 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35521 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35522 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35523 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35524 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35525 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35527 Likewise.
35528 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35529 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35530 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35531 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35532 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35533 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35534 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35535 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35536
35537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35538 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35540 Regenerated.
35541 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35543 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35544
35545 * shlib-versions: Remove OS-specific entries. Moved to files in
35546 sysdeps.
35547 * sysdeps/mach/hurd/shlib-versions: New file.
35548 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35549
35550 * nptl/shlib-versions: Remove architecture-specific entries.
35551 Moved to files in sysdeps.
35552 * shlib-versions: Likewise.
35553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35554 file.
35555 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35556 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35557 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35558 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35559
35560 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35561 (UDP_NO_CHECK6_RX): Likewise.
35562
35563 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35564
35565 * sysdeps/posix/sysconf.c (__sysconf): Spell
35566 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35567
35568 2014-08-12 Florian Weimer <fweimer@redhat.com>
35569
35570 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35571 loading.
35572 * iconv/Versions (__gconv_transliterate): Export for use from
35573 gconv modules.
35574 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35575 (struct __gconv_trans_data, __gconv_trans_fct,
35576 __gconv_trans_context_fct, __gconv_trans_query_fct,
35577 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35578 definitions.
35579 (struct __gconv_step_data): Remove __trans member.
35580 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35581 longer hidden. Remove unused trans_data argument.
35582 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35583 (__gconv_translit_find): Remove declaration.
35584 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35585 prototype.
35586 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35587 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35588 trans_data argument. Add hidden definition.
35589 (__gconv_translit_find): Remove.
35590 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35591 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35592 * iconv/skeleton.c: Remove transliteration initialization.
35593 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35594 __gconv_step_data initialization.
35595 * libio/iofwide.c (__libio_translit_): Remove.
35596 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35597 * wcsmbs/btowc.c (__btowc): Likewise.
35598 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35599 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35600 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35601 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35602 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35603 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35604 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35605 * wcsmbs/wctob.c (wctob): Likewise.
35606
35607 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35608
35609 [BZ #16194]
35610 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35611 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35612 register usage.
35613 * sysdeps/x86/Makefile: Adjust.
35614
35615 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35616 Roland McGrath <roland@hack.frob.com>
35617
35618 * locale/weight.h: Add include guard.
35619 (findidx): Make static rather than auto; take new parameters
35620 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35621 * locale/weightwc.h: Likewise.
35622 * posix/fnmatch_loop.c
35623 (FCT): Change type of EXTRA from int32_t to wint_t.
35624 Don't include either header inside the function.
35625 Call FINDIDX rather than findidx, and pass new arguments.
35626 #undef FINDIDX at the end of the file.
35627 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35628 FINDIDX before including fnmatch_loop.c for the non-wide version.
35629 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35630 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35631 for the wide version.
35632 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35633 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35634 Pass new arguments to findidx.
35635 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35636 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35637 Don't #include it inside the function. Pass new arguments to findidx.
35638 * posix/regex_internal.h
35639 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35640 (re_string_elem_size_at): Don't #include it inside the function.
35641 Pass new arguments to findidx.
35642 * string/strcoll_l.c: #include WEIGHT_H at top level.
35643 (get_next_seq): Don't #include it inside the function.
35644 Pass new arguments to findidx.
35645 (get_next_seq_nocache): Likewise.
35646 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35647 (STRXFRM): Don't #include it inside the function.
35648 Pass new arguments to findidx.
35649
35650 2014-09-11 Florian Weimer <fweimer@redhat.com>
35651
35652 [BZ #17344]
35653 * malloc/malloc.c (unlink): Turn asserts into a call to
35654 malloc_printerr.
35655
35656 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35657
35658 [BZ #17370]
35659 * libio/wfileops (do_ftell_wide): Free OUT.
35660
35661 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35662
35663 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35664
35665 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35666
35667 [BZ #17363]
35668 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35669 group if the current group is empty.
35670
35671 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35672
35673 * benchtests/bench-memset.c (test_main): Add more test from size
35674 from 32 to 512 bytes.
35675 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35676 Add POWER8 memset object.
35677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35678 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35679 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35680 implementation.
35681 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35682 Likewise.
35683 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35684 multiarch POWER8 memset optimization.
35685 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35686 POWER8 memset optimization.
35687
35688 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35689 Remove bzero multiarch objects.
35690 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35691 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35692 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35693 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35694 Remove define.
35695 [__bzero]: Redefine to specific name.
35696 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35697 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35698 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35699 define.
35700 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35701 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35702
35703 2014-09-10 Florian Weimer <fweimer@redhat.com>
35704
35705 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35706 warnings into errors.
35707
35708 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35709 __cxa_thread_atexit_impl prototype.
35710
35711 2014-09-09 Steve Ellcey <sellcey@mips.com>
35712
35713 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35714 Fix capitalization of error message.
35715
35716 2014-09-09 Steve Ellcey <sellcey@mips.com>
35717
35718 * sysdeps/mips/preconfigure: Modify ABI tests.
35719
35720 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
35721
35722 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35723
35724 2014-09-07 Roland McGrath <roland@hack.frob.com>
35725 Carlos O'Donell <carlos@systemhalted.org>
35726
35727 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35728 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35729 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35730 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35731 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35732 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35733 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35734 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35735 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35736 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35737 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35738 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35739 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35740 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35741 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35742 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35743 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35744 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35745 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35746 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35747 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35748 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35749 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35750 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35751 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35752 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35753 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35754 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35755 Deconditionalize the code that was previously under [RESET_PID].
35756 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35757 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35758 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35759 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35760 include sysdep.h.
35761
35762 2014-09-08 Allan McRae <allan@archlinux.org>
35763
35764 * version.h (RELEASE): Set to "development".
35765 (VERSION): Set to "2.20.90"
35766
35767 2014-09-07 Allan McRae <allan@archlinux.org
35768
35769 * version.h (RELEASE): Set to "stable".
35770 (VERSION): Set to "2.20"
35771 * include/features.h (__GLIBC_MINOR__): Set to 20.
35772
35773 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35774 Liebler.
35775
35776 * po/ko.po: Update Korean translation from translation project.
35777
35778 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
35779
35780 [BZ #17354]
35781 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35782 macro for handling signed relocations.
35783
35784 2014-09-03 Florian Weimer <fweimer@redhat.com>
35785
35786 [BZ #17325]
35787 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35788 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35789 assert.
35790 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35791 * iconvdata/ibm935.c (BODY): Likewise.
35792 * iconvdata/ibm937.c (BODY): Likewise.
35793 * iconvdata/ibm939.c (BODY): Likewise.
35794 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35795 assert.
35796 * iconvdata/Makefile (iconv-test.out): Pass module list to test
35797 script.
35798 * iconvdata/run-iconv-test.sh: New test loop for checking for
35799 decoder crashers.
35800
35801 2014-09-02 Khem Raj <raj.khem@gmail.com>
35802
35803 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35804 libm_hidden_ver.
35805
35806 2014-09-01 Allan McRae <allan@archlinux.org>
35807
35808 * po/eo.po: Update Esperanto translation from translation project.
35809
35810 * po/ca.po: Update Catalan translation from translation project.
35811
35812 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
35813
35814 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35815 __proc_dostop call.
35816
35817 2014-08-27 Mark Wielaard <mjw@redhat.com>
35818
35819 [BZ #17319]
35820 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35821 to call set_thread_area instead of hand written asm.
35822 (__NR_set_thread_area): Removed define.
35823 (TLS_FLAG_WRITABLE): Likewise.
35824 (__ASSUME_SET_THREAD_AREA): Remove check.
35825 (TLS_EBX_ARG): Remove define.
35826 (TLS_LOAD_EBX): Likewise.
35827
35828 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35829
35830 Simplify atomicity of socket creation in bind.
35831
35832 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35833 looking up the name after linking the file.
35834
35835 2014-08-27 Allan McRae <allan@archlinux.org>
35836
35837 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35838
35839 2014-08-26 Florian Weimer <fweimer@redhat.com>
35840
35841 [BZ #17187]
35842 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35843 trans_compare, open_translit, __gconv_translit_find):
35844 Remove module loading code.
35845
35846 2014-08-26 Allan McRae <allan@archlinux.org>
35847
35848 * po/vi.po: Update Vietnamese translation from translation project.
35849
35850 * po/uk.po: Update Ukrainian translation from translation project.
35851
35852 * po/fr.po: Update French translation from translation project.
35853
35854 * po/ru.po: Update Russian translation from translation project.
35855
35856 * po/pl.po: Update Polish translation from translation project.
35857
35858 * po/cs.po: Update Czech translation from translation project.
35859
35860 * po/de.po: Update German translation from translation project.
35861
35862 * po/bg.po: Update Bulgarian translation from translation project.
35863
35864 * po/sv.po: Update Sweedish translation from translation project.
35865
35866 * po/nl.po: Update Dutch translation from translation project.
35867
35868 * po/es.po: Update Spanish translation from translation project.
35869
35870 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35871
35872 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35873
35874 * catgets/Makefile (CPPFLAGS-gencat): Remove.
35875 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35876 (CPPFLAGS-iconvconfig): Likewise.
35877 * timezone/Makefile (CPPFLAGS-zic): Likewise.
35878
35879 * include/libc-symbols.h: Remove unnecessary check for
35880 NOT_IN_libc.
35881 * nptl/pthreadP.h: Likewise.
35882 * sysdeps/aarch64/setjmp.S: Likewise.
35883 * sysdeps/alpha/setjmp.S: Likewise.
35884 * sysdeps/arm/sysdep.h: Likewise.
35885 * sysdeps/i386/setjmp.S: Likewise.
35886 * sysdeps/m68k/setjmp.c: Likewise.
35887 * sysdeps/posix/getcwd.c: Likewise.
35888 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35889 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35890 * sysdeps/s390/s390-32/setjmp.S: Likewise.
35891 * sysdeps/s390/s390-64/setjmp.S: Likewise.
35892 * sysdeps/sh/sh3/setjmp.S: Likewise.
35893 * sysdeps/sh/sh4/setjmp.S: Likewise.
35894 * sysdeps/unix/alpha/sysdep.h: Likewise.
35895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35896 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35897 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35898 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35901 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35903 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35906 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35908 * sysdeps/x86_64/setjmp.S: Likewise.
35909
35910 2014-08-13 Joseph Myers <joseph@codesourcery.com>
35911
35912 [BZ #17263]
35913 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35914 <stdint.h>.
35915 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35916 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35917
35918 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35919
35920 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35921
35922 [BZ #17262]
35923 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35924 and __x86_64__ when disabling x87 inline functions.
35925
35926 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
35927
35928 [BZ #17259]
35929 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35930 asm statement with __cpuid_count.
35931
35932 2014-08-12 Mike Frysinger <vapier@gentoo.org>
35933
35934 * configure.ac: Change __ehdr_start code to dereference the struct.
35935 Run readelf on the output to look for relocations.
35936 * configure: Regenerated.
35937
35938 2014-08-12 Joseph Myers <joseph@codesourcery.com>
35939
35940 [BZ #17261]
35941 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35942 value to 0.
35943 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35944
35945 2014-08-12 Roland McGrath <roland@hack.frob.com>
35946
35947 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35948
35949 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
35950
35951 [BZ #16892]
35952 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35953 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35954
35955 2014-08-12 Sean Anderson <seanga2@gmail.com>
35956
35957 * malloc/malloc.c: Fix typo in comment.
35958
35959 2014-08-09 Allan McRae <allan@archlinux.org>
35960
35961 * Regenerate libc.po.
35962
35963 2014-08-08 Mike Frysinger <vapier@gentoo.org>
35964
35965 * intl/tst-gettext2.sh: Check every lang file for creation.
35966
35967 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35968
35969 * sysdeps/aarch64/fpu/math_private.h
35970 (libc_feholdsetround_noex_aarch64_ctx): New function.
35971
35972 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35973
35974 * sysdeps/arm/armv6/strcpy.S (strcpy):
35975 Fix performance issue in misaligned cases.
35976
35977 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35978
35979 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35980 Move definition from termios.h.
35981 (struct termio): Likewise.
35982 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35983 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35984 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35985 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35986 Likewise.
35987 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35988 Move definition to ioctl-types.h
35989 (struct termio): Likewise.
35990 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35991 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35992 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35993 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35994 Likewise.
35995
35996 2014-08-05 Richard Henderson <rth@redhat.com>
35997
35998 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35999 exceptions.
36000 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36001 Add fraiseexcpt.
36002 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36003 Use __feraiseexcept.
36004 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36005 Protect libm symbols with IS_IN_libm.
36006
36007 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36008
36009 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
36010
36011 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36012
36013 2014-08-04 Will Newton <will.newton@linaro.org>
36014
36015 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36016 file.
36017
36018 2014-08-04 Mike Frysinger <vapier@gentoo.org>
36019
36020 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36021 variants for each function.
36022
36023 2014-08-04 Roland McGrath <roland@hack.frob.com>
36024
36025 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36026 appended ...
36027 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36028 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36029 appended ...
36030 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36031 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36032 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36033 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36034 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36035 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36036 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36037 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36038 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36039 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36040 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36041 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36042 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36043 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36044 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36045 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36046 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36047 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36048 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36049 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36050 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36051 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36052 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36053 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36054 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36055 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36056 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36057 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36058 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36059 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36060 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36061 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36062 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36063 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36064 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36065 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36066 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36067 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36068 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36069 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36070 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36071 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36072 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36073 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36074 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36075 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36076 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36077 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36078 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36079 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36080 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36081 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36082 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36083 Update #include.
36084 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36085 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36086
36087 2014-08-04 Roland McGrath <roland@hack.frob.com>
36088
36089 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36090 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36091 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36092 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36093 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36094 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36095
36096 2014-08-04 Roland McGrath <roland@hack.frob.com>
36097
36098 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36099 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36100 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36101 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36102
36103 2014-08-04 Roland McGrath <roland@hack.frob.com>
36104
36105 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36106 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36107 (__libc_vfork): Define function under this name.
36108 (__vfork): Define as an alias.
36109 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36110 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36111
36112 2014-08-04 Roland McGrath <roland@hack.frob.com>
36113
36114 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36115 that was previously under [RESET_PID].
36116 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36117
36118 2014-08-04 Andreas Schwab <schwab@suse.de>
36119
36120 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36121
36122 2014-08-03 Mike Frysinger <vapier@gentoo.org>
36123
36124 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36125 (main): Likewise.
36126
36127 2014-08-01 Roland McGrath <roland@hack.frob.com>
36128
36129 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36130
36131 2014-08-01 Richard Henderon <rth@redhat.com>
36132
36133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36134 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36135 typo in exact zero test.
36136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36137 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36139
36140 2014-08-01 Roland McGrath <roland@hack.frob.com>
36141
36142 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36143 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36144 * sysdeps/arm/sysdep.h: ... here.
36145 [!__ASSEMBLER__]: Include <stdint.h>.
36146
36147 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36148
36149 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36150 (HAVE_WCTYPE_H): Likewise.
36151 (HAVE_ISWCTYPE): Likewise.
36152 (ENABLE_NLS): Likewise.
36153 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36154 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36155
36156 * posix/regex_internal.c: Check if DEBUG is defined and is
36157 set.
36158
36159 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36160 (HAVE_MBSRTOWCS): Likewise.
36161 * posix/fnmatch.c: Include string.h unconditionally.
36162
36163 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36164
36165 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36166 reversal.
36167
36168 2014-07-31 Roland McGrath <roland@hack.frob.com>
36169
36170 * sysdeps/generic/safe-fatal.h: New file.
36171 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36172 * nptl/forward.c: Include it.
36173 (__pthread_unwind): Use __safe_fatal as default action, rather
36174 than a bogus use of INTERNAL_SYSCALL that could never work.
36175
36176 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36177 * configure.ac (libc_cv_builtin_trap): New test.
36178 * configure: Regenerated.
36179 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36180 (ABORT_INSTRUCTION): Define using __builtin_trap.
36181
36182 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36183 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36184 * sysdeps/nptl/nptl-signals.h: New file.
36185 * nptl/pthreadP.h: Include <nptl-signals.h>.
36186
36187 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36188
36189 * sysdeps/s390/s390-64/utf16-utf32-z9.c
36190 (ONE_DIRECTION): Define.
36191 * sysdeps/s390/s390-64/utf8-utf16-z9.c
36192 (ONE_DIRECTION): Define.
36193 * sysdeps/s390/s390-64/utf8-utf32-z9.c
36194 (ONE_DIRECTION): Define.
36195
36196 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36197
36198 * sysdeps/s390/Makefile: Delete file.
36199 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36200 * sysdeps/s390/__longjmp.c: Delete file.
36201 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36202 Remove fields __flags and __reserved.
36203 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36204 and add versioning.
36205 * sysdeps/s390/rtld-__longjmp.c: Delete file.
36206 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36207 * sysdeps/s390/rtld-setjmp.S: Likewise.
36208 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36209 * sysdeps/s390/s390-32/__longjmp.c: ... here.
36210 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36211 * sysdeps/s390/s390-32/setjmp.S: ... here.
36212 Add versioning.
36213 (__sigsetjmp): Remove setting __flags field.
36214 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36215 * sysdeps/s390/s390-64/__longjmp.c: ... here.
36216 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36217 * sysdeps/s390/s390-64/setjmp.S: ... here.
36218 Add versioning.
36219 (__sigsetjmp): Remove setting __flags field.
36220 * sysdeps/s390/setjmp.S: Delete file.
36221 * sysdeps/s390/sigjmp.c: Likewise.
36222 * sysdeps/s390/v1-longjmp.c: Likewise.
36223 * sysdeps/s390/v1-setjmp.h: Likewise.
36224 * sysdeps/s390/v1-sigjmp.c: Likewise.
36225 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36226 Remove v1-longjmp_chk.
36227 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36228 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36229 Include debug/longjmp_chk.c and add versioning.
36230 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36231 Include nptl/pt-longjmp.c and add versioning.
36232 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36233 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36234 Include __longjmp.c.
36235 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36236 Move to ...
36237 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36238 (__getcontext): Remove setting __flags field.
36239 Add versioning.
36240 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36241 Don't restore upper high grps.
36242 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36243 Likewise.
36244 (__swapcontext): Remove setting uc_flags field.
36245 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36246 Delete file.
36247 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36248 Include __longjmp.c.
36249 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36250 Move to ...
36251 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36252 (__getcontext): Remove setting __flags field.
36253 Add versioning.
36254 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36255 (__swapcontext): Remove setting uc_flags field.
36256 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36257 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36258 Remove fields uc_high_gprs and __reserved.
36259 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36260 New file with reverted content.
36261 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36262 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36263 Regenerated.
36264 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36265 Regenerated.
36266
36267 2014-07-31 Andreas Schwab <schwab@suse.de>
36268
36269 * config.h.in (HAVE_IFUNC): Define to 0.
36270 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36271 definedness.
36272
36273 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
36274
36275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36276 memmove-avx-unaligned, memcpy-avx-unaligned and
36277 mempcpy-avx-unaligned.
36278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36279 Add tests for AVX memcpy functions.
36280 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36281 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36282 memcpy_chk.
36283 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36284 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36285 memmove_chk.
36286 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36287 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36288 mempcpy_chk.
36289 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36290 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36291 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36292
36293 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36294
36295 [BZ #17213]
36296 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36297 powerpc64le.
36298
36299 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
36300
36301 [BZ #16839]
36302 * manual/llio.texi: Add section about open file description locks.
36303 * manual/examples/ofdlocks.c: Example of open file description
36304 lock usage.
36305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36306 F_OFD_SETLK, and F_OFD_SETLKW.
36307
36308 2014-07-23 Allan McRae <allan@archlinux.org>
36309
36310 * po/es.po: Update Spanish translation from translation project.
36311
36312 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
36313
36314 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36315
36316 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
36317
36318 [BZ #17078]
36319 * sysdeps/arm/dl-machine.h (elf_machine_rela)
36320 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36321 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36322
36323 2014-07-17 Joseph Myers <joseph@codesourcery.com>
36324
36325 [BZ #17088]
36326 * math/fesetenv.c (__fesetenv)
36327 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36328 * math/feupdateenv.c (__feupdateenv)
36329 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36330
36331 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36332 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36333 (__ASSUME_SOCKETCALL): Do not define.
36334
36335 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36336 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36337 (__ASSUME_SOCKETCALL): Do not define.
36338 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36339 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36340 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36341 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36342 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36343 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36344 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36345 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36346
36347 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36348 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36349 (__ASSUME_SOCKETCALL): Do not define.
36350 (__ASSUME_IPC64): Define unconditionally.
36351 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36352 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36353 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36354 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36355 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36356 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36357 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36358 Likewise.
36359
36360 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36361 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36362 (__ASSUME_SOCKETCALL): Do not define.
36363 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36364 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36365 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36366 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36367 (__ASSUME_REQUEUE_PI): Define unconditionally.
36368 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36369 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36370 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36371 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36372 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36373 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36374
36375 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36376 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36377 (__ASSUME_SOCKETCALL): Do not define.
36378 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36379 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36380 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36381 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36382 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36383 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36384
36385 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36386 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36387 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36388 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36389 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36390 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36391 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36392 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36393 (__ASSUME_GETCPU_SYSCALL): Likewise.
36394
36395 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36396 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
36397 cases for individual architectures.
36398 * sysdeps/gnu/configure: Regenerated.
36399 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36400 LIBC_SLIBDIR_RTLDDIR.
36401 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36402 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36403 LIBC_SLIBDIR_RTLDDIR.
36404 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36406 LIBC_SLIBDIR_RTLDDIR.
36407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36408 Regenerated.
36409 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36410 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36411 file.
36412 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36413 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36414 file.
36415 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36416 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36417 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36418 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36419
36420 * sysdeps/aarch64/shlib-versions: Move to ...
36421 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36422 * sysdeps/alpha/shlib-versions: Move to ...
36423 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36424 * sysdeps/arm/shlib-versions: Move to ...
36425 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36426 * sysdeps/hppa/shlib-versions: Move all contents except for
36427 libgcc_s entry to ...
36428 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
36429 entry from ...
36430 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
36431 * sysdeps/ia64/shlib-versions: Move to ...
36432 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
36433 entry from ...
36434 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
36435 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36436 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36437 * sysdeps/microblaze/shlib-versions: Move to ...
36438 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36439 * sysdeps/mips/shlib-versions: Move to ...
36440 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
36441 entry from ...
36442 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
36443 * sysdeps/tile/shlib-versions: Move to ...
36444 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36445 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36446 from ...
36447 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
36448 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36449 entry from ...
36450 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
36451
36452 2014-07-17 Will Newton <will.newton@linaro.org>
36453
36454 * sysdeps/arm/bits/atomic.h
36455 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36456 (__arch_compare_and_exchange_bool_16_int): Likewise.
36457 (__arch_compare_and_exchange_bool_64_int): Likewise.
36458
36459 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36460 into an #else block.
36461
36462 2014-07-16 Roland McGrath <roland@hack.frob.com>
36463
36464 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36465 just Linux configurations. Test empirically that the compiler sets
36466 __ARM_EABI__, rather than using the tuple to decide.
36467 * sysdeps/arm/preconfigure: Regenerated.
36468 * sysdeps/unix/sysv/linux/arm/configure: File removed.
36469 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36470 contents appended ...
36471 * sysdeps/arm/configure.ac: ... here.
36472 * sysdeps/arm/configure: Regenerated.
36473
36474 2014-07-15 Roland McGrath <roland@hack.frob.com>
36475
36476 * nptl/pthread_kill.c: New file.
36477 * nptl/pthread_sigmask.c: New file.
36478 * nptl/pthread_sigqueue.c: New file.
36479
36480 * sysdeps/nptl/lowlevellock.h: New file.
36481 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36482 * sysdeps/nptl/lowlevellock-futex.h: New file.
36483
36484 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36485 Remove dead declarations.
36486
36487 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
36488
36489 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36490 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36491 config-cflags-avx2.
36492 * sysdeps/x86_64/configure.ac: Likewise.
36493 * sysdeps/i386/configure: Regenerated.
36494 * sysdeps/x86_64/configure: Likewise.
36495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36496 memset-avx2 only if config-cflags-avx2 is yes.
36497 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36498 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36499 defined.
36500 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36501 only if HAVE_AVX2_SUPPORT is defined.
36502 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36503
36504 2014-07-14 Alan Modra <amodra@gmail.com>
36505
36506 [BZ #17153]
36507 * elf/elf.h (DT_PPC64_NUM): Correct value.
36508 * NEWS: Add to fixed bug list.
36509
36510 2014-07-13 Jim Meyering <meyering@fb.com>
36511
36512 [BZ 17150]
36513 regex: don't deref NULL upon heap allocation failure
36514 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36515 failure in one more place.
36516 To trigger the segfault, configure grep -with-included-regex,
36517 build it, and run these commands:
36518 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36519
36520 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36521
36522 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36523
36524 2014-07-11 Richard Henderson <rth@redhat.com>
36525
36526 * sysdeps/aarch64/libm-test-ulps: Update.
36527
36528 2014-07-10 Florian Weimer <fweimer@redhat.com>
36529
36530 [BZ #17135]
36531 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36532 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36533 (__nptl_setxid): Initialize error member. Call
36534 __nptl_setxid_error.
36535 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36536 * nptl/descr.h (struct xid_command): Add error member.
36537 * nptl/tst-setuid3.c: New file.
36538 * nptl/Makefile (tests): Add it.
36539
36540 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36541
36542 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36543 New define.
36544 (__lll_trylock): Use __lll_base_trylock.
36545 (__lll_cond_trylock): Likewise.
36546
36547 2014-07-10 Roland McGrath <roland@hack.frob.com>
36548
36549 * nptl/pthread_create.c (start_thread): Use atomic_or and
36550 lll_futex_wake directly rather than lll_robust_dead.
36551 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36552 (lll_robust_dead): Macro removed.
36553 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36554 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36555 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36556 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36557 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36558 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36559 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36560 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36561 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36562 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36563 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36564 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36565 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36566 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36567 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36568
36569 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36570 Use atomic_compare_and_exchange_val_acq directly rather than
36571 lll_robust_trylock.
36572 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36573 (__lll_robust_trylock, lll_robust_trylock): Removed.
36574 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36575 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36576 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36577 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36578 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36579 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36580 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36581 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36582 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36583 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36584 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36585 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36586 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36587 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36588
36589 2014-07-02 Florian Weimer <fweimer@redhat.com>
36590
36591 * manual/locale.texi (Locale Names): New section documenting
36592 locale name syntax. Adjust menu and node chaining accordingly.
36593 (Choosing Locale): Reference Locale Names, Locale Categories.
36594 Mention setting LC_ALL=C. Reflect that name syntax is now
36595 documented.
36596 (Locale Categories): New section title. Reference Locale Names.
36597 LC_ALL is an environment variable, but not a category.
36598 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36599 description, now in Locale Name. Reference that section. Locale
36600 name syntax is now documented.
36601
36602 2014-07-02 Florian Weimer <fweimer@redhat.com>
36603
36604 [BZ #17137]
36605 * locale/findlocale.c (name_present, valid_locale_name): New
36606 functions.
36607 (_nl_find_locale): Use the loc_name variable to store name
36608 candidates. Call name_present and valid_locale_name to check and
36609 validate locale names. Return an error if the locale is invalid.
36610
36611 2014-07-02 Florian Weimer <fweimer@redhat.com>
36612
36613 * locale/setlocale.c (setlocale): Use strdup for allocating
36614 composite name copy.
36615
36616 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36617
36618 Sync up with gnulib.
36619 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36620 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36621 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36622 and _GL_ARG_NONNULL.
36623 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36624 [!_LIBC]: Include code for Windows and Cygwin.
36625 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36626 Include prototype for int strerror_r.
36627 [!_LIBC] (is_open): New function.
36628 (flush_stdout): New function.
36629 (print_errno_message): Use it.
36630 (error): Likewise.
36631 (error_at_line): Likewise.
36632 (error_tail) Add function attribute macros. Use
36633 __builtin_expect.
36634
36635 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36636
36637 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36638
36639 * io/ftw.c: Include sys/param.h unconditionally.
36640
36641 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36642
36643 [BZ #17125]
36644 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36645 libc_freeres_ptr.
36646 (freecache): New function to free CACHE on exit.
36647
36648 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36649 initialization.
36650
36651 2014-07-09 David S. Miller <davem@davemloft.net>
36652
36653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36654
36655 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36656 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36657 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36658 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36659 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36660 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36661 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36662 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36663 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36664 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36665 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36666 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36667 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36668
36669 2014-07-09 Andreas Schwab <schwab@suse.de>
36670
36671 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36672 output.
36673 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36674 (do_test): Likewise.
36675
36676 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36677
36678 2014-07-09 Will Newton <will.newton@linaro.org>
36679
36680 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36681 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36682 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36683 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36684 * sysdeps/hppa/start.S (_start): Likewise.
36685
36686 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36687
36688 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36689
36690 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36691 defined.
36692
36693 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36694
36695 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36696 after checking that it is non-NULL.
36697
36698 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36699
36700 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36701
36702 * sysdeps/powerpc/memmove.c: Remove file.
36703 * sysdeps/powerpc/powerpc32/power4/memcopy.h
36704 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36705 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36706 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36707 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36708 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36709 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36710 string memmove instead of removed powerpc one.
36711
36712 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36713 [weak_alias]: Fix compiler warning due trailing data.
36714 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36715 [weak_alias]: Likewise.
36716 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36717 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36718
36719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36720 (__libc_ifunc_impl_list): Add memmove functions.
36721
36722 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36723
36724 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36725 Remove code.
36726 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36727 Likewise.
36728 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36729 Likewise.
36730 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36731 Likewise.
36732 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36733 Likewise.
36734 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36735 Likewise.
36736 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36737 Likewise.
36738 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36739 Likewise.
36740 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36741 Likewise.
36742 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36743 Likewise.
36744 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36745 Likewise.
36746 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36747 Likewise.
36748 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36749 Likewise.
36750 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36751 Likewise.
36752 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36753 Likewise.
36754 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36755 Likewise.
36756 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36757 Likewise.
36758
36759 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36760
36761 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36762 to avoid alignment traps in non-cacheable memory.
36763 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36764
36765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36766 multiarch objects.
36767 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36768 file: multiarch power7 memmove.
36769 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36770 multiarch default memmove.
36771 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36772 multiarch memove for powerpc32/power4.
36773
36774 * string/bcopy.c: Use full path to include memmove.c.
36775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36776 multiarch objects.
36777 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36778 bcopy for powerpc64.
36779 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36780 bcopy for powerpc64.
36781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36782 and memmove implementations.
36783 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36784 optimized multiarch memmove for POWER7/powerpc64.
36785 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36786 default multiarch memmove for powerpc64.
36787 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36788 multiarch for powerpc64.
36789 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36790 for POWER7/powerpc64.
36791 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36792 memmove for POWER7/powerpc64.
36793
36794 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36795 glibc default one.
36796
36797 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36798 __ELF_NATIVE_CLASS equal to 64.
36799
36800 2014-07-07 Roland McGrath <roland@hack.frob.com>
36801
36802 * sysdeps/nptl/lowlevellock.h: File removed.
36803
36804 * NEWS: NPTL is no longer an add-on!
36805 * nptl/internaltypes.h: Moved ...
36806 * sysdeps/nptl/internaltypes.h: ... here.
36807 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36808 * sysdeps/nptl/fork.c: Likewise.
36809 * sysdeps/nptl/gai_misc.h: Likewise.
36810 * sysdeps/nptl/librt-cancellation.c: Likewise.
36811 * sysdeps/nptl/jmp-unwind.c: Likewise.
36812 * sysdeps/nptl/setxid.h: Likewise.
36813 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36814 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36815 * sysdeps/unix/sysv/linux/arm/Implies: New file.
36816 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36817 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36818 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36819 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36820 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36821 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36822 * sysdeps/unix/sysv/linux/mips/Implies: New file.
36823 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36824 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36825 * sysdeps/unix/sysv/linux/sh/Implies: New file.
36826 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36827 * sysdeps/unix/sysv/linux/tile/Implies: New file.
36828 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36829 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36830 * nptl/Makeconfig: Moved ...
36831 * sysdeps/nptl/Makeconfig: ... here.
36832 * nptl/configure: File removed.
36833 * nptl/ANNOUNCE: File removed.
36834 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36835 * sysdeps/unix/sysv/linux/configure: Regenerated.
36836
36837 * nptl/Makefile (routines): Add libc_pthread_init,
36838 libc_multiple_threads, register-atfork and unregister-atfork.
36839 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36840 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36841 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36842 pthread-pi-defines.sym, structsem.sym.
36843 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36844 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36845 [$(subdir) = nptl] (tests): Add tst-setgetname.
36846 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36847 * sysdeps/unix/sysv/linux/sigaction.c: Just include
36848 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36849 [!LIBC_SIGACTION]: Remove aliases.
36850 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36851 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36852 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36853 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36854 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36855 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36856 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36857 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36858 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36859 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36860 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36861 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36862 __libc_allocate_rtsig_private.
36863 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36864 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36865 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36866 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36867 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36868 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36869 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36870 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36871 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36872 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36873 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36874 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36875 * nptl/internaltypes.h: ... here.
36876 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36877 * sysdeps/nptl/jmp-unwind.c: ... here.
36878 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36879 * nptl/libc-lowlevellock.c: ... here.
36880 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36881 * nptl/libc_multiple_threads.c: ... here.
36882 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36883 * nptl/libc_pthread_init.c: ... here.
36884 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36885 * nptl/lowlevelbarrier.sym: ... here.
36886 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36887 * nptl/lowlevelcond.sym: ... here.
36888 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36889 * nptl/lowlevellock.c: ... here.
36890 * nptl/lowlevellock.h: Moved ...
36891 * sysdeps/nptl/lowlevellock.h: ... here.
36892 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36893 * nptl/lowlevelrobustlock.c: ... here.
36894 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36895 * nptl/lowlevelrobustlock.sym: ... here.
36896 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36897 * nptl/lowlevelrwlock.sym: ... here.
36898 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36899 * nptl/pt-fork.c: ... here.
36900 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36901 * nptl/pthread-pi-defines.sym: ... here.
36902 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36903 * nptl/pthread_attr_getaffinity.c: ... here.
36904 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36905 * nptl/pthread_attr_setaffinity.c: ... here.
36906 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36907 * nptl/pthread_mutex_cond_lock.c: ... here.
36908 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36909 Update #include.
36910 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36911 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36912 * nptl/pthread_once.c: ... here, replacing old file.
36913 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36914 * nptl/pthread_yield.c: ... here.
36915 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36916 * nptl/register-atfork.c: ... here.
36917 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36918 * nptl/sem_post.c: ... here.
36919 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36920 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36921 * nptl/sem_timedwait.c: ... here.
36922 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36923 * nptl/sem_trywait.c: ... here.
36924 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36925 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36926 * nptl/sem_wait.c: ... here.
36927 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36928 * nptl/structsem.sym: ... here.
36929 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36930 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36931 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36932 * nptl/unregister-atfork.c: ... here.
36933 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36934 * nptl/unwindbuf.sym: ... here.
36935 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36936 * sysdeps/nptl/fork.c: ... here.
36937 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36938 * sysdeps/nptl/fork.h: ... here.
36939 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36940 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36941 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36942 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36943 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36944 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36945 * sysdeps/unix/sysv/linux/getpid.c: ... here.
36946 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36947 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36948 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36949 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36950 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36951 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36952 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36953 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36954 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36955 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36956 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36957 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36958 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36959 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36960 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36961 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36962 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36963 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36964 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36965 * sysdeps/unix/sysv/linux/raise.c: ... here.
36966 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36967 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36968 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36969 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36970 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36971 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36972 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36973 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36974 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36975 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36976 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36977 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36978 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36979 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36980 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36981
36982 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36983
36984 * sysdeps/generic/memcopy.h: Add comment for
36985 MEMCPY_OK_FOR_FWD_MEMMOVE.
36986
36987 2014-07-04 Will Newton <will.newton@linaro.org>
36988
36989 * string/memchr.c: Merge from gnulib.
36990 [_LIBC]: Remove conditionals.
36991 (__ptr_t): Remove define.
36992 (LONG_MAX_32_BITS): Likewise.
36993 (LONG_MAX): Likewise.
36994 (MEMCHR): Use ANSI prototype and optimize algorithm.
36995
36996 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36997
36998 2014-07-03 Roland McGrath <roland@hack.frob.com>
36999
37000 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37001 (lll_futex_timed_wait_bitset): Fix syscall argument count.
37002
37003 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37004 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37005 in a bare environment with no <stdlib.h> installed.
37006 * sysdeps/nptl/configure: Regenerated.
37007
37008 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37009
37010 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37011 AC_EGREP_CPP for kernel header checks, so they only succeed if
37012 including <linux/version.h> actually works right.
37013 * sysdeps/unix/sysv/linux/configure: Regenerated.
37014
37015 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37016 value so it's not diagnosed as unused.
37017
37018 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37019 thing) with "ifeq ($(subdir),rt)".
37020
37021 2014-07-03 Richard Henderson <rth@redhat.com>
37022
37023 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37024 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37025 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37026
37027 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37028 (math_force_eval): New.
37029
37030 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37031 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37032
37033 * sysdeps/alpha/fpu/s_round.c: Remove file.
37034 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37035
37036 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37037 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37038 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37039 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37040 (_dl_start, print_statistics): Likewise.
37041 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37042 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37043
37044 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37045 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37046 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37047 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37049 (HP_SMALL_TIMING_AVAIL): Define.
37050 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37051 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37052 (HP_SMALL_TIMING_AVAIL): Define.
37053 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37054 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37055
37056 * sysdeps/aarch64/hp-timing.h: New file.
37057
37058 * sysdeps/generic/hp-timing.h: Remove dead comment.
37059 * sysdeps/generic/hp-timing-common.h: New file.
37060 * sysdeps/alpha/hp-timing.h: Include it.
37061 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37062 * sysdeps/i386/i686/hp-timing.h: Likewise.
37063 * sysdeps/ia64/hp-timing.h: Likewise.
37064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37065 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37066 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37067 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37068 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37069 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37070 (hp_timing_t): New.
37071
37072 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37073 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37074 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37075 * elf/rtld.c (_dl_start_final): Likewise.
37076 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37077 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37078 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37079 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37080 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37081 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37082 (HP_TIMING_DIFF_INIT): Remove.
37083 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37084 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37085 (HP_TIMING_DIFF_INIT): Remove.
37086 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37087 * sysdeps/i386/i686/hp-timing.c: Remove file.
37088 * sysdeps/x86_64/hp-timing.c: Remove file.
37089 * sysdeps/ia64/hp-timing.c: Remove file.
37090 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37091 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37092 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37093 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37094
37095 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37096 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37097 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37098 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37099 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37100 (HP_TIMING_ACCUM): Remove.
37101 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37102 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37103 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37104
37105 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37106 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37107 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37108 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37109 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37110 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37111 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37112 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37113
37114 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37115
37116 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
37117
37118 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37119
37120 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37121
37122 Sync up with gettext.
37123 * intl/loadmsgcat.c: Define O_BINARY if not defined.
37124 [_MSC_VER]: Include malloc.h
37125 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37126 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37127 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
37128 TEMP_FAILURE_RETRY. Cast return of alloca.
37129 [!_LIBC] Call gl_rwlock_init.
37130 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37131
37132 2014-07-02 Roland McGrath <roland@hack.frob.com>
37133
37134 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37135 before checking its value.
37136
37137 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37138
37139 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37140
37141 * debug/memcpy_chk.c: Don't include pagecopy.h.
37142 * debug/mempcpy_chk.c: Likewise.
37143 * string/memcpy.c: Likewise.
37144 * string/memmove.c: Likewise.
37145 * sysdeps/powerpc/memmove.c: Likewise.
37146 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
37147 definition of PAGE_COPY_FWD_MAYBE here...
37148 * sysdeps/generic/pagecopy.h: ... from here.
37149 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37150
37151 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37152 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37153
37154 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37156 optimizations.
37157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37158 (__libc_ifunc_impl_list): Likewise.
37159 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37160 multiarch strcat for PPC64.
37161 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37162 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37163
37164 2014-07-02 Roland McGrath <roland@hack.frob.com>
37165
37166 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37167
37168 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37169
37170 * intl/loadmsgcat.c: Remove declaration of
37171 get_sysdep_segment_value.
37172 (get_sysdep_segment_value): Use ISO C style.
37173 (_nl_load_domain): Use ISO C style. Get rid of redundant
37174 semicolon. Fix typo and formatting in comment.
37175 (_nl_unload_domain): Use ISO C style.
37176
37177 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37178
37179 2014-07-02 Will Newton <will.newton@linaro.org>
37180
37181 * malloc/obstack.c: Merge from gnulib master.
37182 [HAVE_CONFIG_H]: Remove conditional code.
37183 [!_LIBC]: Include config.h.
37184 [!ELIDE_CODE]: Don't include inttypes.h, include
37185 stdint.h unconditionally.
37186 (print_and_abort): Mark as _Noreturn.
37187 (_obstack_allocated_p): Mark as __attribute_pure__.
37188 (obstack_free): Rename to __obstack_free.
37189 [!__attribute__]: Remove conditional code.
37190 * malloc/obstack.h: Merge from gnulib master.
37191 [__cplusplus]: Move conditional down.
37192 [!__attribute_pure__]: Define __attribute_pure__ here
37193 if it is not already defined.
37194 (_obstack_memory_used): Mark as __attribute_pure__.
37195 [!__obstack_free]: Define as obstack_free.
37196 [__GNUC__]: Remove check for ancient NeXT gcc.
37197
37198 2014-07-02 Will Newton <will.newton@linaro.org>
37199 Paul Eggert <eggert@cs.ucla.edu>
37200
37201 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37202
37203 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37204
37205 * resolv/gethnamaddr.c: Add comment warning that the file is
37206 not maintained.
37207
37208 2014-07-01 Carlos O'Donell <carlos@redhat.com>
37209
37210 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37211 entries.
37212
37213 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37214 entry for aio_cancel and aio_cancel64.
37215 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37216 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37217 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37218 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37219 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37220 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37221 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37222 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37223 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37224 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37225 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37226 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37227 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37228
37229 2014-07-01 Roland McGrath <roland@hack.frob.com>
37230
37231 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37232 * nptl/pthread_mutex_lock.c: Likewise.
37233 * nptl/pthread_mutex_timedlock.c: Likewise.
37234 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37235
37236 2014-07-01 Richard henderson <rth@redhat.com>
37237
37238 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37239 (__isnan, __isnanl): Remove.
37240 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37241
37242 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37243
37244 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
37245
37246 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37247
37248 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37249
37250 * resolv/nss_dns/dns-host.c (getanswer_r)
37251 [MULTI_PTRS_ARE_ALIASES]: Remove code.
37252
37253 2014-07-01 Joseph Myers <joseph@codesourcery.com>
37254
37255 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37256 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37257 undefine.
37258 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37259 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37260
37261 2014-07-01 Roland McGrath <roland@hack.frob.com>
37262
37263 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37264 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37265
37266 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37267 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37268
37269 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37270 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37271 ... here.
37272 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37273 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37274
37275 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37276 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37277 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37278 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37279
37280 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37281 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37282 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37283 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37284 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37285 Moved ...
37286 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37287 ... here.
37288 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37289 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37290 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37291 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37292 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37293 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37294 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37295 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37296 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37297 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37298 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37299 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37300 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37301 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37302 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37303 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37304 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37305 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37306 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37307 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37308 ... here.
37309 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37310 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37311 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37312 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37313 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37314 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37315 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37316 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37317
37318 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
37319
37320 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37321 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37322 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37323 Add sysdep.
37324
37325 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37326
37327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37328
37329 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37330
37331 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37332 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37333
37334 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37335
37336 * sysdeps/arm/libm-test-ulps: Regenerated.
37337
37338 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37339 Roland McGrath <roland@hack.frob.com>
37340
37341 * test-skeleton.c (signal_handler): Kill the whole process group
37342 before killing the child individually.
37343 (main): Report any failure on `setpgid'.
37344
37345 2014-06-30 Roland McGrath <roland@hack.frob.com>
37346
37347 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37348 from _TLS_H to _ARM_NPTL_TLS_H.
37349 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37350 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37351
37352 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37353
37354 [BZ #16539]
37355 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37356 (__expm1l): Return argument unchanged when small but not
37357 subnormal.
37358
37359 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37360 include macro name.
37361 (_FP_UNPACK_RAW_1_P): Likewise.
37362 (_FP_PACK_RAW_1): Likewise.
37363 (_FP_PACK_RAW_1_P): Likewise.
37364 (_FP_MUL_MEAT_1_wide): Likewise.
37365 (_FP_MUL_MEAT_DW_1_hard): Likewise.
37366 (_FP_MUL_MEAT_1_hard): Likewise.
37367 (_FP_DIV_MEAT_1_imm): Likewise.
37368 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37369 (_FP_DIV_MEAT_1_udiv): Likewise.
37370 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37371 (_FP_UNPACK_RAW_2): Likewise.
37372 (_FP_UNPACK_RAW_2_P): Likewise.
37373 (_FP_PACK_RAW_2): Likewise.
37374 (_FP_PACK_RAW_2_P): Likewise.
37375 (_FP_MUL_MEAT_DW_2_wide): Likewise.
37376 (_FP_MUL_MEAT_2_wide): Likewise.
37377 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37378 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37379 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37380 (_FP_MUL_MEAT_2_gmp): Likewise.
37381 (_FP_DIV_MEAT_2_udiv): Likewise.
37382 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37383 (_FP_FRAC_SRL_4): Likewise.
37384 (_FP_FRAC_SRST_4): Likewise.
37385 (_FP_FRAC_SRS_4): Likewise.
37386 (_FP_UNPACK_RAW_4): Likewise.
37387 (_FP_UNPACK_RAW_4_P): Likewise.
37388 (_FP_PACK_RAW_4): Likewise.
37389 (_FP_PACK_RAW_4_P): Likewise.
37390 (_FP_MUL_MEAT_DW_4_wide): Likewise.
37391 (_FP_MUL_MEAT_4_wide): Likewise.
37392 (_FP_MUL_MEAT_4_gmp): Likewise.
37393 (umul_ppppmnnn): Likewise.
37394 (_FP_DIV_MEAT_4_udiv): Likewise.
37395 (__FP_FRAC_ADD_4): Likewise.
37396 (__FP_FRAC_SUB_3): Likewise.
37397 (__FP_FRAC_SUB_4): Likewise.
37398 (__FP_FRAC_DEC_3): Likewise.
37399 (__FP_FRAC_DEC_4): Likewise.
37400 (__FP_FRAC_ADDI_4): Likewise.
37401 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37402 (_FP_FRAC_SRL_8): Likewise.
37403 (_FP_FRAC_SRS_8): Likewise.
37404
37405 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37406 include macro name.
37407 (FP_UNPACK_RAW_EP): Likewise.
37408 (FP_PACK_RAW_E): Likewise.
37409 (FP_PACK_RAW_EP): Likewise.
37410 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37411 (_FP_ISSIGNAN): Likewise.
37412 (_FP_ADD_INTERNAL): Likewise.
37413 (_FP_FMA): Likewise.
37414 (_FP_CMP): Likewise.
37415 (_FP_SQRT): Likewise.
37416 (_FP_TO_INT): Likewise.
37417 (_FP_FROM_INT): Likewise.
37418 (FP_EXTEND): Likewise.
37419 (_FP_DIV_MEAT_N_loop): Likewise.
37420
37421 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37422
37423 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37424 throughout.
37425
37426 2014-06-29 Joseph Myers <joseph@codesourcery.com>
37427
37428 [BZ #17097]
37429 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37430 result with correct sign in case of exponents that produce
37431 overflow except for X very close to 1.
37432
37433 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
37434
37435 mktime: merge #if/#ifdef usage from glibc
37436 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37437 as that works with both Glibc's and Gnulib's style.
37438 See thread starting at Siddhesh Poyarekar's bug report at:
37439 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37440
37441 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37442
37443 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37444 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37445 * sysdeps/tile/tilegx/memmove.c: Remove file.
37446
37447 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37448
37449 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37450 abi-name definition.
37451 * scripts/soversions.awk: Do not handle or generate ABI lines.
37452 * shlib-versions: Remove ABI entries.
37453 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37454 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37455
37456 2014-06-27 Roland McGrath <roland@hack.frob.com>
37457
37458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37459 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37460 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37461 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37462 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37463 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37465 Moved ...
37466 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37467 ... here.
37468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37469 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37471 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37473 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37474 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37475 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37477 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37479 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37481 Moved ...
37482 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37484 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37486 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37488 Moved ...
37489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37491 Moved ...
37492 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37494 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37496 Moved ...
37497 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37499 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37501 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37503 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37505 Moved ...
37506 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37508 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37509 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37510 Moved ...
37511 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37512 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37513 Moved ...
37514 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37516 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37517 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37518 Moved ...
37519 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37520 ... here.
37521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37522 Identical file removed.
37523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37524 Moved ...
37525 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37526 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37527 Identical file removed.
37528 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37529 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37530 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37531 Moved ...
37532 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37534 Identical file removed.
37535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37536 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37537 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37538 Identical file removed.
37539 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37540 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37541 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37542 Identical file removed.
37543 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37544 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37546 Identical file removed.
37547 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37548 Moved ...
37549 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37551 Identical file removed.
37552 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37553 Moved ...
37554 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37555 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37556 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37557 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37558 Identical file removed.
37559 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37560 Moved ...
37561 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37562 ... here.
37563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37564 Identical file removed.
37565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37566 Moved ...
37567 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37569 Identical file removed.
37570 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37571 Moved ...
37572 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37574 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37575 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37576 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37578 Moved ...
37579 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37580 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37581 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37582
37583 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37584 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37585 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37586 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37587 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37588
37589 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37590
37591 [BZ #17092]
37592 * nscd/nscd.c (monitor_child): Return exit status of child
37593 instead of return value from wait syscall.
37594
37595 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37596
37597 * configure.ac (libc_commonpagesize): Remove variable.
37598 (libc_relro_required): Likewise.
37599 (libc_cv_z_relro): Remove configure test.
37600 * configure: Regenerated.
37601 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37602 variable.
37603 (libc_relro_required): Likewise.
37604 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37605 (libc_relro_required): Likewise.
37606 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37607 (libc_relro_required): Likewise.
37608 * sysdeps/arm/preconfigure: Regenerated.
37609 * sysdeps/ia64/preconfigure: Remove file.
37610 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37611 variable.
37612 (libc_relro_required): Likewise.
37613
37614 [BZ #16561]
37615 [BZ #16562]
37616 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37617 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37618 recompute overflowing results in original rounding mode.
37619 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37620 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37621 recompute overflowing results in original rounding mode.
37622 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37623 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37624 recompute overflowing results in original rounding mode.
37625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37626 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37627 recompute overflowing results in original rounding mode.
37628 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37629 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37630 recompute overflowing results in original rounding mode.
37631 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37632 (libc_feholdsetround_ctx): New macro.
37633 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37634 * sysdeps/i386/fpu/libm-test-ulps: Update.
37635 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37636
37637 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37638
37639 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37640 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37641 corresponding .cpsetup call.
37642
37643 2014-06-26 Roland McGrath <roland@hack.frob.com>
37644
37645 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37646 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37647 * sysdeps/arm/Makefile [$(subdir) = csu]
37648 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37649 (static-only-routines): Add aeabi_read_tp here.
37650 (shared-only-routines): Add libc-aeabi_read_tp here.
37651 (CFLAGS-libc-start.c): Add -fexceptions here.
37652 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37653 (sysdep_routines, static-only-routines, shared-only-routines):
37654 Don't add to these here.
37655 (CFLAGS-libc-start.c): Likewise.
37656
37657 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37658 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37659 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37660 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37661 * sysdeps/arm/Makefile [$(subdir) = rt]
37662 (librt-sysdep_routines, librt-shared-only-routines):
37663 Append rt-aeabi_unwind_cpp_pr1 here.
37664 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37665 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37666 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37667 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37668 Append nptl-aeabi_unwind_cpp_pr1 here.
37669 (tests): Filter out tst-cleanupx4 here.
37670 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37671 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37672 Don't do those here.
37673
37674 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37675
37676 * scripts/list-sources.sh: Do not handle ports specially.
37677
37678 2014-06-26 Roland McGrath <roland@hack.frob.com>
37679
37680 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37681 * sysdeps/arm/feupdateenv.c: Likewise.
37682
37683 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37684
37685 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37686
37687 * manual/texinfo.tex: Update to version 2014-05-05.10 with
37688 trailing whitespace removed.
37689 * scripts/config.guess: Update to version 2014-03-23.
37690 * scripts/config.sub: Update to version 2014-05-01
37691 * scripts/install-sh: Update to version 2013-12-25.23.
37692 * scripts/move-if-change: Update from gnulib.
37693
37694 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37695
37696 * debug/memmove_chk.c: Remove pagecopy.h include.
37697
37698 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
37699
37700 * time/mktime.c (leapyear): Remove inline keyword. The code is now
37701 identical to gnulib mktime.
37702
37703 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37704
37705 * configure.ac: Do not test for machine being rs6000. Do not test
37706 for powerpc*-*soft.
37707 * configure: Regenerated.
37708
37709 [BZ #11505]
37710 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37711 test.
37712 * configure: Regenerated.
37713 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37714 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37715 Remove configure test.
37716 * sysdeps/arm/configure: Regenerated.
37717 * sysdeps/nptl/configure.ac: Do not check
37718 libc_cv_asm_cfi_directives.
37719 * sysdeps/nptl/configure: Regenerated.
37720 * sysdeps/x86_64/nptl/configure.ac: Remove file.
37721 * sysdeps/x86_64/nptl/configure: Remove generated file.
37722 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37723 unconditional.
37724 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37725
37726 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37727
37728 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37729 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37730 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37731 it is defined.
37732
37733 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37734 instead of whether it is defined.
37735 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37736 * sysdeps/hppa/dl-machine.h: Likewise.
37737 * sysdeps/ia64/dl-machine.h: Likewise.
37738 * sysdeps/m68k/dl-machine.h: Likewise.
37739 * sysdeps/microblaze/dl-machine.h: Likewise.
37740 * sysdeps/mips/dl-machine.: Likewise.
37741 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37742 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37743 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37744 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37745 * sysdeps/sh/dl-machine.h: Likewise.
37746 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37747 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37748 * sysdeps/tile/dl-machine.h: Likewise.
37749 * sysdeps/x86_64/dl-machine.h: Likewise.
37750
37751 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37752 code.
37753 (verify_persistent_db): Likewise.
37754
37755 2014-06-26 Roland McGrath <roland@hack.frob.com>
37756
37757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37758 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37760 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37762 Moved ...
37763 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37764 ... here.
37765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37766 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37768 Identical file removed.
37769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37770 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37772 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37774 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37776 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37778 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37780 Moved ...
37781 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37783 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37785 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37787 Moved ...
37788 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37790 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37792 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37794 Identical file removed.
37795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37796 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37798 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37800 Moved ...
37801 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37802 ... here.
37803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37804 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37806 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37808 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37810 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37812 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37814 Moved ...
37815 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37817 Moved ...
37818 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37820 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37822 Moved ...
37823 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37825 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37826
37827 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37828 folded into ...
37829 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37830 * sysdeps/unix/sysv/linux/s390/Versions
37831 (libpthread: GLIBC_2.19): New version set.
37832 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37833 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37834 (librt: GLIBC_2.3.3): New version set.
37835 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37836 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37837 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37838 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37839 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37840 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37841 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37842 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37843 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37844 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37845 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37846 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37847 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37848 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37849 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37850 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37851 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37852 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37853 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37854 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37855 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37856 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37857 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37858 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37859 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37860 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37861 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37862 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37863 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37864 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37865 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37866 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37867 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37869 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37871 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37873 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37875 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37876 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37877 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37879 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37880
37881 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37882 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37883 (__libc_vfork): Define the function under this name.
37884 [!NOT_IN_libc] (__vfork): Make this an alias.
37885 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37886 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37887 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37888 (__libc_vfork): Define the function under this name.
37889 [!NOT_IN_libc] (__vfork): Make this an alias.
37890 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37891 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37892 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37894 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37895 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37896
37897 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37898 code that was previously under [RESET_PID].
37899 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37900 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37901 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37902
37903 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37904 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37905 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37906 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37907 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37908 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37909 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37910 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37911 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37912 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37913 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37914 Moved ...
37915 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37916 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37917 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37918 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37919 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37920 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37921 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37922 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37923 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37924 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37925 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37926 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37927 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37928 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37929 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37930 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37931 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37932 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37933 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37934 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37935 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37936 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37937 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37938 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37939 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37940 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37941 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37942 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37943 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37944
37945 2014-06-25 Roland McGrath <roland@hack.frob.com>
37946
37947 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37948 that was previously under [RESET_PID].
37949 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37950
37951 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37952
37953 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37954 not undefine and redefine.
37955 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37956 [O_CLOEXEC]: Make code unconditional.
37957 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37958 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37959 <kernel-features.h>.
37960 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37961 conditional variable definition.
37962 (shm_open) [O_CLOEXEC]: Make code unconditional.
37963 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37964 code.
37965
37966 * configure.ac (USE_REGPARMS): Don't define here.
37967 * configure: Regenerated.
37968 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37969 * sysdeps/i386/configure: Regenerated.
37970
37971 * nptl/createthread.c: Don't include kernel-features.h.
37972 * nptl/pthread_cancel.c: Likewise.
37973 * nptl/pthread_condattr_setclock.c: Likewise.
37974 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37975 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37976 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37977 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37978 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37979 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37980 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37981 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37982 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37983 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37984 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37985 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37986 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37987 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37988 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37989 * nscd/gai.c: Likewise.
37990 * nss/nss_db/db-open.c: Likewise.
37991 * sysdeps/generic/ldsodefs.h: Likewise.
37992 * sysdeps/sh/nptl/tls.h: Likewise.
37993 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37994 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37995 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37996 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37997 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37998 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37999 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38000 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38001 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38002 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38003 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38004 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38005 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38006 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38007 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38008 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38009 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38010 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38011 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38012 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38013 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38014 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38015 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38016 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38017 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38018 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38019 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38020 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38021 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38022 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38023 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38024 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38025 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38026 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38027 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38028 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38029 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38030 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38031 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38032 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38033 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38034 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38035 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38036 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38037 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38038 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38039 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38040 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38041 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38042 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38043 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38044 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38045 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38046 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38047 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38048 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38049 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38050 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38073 * sysdeps/unix/sysv/linux/pread.c: Likewise.
38074 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38075 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38076 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38077 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38078 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38079 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38080 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38081 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38082 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38083 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38084 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38085 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38086 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38087 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38088 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38089 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38090 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38091 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38092 * sysdeps/unix/sysv/linux/system.c: Likewise.
38093 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38094 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38095 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38096 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38097 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38098 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38099 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38100
38101 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38102 * configure: Regenerated.
38103 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38104
38105 * configure.ac (base_machine): Do not set specially for particular
38106 machines here.
38107 * configure: Regenerated.
38108 * sysdeps/powerpc/preconfigure: Move machine and base_machine
38109 settings from configure.ac.
38110 * sysdeps/i386/preconfigure: New file.
38111 * sysdeps/s390/preconfigure: Likewise.
38112 * sysdeps/sh/preconfigure: Likewise.
38113 * sysdeps/sparc/preconfigure: Likewise.
38114
38115 2014-06-25 Roland McGrath <roland@hack.frob.com>
38116
38117 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38118 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38119 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38120 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38121 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38122 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38123 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38124 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38125 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38126 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38127 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38128 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38129 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38130 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38131 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38132 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38133 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38134 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38135 * sysdeps/sparc/sparc64/Makefile: ... appended here.
38136
38137 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38138 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38139 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38140 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38141 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38142 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38143 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38144 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38145 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38146 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38147 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38148 * sysdeps/sparc/sparc32/sem_post.c: ... here.
38149 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38150 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38151 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38152 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38153 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38154 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38155 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38156 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38157 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38158 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38160 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38162 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38163 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38164 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38165 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38166 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38168 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38169 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38170 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38171 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38172 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38173 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38174 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38175
38176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38177 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38179 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38181 Moved ...
38182 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38183 ... here.
38184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38185 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38187 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38189 Moved ...
38190 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38192 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38194 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38196 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38198 Moved ...
38199 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38201 Moved ...
38202 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38204 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38206 Moved ...
38207 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38209 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38211 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38213 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38215 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38217 Moved ...
38218 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38219 ... here.
38220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38221 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38223 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38225 Moved ...
38226 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38228 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38230 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38232 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38234 Moved ...
38235 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38237 Moved ...
38238 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38240 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38242 Moved ...
38243 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38245 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38247 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38248
38249 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38250
38251 * timezone/checktab.awk: Update from tzcode 2014e.
38252 * timezone/private.h: Likewise.
38253 * timezone/tzfile.h: Likewise.
38254 * timezone/zdump.c: Likewise.
38255 * timezone/zic.c: Likewise.
38256
38257 * sysdeps/unix/sysv/linux/kernel-features.h
38258 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38259 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38260 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38261 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38262 Remove conditional code.
38263
38264 2014-06-25 Will Newton <will.newton@linaro.org>
38265
38266 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38267 (_dl_arm_cap_flags): Add HWCAP2 values.
38268 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38269 (_DL_HWCAP_COUNT): Increase to 37.
38270 (_DL_HWCAP_LAST): New define.
38271 (_DL_HWCAP2_LAST): New define.
38272 (_dl_procinfo): Add support for printing
38273 AT_HWCAP2 entries.
38274 (_dl_string_hwcap): Use _dl_hwcap_string.
38275
38276 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38277
38278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38279
38280 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38281
38282 * README: Do not mention ports directory.
38283
38284 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38285 Remove macro.
38286 * sysdeps/unix/sysv/linux/futimes.c: Do not include
38287 <kernel-features.h>.
38288 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38289 conditional variable definition.
38290 (__futimes): Update comment.
38291 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38292 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38293
38294 [BZ #16560]
38295 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38296 arguments close to 0.
38297 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38298 Likewise.
38299 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38300 Likewise.
38301 * math/auto-libm-test-in: Add more tests of exp10.
38302 * math/auto-libm-test-out: Regenerated.
38303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38304
38305 * sysdeps/unix/sysv/linux/kernel-features.h
38306 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38307 * sysdeps/unix/sysv/linux/readv.c: Do not include
38308 <kernel-features.h>.
38309 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38310 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38311 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38312 unconditional.
38313 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38314 conditional code.
38315 * sysdeps/unix/sysv/linux/writev.c: Do not include
38316 <kernel-features.h>.
38317 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38318 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38319 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38320 unconditional.
38321 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38322 conditional code.
38323
38324 2014-06-25 Will Newton <will.newton@linaro.org>
38325
38326 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38327 comment changes throughout the file. Remove checks
38328 for HAVE_*_H definitions that are not required.
38329 (__gen_tempname): Call abort if an unknown kind value is
38330 passed.
38331
38332 2014-06-25 Andreas Schwab <schwab@suse.de>
38333
38334 [BZ #17086]
38335 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38336 scalbln, scalblnf, scalblnl in libc.
38337
38338 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38339
38340 [BZ #17086]
38341 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38342 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38343 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38344
38345 2014-06-24 Roland McGrath <roland@hack.frob.com>
38346
38347 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38348 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38349 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38350 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38351 Update #include.
38352 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38353 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38354 Update #include.
38355 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38356 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38357 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38358 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38359 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38360 * sysdeps/x86/bits/pthreadtypes.h: ... here.
38361 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38362 * sysdeps/x86/bits/semaphore.h: ... here.
38363 * sysdeps/x86/nptl/elide.h: Moved ...
38364 * sysdeps/x86/elide.h: ... here.
38365 * sysdeps/x86_64/nptl/Implies: File removed.
38366 * sysdeps/i386/nptl/Implies: File removed.
38367
38368 2014-06-24 Joseph Myers <joseph@codesourcery.com>
38369
38370 [BZ #16539]
38371 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38372 return the argument for normal arguments with exponent below -64.
38373 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38374 Likewise.
38375 * math/auto-libm-test-in: Add another test of expm1.
38376 * math/auto-libm-test-out: Regenerated.
38377
38378 [BZ #16287]
38379 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38380 calling __erfcl for arguments at least 16.
38381 * math/auto-libm-test-in: Add more tests of erf.
38382 * math/auto-libm-test-out: Regenerated.
38383
38384 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38385 individual architectures.
38386 * sysdeps/unix/sysv/linux/configure: Regenerated.
38387 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38388 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38389 * sysdeps/unix/sysv/linux/powerpc/configure.ac
38390 (ldd_rewrite_script): Define variable.
38391 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38393 file.
38394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38395 generated file.
38396 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38397 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38398 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38399 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38400 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38401 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38402 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38403 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38404
38405 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38406
38407 [BZ #17084]
38408 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38409 Rename member __data.d to __data.__elision_data.
38410
38411 2014-06-24 Wilco <wdijkstr@arm.com>
38412
38413 * NEWS: Add 16918 to fixed bug list.
38414
38415 2014-06-24 Wilco <wdijkstr@arm.com>
38416
38417 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38418
38419 2014-06-24 Wilco <wdijkstr@arm.com>
38420
38421 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38422 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38423 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38424 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38425 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38426 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38427 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38428 Use _FPU_MASK_RM.
38429
38430 2014-06-24 Wilco <wdijkstr@arm.com>
38431
38432 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38433
38434 2014-06-24 Wilco <wdijkstr@arm.com>
38435
38436 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38437 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38438 * sysdeps/arm/fesetround.c (fesetround): Remove space.
38439 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38440
38441 2014-06-24 Wilco <wdijkstr@arm.com>
38442
38443 [BZ #16918]
38444 * sysdeps/arm/feupdateenv.c (feupdateenv):
38445 Rewrite to reduce FPSCR accesses and fix return value.
38446
38447 2014-06-24 Wilco <wdijkstr@arm.com>
38448
38449 * sysdeps/arm/fclrexcpt.c (feclearexcept):
38450 Optimize to avoid unnecessary FPSCR writes.
38451 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38452 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38453 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38454 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38455
38456 2014-06-24 Wilco <wdijkstr@arm.com>
38457
38458 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38459 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38460 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38461 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38462 Call libc_fetestexcept_vfp.
38463 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38464 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38465 __SOFTFP__ ifdef so that they can be built for softfp.
38466
38467 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38468
38469 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38470 argument type signed char.
38471
38472 * Makerules (check-abi): Dump diff of symlist if the test
38473 fails.
38474
38475 2014-06-23 Roland McGrath <roland@hack.frob.com>
38476
38477 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38478 using abort.
38479
38480 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38481 Remove unused variable ST.
38482
38483 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38484
38485 [BZ #16354]
38486 [BZ #17061]
38487 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38488 small arguments before calling __expm1.
38489 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38490 small arguments before calling __expm1f.
38491 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38492 small arguments before calling __expm1l.
38493 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38494 Likewise.
38495 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38496 * math/auto-libm-test-in: Add more cosh tests. Do not allow
38497 spurious underflow for some cosh tests.
38498 * math/auto-libm-test-out: Regenerated.
38499 * sysdeps/i386/fpu/libm-test-ulps: Update.
38500
38501 [BZ #17050]
38502 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38503 (__ieee754_y1): Set errno if return value overflows.
38504 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38505 (__ieee754_y1f): Set errno if return value overflows.
38506 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38507 (__ieee754_y1l): Set errno if return value overflows.
38508 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38509 (__ieee754_y1l): Set errno if return value overflows.
38510 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38511 * math/auto-libm-test-out: Regenerated.
38512
38513 * math/gen-auto-libm-tests.c: Document use of
38514 ignore-zero-inf-sign.
38515 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38516 (input_flags): Add ignore-zero-inf-sign.
38517 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38518 * math/gen-libm-test.pl (generate_testfile): Handle
38519 ignore-zero-inf-sign.
38520 * math/auto-libm-test-in: Mark some cpow tests with
38521 ignore-zero-inf-sign and some with xfail-rounding.
38522 * math/auto-libm-test-out: Regenerated.
38523 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38524 * sysdeps/i386/fpu/libm-test-ulps: Update.
38525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38526
38527 [BZ #16315]
38528 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38529 overflowing or underflowing operations take place with sign of
38530 result.
38531 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38532 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38533 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38534 (__ieee754_pow): Recompute overflowing and underflowing results in
38535 original rounding mode.
38536 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38537 (__powl_helper): Allow negative argument X and scale negated value
38538 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38539 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38540 overflowing or underflowing operations take place with sign of
38541 result.
38542 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38543 Include <math.h>.
38544 * math/auto-libm-test-in: Add more tests of pow.
38545 * math/auto-libm-test-out: Regenerated.
38546 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38547 (pow_tonearest_test_data): Remove.
38548 (pow_test_tonearest): Likewise.
38549 (pow_towardzero_test_data): Likewise.
38550 (pow_test_towardzero): Likewise.
38551 (pow_downward_test_data): Likewise.
38552 (pow_test_downward): Likewise.
38553 (pow_upward_test_data): Likewise.
38554 (pow_test_upward): Likewise.
38555 (main): Don't call removed functions.
38556 * sysdeps/i386/fpu/libm-test-ulps: Update.
38557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38558
38559 2014-06-23 Roland McGrath <roland@hack.frob.com>
38560
38561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38562 Moved ...
38563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38565 Moved ...
38566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38568 Moved ...
38569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38571 Moved ...
38572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38574 File removed.
38575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38576 File removed.
38577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38578 File removed.
38579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38580 File removed.
38581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38582 File removed.
38583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38584 File removed.
38585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38586 File removed.
38587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38588 File removed.
38589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38590 File removed.
38591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38592 File removed.
38593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38594 File removed.
38595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38596 File removed.
38597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38598 Moved ...
38599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38601 Moved ...
38602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38603 ... here.
38604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38605 Moved ...
38606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38608 Moved ...
38609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38611 Moved ...
38612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38614 Moved ...
38615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38617 Moved ...
38618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38620 Moved ...
38621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38623 Moved ...
38624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38627 ... here.
38628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38629 Moved ...
38630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38632 Moved ...
38633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38634 ... here.
38635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38636 Moved ...
38637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38638 ... here.
38639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38640 Moved ...
38641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38642 ... here.
38643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38644 Moved ...
38645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38647 Moved ...
38648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38652 Moved ...
38653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38654 ... here.
38655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38656 Moved ...
38657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38658 ... here.
38659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38660 Moved ...
38661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38663 Moved ...
38664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38666 Moved ...
38667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38669 Moved ...
38670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38672 Moved ...
38673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38674 ... here.
38675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38676 Moved ...
38677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38679 Moved ...
38680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38682 Moved ...
38683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38685 Moved ...
38686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38690 Moved ...
38691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38693 Moved ...
38694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38696 Moved ...
38697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38698 ... here.
38699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38700 Moved ...
38701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38702 ... here.
38703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38704 Moved ...
38705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38706 ... here.
38707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38708 Moved ...
38709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38711 Moved ...
38712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38714 Moved ...
38715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38717 Moved ...
38718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38719 ... here.
38720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38721 Moved ...
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38723 ... here.
38724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38725 Moved ...
38726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38727 ... here.
38728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38729 Moved ...
38730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38732 Moved ...
38733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38734
38735 2014-06-23 Will Newton <will.newton@linaro.org>
38736 Wilco <wdijkstr@arm.com>
38737
38738 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38739 implementation. Include get-rounding-mode.h.
38740 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38741 [!libc_feholdsetround_noex_ctx]: Define
38742 libc_feholdsetround_noex_ctx.
38743 [!libc_feholdsetround_noexf_ctx]: Define
38744 libc_feholdsetround_noexf_ctx.
38745 [!libc_feholdsetround_noexl_ctx]: Define
38746 libc_feholdsetround_noexl_ctx.
38747 (libc_feholdsetround_ctx): New function.
38748 (libc_feresetround_ctx): New function.
38749 (libc_feholdsetround_noex_ctx): New function.
38750 (libc_feresetround_noex_ctx): New function.
38751
38752 2014-06-23 Roland McGrath <roland@hack.frob.com>
38753
38754 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38755 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38756 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38757 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38758 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38759 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38760
38761 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38762 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38763 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38764 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38765 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38766 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38767 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38768 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38770 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38772 Moved ...
38773 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38774 ... here.
38775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38776 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38777 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38778 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38779 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38780 Moved ...
38781 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38782 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38783 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38785 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38787 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38789 Moved ...
38790 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38791 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38792 Moved ...
38793 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38794 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38795 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38797 Moved ...
38798 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38800 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38801 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38802 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38803 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38804 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38806 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38808 Moved ...
38809 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38810 ... here.
38811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38812 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38814 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38816 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38818 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38819 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38820 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38821 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38822 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38823 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38824 Moved ...
38825 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38826 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38827 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38829 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38831 Moved ...
38832 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38833 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38834 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38835 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38836 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38837
38838 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38839 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38840 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38841 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38842 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38843 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38844 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38845 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38847 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38848 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38849 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38850 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38851 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38852 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38853 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38854 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38855 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38856 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38857 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38858 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38859 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38860 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38861 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38862 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38863 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38864 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38865 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38866
38867 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38868
38869 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38870 (FALLOC_FL_COLLAPSE_RANGE): New macro.
38871 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38872 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38873 (IPV6_PMTUDISC_INTERFACE): Likewise.
38874 (IPV6_PMTUDISC_OMIT): Likewise.
38875
38876 2014-06-23 Andreas Schwab <schwab@suse.de>
38877
38878 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38879 Remove unused errout label.
38880
38881 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38882
38883 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38884 macro: hardware supports Vector Crypto instructions.
38885
38886 2014-06-23 Will Newton <will.newton@linaro.org>
38887
38888 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38889 rather than __builtin_expect.
38890
38891 * elf/dl-lookup.c (undefined_msg): Remove variable.
38892 (_dl_lookup_symbol_x): Replace undefined_msg with string
38893 literal.
38894
38895 * elf/dl-lookup.c (do_lookup_unique): New function.
38896 (do_lookup_x): Move STB_GNU_UNIQUE handling code
38897 to a separate function.
38898
38899 2014-06-23 Andreas Schwab <schwab@suse.de>
38900
38901 [BZ #17079]
38902 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38903 before reading the next line.
38904
38905 2014-06-23 Will Newton <will.newton@linaro.org>
38906
38907 * test-skeleton.c (signal_handler): Use printf and %m
38908 rather than perror. Use printf rather than fprintf to
38909 stderr. Use puts rather than fputs to stderr.
38910 (main): Likewise.
38911
38912 2014-06-22 Ludovic Courtès <ludo@gnu.org>
38913
38914 * nscd/nscd.c (thread_info_t): Remove typedef.
38915 (thread_info): Remove variable.
38916
38917 2014-06-21 Allan McRae <allan@archlinux.org>
38918
38919 * NEWS: Mention CVE-2014-4043.
38920
38921 2014-06-20 Roland McGrath <roland@hack.frob.com>
38922
38923 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38924 * nptl/smp.h: ... here.
38925
38926 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38927
38928 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38929 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38930 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38931 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38932
38933 * nptl/allocatestack.c: Include <stack-aliasing.h>.
38934 * nptl/stack-aliasing.h: New file.
38935 * sysdeps/i386/i686/stack-aliasing.h: New file.
38936 * sysdeps/i386/i686/nptl/Makefile: File removed.
38937 * sysdeps/x86_64/stack-aliasing.h: New file.
38938 * sysdeps/x86_64/nptl/Makefile
38939 (CFLAGS-pthread_create.c): Variable removed.
38940
38941 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38942 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38943 old file.
38944 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38945 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38946 old file.
38947
38948 2014-06-21 Joseph Myers <joseph@codesourcery.com>
38949
38950 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38951 (__ASSUME_SIGFRAME_V2): Remove macro.
38952 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38953 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38954 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38955 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38956 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38957 Declare as function. Remove conditional macro definitions.
38958 (__default_rt_sa_restorer): Likewise.
38959 (__default_sa_restorer_v1): Remove declaration.
38960 (__default_sa_restorer_v2): Likewise.
38961 (__default_rt_sa_restorer_v1): Likewise.
38962 (__default_rt_sa_restorer_v2): Likewise.
38963 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38964 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38965 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38966
38967 2014-06-20 Roland McGrath <roland@hack.frob.com>
38968
38969 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38970 (libpthread-routines): Add sysdep.
38971 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38972 * sysdeps/unix/sysv/linux/sparc/Versions
38973 (libpthread: GLIBC_2.3.3): New version set.
38974 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38975 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38976 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38977 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38978 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
38979 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38980 Moved ...
38981 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38982 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38983 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38984 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38985 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38986 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38987 * sysdeps/sparc/nptl/sem_init.c: ... here.
38988 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38989 * sysdeps/sparc/nptl/sem_post.c: ... here.
38990 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38991 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38992 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38993 * sysdeps/sparc/nptl/sem_wait.c: ... here.
38994 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38995 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38996 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38997 (libpthread-routines): Add cpu_relax.
38998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38999 File removed.
39000 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39001 (librt: GLIBC_2.3.3): New version set.
39002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39003 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39004 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39005 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39008 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39010 Moved ...
39011 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39013 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39015 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39017 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39019 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39021 Moved ...
39022 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39023 Update #include.
39024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39025 Moved ...
39026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39027 Update #include.
39028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39029 Moved ...
39030 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39031 Update #include.
39032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39033 Moved ...
39034 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39035 Update #include.
39036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39037 Moved ...
39038 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39039 Update #include.
39040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39041 Moved ...
39042 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39043 Update #include.
39044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39045 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39051 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39053 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39055 Moved ...
39056 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39058 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39060 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39061
39062 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39063
39064 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39065 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39066 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39067 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39068 * nscd/nscd.c: Likewise.
39069 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39070 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39071 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39072 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39073
39074 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39075 <kernel-features.h>.
39076 (init_mq_netlink): Remove conditional have_sock_cloexec
39077 definitions. Remove code conditional on have_sock_cloexec < 0.
39078 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39079 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39080 * sysdeps/unix/sysv/linux/opensock.c: Do not include
39081 <kernel-features.h>.
39082 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39083 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39084
39085 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39086
39087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39088 Add tests for memset_chk and memset.
39089
39090 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39091 with AVX2_Usable.
39092
39093 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39094
39095 [BZ #16046]
39096 * elf/tst-dl-iter-static.c: New file.
39097 * elf/Makefile (tests-static): Add tst-dl-iter-static.
39098
39099 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39100 error.
39101
39102 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39103
39104 * sysdeps/unix/sysv/linux/kernel-features.h
39105 (__ASSUME_F_GETOWN_EX): Remove macro.
39106 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39107 <kernel-features.h>.
39108 (miss_F_GETOWN_EX): Remove variable or macro.
39109 (do_fcntl): Do not check miss_F_GETOWN_EX.
39110 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39111
39112 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39113 Remove macro.
39114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39115 [!__ASSUME_AT_RANDOM]: Remove conditional code.
39116 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39117
39118 * sysdeps/unix/sysv/linux/kernel-features.h
39119 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39120 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39121 [ADJ_OFFSET_SS_READ]: Make code unconditional.
39122 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39123
39124 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39125
39126 [BZ #17075]
39127 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39128 Fix calculation of the symbol's value.
39129 * sysdeps/arm/tst-armtlsdescloc.c: New file.
39130 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39131 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39132 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39133 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39134 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39135 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39136 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39137 (modules-names): Add `tst-armtlsdescmod',
39138 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39139 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39140 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39141 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39142 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39143 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39144 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39145 ($(objpfx)tst-armtlsdescloc): New dependency.
39146 ($(objpfx)tst-armtlsdescextnow): Likewise.
39147 ($(objpfx)tst-armtlsdescextlazy): Likewise.
39148 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39149 TLS scheme support.
39150 * sysdeps/arm/configure: Regenerate.
39151
39152 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39153
39154 * include/fcntl.h (__atfct_seterrno): Remove prototype.
39155 (__atfct_seterrno_2): Likewise.
39156 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39157 <kernel-features.h>.
39158 (__ASSUME_ATFCTS): Do not undefine and redefine.
39159 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39160 (__have_atfcts): Remove conditional definition.
39161 (__fxstatat([__NR_fstatat64]: Make code unconditional.
39162 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39163 unreachable if [__ASSUME_ATFCTS].
39164 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39165 not undefine and redefine.
39166 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39167 <kernel-features.h>.
39168 (faccessat) [__NR_faccessat]: Make code unconditional.
39169 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39170 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39171 <kernel-features.h>.
39172 (fchmodat) [__NR_fchmodat]: Make code unconditional.
39173 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39174 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39175 <kernel-features.h>.
39176 (fchownat) [__NR_fchownat]: Make code unconditional.
39177 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39178 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39179 <kernel-features.h>.
39180 (futimesat) [__NR_futimesat]: Make code unconditional.
39181 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39182 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39183 <kernel-features.h>.
39184 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39185 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39186 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39187 <kernel-features.h>.
39188 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39189 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39190 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39191 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39192 <kernel-features.h>.
39193 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39194 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39195 * sysdeps/unix/sysv/linux/linkat.c: Do not include
39196 <kernel-features.h>.
39197 (linkat) [__NR_linkat]: Make code unconditional.
39198 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39199 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39200 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39201 <kernel-features.h>.
39202 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39203 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39204 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39205 <kernel-features.h>.
39206 (mkdirat) [__NR_mkdirat]: Make code unconditional.
39207 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39208 * sysdeps/unix/sysv/linux/openat.c: Do not include
39209 <kernel-features.h>.
39210 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39211 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39212 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39213 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39214 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39215 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39216 <kernel-features.h>.
39217 (readlinkat) [__NR_readlinkat]: Make code unconditional.
39218 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
39219 result of INLINE_SYSCALL directly, not via int variable.
39220 * sysdeps/unix/sysv/linux/renameat.c: Do not include
39221 <kernel-features.h>.
39222 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39223 (renameat) [__NR_renameat]: Make code unconditional.
39224 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39225 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39226 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39227 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39228 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39229 (__ASSUME_ATFCTS): Do not undefine and redefine.
39230 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39231 <kernel-features.h>.
39232 (symlinkat) [__NR_symlinkat]: Make code unconditional.
39233 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39234 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39235 <kernel-features.h>.
39236 (unlinkat) [__NR_unlinkat]: Make code unconditional.
39237 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39238 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39239 (__ASSUME_ATFCTS): Do not undefine and redefine.
39240 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39241 <kernel-features.h>.
39242 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39243 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39244 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39245 <kernel-features.h>.
39246 (__xmknodat) [__NR_mknodat]: Make code unconditional.
39247 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39248
39249 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39250
39251 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39252
39253 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
39254
39255 [BZ #17069]
39256 * posix/regcomp.c (parse_reg_exp): Deallocate partially
39257 constructed tree before returning error.
39258 * posix/bug-regexp36.c: Expand test case.
39259
39260 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39261
39262 [BZ #6803]
39263 * math/libm-test.inc (scalbln_test_date):
39264 Add errno expectations.
39265 * math/w_scalblnf.c: New File.
39266 Add wrapper which checks for setting errno to ERANGE.
39267 Add weak_alias for corresponding scalbln function.
39268 * math/w_scalbln.c: Likewise.
39269 * math/w_scalblnl.c: Likewise.
39270 * math/Makefile (libm-calls): Add w_scalbln.
39271 * sysdeps/ieee754/flt-32/s_scalblnf.c:
39272 Remove weak_alias for corresponding scalbln function.
39273 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39275 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39276 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39277 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39278 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39279 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39280 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39281 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39282 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39283 Remove long_double_symbol for scalblnl function in libm, libc.
39284 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39285 Add wrapper which checks for setting errno to ERANGE.
39286 Add long_double_symbol for scalblnl function in libm, libc.
39287 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39288 Remove long_double_symbol for scalblnl in libm.
39289 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39290 Add wrapper which checks for setting errno to ERANGE.
39291 Add long_double_symbol for scalblnl function in libm.
39292 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39293 Do not use wrapper because of own implementation.
39294
39295 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
39296
39297 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39298 3 bytes for __pad1 for x32.
39299 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39300
39301 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
39302 H.J. Lu <hongjiu.lu@intel.com>
39303
39304 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39305 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39308 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39309
39310 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
39311
39312 [BZ #17069]
39313 * posix/regcomp.c (parse_expression): Deallocate partially
39314 constructed tree before returning error.
39315 * posix/Makefile.c (tests): Add bug-regex36.
39316 (generated): Add bug-regex36.mtrace.
39317 (tests-special): Add $(objpfx)bug-regex36-mem.out
39318 (bug-regex36-ENV): New variable.
39319 ($(objpfx)bug-regex36-mem.out): New rule.
39320 * posix/bug-regex36.c: New file.
39321
39322 2014-06-19 Will Newton <will.newton@linaro.org>
39323
39324 * malloc/malloc.c (systrim): If extra is zero then return
39325 early.
39326
39327 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39328
39329 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39330
39331 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
39332
39333 * sysdeps/aarch64/strchr.S: New file.
39334
39335 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39336
39337 [BZ #17022]
39338 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39339 from arguments -2 or below.
39340 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39341 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39342
39343 2014-06-18 Andreas Schwab <schwab@suse.de>
39344
39345 [BZ #17062]
39346 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39347 of a bracket expr not to run off the end of the string.
39348 * posix/Makefile (tests): Add tst-fnmatch3.
39349 * posix/tst-fnmatch3.c: New file.
39350
39351 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39352
39353 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39354 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39355 [$(cross-compiling) = no]: Likewise.
39356 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39357 [$(cross-compiling) = no]: Likewise.
39358
39359 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39360
39361 [BZ #17031]
39362 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39363 double, adjusted for any remainder from the high double.
39364 * math/libm-test.inc (nearbyint): Add tests.
39365 (rint): Likewise.
39366
39367 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39368
39369 * nptl/sysdeps/powerpc/Makefile: Moved ...
39370 * sysdeps/powerpc/nptl/Makefile: ... here.
39371 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39372 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39373 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39374 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39375 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39376 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39377 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39378 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39379 * nptl/sysdeps/powerpc/tls.h: Moved ...
39380 * sysdeps/powerpc/nptl/tls.h: ... here.
39381
39382 2014-06-16 Joseph Myers <joseph@codesourcery.com>
39383
39384 [BZ #16681]
39385 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39386 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39387 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39388 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39389 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39390 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39391 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39392 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39393 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39394
39395 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
39396
39397 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39398
39399 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
39400
39401 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39402 defined operator.
39403
39404 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39405 $TIMEOUTFACTOR.
39406
39407 2014-06-16 Florian Weimer <fweimer@redhat.com>
39408
39409 [BZ #17058]
39410 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39411 non-executed part of the test.
39412
39413 2014-06-16 Andreas Schwab <schwab@suse.de>
39414
39415 * string/bits/string2.h (strdup, strndup): Update feature guard.
39416
39417 2014-06-14 David S. Miller <davem@davemloft.net>
39418
39419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39420
39421 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
39422
39423 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39424 that was previously under [RESET_PID].
39425 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39426
39427 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39428 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39429 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39430 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39431 (__libc_vfork): New strong alias.
39432 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39433
39434 2014-06-14 Andi Kleen <ak@linux.intel.com>
39435
39436 * sysdeps/generic/elide.h: New file.
39437
39438 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
39439
39440 * Makefile (installed-headers): Adjust path of pthread.h header.
39441
39442 2014-06-13 Roland McGrath <roland@hack.frob.com>
39443
39444 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39445 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39446 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39447 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39448
39449 * nptl/sysdeps/s390/Makefile: Moved ...
39450 * sysdeps/s390/nptl/Makefile: ... here.
39451 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39452 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39453 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39454 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39455 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39456 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39457 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39458 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39459 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39460 * sysdeps/s390/nptl/pthreaddef.h: ... here.
39461 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39462 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39463 * nptl/sysdeps/s390/tls.h: Moved ...
39464 * sysdeps/s390/nptl/tls.h: ... here.
39465
39466 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39467 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39468
39469 2014-06-13 David S. Miller <davem@davemloft.net>
39470
39471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39474 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39478 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39479 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39480 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39481 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39482 Remove RESET_PID cpp guards.
39483 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39484 Remove RESET_PID cpp guards.
39485 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39486
39487 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
39488
39489 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39490 __sp to uintptr_t.
39491
39492 2014-06-13 Andi Kleen <ak@linux.intel.com>
39493
39494 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39495 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39496 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39497 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39498 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39499 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39500 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39502 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39503 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39504 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39505 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39506 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39507 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39508 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39509 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39510 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39512 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39513 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39514
39515 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39516 (pthread_rwlock_rdlock): Add elision.
39517 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39518 (pthread_rwlock_wrlock): Add elision.
39519 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39520 (pthread_rwlock_trywrlock): Add elision.
39521 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39522 (pthread_rwlock_tryrdlock): Add elision.
39523 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39524 (pthread_rwlock_tryrdlock): Add elision unlock.
39525 * nptl/sysdeps/pthread/pthread.h:
39526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39527 (PTHREAD_RWLOCK_INITIALIZER,
39528 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39529 Handle new elision field.
39530 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39531 * sysdeps/arm/nptl/bits/pthreadtypes.h
39532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39533 * sysdeps/sh/nptl/bits/pthreadtypes.h
39534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39535 * sysdeps/tile/nptl/bits/pthreadtypes.h
39536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39537 * sysdeps/a/nptl/bits/pthreadtypes.h
39538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39539 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39541 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39543 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39545 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39547 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39549 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39551 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39552 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39553 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39555 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39556 (elision_init): Set try_xbegin to zero when no RTM.
39557 * sysdeps/x86/nptl/bits/pthreadtypes.h
39558 (pthread_rwlock_t): Change __pad1 to __rwelision.
39559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39560
39561 2014-06-13 Andi Kleen <ak@linux.intel.com>
39562
39563 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39564 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39565 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39566 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39567
39568 2014-06-13 Meador Inge <meadori@codesourcery.com>
39569
39570 [BZ #16996]
39571 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39572 that the cached result has been set before returning it.
39573
39574 2014-06-12 Roland McGrath <roland@hack.frob.com>
39575
39576 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39577 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39578 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39579 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39580 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39581 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39582
39583 * nptl/sysdeps/sparc/Makefile: Moved ...
39584 * sysdeps/sparc/nptl/Makefile: ... here.
39585 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39586 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39587 * nptl/sysdeps/sparc/tls.h: Moved ...
39588 * sysdeps/sparc/nptl/tls.h: ... here.
39589 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39590 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39591 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39592 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39593 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39594 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39595 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39596 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39597 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39598 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39599 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39600 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39601 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39602 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39603 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39604 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39605 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39606 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39607 Update #include.
39608 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39610 Update #include.
39611 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39612 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39613 Update #include.
39614 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39615 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39616 Update #include.
39617
39618 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39619
39620 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39621 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39622
39623 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39624 (struct list_links): Type removed.
39625 (struct thread_node, struct timer_node): Replace struct list_links
39626 with struct list_head.
39627 (list_unlink_ip): Likewise.
39628 * sysdeps/pthread/timer_routines.c
39629 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39630 (list_append, list_insbefore): Likewise.
39631 (list_init): Function removed.
39632 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39633 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39634 * sysdeps/pthread/Makefile: ... here, new file.
39635
39636 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39637 * sysdeps/nptl/Implies: ... here.
39638 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39639 * nptl/sysdeps/pthread/list.h: Moved ...
39640 * include/list.h: ... here.
39641 * nptl/sysdeps/pthread/createthread.c: Moved ...
39642 * nptl/createthread.c: ... here.
39643 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39644 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39645 * nptl/pt-longjmp.c: ... here.
39646 * nptl/sysdeps/pthread/Makefile: Moved ...
39647 * sysdeps/nptl/Makefile: ... here.
39648 * nptl/sysdeps/pthread/Subdirs: Moved ...
39649 * sysdeps/nptl/Subdirs: ... here.
39650 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39651 * sysdeps/nptl/aio_misc.h: ... here.
39652 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39653 * sysdeps/nptl/bits/libc-lock.h: ... here.
39654 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39655 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39656 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39657 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39658 * nptl/sysdeps/pthread/configure: Moved ...
39659 * sysdeps/nptl/configure: ... here.
39660 * nptl/sysdeps/pthread/configure.ac: Moved ...
39661 * sysdeps/nptl/configure.ac: ... here.
39662 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39663 * sysdeps/nptl/gai_misc.h: ... here.
39664 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39665 * sysdeps/nptl/librt-cancellation.c: ... here.
39666 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39667 * sysdeps/nptl/malloc-machine.h: ... here.
39668 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39669 * sysdeps/nptl/pthread-functions.h: ... here.
39670 * nptl/sysdeps/pthread/pthread.h: Moved ...
39671 * sysdeps/nptl/pthread.h: ... here.
39672 * nptl/sysdeps/pthread/setxid.h: Moved ...
39673 * sysdeps/nptl/setxid.h: ... here.
39674 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39675 * sysdeps/nptl/sigfillset.c: ... here.
39676 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39677 * sysdeps/nptl/tcb-offsets.h: ... here.
39678 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39679 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39680 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39681 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39682 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39683 * sysdeps/pthread/allocalim.h: ... here.
39684 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39685 * sysdeps/pthread/bits/sigthread.h: ... here.
39686 * nptl/sysdeps/pthread/flockfile.c: Moved ...
39687 * sysdeps/pthread/flockfile.c: ... here.
39688 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39689 * sysdeps/pthread/ftrylockfile.c: ... here.
39690 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39691 * sysdeps/pthread/funlockfile.c: ... here.
39692 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39693 * sysdeps/pthread/posix-timer.h: ... here.
39694 * nptl/sysdeps/pthread/timer_create.c: Moved ...
39695 * sysdeps/pthread/timer_create.c: ... here.
39696 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39697 * sysdeps/pthread/timer_delete.c: ... here.
39698 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39699 * sysdeps/pthread/timer_getoverr.c: ... here.
39700 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39701 * sysdeps/pthread/timer_gettime.c: ... here.
39702 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39703 * sysdeps/pthread/timer_routines.c: ... here.
39704 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39705 * sysdeps/pthread/timer_settime.c: ... here.
39706 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39707 * sysdeps/pthread/tst-timer.c: ... here.
39708 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39709 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39710
39711 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39712 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39713
39714 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39715 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39716 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39717 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39718 Update #include target.
39719 * nptl/sysdeps/i386/i686/Makefile: Moved ...
39720 * sysdeps/i386/i686/nptl/Makefile: ... here.
39721 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39722 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39723 Update #include target.
39724 * nptl/sysdeps/i386/i686/tls.h: Moved ...
39725 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
39726 * nptl/sysdeps/i386/Makefile: Moved ...
39727 * sysdeps/i386/nptl/Makefile: ... here.
39728 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39729 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39730 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39731 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39732 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39733 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39734 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39735 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39736 * sysdeps/i386/nptl/pthreaddef.h: ... here.
39737 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39738 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39739 * nptl/sysdeps/i386/tls.h: Moved ...
39740 * sysdeps/i386/nptl/tls.h: ... here.
39741
39742 * sysdeps/sh/Makefile [$(subdir) = csu]
39743 (gen-as-const-headers): Add tcb-offsets.sym.
39744 * nptl/sysdeps/sh/Makefile: File removed.
39745 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39746 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39747 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39748 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39749 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39750 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39751 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39752 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39753 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39754 * sysdeps/sh/nptl/pthreaddef.h: ... here.
39755 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39756 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39757 * nptl/sysdeps/sh/tls.h: Moved ...
39758 * sysdeps/sh/nptl/tls.h: ... here.
39759 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39760 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39761 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39762 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39763 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39764 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39765 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39766 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39767 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39768 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39770 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39772 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39774 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39776 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39778 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39779 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39780 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39781 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39782 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39784 Moved ...
39785 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39786 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39787 Moved ...
39788 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39789 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39790 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39791 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39792 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39793 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39794 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39795 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39796 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39797 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39798 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39799 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39800 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39801 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39802 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39803 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39804 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39805 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39806 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39807
39808 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39809
39810 * posix/spawn_faction_addopen.c: Include string.h.
39811
39812 2014-06-11 Roland McGrath <roland@hack.frob.com>
39813
39814 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39815 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39816 * nptl/sysdeps/x86_64/Makefile: Moved ...
39817 * sysdeps/x86_64/nptl/Makefile: ... here.
39818 * nptl/sysdeps/x86_64/configure: Moved ...
39819 * sysdeps/x86_64/nptl/configure: ... here.
39820 * nptl/sysdeps/x86_64/configure.ac: Moved ...
39821 * sysdeps/x86_64/nptl/configure.ac: ... here.
39822 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39823 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39824 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39825 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39826 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39827 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39828 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39829 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39830 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39831 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39832 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39833 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39834 * nptl/sysdeps/x86_64/tls.h: Moved ...
39835 * sysdeps/x86_64/nptl/tls.h: ... here.
39836 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39837 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39838 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39839 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39840
39841 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39842
39843 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39844
39845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39846
39847 2014-06-11 Joseph Myers <joseph@codesourcery.com>
39848
39849 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39850 type.
39851 [POSIX] (off_t): Likewise.
39852 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39853 [POSIX] (S_ISBLK): Require macro.
39854 [POSIX] (S_ISCHR): Likewise.
39855 [POSIX] (S_ISDIR): Likewise.
39856 [POSIX] (S_ISFIFO): Likewise.
39857 [POSIX] (S_ISREG): Likewise.
39858 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39859 optional-macro.
39860 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39861 type.
39862 [POSIX] (time_t): Likewise.
39863 [POSIX] (timer_t): Likewise.
39864
39865 2014-06-11 Florian Weimer <fweimer@redhat.com>
39866
39867 [BZ #17048]
39868 * posix/spawn_int.h (struct __spawn_action): Make the path string
39869 non-const to support deallocation.
39870 * posix/spawn_faction_addopen.c
39871 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39872 * posix/spawn_faction_destroy.c
39873 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
39874 path in all spawn_do_open actions.
39875 * posix/tst-spawn.c (do_test): Exercise the copy operation in
39876 posix_spawn_file_actions_addopen.
39877
39878 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
39879
39880 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39881 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39882 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39883 conditional code always true.
39884 (__libc_vfork): New alias.
39885
39886 2014-06-11 Roland McGrath <roland@hack.frob.com>
39887
39888 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39889 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39890
39891 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39892
39893 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39894 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39895
39896 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39897 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39898
39899 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39900 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39901
39902 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39903
39904 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39905 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39906 multiarch strcmp for PPC64.
39907 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39908 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39910 multiarch optimizations.
39911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39912 (__libc_ifunc_impl_list): Likewise.
39913
39914 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39915
39916 * benchtests/scripts/validate_benchout.py: New script.
39917 * benchtests/Makefile (bench-func): Call it.
39918 * benchtests/scripts/benchout.schema.json: New file.
39919
39920 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
39921
39922 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39923 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39924 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39925 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39926 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39927 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39928 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39929 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39930 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39931 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39932 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39933 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39934 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39935 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39936 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39937 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39939 Moved ...
39940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39941 ... here.
39942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39943 Moved ...
39944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39946 Moved ...
39947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39948 ... here.
39949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39950 Moved ...
39951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39952 ... here.
39953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39954 Moved ...
39955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39957 Moved ...
39958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39959 ... here.
39960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39961 Moved ...
39962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39963 ... here.
39964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39965 Moved ...
39966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39968 Moved ...
39969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39970 ... here.
39971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39972 Moved ...
39973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39974 ... here.
39975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39976 Moved ...
39977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39978 ... here.
39979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39980 Moved ...
39981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39983 Moved ...
39984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39985 ... here.
39986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39987 Moved ...
39988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39989 ... here.
39990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39991 Moved ...
39992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39993 ... here.
39994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39995 Moved ...
39996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39998 Moved ...
39999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40000 ... here.
40001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40002 Moved ...
40003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40004 ... here.
40005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40006 Moved ...
40007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40009 Moved ...
40010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40011 ... here.
40012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40013 Moved ...
40014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40016 Moved ...
40017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40019 Moved ...
40020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40021 ... here.
40022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40023 Moved ...
40024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40025 ... here.
40026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40027 Moved ...
40028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40029 ... here.
40030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40031 Moved ...
40032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40034 Moved ...
40035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40036 ... here.
40037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40038 Moved ...
40039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40040 ... here.
40041 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40042 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40044 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40046 Moved ...
40047 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40048 ... here.
40049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40050 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40052 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40054 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40056 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40057 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40058 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40060 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40062 Moved ...
40063 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40064 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40065 Moved ...
40066 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40067 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40068 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40069 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40070 Moved ...
40071 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40073 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40074 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40075 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40076 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40077 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40078
40079 2014-06-10 Wilco <wdijkstr@arm.com>
40080
40081 * math/test-fenv-return.c: New file.
40082 * math/Makefile: Add new test test-fenv-return.
40083
40084 2014-06-10 Joseph Myers <joseph@codesourcery.com>
40085
40086 [BZ #17042]
40087 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40088 when x - 1 is zero.
40089 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40090 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40091 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40092 0.0L for an argument of 1.0L.
40093 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40094 Likewise.
40095 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40096 value when x - 1 is zero.
40097 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40098 * sysdeps/i386/fpu/libm-test-ulps: Update.
40099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40100
40101 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
40102
40103 [BZ #15119]
40104 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40105
40106 2014-06-09 Roland McGrath <roland@hack.frob.com>
40107
40108 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40109 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40110
40111 2014-06-09 Roland McGrath <roland@hack.frob.com>
40112
40113 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40114 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40115
40116 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40117 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40118
40119 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40120 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40121
40122 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40123 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40124
40125 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40126 if not already defined.
40127 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40128 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40129 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40130 (TLS_INIT_TP): Use it.
40131 (TLS_DEFINE_INIT_TP): New macro.
40132 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40133
40134 2014-06-09 Joseph Myers <joseph@codesourcery.com>
40135
40136 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40137 constant.
40138 [POSIX] (IXANY): Likewise.
40139 [POSIX] (OLCUC): Likewise.
40140 [POSIX || POSIX2008] (CBAUD): Do not allow.
40141 [POSIX || POSIX2008] (DEFECHO): Likewise.
40142 [POSIX || POSIX2008] (ECHOCTL): Likewise.
40143 [POSIX || POSIX2008] (ECHOKE): Likewise.
40144 [POSIX || POSIX2008] (ECHOPRT): Likewise.
40145 [POSIX || POSIX2008] (EXTA): Likewise.
40146 [POSIX || POSIX2008] (EXTB): Likewise.
40147 [POSIX || POSIX2008] (FLUSHO): Likewise.
40148 [POSIX || POSIX2008] (LOBLK): Likewise.
40149 [POSIX || POSIX2008] (PENDIN): Likewise.
40150 [POSIX || POSIX2008] (SWTCH): Likewise.
40151 [POSIX || POSIX2008] (VDISCARD): Likewise.
40152 [POSIX || POSIX2008] (VDSUSP): Likewise.
40153 [POSIX || POSIX2008] (VLNEXT): Likewise.
40154 [POSIX || POSIX2008] (VREPRINT): Likewise.
40155 [POSIX || POSIX2008] (VSTATUS): Likewise.
40156 [POSIX || POSIX2008] (VWERASE): Likewise.
40157 (B*): Change to B[0123456789]*.
40158 * conform/data/time.h-data [POSIX || UNIX98]
40159 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40160 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40161 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40162 [POSIX] (tm_*): Do not allow.
40163
40164 2014-06-07 Joseph Myers <joseph@codesourcery.com>
40165
40166 * Makefile (install): Don't set LANGUAGE.
40167 * Makefile.in (install): Likewise.
40168 * assert/Makefile (test-assert-ENV): Remove variable.
40169 (test-assert-perr-ENV): Likewise.
40170 * elf/Makefile (neededtest4-ENV): Likewise.
40171 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40172 [$(cross-compiling) = no]: Don't set LANGUAGE.
40173 * io/ftwtest-sh (LANG): Remove variable.
40174 * libio/Makefile (tst-widetext-ENV): Likewise.
40175 * manual/install.texi (Running make install): Don't refer to
40176 environment settings for make install.
40177 * INSTALL: Regenerated.
40178 * nptl/tst-tls6.sh: Don't set LANG.
40179 * posix/globtest.sh (LANG): Remove variable.
40180 * string/Makefile (tester-ENV): Likewise.
40181 (inl-tester-ENV): Likewise.
40182 (noinl-tester-ENV): Likewise.
40183 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40184 [$(cross-compiling) = no]: Don't set LANGUAGE.
40185 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40186 without explicit environment settings.
40187
40188 2014-06-06 Roland McGrath <roland@hack.frob.com>
40189
40190 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40191 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40192 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40193 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40194
40195 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
40196
40197 * crypt/crypt-private.h [DOS]: Add some includes taken from the
40198 other files in the crypt directory.
40199 * crypt/crypt.c: Remove duplicate includes.
40200 * crypt/crypt-entry.c: Likewise.
40201 * crypt/crypt_util.c: Likewise.
40202
40203 2014-06-06 Joseph Myers <joseph@codesourcery.com>
40204
40205 * Makeconfig (run-program-env): New variable.
40206 (run-program-prefix-before-env): Likewise.
40207 (run-program-prefix-after-env): Likewise.
40208 (run-program-prefix): Define in terms of new variables.
40209 (built-program-cmd-before-env): New variable.
40210 (built-program-cmd-after-env): Likewise.
40211 (built-program-cmd): Define in terms of new variables.
40212 (test-program-prefix-before-env): New variable.
40213 (test-program-prefix-after-env): Likewise.
40214 (test-program-prefix): Define in terms of new variables.
40215 (test-program-cmd-before-env): New variable.
40216 (test-program-cmd-after-env): Likewise.
40217 (test-program-cmd): Define in terms of new variables.
40218 * Rules (make-test-out): Use $(run-program-env).
40219 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40220 (help): Do not mention environment variables. Mention
40221 --timeoutfactor option.
40222 (timeoutfactor): New variable.
40223 (blacklist_exports): Remove function.
40224 (exports): Remove variable.
40225 (command): Do not include ${exports}.
40226 * manual/install.texi (Configuring and compiling): Do not mention
40227 test wrappers preserving environment variables. Mention that last
40228 assignment to a variable must take precedence.
40229 * INSTALL: Regenerated.
40230 * benchtests/Makefile (run-bench): Use $(run-program-env).
40231 * catgets/Makefile ($(objpfx)test1.cat): Use
40232 $(built-program-cmd-before-env), $(run-program-env) and
40233 $(built-program-cmd-after-env).
40234 ($(objpfx)test2.cat): Do not specify environment variables
40235 explicitly.
40236 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40237 $(run-program-env) and $(built-program-cmd-after-env).
40238 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40239 $(run-program-env) and $(test-program-cmd-after-env).
40240 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40241 explicitly.
40242 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40243 run_program_env and test_program_cmd_after_env arguments.
40244 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40245 * elf/tst-pathopt.sh: Use run_program_env argument.
40246 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40247 $(test-wrapper-env) and $(run-program-env).
40248 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40249 run_program_env arguments.
40250 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40251 * intl/Makefile ($(objpfx)tst-gettext.out): Use
40252 $(test-program-prefix-before-env), $(run-program-env) and
40253 $(test-program-prefix-after-env).
40254 ($(objpfx)tst-gettext2.out): Likewise.
40255 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40256 run_program_env and test_program_prefix_after_env arguments.
40257 * intl/tst-gettext2.sh: Likewise.
40258 * intl/tst-gettext4.sh: Do not set environment variables
40259 explicitly.
40260 * intl/tst-gettext6.sh: Likewise.
40261 * intl/tst-translit.sh: Likewise.
40262 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40263 $(test-program-prefix-before-env), $(run-program-env) and
40264 $(test-program-prefix-after-env).
40265 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40266 run_program_env and test_program_prefix_after_env arguments.
40267 * math/Makefile (run-regen-ulps): Use $(run-program-env).
40268 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40269 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
40270 explicitly with each use of ${test_wrapper_env}.
40271 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40272 $(test-program-prefix-before-env), $(run-program-env) and
40273 $(test-program-prefix-after-env).
40274 * posix/tst-getconf.sh: Do not set environment variables
40275 explicitly.
40276 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40277 run_program_env and test_program_prefix_after_env arguments.
40278 * stdio-common/tst-printf.sh: Do not set environment variables
40279 explicitly.
40280 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40281 $(test-program-prefix-before-env), $(run-program-env) and
40282 $(test-program-prefix-after-env).
40283 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40284 run_program_env and test_program_prefix_after_env arguments.
40285 Split $test calls into $test_pre and $test.
40286 * timezone/Makefile (build-testdata): Use
40287 $(built-program-cmd-before-env), $(run-program-env) and
40288 $(built-program-cmd-after-env).
40289
40290 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40291
40292 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40293 strlen for non SHARED builds.
40294
40295 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40296
40297 * nptl/allocatestack.c (check_list): Inlined function...
40298 (__reclaim_stacks): ... here.
40299
40300 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40301
40302 [BZ #15698]
40303 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40304 memory overrun.
40305
40306 2014-06-05 Joseph Myers <joseph@codesourcery.com>
40307
40308 * Rules (make-test-out): Include
40309 LOCPATH=$(common-objpfx)localedata in default environment.
40310 * debug/Makefile (tst-chk1-ENV): Remove variable.
40311 (tst-chk2-ENV): Likewise.
40312 (tst-chk3-ENV): Likewise.
40313 (tst-chk4-ENV): Likewise.
40314 (tst-chk5-ENV): Likewise.
40315 (tst-chk6-ENV): Likewise.
40316 (tst-lfschk1-ENV): Likewise.
40317 (tst-lfschk2-ENV): Likewise.
40318 (tst-lfschk3-ENV): Likewise.
40319 (tst-lfschk4-ENV): Likewise.
40320 (tst-lfschk5-ENV): Likewise.
40321 (tst-lfschk6-ENV): Likewise.
40322 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40323 (tst-iconv7-ENV): Likewise.
40324 * intl/Makefile (LOCPATH-ENV): Likewise.
40325 (tst-codeset-ENV): Likewise.
40326 (tst-gettext3-ENV): Likewise.
40327 (tst-gettext5-ENV): Likewise.
40328 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40329 (tst-fopenloc-ENV): Likewise.
40330 (tst-fgetws-ENV): Remove variable.
40331 (tst-ungetwc1-ENV): Likewise.
40332 (tst-ungetwc2-ENV): Likewise.
40333 (bug-ungetwc2-ENV): Likewise.
40334 (tst-swscanf-ENV): Likewise.
40335 (bug-ftell-ENV): Likewise.
40336 (tst-fgetwc-ENV): Likewise.
40337 (tst-fseek-ENV): Likewise.
40338 (tst-ftell-partial-wide-ENV): Likewise.
40339 (tst-ftell-active-handler-ENV): Likewise.
40340 (tst-ftell-append-ENV): Likewise.
40341 * posix/Makefile (tst-fnmatch-ENV): Likewise.
40342 (tst-regexloc-ENV): Likewise.
40343 (bug-regex1-ENV): Likewise.
40344 (tst-regex-ENV): Likewise.
40345 (tst-regex2-ENV): Likewise.
40346 (bug-regex5-ENV): Likewise.
40347 (bug-regex6-ENV): Likewise.
40348 (bug-regex17-ENV): Likewise.
40349 (bug-regex18-ENV): Likewise.
40350 (bug-regex19-ENV): Likewise.
40351 (bug-regex20-ENV): Likewise.
40352 (bug-regex22-ENV): Likewise.
40353 (bug-regex23-ENV): Likewise.
40354 (bug-regex25-ENV): Likewise.
40355 (bug-regex26-ENV): Likewise.
40356 (bug-regex30-ENV): Likewise.
40357 (bug-regex32-ENV): Likewise.
40358 (bug-regex33-ENV): Likewise.
40359 (bug-regex34-ENV): Likewise.
40360 (bug-regex35-ENV): Likewise.
40361 (tst-rxspencer-ENV): Likewise.
40362 (tst-rxspencer-no-utf8-ENV): Likewise.
40363 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40364 (tst-sscanf-ENV): Likewise.
40365 (tst-swprintf-ENV): Likewise.
40366 (tst-swscanf-ENV): Likewise.
40367 (test-vfprintf-ENV): Likewise.
40368 (scanf13-ENV): Likewise.
40369 (bug14-ENV): Likewise.
40370 (tst-grouping-ENV): Likewise.
40371 * stdlib/Makefile (tst-strtod-ENV): Likewise.
40372 (tst-strtod3-ENV): Likewise.
40373 (tst-strtod4-ENV): Likewise.
40374 (tst-strtod5-ENV): Likewise.
40375 (testmb2-ENV): Likewise./
40376 * string/Makefile (tst-strxfrm-ENV): Likewise.
40377 (tst-strxfrm2-ENV): Likewise.
40378 (bug-strcoll1-ENV): Likewise.
40379 (test-strcasecmp-ENV): Likewise.
40380 (test-strncasecmp-ENV): Likewise.
40381 * time/Makefile (tst-strptime-ENV): Likewise.
40382 (tst-ftime_l-ENV): Likewise.
40383 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40384 (tst-mbrtowc-ENV): Likewise.
40385 (tst-wcrtomb-ENV): Likewise.
40386 (tst-mbrtowc2-ENV): Likewise.
40387 (tst-c16c32-1-ENV): Likewise.
40388 (tst-mbsnrtowcs-ENV): Likewise.
40389
40390 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40391
40392 * manual/resource.texi (How to get information about the memory
40393 subsystem?): Fix typo.
40394 Reported by Peon de la Parra Ivan <peon@keba.com>
40395
40396 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
40397
40398 [BZ #16882]
40399 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40400 (pthread_spin_lock): Branch out of spin loop to proper location.
40401 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40402 (pthread_spin_lock): Likewise.
40403
40404 * nptl/tst-spin4.c: New test.
40405 * nptl/Makefile (tests): Add tst-spin4.
40406
40407 2014-06-03 Andreas Schwab <schwab@suse.de>
40408
40409 [BZ #15946]
40410 * resolv/res_send.c (send_dg): Reload file descriptor after
40411 calling reopen.
40412
40413 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
40414
40415 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40416
40417 2014-06-03 Richard Henderson <rth@redhat.com>
40418
40419 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40420 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40421 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40422 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
40423 in the SAVE_PID block.
40424 (__libc_vfork): New alias.
40425 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40426
40427 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40428 child in registers, not on the stack. Remove RESET_PID conditionals.
40429 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40430
40431 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
40432
40433 * sysdeps/aarch64/libm-test-ulps: Regenerate.
40434
40435 2014-06-03 Wilco <wdijkstr@arm.com>
40436
40437 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40438 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40439 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40440 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40441 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40442 Likewise.
40443
40444 2014-06-03 Wilco <wdijkstr@arm.com>
40445
40446 * sysdeps/aarch64/fpu/math_private.h
40447 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40448 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40449 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40450 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40451 Fix declarations.
40452
40453 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40454
40455 * crypt/crypt-private.h: Include ufc-crypt.h.
40456 (__b64_from_24bit): Declare extern.
40457 * crypt/crypt_util.c(__b64_from_24bit): New function.
40458 (b64t): New static const variable.
40459 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40460 (b64t): Remove variable.
40461 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40462 * crypt/sha256-crypt.c: Include crypt-private.h.
40463 (b64t): Remove variable.
40464 (__sha256_crypt_r): Remove b64_from_24bit and replace
40465 with __b64_from_24bit.
40466 * crypt/sha512-crypt.c: Likewise.
40467
40468 2014-06-02 Roland McGrath <roland@hack.frob.com>
40469
40470 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40471 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40472 Label the code __libc_vfork rather than __vfork.
40473 [!NOT_IN_libc] (vfork): Define as weak alias.
40474 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40475 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40476 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40477
40478 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40479
40480 * malloc/malloc.c (malloc_info): Fix format specifier for
40481 n_mmaps.
40482
40483 2014-06-02 Wilco <wdijkstr@arm.com>
40484
40485 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40486 FPCR write.
40487
40488 2014-06-02 Wilco <wdijkstr@arm.com>
40489
40490 [BZ #17009]
40491 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40492 Rewrite to reduce FPCR/FPSR accesses.
40493
40494 2014-06-01 David S. Miller <davem@davemloft.net>
40495
40496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40497
40498 2014-05-31 David S. Miller <davem@davemloft.net>
40499
40500 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40501 to occur in round to nearest mode when |x| >= 2.0
40502
40503 2014-05-30 Richard Henderson <rth@twiddle.net>
40504
40505 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40506 (PSEUDO_RET_NOERRNO): Remove.
40507 (ret): Don't redefine.
40508 (ret_NOERRNO): Define in terms of ret.
40509 (ret_ERRVAL): Likewise.
40510
40511 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40512 use of PSEUDO_RET; perform the error check directly.
40513
40514 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40515
40516 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40517 with __int128_t.
40518
40519 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40520
40521 * malloc/malloc (malloc_info): Fix formatting.
40522
40523 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40524 Roland McGrath <roland@hack.frob.com>
40525
40526 * malloc/malloc (malloc_info): Also print mmapped statistics.
40527
40528 2014-05-30 Roland McGrath <roland@hack.frob.com>
40529
40530 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40531 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40532
40533 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40534
40535 * malloc/malloc.c (malloc_info): Inline mi_arena.
40536
40537 2014-05-29 Richard Henderson <rth@twiddle.net>
40538
40539 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40540 Remove comma before expanding ASM_ARGS_##nr.
40541 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40542 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40543 of ASM_ARGS_##nr.
40544 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40545 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40546 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40547 (ASM_ARGS_1): Add leading comma.
40548
40549 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40550 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40551 to __errno_location.
40552 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40553 Remove the expected plt for __errno_location.
40554
40555 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40556 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40557 call to __read_tp.
40558
40559 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40560 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40561 it and break it down.
40562 (DOCARGS_0, DOCARGS_1): Do nothing.
40563 (DOCARGS_2): Update to store into the new stack frame.
40564 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40565 (UNDOCARGS_1): Update to restore from the new stack frame.
40566 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40567 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40568
40569 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40570 (SINGLE_THREAD_P): New parameter for result regno.
40571 (PSEUDO): Update to match; use cbz instead of beq.
40572
40573 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40574 Use ENTRY to define the _nocancel entry point. Share the syscall
40575 and syscall error check paths with the cancel path.
40576 (PSEUDO_END): New.
40577
40578 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40579 whitespace; tabs before and after asm mnemonics.
40580
40581 2014-05-29 Eric Wong <normalperson@yhbt.net>
40582
40583 [BZ #15132]
40584 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40585 Call fstat64 or stat64 internally, depending on arguments passed.
40586 Replace stat buffer argument with file descriptor argument.
40587 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40588 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40589 Pass fd to __internal_statvfs instead of calling fstat64.
40590 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40591 Pass fd to __internal_statvfs64 instead of calling fstat64.
40592 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40593 Pass -1 to __internal_statvfs instead of calling stat64.
40594 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40595 Pass -1 to __internal_statvfs64 instead of calling stat64.
40596
40597 2014-05-28 Roland McGrath <roland@hack.frob.com>
40598
40599 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40600 that was previously under [RESET_PID].
40601 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40602
40603 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40604 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40605
40606 2014-05-27 Roland McGrath <roland@hack.frob.com>
40607
40608 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40609
40610 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40611 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40612
40613 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40614
40615 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40616
40617 2014-05-27 Andreas Schwab <schwab@suse.de>
40618
40619 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40620 TLS_INIT_TP macro.
40621 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40622 * elf/rtld.c (init_tls, dl_main): Likewise.
40623 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40624 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40625 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40626 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40627 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40628 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40629 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40630 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40631 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40632 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40633 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40634 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40635 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40636 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40637 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40638 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40639 * sysdeps/generic/tls.h: Update description.
40640
40641 2014-05-27 Will Newton <will.newton@linaro.org>
40642
40643 [BZ #16990]
40644 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40645 and restore r2 rather than just restoring.
40646
40647 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40648
40649 [BZ #16724]
40650 * libio/tst-ftell-append.c: New test case.
40651 * libio/Makefile (tests): Add test case.
40652 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40653 append mode.
40654 * libio/wfileops.c (do_ftell_wide): Likewise.
40655
40656 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40657
40658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40659
40660 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40661 ...
40662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40664 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40665 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40666 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40667 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40668 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40669 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40671 Moved ...
40672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40674 Moved ...
40675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40676 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40677 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40678 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40679 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40680 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40681 ...
40682 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40683 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40684 Moved ...
40685 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40686 here.
40687 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40688 ...
40689 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40690 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40691 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40692
40693 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40694 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40695 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40696 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40697
40698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40699 merge into ...
40700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40702 ...
40703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40705 ...
40706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40708 Moved ...
40709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40710 here.
40711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40712 Moved ...
40713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40714 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40715 Moved ...
40716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40717
40718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40719 conditional [RESET_PID].
40720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40722 removed.
40723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40724 removed.
40725
40726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40727 <tcb-offsets.h>.
40728 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40729 (__libc_vfork): New strong alias.
40730 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40731 removed.
40732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40733 Removed.
40734
40735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40736 <tcb-offsets.h>.
40737 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40738 (__libc_vfork): New strong alias.
40739 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40740 removed.
40741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40742 removed.
40743
40744 2014-05-26 Carlos O'Donell <carlos@redhat.com>
40745
40746 * malloc/malloc.c (mi_arena): New function.
40747 (malloc_info): Remove nested function mi_arena. Call non-nosted
40748 function mi_arena.
40749
40750 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40751
40752 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40753 by insrwi.
40754 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40755 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40756 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40757 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40758 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40759 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40760 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40761
40762 2014-05-26 Andreas Schwab <schwab@suse.de>
40763
40764 [BZ #16984]
40765 * locale/programs/repertoire.c (repertoire_read): Add slash
40766 between I18NPATH element and file name.
40767 * locale/programs/locfile.c (locfile_read): Likewise.
40768
40769 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40770
40771 * nptl/pthread_mutexattr_settype.c
40772 (__pthread_mutexattr_settype):
40773 Disable lock elision for PTHREAD_MUTEX_NORMAL.
40774
40775 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40776
40777 * nptl/tst-mutex5 (do_test):
40778 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40779
40780 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40781
40782 * benchtests/README: Document 'init' directive.
40783 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40784 BENCH_INIT.
40785 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40786 (parse_file): Recognize 'init' directive.
40787
40788 2014-05-26 Kyle McMartin <kyle@redhat.com>
40789
40790 [BZ #16796]
40791 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40792 alignment of struct pthread.
40793
40794 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40795
40796 [BZ #16878]
40797 * nscd/netgroupcache.c (addgetnetgrentX): Look for
40798 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40799 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40800 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40801
40802 2014-05-25 Richard Henderson <rth@twiddle.net>
40803
40804 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40805 (SINGLE_THREAD_P_PIC): Remove.
40806 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40807 (SINGLE_THREAD_P_PIC): Remove.
40808
40809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40810 branch to syscall error ...
40811 (PSEUDO): ... here.
40812 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40813 from __local_syscall_error to .Lsyscall_error.
40814 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40815 (SYSCALL_ERROR): Update label name.
40816
40817 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40818 Do not use DOARGS/UNDOARGS.
40819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40820 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40821 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40822 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40823 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40824
40825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40826 block comment.
40827
40828 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40829 define if !NOT_IN_libc.
40830 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40831 define with non-default symbol versions.
40832
40833 2014-05-23 Richard Henderson <rth@twiddle.net>
40834
40835 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40836 (vfork, __vfork): Define via compat_symbol.
40837
40838 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40839 [!HAVE_IFUNC] (vfork_compat): Remove.
40840 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40841
40842 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40843
40844 [BZ #16978]
40845 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40846 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40847 variable.
40848
40849 2014-05-23 Richard Henderson <rth@twiddle.net>
40850
40851 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40852 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40853 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40854 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40855
40856 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40857 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40858 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40859 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40860 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40861 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40862 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40863 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40864 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40865 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40866 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40867 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40868 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40869 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40870 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40871 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40872 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40873 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40874 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40875 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40876 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40877 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40878 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40879 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40880 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40881 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40882 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40883 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40884 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40885 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40886 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40887 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40888 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40889 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40890 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40891 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40892 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40893 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40894 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40895 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40896 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40897 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40898 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40899 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40900 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40901 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40902 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40903 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40904 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40905 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40906 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40907 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40908 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40909 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40910 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40911 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40912
40913 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40914 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40915 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
40916 before exiting on error.
40917 (__libc_vfork): New strong alias.
40918 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40919 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40920
40921 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40922 that was previously under [RESET_PID].
40923 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40924
40925 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40926
40927 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40928
40929 [BZ #16977]
40930 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40931 value when x - 1 is zero.
40932 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40933 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40934 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40935 0.0L for an argument of 1.0L.
40936 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40937 Likewise.
40938 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40939 value when x - 1 is zero.
40940 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40941 * sysdeps/i386/fpu/libm-test-ulps: Update.
40942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40943
40944 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
40945
40946 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40947 alphasort and versionsort.
40948
40949 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40950
40951 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40952 macro.
40953 [copysignf]: Likewise.
40954
40955 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40956
40957 * crypt/md5-crypt.c: Fix formatting.
40958
40959 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40960
40961 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40962 (b64_from_24bit): New function.
40963
40964 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40965
40966 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40967 libc_hidden_builtin_def to ifunc.
40968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40969 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40970
40971 2014-05-21 Roland McGrath <roland@hack.frob.com>
40972
40973 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40974 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40975
40976 2014-05-21 Joseph Myers <joseph@codesourcery.com>
40977
40978 * nscd/Depend (linuxthreads): Remove.
40979 (nptl): Add.
40980 * resolv/Depend (linuxthreads): Remove.
40981 * rt/Depend (linuxthreads): Remove.
40982
40983 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40984 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40985 $(common-objpfx)elf/.
40986 (link-libc-before-gnulib): Likewise.
40987 (elfobjdir): Remove variable.
40988 * Makefile (install): Use $(elf-objpfx) instead of
40989 $(common-objpfx)elf/.
40990 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40991 $(elfobjdir)/.
40992 (link-libc-deps): Likewise.
40993 ($(common-objpfx)libc.so): Likewise.
40994 ($(common-objpfx)linkobj/libc.so): Likewise.
40995 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40996 instead of $(common-objpfx)elf/.
40997 (symbolic-link-list): Likewise.
40998 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40999 [$(cross-compiling) = no]: Likewise.
41000 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41001 $(elfobjdir)/.
41002 (static-gnulib-arch): Likewise.
41003 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41004 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41005 $(common-objpfx)elf/.
41006
41007 2014-05-21 Richard Henderson <rth@redhat.com>
41008
41009 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41010 (SINGLE_THREAD_P): Use the correct width load. Fold
41011 into the ldr offset.
41012
41013 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41014 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41015
41016 2014-05-20 Joseph Myers <joseph@codesourcery.com>
41017
41018 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41019 (libgcc_s_resume): Use __attribute_used__.
41020 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41021 Likewise.
41022
41023 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41024
41025 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41026 optimization when used with float constants.
41027
41028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41029
41030 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
41031
41032 [BZ #16915]
41033 * locale/nl_langinfo_l.c: Make direct reference to every
41034 _nl_current_CATEGORY symbol.
41035 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41036 (tests-static): Add tst-langinfo-static.
41037 (tests-special): Add tst-langinfo-static.out.
41038 ($(objpfx)tst-langinfo.out): Redirect output.
41039 ($(objpfx)tst-langinfo-static.out): New.
41040 * localedata/tst-langinfo.sh: Send output to stdout.
41041 * localedata/tst-langinfo-static.c: New file.
41042
41043 [BZ #16965]
41044 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41045 when the shift amount is modulo the limb size.
41046
41047 2014-05-20 Richard Henderson <rth@redhat.com>
41048
41049 [BZ #16967]
41050 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41051 Change type of sa_flags from unsigned int to int.
41052
41053 [BZ #16966]
41054 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41055
41056 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41057
41058 2014-05-20 Will Newton <will.newton@linaro.org>
41059
41060 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41061 Test the return value of the system call in the nocancel case.
41062
41063 2014-05-20 Will Newton <will.newton@linaro.org>
41064 Yvan Roux <yvan.roux@linaro.org>
41065
41066 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41067 #include of asm/ptrace.h.
41068 (PTRACE_GET_THREAD_AREA): Remove #undef.
41069 (PTRACE_GETHBPREGS): Likewise.
41070 (PTRACE_SETHBPREGS): Likewise.
41071 (struct user_regs_struct): New structure.
41072 (struct user_fpsimd_struct): New structure.
41073 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41074 #include of asm/ptrace.h and second #include of sys/user.h.
41075 (PTRACE_GET_THREAD_AREA): Remove #undef.
41076 (PTRACE_GETHBPREGS): Likewise.
41077 (PTRACE_SETHBPREGS): Likewise.
41078 (ELF_NGREG): Use new struct user_regs_struct.
41079 (elf_fpregset_t): Use new struct user_fpsimd_struct.
41080
41081 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41082
41083 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41084 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41085
41086 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
41087
41088 [BZ #16958]
41089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41090 membar to avoid block loads/stores to overlap previous stores.
41091
41092 2014-05-17 Richard Henderson <rth@redhat.com>
41093
41094 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41095 Create the __##syscall_name##_nocancel entry point.
41096 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41097 Remove; let the sysdep-cancel.h code create it.
41098
41099 2014-05-17 David S. Miller <davem@davemloft.net>
41100
41101 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41102 Protect with __USE_GNU.
41103 (TIOCSET_TEMPT): Likewise.
41104 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41105 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41106 these are already provided in bits/ioctl-types.h
41107
41108 2014-05-16 Roland McGrath <roland@hack.frob.com>
41109
41110 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41111 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41112
41113 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41114 Use wait4 regardless of [__NR_waitpid].
41115
41116 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
41117
41118 PR libgcc/60166
41119 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41120 (_FP_NANSIGN_Q): Set the quiet bit.
41121
41122 2014-05-16 Joseph Myers <joseph@codesourcery.com>
41123
41124 * benchtests/Makefile
41125 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41126 not $(common-objpfx)math/libm.so.
41127 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41128 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41129 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41130 $(common-objpfx)dlfcn/libdl.so.
41131 ($(objpfx)tst-audit8): Depend on $(libm), not
41132 $(common-objpfx)math/libm.so.
41133 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41134 not $(common-objpfx)dlfcn/libdl.so.
41135 * math/Makefile
41136 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41137 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
41138 [$(build-shared) = yes].
41139 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41140 $(common-objpfx)nptl/libpthread.so.
41141 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41142 $(common-objpfx)math/libm.so$(libm.so-version) or
41143 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41144 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41145 $(common-objpfx)dlfcn/libdl.so.
41146 * setjmp/Makefile (link-libm): Remove variable.
41147 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41148 * stdio-common/Makefile (link-libm): Remove variable.
41149 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41150 * stdlib/Makefile (link-libm): Remove variable.
41151 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41152 ($(objpfx)tst-strtod-round): Likewise.
41153 ($(objpfx)tst-tininess): Likewise.
41154 ($(objpfx)tst-strtod-underflow): Likewise.
41155 ($(objpfx)tst-strtod6): Likewise.
41156 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41157 $(libdl), not $(common-objpfx)nptl/libpthread.so and
41158 $(common-objpfx)dlfcn/libdl.so.
41159
41160 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41161
41162 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41163 BSD terminal modes definitions.
41164
41165 2014-05-16 Roland McGrath <roland@hack.frob.com>
41166
41167 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41168 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41169
41170 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41171 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41172 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41173 Don't do #include_next.
41174 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41175 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41176 Don't do #include_next.
41177 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41178 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41179 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41180 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41181
41182 2014-05-16 Allan McRae <allan@archlinux.org>
41183
41184 * po/sv.po: Update Swedish translation from translation project.
41185
41186 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41187 in sed expression.
41188
41189 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
41190
41191 [BZ #16917]
41192 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41193 errno if the TIOCGPTN ioctl fails with an error different than
41194 EINVAL.
41195 * login/tst-ptsname.c: New file.
41196 * login/Makefile (tests): Add tst-ptsname.
41197
41198 [BZ #16943]
41199 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41200 and prlimit64.
41201
41202 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41203
41204 [BZ #16849]
41205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41206 herrno to return EAI_AGAIN.
41207
41208 2014-05-14 Roland McGrath <roland@hack.frob.com>
41209
41210 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41211 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41212 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41213 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41214 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41215 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41216 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41217 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41219 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41220 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41221 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41222 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41223 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41224 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41225 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41226 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41227 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41228 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41229 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41230 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41231 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41232 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41233 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41234 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41235 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41236 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41237 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41238 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41239 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41241 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41243 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41245 Moved ...
41246 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41248 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41250 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41252 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41254 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41256 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41258 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41260 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41262 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41264 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41266 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41268 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41270 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41272 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41274 Moved ...
41275 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41277 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41279 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41281 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41283 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41285 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41287 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41289 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41291 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41293 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41295 Moved ...
41296 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41298 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41299
41300 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41301 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41302 (libpthread-sysdep_routines): Add elision-related stuff here instead.
41303 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41304 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41305 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41306 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41307 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41308 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41309 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41310 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41311 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41312 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41313 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41314 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41315 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41316 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41317 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41318 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41319 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41320 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41321 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41322 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41323 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41324 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41325 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41326 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41327 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41328 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41329 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41330 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41331
41332 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41333 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41334
41335 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41336 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41337 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41338 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41339 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41341 Moved ...
41342 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41343 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41344 Moved ...
41345 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41346 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41347 Moved ...
41348 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41349 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41350 Moved ...
41351 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41352 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41353 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41354 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41355 Moved ...
41356 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41357 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41358 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41359 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41360 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41361 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41362 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41364 Moved ...
41365 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41367 Moved ...
41368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41369 ... here.
41370 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41371 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41372 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41373 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41374 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41375 Moved ...
41376 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41377 ... here.
41378 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41379 Moved ...
41380 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41381 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41382 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41383 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41384 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41386 Moved ...
41387 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41388 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41389 Moved ...
41390 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41391 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41392 Moved ...
41393 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41394 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41395 Moved ...
41396 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41397 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41398 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41399 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41400 Moved ...
41401 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41402 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41403 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41404 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41405 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41406 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41407 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41409 Moved ...
41410 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41412 Moved ...
41413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41414 ... here.
41415 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41416 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41417 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41418 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41419 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41420 Moved ...
41421 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41422 ... here.
41423 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41424 Moved ...
41425 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41426 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41427 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41428 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41429 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41430 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41431 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41432 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41433 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41435 Moved ...
41436 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41438 Moved ...
41439 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41440 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41441 Moved ...
41442 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41443 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41444 Moved ...
41445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41446 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41447 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41448 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41449 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41450 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41451 Moved ...
41452 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41453 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41454 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41455 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41456 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41457 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41458 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41459 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41460 Moved ...
41461 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41462 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41463 Moved ...
41464 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41465 ... here.
41466 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41467 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41468 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41469 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41470 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41471 Moved ...
41472 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41473 ... here.
41474 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41475 Moved ...
41476 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41477 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41478 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41479 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41480 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41481 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41482 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41483 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41484 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41485 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41486 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41487
41488 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41489 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41490
41491 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41492 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41493
41494 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41495 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41496 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41497 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41498 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41499 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41500 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41501 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41502 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41503 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41504 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41505 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41506 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41507 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41508 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41510 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41512 Moved ...
41513 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41514 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41515 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41517 Moved ...
41518 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41519 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41520 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41521 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41522 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41523 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41524 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41526 Moved ...
41527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41529 Moved ...
41530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41531 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41532 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41534 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41535 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41536 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41537 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41538 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41539 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41540 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41541 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41542 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41543 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41544 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41545 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41546 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41547
41548 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41549 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41550 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41551 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41552 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41553
41554 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41555 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41556 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41557 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41558 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41559 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41560 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41561 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41562 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41563 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41564
41565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41567
41568 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41569 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41570 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41571 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41572 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41573 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41574 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41575 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41576 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41577 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41578 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41579 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41580 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41581 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41583 Update #include.
41584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41585 Likewise.
41586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41587 Likewise.
41588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41589 Likewise.
41590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41591 Likewise.
41592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41593 Likewise.
41594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41595 Likewise.
41596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41597 Likewise.
41598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41599 Likewise.
41600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41601 Likewise.
41602 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41603 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41604 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41606 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41607 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41608 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41609 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41610 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41611 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41612 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41613 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41614 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41615 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41616 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41617
41618 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41619 that was previously under [RESET_PID].
41620 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41621 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41622 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41623
41624 * sysdeps/i386/nptl/Implies: New file.
41625 * sysdeps/x86_64/nptl/Implies: New file.
41626 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41627 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41628 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41629 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41630
41631 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41632 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41633 (__libc_vfork): New strong alias.
41634 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41635 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41636
41637 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41638 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41639 (__libc_vfork): New strong alias.
41640 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41641 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41642
41643 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41644 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41645 (__libc_vfork): New strong alias.
41646 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41647 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41648 * nptl/pt-vfork.c: New file.
41649 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41650 (libpthread: GLIBC_2.20): New version set (empty).
41651
41652 2014-05-14 Will Newton <will.newton@linaro.org>
41653
41654 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41655 rather than #if.
41656
41657 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41658
41659 [BZ #16564]
41660 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41661 arguments with exponent 65 or above.
41662 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41663 arguments 0x1p113L or above.
41664 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41665 to arguments 0x1p107L or above.
41666 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41667 positive arguments with exponent 65 or above.
41668 * math/auto-libm-test-in: Add more tests of log1p.
41669 * math/auto-libm-test-out: Regenerated.
41670
41671 [BZ #16928]
41672 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41673 non-finite arguments is +0.
41674 * math/s_cacosf.c (__cacosf): Likewise.
41675 * math/s_cacosl.c (__cacosl): Likewise.
41676 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41677 * sysdeps/i386/fpu/libm-test-ulps: Update.
41678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41679
41680 [BZ #16927]
41681 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41682 value.
41683 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41684 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41685 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41686 for explicit high bit of mantissa when testing for argument equal
41687 to 1.
41688 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41689 * sysdeps/i386/fpu/libm-test-ulps: Update.
41690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41691
41692 [BZ #16516]
41693 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41694 (__erf): Scale by 16 instead of 8 in potentially underflowing
41695 case. Ensure exception if result actually underflows.
41696 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41697 (__erff): Scale by 16 instead of 8 in potentially underflowing
41698 case. Ensure exception if result actually underflows.
41699 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41700 (efx8): Remove variable.
41701 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41702 case. Ensure exception if result actually underflows.
41703 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41704 (efx8): Remove variable.
41705 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41706 case. Ensure exception if result actually underflows.
41707 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41708 (efx8): Remove variable.
41709 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41710 case. Ensure exception if result actually underflows.
41711 * math/auto-libm-test-in: Add more tests of erf.
41712 * math/auto-libm-test-out: Regenerated.
41713
41714 2014-05-14 Andreas Schwab <schwab@suse.de>
41715
41716 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41717 Remove code conditionalized on USE___THREAD.
41718
41719 * config.h.in (HAVE_PT_CHOWN): Define as 0.
41720 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41721 not definedness.
41722
41723 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41724
41725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41726 Define unconditionally.
41727 (__ASSUME_O_CLOEXEC): Likewise.
41728 (__ASSUME_SOCK_CLOEXEC): Likewise.
41729 (__ASSUME_IN_NONBLOCK): Likewise.
41730 (__ASSUME_PIPE2): Likewise.
41731 (__ASSUME_EVENTFD2): Likewise.
41732 (__ASSUME_SIGNALFD4): Likewise.
41733 (__ASSUME_DUP3): Likewise.
41734 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41735 (__ASSUME_DUP3): Do not define.
41736 (__ASSUME_EVENTFD2): Likewise.
41737 (__ASSUME_IN_NONBLOCK): Likewise.
41738 (__ASSUME_O_CLOEXEC): Likewise.
41739 (__ASSUME_PIPE2): Likewise.
41740 (__ASSUME_SIGNALFD4): Likewise.
41741 (__ASSUME_SOCK_CLOEXEC): Likewise.
41742 (__ASSUME_UTIMES): Undefine.
41743 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41744 (__ASSUME_UTIMES): Do not define.
41745 (__ASSUME_O_CLOEXEC): Likewise.
41746 (__ASSUME_SOCK_CLOEXEC): Likewise.
41747 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41748 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41749 0x020621].
41750 (__ASSUME_PIPE2): Likewise.
41751 (__ASSUME_EVENTFD2): Likewise.
41752 (__ASSUME_SIGNALFD4): Likewise.
41753 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41754 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41755 Do not define.
41756 (__ASSUME_EVENTFD2): Likewise.
41757 (__ASSUME_SIGNALFD4): Likewise.
41758 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41759 (__ASSUME_32BITUIDS): Likewise.
41760 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41761 (__ASSUME_IPC64): Likewise.
41762 (__ASSUME_ST_INO_64_BIT): Likewise.
41763 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41764 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41765 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41766 (__ASSUME_UTIMES): Do not define.
41767 (__ASSUME_PSELECT): Likewise.
41768 (__ASSUME_PPOLL): Likewise.
41769 (__ASSUME_O_CLOEXEC): Likewise.
41770 (__ASSUME_SOCK_CLOEXEC): Likewise.
41771 (__ASSUME_IN_NONBLOCK): Likewise.
41772 (__ASSUME_PIPE2): Likewise.
41773 (__ASSUME_EVENTFD2): Likewise.
41774 (__ASSUME_SIGNALFD4): Likewise.
41775 (__ASSUME_DUP3): Likewise.
41776 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41777 (__ASSUME_UTIMES): Likewise.
41778 (__ASSUME_O_CLOEXEC): Likewise.
41779 (__ASSUME_SOCK_CLOEXEC): Likewise.
41780 (__ASSUME_IN_NONBLOCK): Likewise.
41781 (__ASSUME_PIPE2): Likewise.
41782 (__ASSUME_EVENTFD2): Likewise.
41783 (__ASSUME_SIGNALFD4): Likewise.
41784 (__ASSUME_DUP3): Likewise.
41785 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41786 (__ASSUME_UTIMES): Likewise.
41787 (__ASSUME_O_CLOEXEC): Likewise.
41788 (__ASSUME_SOCK_CLOEXEC): Likewise.
41789 (__ASSUME_IN_NONBLOCK): Likewise.
41790 (__ASSUME_PIPE2): Likewise.
41791 (__ASSUME_EVENTFD2): Likewise.
41792 (__ASSUME_SIGNALFD4): Likewise.
41793 (__ASSUME_DUP3): Likewise.
41794 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41795 Likewise.
41796 (__ASSUME_UTIMES): Likewise.
41797 (__ASSUME_EVENTFD2): Likewise.
41798 (__ASSUME_SIGNALFD4): Likewise.
41799 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41800 (__ASSUME_O_CLOEXEC): Likewise.
41801 (__ASSUME_SOCK_CLOEXEC): Likewise.
41802 (__ASSUME_IN_NONBLOCK): Likewise.
41803 (__ASSUME_PIPE2): Likewise.
41804 (__ASSUME_EVENTFD2): Likewise.
41805 (__ASSUME_SIGNALFD4): Likewise.
41806 (__ASSUME_DUP3): Likewise.
41807 (__ASSUME_UTIMES): Undefine.
41808
41809 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41810 feclearexcept. Remove symbol versioning code.
41811 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
41812 symbol versioning code.
41813 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
41814 symbol versioning code.
41815 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41816 feupdateenv. Remove symbol versioning code.
41817 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41818 fegetexceptflag. Remove symbol versioning code.
41819 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41820 fesetexceptflag. Remove symbol versioning code.
41821 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41822 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
41823 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41824 (__posix_fadvise64_l32): Remove prototype.
41825 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41826 code.
41827
41828 2014-05-13 Roland McGrath <roland@hack.frob.com>
41829
41830 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41831 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41832 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41833 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41834
41835 2014-05-13 Sami Kerola <kerolasa@iki.fi>
41836
41837 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41838 current working directory
41839
41840 2014-05-13 Roland McGrath <roland@hack.frob.com>
41841
41842 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41843 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41844 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41845 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41846 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41847 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41848 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41849 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41850 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41851 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41852 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41853 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41854 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41855 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41856 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41857 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41858 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41859 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41860 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41861 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41862 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41863 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41864 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41865 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41866 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41867 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41868 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41869 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41870 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41871 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41872 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41873 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41874 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41875 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41876 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41877 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41878 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41879 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41880 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41881 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41882 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41883 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41884
41885 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41886 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41887
41888 * sysdeps/unix/sysv/linux/arm/Makefile
41889 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41890 Add rt-aeabi_unwind_cpp_pr1.
41891 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41892 Add nptl-aeabi_unwind_cpp_pr1.
41893 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41894 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41895 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41896 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41897 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41898 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41899
41900 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41901 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41902 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41903 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41904
41905 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41906 Deconditionalize the code that was previously under [RESET_PID].
41907 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41908
41909 * sysdeps/generic/exit-thread.h: New file.
41910 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41911 * include/unistd.h (__exit_thread): Remove declaration.
41912 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41913 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41914 * csu/libc-start.c: Include <exit-thread.h>.
41915 (LIBC_START_MAIN): Pass no argument to __exit_thread.
41916 * nptl/pthread_create.c: Include <exit-thread.h>.
41917 (start_thread): Call __exit_thread in place of __exit_thread_inline.
41918 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41919 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41920 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41921 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41922 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41923 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41924 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41925 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41926 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41927 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41928 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41929 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41930 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41931 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41932 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41933 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41934
41935 2014-05-13 Andreas Schwab <schwab@suse.de>
41936
41937 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41938
41939 2014-05-12 Joseph Myers <joseph@codesourcery.com>
41940
41941 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41942 (__ASSUME_UTIMES): Do not condition on kernel version.
41943 (__ASSUME_PSELECT): Define unconditionally.
41944 (__ASSUME_PPOLL): Likewise.
41945 (__ASSUME_ATFCTS): Likewise.
41946 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41947 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41948 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41949 (__ASSUME_UTIMENSAT): Define unconditionally.
41950 (__ASSUME_PRIVATE_FUTEX): Likewise.
41951 (__ASSUME_FALLOCATE): Likewise.
41952 (__ASSUME_O_CLOEXEC): Likewise.
41953 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41954 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41955 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41956 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41957 (__ASSUME_IN_NONBLOCK): Likewise.
41958 (__ASSUME_PIPE2): Likewise.
41959 (__ASSUME_EVENTFD2): Likewise.
41960 (__ASSUME_SIGNALFD4): Likewise.
41961 (__ASSUME_DUP3): Likewise.
41962 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41963 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41964 (__ASSUME_AT_RANDOM): Likewise.
41965 (__ASSUME_PREADV): Likewise.
41966 (__ASSUME_PWRITEV): Likewise.
41967 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41968 (__ASSUME_F_GETOWN_EX): Define unconditionally.
41969 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41970 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41971 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41972 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41973 (__ASSUME_O_CLOEXEC): Define unconditionally.
41974 (__ASSUME_PSELECT): Do not undefine conditionally.
41975 (__ASSUME_PPOLL): Likewise.
41976 (__ASSUME_ATFCTS): Likewise.
41977 (__ASSUME_SET_ROBUST_LIST): Likewise.
41978 (__ASSUME_UTIMENSAT): Likewise.
41979 (__ASSUME_FDATASYNC): Define unconditionally.
41980 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41981 (__ASSUME_SIGFRAME_V2): Likewise.
41982 )__ASSUME_EVENTFD2): Likewise.
41983 (__ASSUME_SIGNALFD4): Likewise.
41984 (__ASSUME_PSELECT): Do not undefine conditionally.
41985 (__ASSUME_PPOLL): Likewise.
41986 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41987 (__ASSUME_PSELECT): Define unconditionally.
41988 (__ASSUME_PPOLL): Likewise.
41989 (__ASSUME_O_CLOEXEC): Likewise.
41990 (__ASSUME_SOCK_CLOEXEC): Likewise.
41991 (__ASSUME_IN_NONBLOCK): Likewise.
41992 (__ASSUME_PIPE2): Likewise.
41993 (__ASSUME_EVENTFD2): Likewise.
41994 (__ASSUME_SIGNALFD4): Likewise.
41995 (__ASSUME_DUP3): Likewise.
41996 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41997 (__ASSUME_O_CLOEXEC): Likewise.
41998 (__ASSUME_SOCK_CLOEXEC): Likewise.
41999 (__ASSUME_IN_NONBLOCK): Likewise.
42000 (__ASSUME_PIPE2): Likewise.
42001 (__ASSUME_EVENTFD2): Likewise.
42002 (__ASSUME_SIGNALFD4): Likewise.
42003 (__ASSUME_DUP3): Likewise.
42004 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42005 (__ASSUME_EVENTFD2): Likewise.
42006 (__ASSUME_SIGNALFD4): Likewise.
42007 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42008
42009 2014-05-12 Andreas Schwab <schwab@suse.de>
42010
42011 [BZ #16932]
42012 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42013 (_nss_nis_gethostbyname4_r): Return error if item length is larger
42014 than maximum RPC packet size.
42015 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42016 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42017 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42018 (_nss_nis_getservbyport_r): Likewise.
42019
42020 2014-05-12 Will Newton <will.newton@linaro.org>
42021
42022 * malloc/Makefile (tests): Add tst-mallopt.
42023 * malloc/tst-mallopt.c: New file.
42024
42025 2014-05-09 Roland McGrath <roland@hack.frob.com>
42026
42027 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42028 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42029
42030 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42031
42032 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42033 (tst-tlsmod6.so): Likewise.
42034
42035 2014-05-09 Roland McGrath <roland@hack.frob.com>
42036
42037 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42038
42039 2014-05-09 Joseph Myers <joseph@codesourcery.com>
42040
42041 [BZ #16064]
42042 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42043 and <dl-procinfo.h>.
42044 (__fegetenv): Save SSE state in envp->__eip if supported.
42045 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42046 envp->__eip if supported.
42047 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42048 and <dl-procinfo.h>.
42049 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42050 __data_offset and __data_selector in environment to 0. Set SSE
42051 state if supported.
42052 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42053 test-fenv-sse.
42054 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42055 -mfpmath=sse.
42056 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42057
42058 2014-05-09 Will Newton <will.newton@linaro.org>
42059
42060 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42061 and libc_relro_required for ARM.
42062 * sysdeps/arm/preconfigure: Regenerate.
42063
42064 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
42065 Stefan Liebler <stli@linux.vnet.ibm.com>
42066
42067 * config.make.in (enable-lock-elision): New Makefile variable.
42068 * configure.ac: Likewise.
42069 * configure: Regenerate.
42070 * sysdeps/s390/configure.ac:
42071 Add check for gcc transactions support.
42072 * sysdeps/s390/configure: Regenerate.
42073 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42074 Build elision files if enabled.
42075 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42076 Add lock elision support for s390.
42077 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42078 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42079 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42080 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42081 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42082 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42083 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42084 Likewise.
42085 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42086 Likewise.
42087 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42088 Likewise.
42089 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42090 Likewise.
42091 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42092 (__lll_timedlock_elision, __lll_lock_elision)
42093 (__lll_unlock_elision, __lll_trylock_elision)
42094 (lll_timedlock_elision, lll_lock_elision)
42095 (lll_unlock_elision, lll_trylock_elision): Add.
42096 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42097 (pthread_mutex_t): Add lock elision support for s390.
42098
42099 2014-05-14 Wilco <wdijkstr@arm.com>
42100
42101 * sysdeps/arm/fclrexcpt.c: Cleanup.
42102 * sysdeps/arm/fedisblxcpt.c: Cleanup.
42103 * sysdeps/arm/feenablxcpt.c: Cleanup.
42104 * sysdeps/arm/fegetenv.c: Cleanup.
42105 * sysdeps/arm/fegetexcept.c: Cleanup.
42106 * sysdeps/arm/fegetround.c: Cleanup.
42107 * sysdeps/arm/feholdexcpt.c: Cleanup.
42108 * sysdeps/arm/fesetenv.c: Cleanup.
42109 * sysdeps/arm/fesetround.c: Cleanup.
42110 * sysdeps/arm/feupdateenv.c: Cleanup.
42111 * sysdeps/arm/fgetexcptflg.c: Cleanup.
42112 * sysdeps/arm/fraiseexcpt.c: Cleanup.
42113 * sysdeps/arm/fsetexcptflg.c: Cleanup.
42114 * sysdeps/arm/ftestexcept.c: Cleanup.
42115 * sysdeps/arm/get-rounding-mode.h: Cleanup.
42116 * sysdeps/arm/setfpucw.c: Cleanup.
42117
42118 2014-05-09 Will Newton <will.newton@linaro.org>
42119
42120 * sysdeps/arm/armv7/strcmp.S: New file.
42121 * NEWS: Mention addition of ARMv7 optimized strcmp.
42122
42123 2014-05-08 Roland McGrath <roland@hack.frob.com>
42124
42125 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42126 look for %.ac rather than %.in.
42127
42128 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42129 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42130 * sysdeps/mach/hurd/configure: Regenerated.
42131 * sysdeps/unix/sysv/linux/configure: Regenerated.
42132
42133 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42134
42135 2014-05-07 Steve Ellcey <sellcey@mips.com>
42136
42137 [BZ# 16922]
42138 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42139 (LONG_SUB): Ditto.
42140 (PTR_SUB): Ditto.
42141
42142 2014-05-07 Andreas Schwab <schwab@suse.de>
42143
42144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42145 when skipping over non-matching result from nscd.
42146
42147 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
42148
42149 [BZ #16876]
42150 * nptl/sockperf.c (client): Check socket return value.
42151
42152 [BZ #16877]
42153 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42154 nscd security class.
42155
42156 2014-05-06 Roland McGrath <roland@hack.frob.com>
42157
42158 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42159 * sysdeps/arm/unwind.h: ... here.
42160
42161 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
42162
42163 [BZ# 16916]
42164 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42165 Define.
42166
42167 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42168
42169 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42170 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42171 multiarch strncpy for PPC64.
42172 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42173 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42175 multiarch optimizations.
42176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42177 (__libc_ifunc_impl_list): Likewise.
42178 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42179 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42180 multiarch stpncpy for PPC64.
42181 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42182 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42183
42184 2014-05-06 Andreas Schwab <schwab@suse.de>
42185
42186 [BZ #16912]
42187 * gmon/mcount.c (_MCOUNT_DECL): Use
42188 atomic_compare_and_exchange_bool_acq instead of
42189 catomic_compare_and_exchange_bool_acq.
42190
42191 2014-05-05 Roland McGrath <roland@hack.frob.com>
42192
42193 * elf/Makefile (others, install-bin): Remove pldd.
42194 (pldd-modules): Variable removed.
42195 ($(objpfx)pldd): Target removed.
42196 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42197 (others, install-bin): Append pldd here.
42198 ($(objpfx)pldd): New target.
42199
42200 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42201 to 0, so the first #if test emitted later doesn't see it undefined.
42202 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42203 * sysdeps/gnu/errlist.c: Regenerated.
42204
42205 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42206
42207 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42208 [libc_hidden_builtin_def]: Define to empty value.
42209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42210 [libc_hidden_builtin_def]: Likewise.
42211 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42212 [libc_hidden_builtin_def]: Likewise.
42213 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42214 [libc_hidden_builtin_def]: Likewise.
42215 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42216 __redirect_memcpy and define ifunc as default hidden symbol.
42217 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42218 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42219
42220 2014-05-04 Adam Conrad <adconrad@0c3.net>
42221
42222 * locale/iso-4217.def: Reintroduce XDR currency.
42223
42224 2014-05-04 Allan McRae <allan@archlinux.org>
42225
42226 * po/eo.po: Update Esperanto translation from translation project.
42227
42228 2014-05-02 Carlos O'Donell <carlos@redhat.com>
42229
42230 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42231 and FEATURE_INDEX_MAX to 1.
42232 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42233
42234 2014-05-01 Steve Ellcey <sellcey@mips.com>
42235
42236 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42237 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42238 * iconvdata/big5.c (ONE_DIRECTION): Define.
42239 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42240 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42241 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42242 * iconvdata/cp932.c (ONE_DIRECTION): Define.
42243 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42244 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42245 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42246 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42247 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42248 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42249 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42250 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42251 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42252 * iconvdata/gbk.c (ONE_DIRECTION): Define.
42253 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42254 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42255 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42256 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42257 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42258 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42259 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42260 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42261 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42262 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42263 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42264 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42265 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42266 * iconvdata/iso646.c (ONE_DIRECTION): Define.
42267 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42268 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42269 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42270 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42271 * iconvdata/johab.c (ONE_DIRECTION): Define.
42272 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42273 * iconvdata/sjis.c (ONE_DIRECTION): Define.
42274 * iconvdata/t.61.c (ONE_DIRECTION): Define.
42275 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42276 * iconvdata/tscii.c (ONE_DIRECTION): Define.
42277 * iconvdata/uhc.c (ONE_DIRECTION): Define.
42278 * iconvdata/unicode.c (ONE_DIRECTION): Define.
42279 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42280 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42281 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42282
42283 2014-05-01 Roland McGrath <roland@hack.frob.com>
42284
42285 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42286 (_IO_JUMPS_OFFSET): Define to 0.
42287
42288 * nptl/sysdeps/pthread/bits/libc-lock.h
42289 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42290 (__libc_lock_define_initialized_recursive): Always define using
42291 initializer. Modern compilers treat uninitialized (implicit zero) and
42292 explicit zero initializers the same (i.e. put the datum in bss).
42293
42294 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42295
42296 * nscd/nscd-client.h: Include <string.h>.
42297
42298 2014-05-01 David S. Miller <davem@davemloft.net>
42299
42300 [BZ #16885]
42301 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42302 multiple zero bytes exist at the end of a string.
42303 Reported by Aurelien Jarno <aurelien@aurel32.net>
42304
42305 * string/test-strcmp.c (check): Add explicit test for situations where
42306 there are multiple zero bytes after the first.
42307
42308 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42309
42310 [BZ #16890]
42311 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42312 when compiling wprintf.
42313 * stdio-common/tstdiomisc.c (t3): New function.
42314 (main): Call it.
42315
42316 2014-05-01 Steve Ellcey <sellcey@mips.com>
42317
42318 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42319 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42320 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42321 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42322
42323 2014-05-01 Steve Ellcey <sellcey@mips.com>
42324
42325 * stdlib/longlong.h: Updated from GCC.
42326
42327 2014-05-01 Will Newton <will.newton@linaro.org>
42328 Bernard Ogden <bernie.ogden@linaro.org>
42329
42330 * NEWS: Update fixed bug list.
42331
42332 [BZ #15119]
42333 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42334
42335 2014-04-30 David S. Miller <davem@davemloft.net>
42336
42337 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42338 (libc_feholdexcept_setround_sparc_ctx): New function.
42339 (libc_fesetenv_sparc_ctx): Likewise.
42340 (libc_feupdateenv_sparc_ctx): Likewise.
42341 (libc_feholdsetround_sparc_ctx): Likewise.
42342 (libc_feholdexcept_setround_ctx): Define.
42343 (libc_feholdexcept_setroundf_ctx): Likewise.
42344 (libc_feholdexcept_setroundl_ctx): Likewise.
42345 (libc_fesetenv_ctx): Likewise.
42346 (libc_fesetenvf_ctx): Likewise.
42347 (libc_fesetenvl_ctx): Likewise.
42348 (libc_feupdateenv_ctx): Likewise.
42349 (libc_feupdateenvf_ctx): Likewise.
42350 (libc_feupdateenvl_ctx): Likewise.
42351 (libc_feresetround_ctx): Likewise.
42352 (libc_feresetroundf_ctx): Likewise.
42353 (libc_feresetroundl_ctx): Likewise.
42354 (libc_feholdsetround_ctx): Likewise.
42355 (libc_feholdsetroundf_ctx): Likewise.
42356 (libc_feholdsetroundl_ctx): Likewise.
42357
42358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42359 with __USE_GNU instead of XOPEN cpp guards.
42360
42361 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42362 0.
42363
42364 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42365 with XOPEN cpp guards.
42366
42367 2014-04-30 Julian Brown <julian@codesourcery.com>
42368
42369 [BZ #16888]
42370 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42371 handling.
42372
42373 2014-04-30 Joseph Myers <joseph@codesourcery.com>
42374
42375 [BZ #9894]
42376 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42377 Change to 2.6.32.
42378 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42379 * sysdeps/unix/sysv/linux/configure: Regenerated.
42380 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42381 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42382 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42383 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42384 * README: Update reference to required Linux kernel version.
42385 * manual/install.texi (Linux): Update reference to required Linux
42386 kernel headers version.
42387 * INSTALL: Regenerated.
42388
42389 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42390 header inclusion.
42391 [POSIX] (limits.h): Likewise.
42392 [POSIX] (math.h): Likewise.
42393 [POSIX] (sys/wait.h): Likewise.
42394 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42395 function.
42396 [POSIX] (stddef.h): Do not allow header inclusion.
42397
42398 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42399
42400 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42401
42402 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
42403
42404 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42405 Return immediately after lll_futex_wake.
42406
42407 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42408
42409 [BZ #16791]
42410 * nscd/nscd-client.h (datahead_init_common): Initialize entire
42411 structure.
42412 (datahead_init_pos): Call datahead_init_common early.
42413 (datahead_init_neg): Likewise.
42414
42415 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42416 datahead_init_neg): New functions.
42417 * nscd/aicache.c (addhstaiX): Use them.
42418 * nscd/grpcache.c (cache_addgr): Likewise.
42419 * nscd/hstcache.c (cache_addhst): Likewise.
42420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42421 * nscd/netgroupcache.c (do_notfound): Likewise.
42422 (addgetnetgrentX): Likewise.
42423 (addinnetgrX): Likewise.
42424 * nscd/pwdcache.c (cache_addpw): Likewise.
42425 * nscd/servicescache.c (cache_addserv): Likewise.
42426
42427 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42428 Atsushi Onoe <atsushi@onoe.org>
42429
42430 [BZ #14308]
42431 [BZ #12994]
42432 [BZ #13651]
42433 * resolv/res_query.c (__libc_res_nsearch): Return if at least
42434 one response is valid.
42435 * resolv/res_send.c (send_dg): Check for validity of other
42436 response if the current response is a referral.
42437
42438 2014-04-29 Steve Ellcey <sellcey@mips.com>
42439
42440 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42441
42442 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
42443
42444 [BZ #16823]
42445 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42446 Always divide by positive zero when computing -Inf result.
42447 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42448 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42449
42450 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42451
42452 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42453 FPSCR if value do not change.
42454 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42455 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42456 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42457 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42458 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42459 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42460 function.
42461
42462 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
42463
42464 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42465 * sysdeps/unix/sysv/linux/hppa: Move directory from
42466 ports/systeps/unix/sysv/linux/hppa.
42467 * README: Update listing for hppa-*-linux-gnu.
42468
42469 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
42470
42471 [BZ #16754]
42472 * manual/stdio.texi (Hook functions): Fix types of stream hook
42473 functions.
42474 [BZ #16854]
42475 * socket/sys/socket.h: Fix typo in comment.
42476
42477 2014-04-28 Wilco <wdijkstr@arm.com>
42478
42479 * sysdeps/arm/fenv_private.h: New file.
42480 * sysdeps/arm/math_private.h: New file.
42481 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42482
42483 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
42484
42485 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42486 with __int128_t.
42487 (La_x86_64_retval): Likewise.
42488
42489 2014-04-24 Ian Bolton <ian.bolton@arm.com>
42490
42491 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42492 fpsr if value didn't change.
42493 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42494 to fpcr if value didn't change.
42495 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42496 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42497 fpsr or fpcr if value didn't change.
42498 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42499 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42500 fpcr if value didn't change.
42501 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42502 to fpsr if value didn't change.
42503
42504 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42505
42506 * nptl/tst-sem3.c: Use test-skeleton.c
42507 (main): Rename to do_test. Use return instead of
42508 exit.
42509 * nptl/tst-sem4.c: Use test-skeleton.c
42510 (main): Rename to do_test.
42511
42512 2014-04-22 David S. Miller <davem@davemloft.net>
42513
42514 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42515 (struct sigaction): New struct member __glibc_reserved0, change
42516 type of sa_flags to int.
42517
42518 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42519
42520 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42521 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42522
42523 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42524
42525 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42526 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42527
42528 2014-04-22 Will Newton <will.newton@linaro.org>
42529 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42530
42531 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42532 (__longjmp): Add longjmp and longjmp_target SystemTap
42533 probes.
42534 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42535 (__sigsetjmp): Add setjmp SystemTap probe.
42536
42537 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42538
42539 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42540 match manual order.
42541
42542 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42543
42544 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42545
42546 * sysdeps/powerpc/fpu/fenv_private.h
42547 (libc_feholdexcept_setroundl_ctx): Define to
42548 libc_feholdexcept_setround_ppc_ctx.
42549 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42550 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42551 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42552 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42553
42554 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42555
42556 * sysdeps/aarch64/math-tests.h: New file.
42557
42558 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42559
42560 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42561 New.
42562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42563 Check and set bit_AVX2_Usable.
42564 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42565 macro.
42566 (bit_AVX2): Likewise.
42567 (index_AVX2_Usable): Likewise.
42568 (CPUID_AVX2): Likewise.
42569 (HAS_AVX2): Likewise.
42570
42571 2014-04-17 Will Newton <will.newton@linaro.org>
42572
42573 * manual/setjmp.texi (System V contexts): Add note that
42574 calling setcontext on a context created by a call to a
42575 signal handler is undefined. Update text to note that
42576 setcontext from a signal handler is possible but not
42577 recommended.
42578
42579 [BZ #16629]
42580 * stdlib/tst-setcontext.c: Include signal.h.
42581 (main): Check that the signal stack before and
42582 after swapcontext is the same.
42583
42584 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42585 Re-implement to restore registers in user code and avoid
42586 rt_sigreturn system call.
42587
42588 2014-04-17 Wilco <wdijkstr@arm.com>
42589
42590 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42591 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42592 * math/test-fenv.c: Skip exception trap tests on targets which only
42593 support non-stop mode.
42594
42595 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42596 Wilco Dijkstra <wilco.dijkstra@arm.com>
42597
42598 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42599 (libc_feholdsetround_aarch64_ctx)
42600 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42601 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42602 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42603 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42604 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42605 (libc_feresetround_noexl_ctx): Define.
42606
42607 2014-04-16 Richard Henderson <rth@redhat.com>
42608
42609 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42610
42611 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42612 unwind tables.
42613
42614 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42615 const from the non-libc, non-ldso copy.
42616
42617 * sysdeps/alpha/libm-test-ulps: Regenerate.
42618
42619 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42620 Wilco Dijkstra <wilco.dijkstra@arm.com>
42621
42622 * sysdeps/aarch64/fpu/math_private.h: New file.
42623
42624 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42625
42626 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42627
42628 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42629
42630 [BZ #16275]
42631 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42632 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42634 Intel MPX bound registers before _dl_profile_fixup.
42635 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42636 registers after _dl_profile_fixup. Save and restore bound
42637 registers bnd0/bnd1 when calling _dl_call_pltexit.
42638 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42639 (LR_BND_OFFSET): Likewise.
42640 (LRV_BND0_OFFSET): Likewise.
42641 (LRV_BND1_OFFSET): Likewise.
42642
42643 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42644
42645 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42646 to...
42647 * sysdeps/mach/hurd/i386/tls.h: ... here.
42648 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42649 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42650 fields.
42651
42652 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42653
42654 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42655
42656 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42657
42658 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42659
42660 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42661
42662 [BZ #14770]
42663 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42664 * sysdeps/s390/configure: Regenerate.
42665
42666 [BZ #16824]
42667 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42668 Set round-to-nearest internally to reduce error accumulation.
42669
42670 2014-04-16 Alan Modra <amodra@gmail.com>
42671
42672 [BZ #16740]
42673 [BZ #16619]
42674 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42675 * math/libm-test.inc (frexp_test_data): Add tests.
42676 * NEWS: Update fixed bug list.
42677
42678 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42679
42680 * benchtests/Makefile: Depend on libraries in build directory.
42681 (bench-math): Separate out math tests.
42682 (bench-pthread): Separate out pthread tests.
42683 (bench): Include math and pthread tests.
42684
42685 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42686
42687 [BZ #16831]
42688 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42689 _dl_debug_initialize.
42690
42691 * configure.ac: Remove SELinux header check.
42692 * configure: Regenerate.
42693 * nscd/selinux.c (perms): Array of const char* to permission names.
42694 (nscd_request_avc_has_perm): Call security_deny_unknown to find
42695 default policy. Call string_to_security_class and string_to_av_perm to
42696 translate strings. Enforce default policy and call avs_has_perm with
42697 results of translated strings.
42698
42699 2014-04-13 David S. Miller <davem@davemloft.net>
42700
42701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42702
42703 2014-04-12 Allan McRae <allan@archlinux.org>
42704
42705 [BZ #16838]
42706 * manual/string.texi (Collation Functions): Fix qsort argument
42707 order in example.
42708 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42709
42710 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
42711
42712 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42713 Make the test a no-op if there are no exceptions defined.
42714
42715 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42716
42717 * elf/Makefile (tests): make tst-dlopen-aout conditional on
42718 enable-hardcoded-path-in-tests
42719
42720 2014-04-11 Will Newton <will.newton@linaro.org>
42721
42722 * benchtests/Makefile (extra-objs): Add json-lib.o.
42723 (bench-func): Tidy up JSON output.
42724 * benchtests/bench-skeleton.c: Include json-lib.h.
42725 (main): Use JSON library functions to do output of
42726 benchmark results.
42727 * benchtests/bench-timing-type.c (main): Output the
42728 timing type simply, leaving formatting to the user.
42729 * benchtests/json-lib.c: New file.
42730 * benchtests/json-lib.h: Likewise.
42731
42732 2014-04-11 Torvald Riegel <triegel@redhat.com>
42733
42734 [BZ #15215]
42735 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42736 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
42737 memory barriers. Add comments.
42738 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42739 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42740 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42741 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42742 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42743 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42744
42745 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42746
42747 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42748 * sysdeps/s390/s390-64/configure.ac: ... this ...
42749 * sysdeps/s390/configure.ac: ... to here.
42750 * sysdeps/s390/s390-32/configure: Delete file.
42751 * sysdeps/s390/s390-64/configure: Delete file.
42752 * sysdeps/s390/configure: Regenerate.
42753
42754 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
42755
42756 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42757
42758 2014-04-11 Will Newton <will.newton@linaro.org>
42759
42760 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42761 to zero if it is not defined elsewhere. (mtrim): Test
42762 the value of MALLOC_DEBUG with #if rather than #ifdef.
42763
42764 2014-04-10 Torvald Riegel <triegel@redhat.com>
42765
42766 * benchtests/pthread_once-inputs: New file.
42767 * benchtests/pthread_once-source.c: New file.
42768 * benchtests/README: Update documentation.
42769
42770 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
42771 H.J. Lu <hongjiu.lu@intel.com>
42772
42773 [BZ #16275]
42774 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42775 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42776 * sysdeps/x86_64/configure: Regenerated.
42777 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42778 macro.
42779 (REGISTER_SAVE_RAX): Likewise.
42780 (REGISTER_SAVE_RCX): Likewise.
42781 (REGISTER_SAVE_RDX): Likewise.
42782 (REGISTER_SAVE_RSI): Likewise.
42783 (REGISTER_SAVE_RDI): Likewise.
42784 (REGISTER_SAVE_R8): Likewise.
42785 (REGISTER_SAVE_R9): Likewise.
42786 (REGISTER_SAVE_BND0): Likewise.
42787 (REGISTER_SAVE_BND1): Likewise.
42788 (REGISTER_SAVE_BND2): Likewise.
42789 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
42790 bound registers when calling _dl_fixup.
42791
42792 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42793
42794 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42795 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42796 of its definition.
42797 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42798 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42799 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42800 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42801 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42802 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42803 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42804
42805 2014-04-09 Peter Brett <peter@peter-b.co.uk>
42806
42807 [BZ #15514]
42808 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42809 pathconf(_PC_NAME_MAX).
42810
42811 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42812
42813 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42814 Remove macro usage.
42815 (__PTHREAD_SPINS): Move definition to ...
42816 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42817 (__PTHREAD_SPINS): ... here.
42818 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42819 (__PTHREAD_SPIN): Likewise.
42820 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42821 (__PTHREAD_SPIN): Likewise.
42822 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42823 (__PTHREAD_SPIN): Likewise.
42824 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42825 (__PTHREAD_SPIN): Likewise.
42826 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42827 (__PTHREAD_SPIN): Likewise.
42828 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42829 (__PTHREAD_SPIN): Likewise.
42830 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42831 (__PTHREAD_SPIN): Likewise.
42832 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42833 (__PTHREAD_SPIN): Likewise.
42834 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42835 (__PTHREAD_SPIN): Likewise.
42836 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42837 (__PTHREAD_SPIN): Likewise.
42838 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42839 (__PTHREAD_SPIN): Likewise.
42840 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42841 (__PTHREAD_SPIN): Likewise.
42842
42843 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42844 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42845 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42846 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42847 imply folder.
42848 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42849 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42850 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42851 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42852 correct imply path.
42853 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42854 strlen symbol for non multi-arch builds.
42855 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42856 missing hidden_def and weak_alias.
42857
42858 2014-04-08 Carlos O'Donell <carlos@redhat.com>
42859
42860 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42861
42862 2014-04-07 Will Newton <will.newton@linaro.org>
42863
42864 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42865 and contents. [!_LIBC] Remove #ifndef and contents.
42866 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
42867 * string/memccpy.c (__memccpy): Use ANSI prototype.
42868 * string/memfrob.c (memfrob): Likewise.
42869 * string/strcoll.c (STRCOLL): Likewise.
42870 * string/strlen.c (strlen): Likewise.
42871 * string/strtok.c (STRTOK): Likewise.
42872 * string/strcat.c: Remove unused #include of memcopy.h.
42873 (strcat): Use ANSI prototype.
42874 * string/strchr.c: Remove unused #include of memcopy.h.
42875 (strchr): Use ANSI prototype.
42876 * string/strcmp.c: Remove unused #include of memcopy.h.
42877 (strcmp): Use ANSI prototype.
42878 * string/strcpy.c: Remove unused #include of memcopy.h.
42879 (strcpy): Use ANSI prototype.
42880
42881 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42882
42883 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42884 * config.make.in (config-extra-cppflags): Set it from
42885 libc_extra_cppflags.
42886 * configure.ac (libc_extra_cflags): Make it accumulate over
42887 configure fragments.
42888 (libc_extra_cppflags): New flag.
42889 * configure. Regenerate.
42890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42891 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42892 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42894
42895 [BZ #16815]
42896 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42897 result for FE_DOWNWARD rounding mode.
42898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42899 Likewise.
42900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42901
42902 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
42903
42904 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42905 in function argument name.
42906
42907 2014-04-03 David Svoboda <svoboda@cert.org>
42908
42909 [BZ #5666]
42910 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42911 explicitly.
42912
42913 2014-04-03 Roland McGrath <roland@hack.frob.com>
42914
42915 * elf/dl-unmap-segments.h: New file.
42916 * sysdeps/generic/ldsodefs.h
42917 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42918 * elf/dl-close.c: Include <dl-unmap-segments.h>.
42919 * elf/dl-fptr.c: Likewise.
42920 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42921 * sysdeps/aarch64/tlsdesc.c: Likewise.
42922 * sysdeps/arm/tlsdesc.c: Likewise.
42923 * sysdeps/i386/tlsdesc.c: Likewise.
42924 * sysdeps/tile/dl-runtime.c: Likewise.
42925 * sysdeps/x86_64/tlsdesc.c: Likewise.
42926 * elf/dl-load.h: New file.
42927 * elf/dl-load.c: Include it.
42928 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42929 Macros moved to dl-load.h.
42930 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42931 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42932 Use _dl_unmap_segments in place of __munmap.
42933 Break out segment-mapping loop into ...
42934 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42935
42936 2014-04-03 Will Newton <will.newton@linaro.org>
42937
42938 * elf/dl-lookup.c (do_lookup_x): Remove comment
42939 referring to nested function and move variable
42940 declarations down to before first use.
42941
42942 2014-04-02 Joseph Myers <joseph@codesourcery.com>
42943
42944 [BZ #16799]
42945 [BZ #16800]
42946 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42947 with 0 numerator.
42948 * math/s_catanf.c (__catanf): Likewise.
42949 * math/s_catanh.c (__catanh): Likewise.
42950 * math/s_catanhf.c (__catanhf): Likewise.
42951 * math/s_catanhl.c (__catanhl): Likewise.
42952 * math/s_catanl.c (__catanl): Likewise.
42953 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42954 by positive zero when computing -Inf result.
42955 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42956 (catanh_test): Likewise.
42957 * sysdeps/i386/fpu/libm-test-ulps: Update.
42958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42959
42960 [BZ #16789]
42961 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42962 instead of using underflowing value in computing result.
42963 * math/s_clog10.c (__clog10): Likewise.
42964 * math/s_clog10f.c (__clog10f): Likewise.
42965 * math/s_clog10l.c (__clog10l): Likewise.
42966 * math/s_clogf.c (__clogf): Likewise.
42967 * math/s_clogl.c (__clogl): Likewise.
42968 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42969 (clog10_test): Likewise.
42970 * sysdeps/i386/fpu/libm-test-ulps: Update.
42971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42972
42973 2014-04-02 Alan Modra <amodra@gmail.com>
42974
42975 [BZ #16739]
42976 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42977 output when value is near a power of two. Use int64_t for lx and
42978 remove casts. Use decimal rather than hex exponent constants.
42979 Don't use long double multiplication when double will suffice.
42980 * math/libm-test.inc (nextafter_test_data): Add tests.
42981 * NEWS: Add 16739 and 16786 to bug list.
42982
42983 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42984
42985 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42986
42987 2014-04-01 Will Newton <will.newton@linaro.org>
42988
42989 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42990 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
42991
42992 2014-04-01 Florian Weimer <fweimer@redhat.com>
42993
42994 [BZ #13347]
42995 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42996 * nptl/tst-setuid2.c: New file.
42997 * nptl/Makefile (xtests): Add tst-setuid2.
42998
42999 2014-04-01 Alan Modra <amodra@gmail.com>
43000
43001 [BZ #16786]
43002 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43003
43004 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43005
43006 [BZ #6803]
43007 [BZ #6804]
43008 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43009 set errno as appropriate.
43010 * math/w_scalbf.c (__scalbf): Likewise.
43011 * math/w_scalbl.c (__scalbl): Likewise.
43012 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43013 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43014 * math/libm-test.inc (scalb_test_data): Add errno expectations.
43015 Add more NaN tests.
43016
43017 [BZ #16349]
43018 * math/w_atan2.c: Include <errno.h>.
43019 (__atan2): Set errno for result underflowing to zero.
43020 * math/w_atan2f.c: Include <errno.h>.
43021 (__atan2f): Set errno for result underflowing to zero.
43022 * math/w_atan2l.c: Include <errno.h>.
43023 (__atan2l): Set errno for result underflowing to zero.
43024 * math/auto-libm-test-in: Don't allow missing errno for some atan2
43025 tests.
43026 * math/auto-libm-test-out: Regenerated.
43027
43028 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43029
43030 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43031 Encode instruction correctly in little endian.
43032 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43033 Likewise.
43034 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43035 Likewise.
43036 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43037 Likewise.
43038 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43039 Likewise.
43040
43041 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43042
43043 [BZ #9894]
43044 * sysdeps/unix/sysv/linux/kernel-features.h
43045 [__sparc__ && !__arch64__ && !__sparc_v9__]
43046 (__ASSUME_SET_ROBUST_LIST): Do not define.
43047 [__sparc__ && !__arch64__ && !__sparc_v9__]
43048 (__ASSUME_FUTEX_LOCK_PI): Likewise.
43049 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43050 Likewise.
43051 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43052 (__ASSUME_FUTEX_LOCK_PI): Undefine.
43053 (__ASSUME_REQUEUE_PI): Likewise.
43054 (__ASSUME_SET_ROBUST_LIST): Likewise.
43055 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43056 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43057 Undefine.
43058 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43059 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43060 Likewise.
43061 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43062 Likewise.
43063 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43064 Likewise.
43065 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43066 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43067 Undefine.
43068 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43069 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43070 Likewise.
43071
43072 [BZ #16648]
43073 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43074 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43075 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43076
43077 2014-03-31 Will Newton <will.newton@linaro.org>
43078
43079 * benchtests/Makefile (bench): Add ffs and ffsll to list
43080 of tests.
43081 * benchtests/ffs-inputs: New file.
43082 * benchtests/ffsll-inputs: Likewise.
43083
43084 2014-03-29 Joseph Myers <joseph@codesourcery.com>
43085
43086 [BZ #16770]
43087 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43088 too large before casting to int.
43089 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43090 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43091 * math/libm-test.inc (scalb_test_data): Add more tests.
43092
43093 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43094
43095 * benchtests/Makefile (DETAILED_OPT): New make option.
43096 (bench-func): Run benchmark program with -d if DETAILED_OPT is
43097 set.
43098 * benchtests/bench-skeleton.c: Include stdbool.h.
43099 (main): Store and print timings per input.
43100 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43101 member to each argument value.
43102 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43103 (_print_arg_data): Initialize per-input timing to 0.
43104
43105 * benchtests/Makefile (timing-type): New binary.
43106 (bench-clean): Also remove bench-timing-type.
43107 (bench): New target for timing-type.
43108 (bench-func): Print output in JSON format.
43109 * benchtests/bench-skeleton.c (main): Print output in JSON
43110 format.
43111 * benchtests/bench-timing-type.c: New file.
43112 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43113 (TIMING_PRINT_STATS): Remove.
43114 * benchtests/scripts/bench.py (_print_arg_data): Store variant
43115 name separately.
43116
43117 * benchtests/bench-modf.c: Remove.
43118 * benchtests/modf-inputs: New inputs file.
43119
43120 2014-03-28 Joseph Myers <joseph@codesourcery.com>
43121
43122 [BZ #16362]
43123 * math/s_clog10.c (M_PI_LOG10E): New macro.
43124 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43125 imaginary parts are 0.
43126 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43127 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43128 imaginary parts are 0.
43129 * math/s_clog10l.c (M_PI_LOG10El): New macro.
43130 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43131 imaginary parts are 0.
43132 * math/libm-test.inc (clog10_test_data): Update expected results
43133 for when real and imaginary parts are 0.
43134
43135 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
43136
43137 * elf/dl-load.c: Finish conversion of __builtin_expect into
43138 __glibc_{un}likely.
43139
43140 2014-03-27 Joseph Myers <joseph@codesourcery.com>
43141
43142 [BZ #16348]
43143 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43144 1+x for argument with exponent below -67.
43145 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43146 Likewise.
43147 * math/auto-libm-test-in: Add more tests of exp.
43148 * math/auto-libm-test-out: Regenerated.
43149
43150 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43151
43152 [BZ #16759]
43153 * inet/getnetgrent_r.c (get_nonempty_val): New function.
43154 (nscd_getnetgrent): Use it.
43155
43156 [BZ #16760]
43157 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43158 of stpcpy.
43159
43160 2014-03-27 Andi Kleen <ak@linux.intel.com>
43161
43162 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43163 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43164 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43165 (lll_robust_unlock): Remove out of line section. Use cfi
43166 intrinsics.
43167 (LLL_STUB_UNWIND_INFO*): Remove.
43168 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43169 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43170 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43171 (lll_robust_unlock): Remove out of line section. Use cfi
43172 intrinsics.
43173 (LLL_STUB_UNWIND_INFO*): Remove.
43174
43175 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43176
43177 [BZ #16758]
43178 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43179 blank values.
43180
43181 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
43182
43183 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43184
43185 2014-03-26 Joseph Myers <joseph@codesourcery.com>
43186
43187 [BZ #16198]
43188 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43189 fnstenv.
43190 * math/test-fenv-preserve.c: New file.
43191 * math/Makefile (tests): Add test-fenv-preserve.
43192
43193 2014-03-26 Will Newton <will.newton@linaro.org>
43194
43195 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43196
43197 2014-03-25 Roland McGrath <roland@hack.frob.com>
43198
43199 * scripts/versionlist.awk: Partition the version sets and emit all
43200 GLIBC_* (sorted) before all others (sorted).
43201
43202 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43203
43204 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43205 GLIBC_2.2.5 version.
43206
43207 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43208
43209 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43210 calls.
43211
43212 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43213 previous change.
43214
43215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43216
43217 2014-03-25 Andreas Schwab <schwab@suse.de>
43218
43219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43220 label to be used after in6ailist is initialized.
43221
43222 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43223
43224 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43225 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43226
43227 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43228
43229 [BZ #16357]
43230 [BZ #16599]
43231 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43232 min_plus_half.
43233 (fp_formats): Update initializers.
43234 (init_fp_formats): Initialize new field.
43235 (output_for_one_input_case): Allow underflow for results up to
43236 min_plus_half.
43237 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43238 * math/auto-libm-test-in: Don't mark some underflows from asin and
43239 atanh as spurious.
43240 * math/auto-libm-test-out: Regenerated.
43241 * sysdeps/i386/fpu/libm-test-ulps: Update.
43242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43243
43244 2014-03-25 Andreas Schwab <schwab@suse.de>
43245
43246 * libio/Makefile (tst-ftell-partial-wide-ENV)
43247 (tst-ftell-active-handler-ENV): Define.
43248
43249 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
43250
43251 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43252
43253 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43254
43255 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43256
43257 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43258
43259 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43260 * sysdeps/x86_64/fpu/multiarch/e_exp.c
43261 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43262
43263 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43264
43265 [BZ #16634]
43266 * elf/dl-load.c (open_verify): Add mode parameter.
43267 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43268 (open_path): Change from boolean 'secure' to complete flag 'mode'
43269 (_dl_map_object): Adjust.
43270 * elf/Makefile (tests): Add tst-dlopen-aout.
43271 * elf/tst-dlopen-aout.c: New test.
43272
43273 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
43274
43275 [BZ #16714]
43276 * sysdeps/unix/sysv/linux/s390/bits/stat.h
43277 (struct stat): Rename member pad0 to __glibc_reserved0.
43278
43279 [BZ #16712]
43280 * sysdeps/s390/s390-32/bits/wordsize.h
43281 (__WORDSIZE32_SIZE_ULONG): New define.
43282 * sysdeps/s390/s390-64/bits/wordsize.h
43283 (__WORDSIZE32_SIZE_ULONG): Likewise.
43284 * sysdeps/generic/stdint.h (SIZE_MAX):
43285 Define as UL if __WORDSIZE32_SIZE_ULONG.
43286
43287 [BZ #16713]
43288 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43289 (__glibc_reserved0): New variable.
43290 (sa_flags): Change type to int.
43291
43292 * posix/Makefile (before-compile): Use += before-compile instead
43293 of a :=.
43294
43295 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43296 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43297
43298 2014-03-20 Andreas Schwab <schwab@suse.de>
43299
43300 [BZ #16743]
43301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43302 non-matching result from nscd.
43303
43304 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43305
43306 * scripts/bench.py: Moved to ...
43307 * benchtests/scripts/bench.py: ... here.
43308 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43309
43310 2014-03-24 Andreas Schwab <schwab@suse.de>
43311
43312 [BZ #16002]
43313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43314 alloca_account and account alloca use for struct in6ailist.
43315
43316 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43317
43318 [BZ #16284]
43319 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43320 rounding mode to recompute results that overflow to infinity or
43321 underflow to zero.
43322 * math/auto-libm-test-in: Don't mark tests as expected to fail for
43323 bug 16284.
43324 * math/auto-libm-test-out: Regenerated.
43325 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43326 (ccosh_test): Likewise.
43327 (csin_test_data): Use plus_oflow.
43328 (csin_test): Use ALL_RM_TEST.
43329 (csinh_test_data): Use plus_oflow.
43330 (csinh_test): Use ALL_RM_TEST.
43331 * sysdeps/i386/fpu/libm-test-ulps: Update.
43332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43333
43334 2014-03-21 Joseph Myers <joseph@codesourcery.com>
43335
43336 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43337 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43338 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43339
43340 [BZ #16731]
43341 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43342 when x - 1 is zero.
43343 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43344 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43345 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43346 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43347 argument is 1.
43348 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43349 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43350 zero.
43351 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43352 * sysdeps/i386/fpu/libm-test-ulps: Update.
43353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43354
43355 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43356
43357 * scripts/bench.pl: Remove file.
43358 * scripts/bench.py: New benchmark script.
43359 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43360 * benchtests/README: Mention python dependency.
43361 * scripts/pylintrc: New file.
43362 * scripts/pylint: New file.
43363
43364 * bits/mathdef.h: Use #ifdef instead of #if.
43365 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43366 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43367 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43368 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43369 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43370 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43371
43372 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43373 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43374
43375 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43377 and strpbrk-ppc64 objects.
43378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43379 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43380 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43381 multiarch strpbrk for POWER7.
43382 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43383 multiarch strpbrk for PPC64.
43384 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43385 ifunc selector.
43386 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43387 strpbrk for POWER7.
43388
43389 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43390
43391 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43392 (atan_test): Likewise.
43393 (atanh_test_data): Use NO_TEST_INLINE for two tests.
43394 (atanh_test): Use ALL_RM_TEST.
43395 (atan2_test_data): Likewise.
43396 (cabs_test): Likewise.
43397 (cacosh_test): Likewise.
43398 (carg_test): Likewise.
43399 (casin_test): Likewise.
43400 (casinh_test): Likewise.
43401 (cbrt_test): Likewise.
43402 (csqrt_test): Likewise.
43403 (erf_test): Likewise.
43404 (erfc_test): Likewise.
43405 (pow10_test): Likewise.
43406 (exp2_test): Likewise.
43407 (hypot_test): Likewise.
43408 (j0_test): Likewise.
43409 (j1_test): Likewise.
43410 (lgamma_test): Likewise.
43411 (gamma_test): Likewise.
43412 (sincos_test): Likewise.
43413 (tanh_test): Likewise.
43414 (y0_test): Likewise.
43415 (y1_test): Likewise.
43416 * sysdeps/i386/fpu/libm-test-ulps: Update.
43417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43418
43419 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43420
43421 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43423 and strcspn-ppc64 objects.
43424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43425 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43426 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43427 multiarch strcspn for POWER7.
43428 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43429 multiarch strcspn for PPC64.
43430 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43431 ifunc selector.
43432 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43433 strcspn for POWER7.
43434
43435 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43436
43437 * math/gen-libm-test.pl (generate_testfile): Expect only function
43438 name as argument to AUTO_TESTS_* and pass results for all rounding
43439 modes to parse_args.
43440 (parse_auto_input): Separate inputs of automatic tests from
43441 outputs before storing in %auto_tests.
43442 * math/libm-test.inc (acos_test_data): Update call to
43443 AUTO_TESTS_f_f.
43444 (acos_test): Use ALL_RM_TEST.
43445 (acos_tonearest_test_data): Remove.
43446 (acos_test_tonearest): Likewise.
43447 (acos_towardzero_test_data): Likewise.
43448 (acos_test_towardzero): Likewise.
43449 (acos_downward_test_data): Likewise.
43450 (acos_test_downward): Likewise.
43451 (acos_upward_test_data): Likewise.
43452 (acos_test_upward): Likewise.
43453 (acosh_test_data): Update call to AUTO_TESTS_f_f.
43454 (asin_test_data): Likewise.
43455 (asin_test): Use ALL_RM_TEST.
43456 (asin_tonearest_test_data): Remove.
43457 (asin_test_tonearest): Likewise.
43458 (asin_towardzero_test_data): Likewise.
43459 (asin_test_towardzero): Likewise.
43460 (asin_downward_test_data): Likewise.
43461 (asin_test_downward): Likewise.
43462 (asin_upward_test_data): Likewise.
43463 (asin_test_upward): Likewise.
43464 (asinh_test_data): Update call to AUTO_TESTS_f_f.
43465 (atan_test_data): Likewise.
43466 (atanh_test_data): Likewise.
43467 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43468 (cabs_test_data): Update call to AUTO_TESTS_c_f.
43469 (carg_test_data): Likewise.
43470 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43471 (ccos_test_data): Update call to AUTO_TESTS_c_c.
43472 (ccosh_test_data): Likewise.
43473 (cexp_test_data): Likewise.
43474 (clog_test_data): Likewise.
43475 (clog10_test_data): Likewise.
43476 (cos_test_data): Update call to AUTO_TESTS_f_f.
43477 (cos_test): Use ALL_RM_TEST.
43478 (cos_tonearest_test_data): Remove.
43479 (cos_test_tonearest): Likewise.
43480 (cos_towardzero_test_data): Likewise.
43481 (cos_test_towardzero): Likewise.
43482 (cos_downward_test_data): Likewise.
43483 (cos_test_downward): Likewise.
43484 (cos_upward_test_data): Likewise.
43485 (cos_test_upward): Likewise.
43486 (cosh_test_data): Update call to AUTO_TESTS_f_f.
43487 (cosh_test): Use ALL_RM_TEST.
43488 (cosh_tonearest_test_data): Remove.
43489 (cosh_test_tonearest): Likewise.
43490 (cosh_towardzero_test_data): Likewise.
43491 (cosh_test_towardzero): Likewise.
43492 (cosh_downward_test_data): Likewise.
43493 (cosh_test_downward): Likewise.
43494 (cosh_upward_test_data): Likewise.
43495 (cosh_test_upward): Likewise.
43496 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43497 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43498 (ctan_test_data): Likewise.
43499 (ctan_test): Use ALL_RM_TEST.
43500 (ctan_tonearest_test_data): Remove.
43501 (ctan_test_tonearest): Likewise.
43502 (ctan_towardzero_test_data): Likewise.
43503 (ctan_test_towardzero): Likewise.
43504 (ctan_downward_test_data): Likewise.
43505 (ctan_test_downward): Likewise.
43506 (ctan_upward_test_data): Likewise.
43507 (ctan_test_upward): Likewise.
43508 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43509 (ctanh_test): Use ALL_RM_TEST.
43510 (ctanh_tonearest_test_data): Remove.
43511 (ctanh_test_tonearest): Likewise.
43512 (ctanh_towardzero_test_data): Likewise.
43513 (ctanh_test_towardzero): Likewise.
43514 (ctanh_downward_test_data): Likewise.
43515 (ctanh_test_downward): Likewise.
43516 (ctanh_upward_test_data): Likewise.
43517 (ctanh_test_upward): Likewise.
43518 (erf_test_data): Update call to AUTO_TESTS_f_f.
43519 (erfc_test_data): Likewise.
43520 (exp_test_data): Likewise.
43521 (exp_test): Use ALL_RM_TEST.
43522 (exp_tonearest_test_data): Remove.
43523 (exp_test_tonearest): Likewise.
43524 (exp_towardzero_test_data): Likewise.
43525 (exp_test_towardzero): Likewise.
43526 (exp_downward_test_data): Likewise.
43527 (exp_test_downward): Likewise.
43528 (exp_upward_test_data): Likewise.
43529 (exp_test_upward): Likewise.
43530 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43531 (exp10_test): Use ALL_RM_TEST.
43532 (exp10_tonearest_test_data): Remove.
43533 (exp10_test_tonearest): Likewise.
43534 (exp10_towardzero_test_data): Likewise.
43535 (exp10_test_towardzero): Likewise.
43536 (exp10_downward_test_data): Likewise.
43537 (exp10_test_downward): Likewise.
43538 (exp10_upward_test_data): Likewise.
43539 (exp10_test_upward): Likewise.
43540 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43541 (expm1_test_data): Likewise.
43542 (expm1_test): Use ALL_RM_TEST.
43543 (expm1_tonearest_test_data): Remove.
43544 (expm1_test_tonearest): Likewise.
43545 (expm1_towardzero_test_data): Likewise.
43546 (expm1_test_towardzero): Likewise.
43547 (expm1_downward_test_data): Likewise.
43548 (expm1_test_downward): Likewise.
43549 (expm1_upward_test_data): Likewise.
43550 (expm1_test_upward): Likewise.
43551 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43552 (fma_test): Use ALL_RM_TEST.
43553 (fma_towardzero_test_data): Remove.
43554 (fma_test_towardzero): Likewise.
43555 (fma_downward_test_data): Likewise.
43556 (fma_test_downward): Likewise.
43557 (fma_upward_test_data): Likewise.
43558 (fma_test_upward): Likewise.
43559 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43560 (j0_test_data): Update call to AUTO_TESTS_f_f.
43561 (j1_test_data): Likewise.
43562 (jn_test_data): Update call to AUTO_TESTS_if_f.
43563 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43564 (log_test_data): Update call to AUTO_TESTS_f_f.
43565 (log10_test_data): Likewise.
43566 (log1p_test_data): Likewise.
43567 (log2_test_data): Likewise.
43568 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43569 (pow_tonearest_test_data): Likewise.
43570 (sin_test_data): Update call to AUTO_TESTS_f_f.
43571 (sin_test): Use ALL_RM_TEST.
43572 (sin_tonearest_test_data): Remove.
43573 (sin_test_tonearest): Likewise.
43574 (sin_towardzero_test_data): Likewise.
43575 (sin_test_towardzero): Likewise.
43576 (sin_downward_test_data): Likewise.
43577 (sin_test_downward): Likewise.
43578 (sin_upward_test_data): Likewise.
43579 (sin_test_upward): Likewise.
43580 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43581 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43582 (sinh_test): Use ALL_RM_TEST.
43583 (sinh_tonearest_test_data): Remove.
43584 (sinh_test_tonearest): Likewise.
43585 (sinh_towardzero_test_data): Likewise.
43586 (sinh_test_towardzero): Likewise.
43587 (sinh_downward_test_data): Likewise.
43588 (sinh_test_downward): Likewise.
43589 (sinh_upward_test_data): Likewise.
43590 (sinh_test_upward): Likewise.
43591 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43592 (sqrt_test): Use ALL_RM_TEST.
43593 (sqrt_tonearest_test_data): Remove.
43594 (sqrt_test_tonearest): Likewise.
43595 (sqrt_towardzero_test_data): Likewise.
43596 (sqrt_test_towardzero): Likewise.
43597 (sqrt_downward_test_data): Likewise.
43598 (sqrt_test_downward): Likewise.
43599 (sqrt_upward_test_data): Likewise.
43600 (sqrt_test_upward): Likewise.
43601 (tan_test_data): Update call to AUTO_TESTS_f_f.
43602 (tan_test): Use ALL_RM_TEST.
43603 (tan_tonearest_test_data): Remove.
43604 (tan_test_tonearest): Likewise.
43605 (tan_towardzero_test_data): Likewise.
43606 (tan_test_towardzero): Likewise.
43607 (tan_downward_test_data): Likewise.
43608 (tan_test_downward): Likewise.
43609 (tan_upward_test_data): Likewise.
43610 (tan_test_upward): Likewise.
43611 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43612 (tgamma_test_data): Likewise.
43613 (y0_test_data): Likewise.
43614 (y1_test_data): Likewise.
43615 (yn_test_data): Update call to AUTO_TESTS_if_f.
43616 (main): Do not call removed functions.
43617
43618 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43619
43620 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43621 (ldexp_test_data): Remove.
43622 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43623 scalbn_test_data.
43624 (scalb_test): Use ALL_RM_TEST.
43625
43626 2014-03-19 Andreas Schwab <schwab@suse.de>
43627
43628 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43629
43630 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43631
43632 [BZ #16649]
43633 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43634 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43635 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43636 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43637 (__ASSUME_PREADV): Undefine.
43638 (__ASSUME_PWRITEV): Likewise.
43639
43640 2014-03-18 Roland McGrath <roland@hack.frob.com>
43641
43642 * bits/mman-linux.h: Add comment about non-Linux use.
43643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43644 bits/mman-linux.h resting place.
43645
43646 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43647 * bits/mman-linux.h: ... here.
43648
43649 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43650
43651 * conform/conformtest.pl: Add standard definition when calling C
43652 preprocessor on data files.
43653 (checknamespace): Remove unused variable.
43654
43655 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43656
43657 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43658 minus_oflow, plus_uflow and minus_uflow in expected results.
43659 * math/libm-test.inc (scalbn_test_data): Add more tests of
43660 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43661 minus_uflow.
43662 (scalbn_test): Use ALL_RM_TEST.
43663 (scalbln_test_data): Add more tests of negative arguments. Use
43664 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43665 (scalbln_test): Use ALL_RM_TEST.
43666
43667 2014-03-18 Roland McGrath <roland@hack.frob.com>
43668
43669 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43670
43671 2014-03-18 Will Newton <will.newton@linaro.org>
43672
43673 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43674 inaccurate comment.
43675
43676 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43677
43678 * Makerules [!subdir] (check-abi): Exit with error status if a
43679 test failed.
43680
43681 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43682
43683 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43684 for rint. Include results for all rounding modes.
43685 (nearbyint_test): Use ALL_RM_TEST.
43686 (rint_test_data): Include all tests used for nearbyint.
43687
43688 2014-03-17 Will Newton <will.newton@linaro.org>
43689
43690 * nptl/sysdeps/pthread/pthread.h: Revert previous
43691 change.
43692
43693 * sysdeps/generic/ldsodefs.h: Revert previous
43694 change.
43695
43696 * libio/genops.c: Revert previous change.
43697 * libio/libioP.h: Likewise.
43698 * stdio-common/vfprintf.c: Likewise.
43699
43700 * sysdeps/generic/math_private.h: Revert previous
43701 change.
43702
43703 * sysdeps/generic/math_private.h: Check whether
43704 HAVE_RM_CTX is defined with #ifdef rather
43705 than #if.
43706
43707 * argp/argp-fmtstream.h: Check whether
43708 __STRICT_ANSI__ is defined with #ifdef rather
43709 than #if.
43710 * argp/argp.h: Likewise.
43711
43712 * libio/genops.c: Check whether
43713 _IO_JUMPS_OFFSET is defined with #ifdef rather
43714 than #if.
43715 * libio/libioP.h: Likewise.
43716 * stdio-common/vfprintf.c: Likewise.
43717
43718 * sysdeps/generic/ldsodefs.h: Check whether
43719 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43720 than #if.
43721
43722 * nptl/sysdeps/pthread/pthread.h: Check
43723 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43724 its value.
43725
43726 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43727
43728 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43729 setting O_APPEND.
43730 * libio/tst-ftell-active-handler.c (do_append_test): Add a
43731 test case.
43732
43733 [BZ #16680]
43734 * libio/fileops.c (_IO_file_open): Seek to end of file but
43735 don't cache the offset.
43736 (get_file_offset): Remove function.
43737 (do_ftell): Use cached offset when available.
43738 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43739 don't cache the offset.
43740 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43741 case.
43742 (do_one_test): Call it.
43743 (do_ftell_test): Fix up expected old offset for a+ mode.
43744 * libio/wfileops.c (do_ftell_wide): Used cached offset when
43745 available.
43746
43747 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43748 up test status with function return status.
43749 (do_write_test): Likewise.
43750 (do_append_test): Likewise.
43751
43752 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43753 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43754 Remove.
43755
43756 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43757
43758 * math/gen-libm-test.pl (parse_args): Handle results specified for
43759 each rounding mode separately.
43760 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43761 tests and results from lrint_tonearest_test_data,
43762 lrint_towardzero_test_data, lrint_downward_test_data and
43763 lrint_upward_test_data.
43764 (lrint_test): Use ALL_RM_TEST.
43765 (lrint_tonearest_test_data): Remove.
43766 (lrint_test_tonearest): Likewise.
43767 (lrint_towardzero_test_data): Likewise.
43768 (lrint_test_towardzero): Likewise.
43769 (lrint_downward_test_data): Likewise.
43770 (lrint_test_downward): Likewise.
43771 (lrint_upward_test_data): Likewise.
43772 (lrint_test_upward): Likewise.
43773 (llrint_test_data): Merge in per-rounding-mode tests and results
43774 from llrint_tonearest_test_data, llrint_towardzero_test_data,
43775 llrint_downward_test_data and llrint_upward_test_data.
43776 (llrint_test): Use ALL_RM_TEST.
43777 (llrint_tonearest_test_data): Remove.
43778 (llrint_test_tonearest): Likewise.
43779 (llrint_towardzero_test_data): Likewise.
43780 (llrint_test_towardzero): Likewise.
43781 (llrint_downward_test_data): Likewise.
43782 (llrint_test_downward): Likewise.
43783 (llrint_upward_test_data): Likewise.
43784 (llrint_test_upward): Likewise.
43785 (rint_test_data): Merge in per-rounding-mode tests and results
43786 from rint_tonearest_test_data, rint_towardzero_test_data,
43787 rint_downward_test_data and rint_upward_test_data. Add
43788 per-rounding-mode results for tests not in those arrays.
43789 (rint_test): Use ALL_RM_TEST.
43790 (rint_tonearest_test_data): Remove.
43791 (rint_test_tonearest): Likewise.
43792 (rint_towardzero_test_data): Likewise.
43793 (rint_test_towardzero): Likewise.
43794 (rint_downward_test_data): Likewise.
43795 (rint_test_downward): Likewise.
43796 (rint_upward_test_data): Likewise.
43797 (rint_test_upward): Likewise.
43798 (main): Don't call removed functions.
43799
43800 2014-03-14 Roland McGrath <roland@hack.frob.com>
43801
43802 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43803 "Compiled on ..." crapola. It is anti-useful.
43804
43805 2014-03-14 Joseph Myers <joseph@codesourcery.com>
43806
43807 * scripts/evaluate-test.sh: Handle fourth argument to determine
43808 whether test run should stop on failure.
43809 * Makeconfig (stop-on-test-failure): New variable.
43810 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43811 $(stop-on-test-failure).
43812 * Makefile (tests): Give a summary of results from testing and
43813 exit with failure status if they include an ERROR or FAIL.
43814 (xtests): Likewise.
43815 * manual/install.texi (Configuring and compiling): Mention
43816 stop-on-test-failure=y.
43817 * INSTALL: Regenerated.
43818
43819 2014-03-14 Roland McGrath <roland@hack.frob.com>
43820
43821 * scripts/versionlist.awk: New file.
43822 * Makerules [$(build-shared) = yes]
43823 (postclean-generated): Add Versions.def, not Versions.def.v and
43824 Versions.def.v.i.
43825 ($(common-objpfx)Versions.def.v.i): Target removed.
43826 ($(common-objpfx)Versions.def): New target.
43827 ($(common-objpfx)Versions.all): Depend on that rather that
43828 $(common-objpfx)Versions.def.v.
43829 * Versions.def: File removed.
43830
43831 * Makeconfig (+gccwarn): Add -Wundef.
43832 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43833 a dl-sysdep.h breaking its contract.
43834 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43835 * include/stackinfo.h: New file.
43836 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43837 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43838 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43839 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43840 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43841 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43842 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43843 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43844 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43845 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43846 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43847 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43848 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43849 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43850 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43851
43852 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43853
43854 [BZ #16707]
43855 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43856 implementation.
43857 * math/libm-test.inc (round_test_data): Add more tests.
43858
43859 [BZ #16706]
43860 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43861 implementation.
43862 * math/libm-test.inc (nearbyint_test_data): Add more tests.
43863
43864 [BZ #16701]
43865 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43866 implementation.
43867 * math/libm-test.inc (ceil_test_data): Add more tests.
43868
43869 * math/libm-test.inc (trunc_test_data): Add more tests related to
43870 BZ#16414.
43871
43872 2014-03-14 Roland McGrath <roland@hack.frob.com>
43873
43874 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43875 with #if rather than #ifdef.
43876 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43877
43878 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
43879
43880 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43881 first. Disable AVX-512 GCC support if assembler doesn't support
43882 it.
43883 * sysdeps/x86_64/configure: Regenerated.
43884
43885 2014-03-13 Carlos O'Donell <carlos@redhat.com>
43886
43887 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43888 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43889 (__old_pthread_attr_setstack): Likewise.
43890 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43891 [!_STACK_GROWS_DOWN]: Likewise.
43892
43893 2014-03-13 Mike Frysinger <vapier@gentoo.org>
43894
43895 * config.make.in (have-bash2): Delete.
43896 * configure.ac (libc_cv_have_bash2): Delete.
43897 * configure: Regenerate.
43898 * elf/Makefile (common-ldd-rewrite): Rename to ...
43899 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
43900 (sh-ldd-rewrite): Delete.
43901 (bash-ldd-rewrite): Delete.
43902 (have-bash2): Delete checks.
43903 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43904 ldd-rewrite.
43905
43906 * config.make.in (have-ksh): Delete.
43907 (KSH): Delete.
43908 * configure.ac (libc_cv_have_ksh): Delete.
43909 * configure: Regenerate.
43910
43911 * elf/Makefile: Delete $(have-ksh) check.
43912 ($(objpfx)sotruss): Change KSH to BASH.
43913 * elf/sotruss.ksh: Rename to ...
43914 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
43915 function style to match POSIX. Drop ksh vim mode setting.
43916
43917 * manual/time.texi (Specifying the Time Zone with TZ): Change
43918 Tuesday to Thursday.
43919
43920 * debug/tst-longjmp_chk2.c: Update header comment.
43921 (stackoverflow_handler): Add comment. Call assert on pass value.
43922
43923 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
43924
43925 [BZ #16194]
43926 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43927 (HAVE_AVX512_ASM_SUPPORT): Likewise.
43928 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43929 (La_x86_64_vector): Add zmm.
43930 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43931 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43932 ($(objpfx)tst-audit10): New target.
43933 ($(objpfx)tst-audit10.out): Likewise.
43934 (tst-audit10-ENV): New.
43935 (AVX512-CFLAGS): Likewise.
43936 (CFLAGS-tst-audit10.c): Likewise.
43937 (CFLAGS-tst-auditmod10a.c): Likewise.
43938 (CFLAGS-tst-auditmod10b.c): Likewise.
43939 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43940 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43941 * sysdeps/x86_64/configure: Regenerated.
43942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43943 AVX-512 zmm register support.
43944 (_dl_x86_64_save_sse): Likewise.
43945 (_dl_x86_64_restore_sse): Likewise.
43946 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43947 size vector registers.
43948 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43949 (ZMM_SIZE): Likewise.
43950 * sysdeps/x86_64/tst-audit10.c: New file.
43951 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43952 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43953
43954 2014-03-13 Roland McGrath <roland@hack.frob.com>
43955
43956 * configure.ac (HAVE_EHDR_START): New check.
43957 * configure: Regenerated.
43958 * config.h.in (HAVE_EHDR_START): New #undef.
43959 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43960 assuming the lowest-addressed segment maps the start of the file.
43961
43962 2014-03-13 Joseph Myers <joseph@codesourcery.com>
43963
43964 * INSTALL: Regenerated.
43965
43966 2014-03-13 Will Newton <will.newton@linaro.org>
43967
43968 * manual/setjmp.texi (System V contexts): Improve
43969 clarity and grammar of documentation.
43970
43971 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
43972
43973 [BZ #16381]
43974 * elf/Makefile (tests): Add tst-pie2.
43975 (tests-pie): Add tst-pie2.
43976 * elf/tst-pie2.c: New file.
43977 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43978 for ET_EXEC.
43979 * elf/rtld.c (map_doit): Load executable as lt_executable.
43980 (dl_main): Likewise.
43981
43982 2014-03-12 Joseph Myers <joseph@codesourcery.com>
43983
43984 [BZ #16642]
43985 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43986 (__ASSUME_PSELECT): Undefine.
43987
43988 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43989
43990 [BZ #16689]
43991 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43992 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43993 static build.
43994 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43995 selector for static builds.
43996
43997 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43998
43999 [BZ #16695]
44000 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44001 key in the buffer.
44002
44003 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44004
44005 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44006 IFUNC selector for static builds.
44007
44008 2014-03-11 Joseph Myers <joseph@codesourcery.com>
44009
44010 * sysdeps/mips/math_private.h [__mips_hard_float]
44011 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44012 libc_feresetround_mips_ctx.
44013 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44014 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44015 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44016
44017 [BZ #16677]
44018 * math/s_nextafter.c (__nextafter): Do not return value from
44019 overflowing computation.
44020 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44021 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44022 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44023 Likewise.
44024 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44025 Likewise.
44026 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44027 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44028
44029 2014-03-11 Roland McGrath <roland@hack.frob.com>
44030
44031 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44032 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44033 Move sfi_sp use from the load-multiple (that no longer sets sp) to
44034 the new mov targetting sp.
44035
44036 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44037
44038 [BZ #16683]
44039 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44040 Define it for static builds as well.
44041 (NO_BZERO_IMPL): Likewise.
44042
44043 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44044
44045 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44046 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44047 multiarch strspn for PPC64.
44048 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44049 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44051 (__libc_ifunc_impl_list): Likewise.
44052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44053 multiarch optimizations
44054 * string/strspn.c (strspn): Using macro to redefine symbol name.
44055
44056 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44057 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44058
44059 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44060 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44061 multiarch strncat for PPC64.
44062 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44063 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44065 (__libc_ifunc_impl_list): Likewise.
44066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44067 multiarch optimizations
44068
44069 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44070
44071 [BZ #16639]
44072 * nscd/nscd.service: Make service type forking.
44073
44074 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44075
44076 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44077 sign in non default rounding modes.
44078 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44079
44080 2014-03-08 Joseph Myers <joseph@codesourcery.com>
44081
44082 * math/libm-test.inc (ALL_RM_TEST): New macro.
44083 (ceil_test): Use ALL_RM_TEST.
44084 (cimag_test): Likewise.
44085 (conj_test): Likewise.
44086 (copysign_test): Likewise.
44087 (cproj_test): Likewise.
44088 (creal_test): Likewise.
44089 (fabs_test): Likewise.
44090 (floor_test): Likewise.
44091 (fmax_test): Likewise.
44092 (fmin_test): Likewise.
44093 (fmod_test): Likewise.
44094 (fpclassify_test): Likewise.
44095 (frexp_test): Likewise.
44096 (ilogb_test): Likewise.
44097 (isfinite_test): Likewise.
44098 (finite_test): Likewise.
44099 (isgreater_test): Likewise.
44100 (isgreaterequal_test): Likewise.
44101 (isinf_test): Likewise.
44102 (isless_test): Likewise.
44103 (islessequal_test): Likewise.
44104 (islessgreater_test): Likewise.
44105 (isnan_test): Likewise.
44106 (isnormal_test): Likewise.
44107 (issignaling_test): Likewise.
44108 (isunordered_test): Likewise.
44109 (logb_test): Likewise.
44110 (logb_downward_test_data): Remove.
44111 (logb_test_downward): Likewise.
44112 (lround_test): Use ALL_RM_TEST.
44113 (llround_test): Likewise.
44114 (modf_test): Likewise.
44115 (nexttoward_test): Likewise.
44116 (remainder_test): Likewise.
44117 (drem_test): Likewise.
44118 (remainder_tonearest_test_data): Likewise.
44119 (remainder_test_tonearest): Likewise.
44120 (drem_test_tonearest): Likewise.
44121 (remainder_towardzero_test_data): Likewise.
44122 (remainder_test_towardzero): Likewise.
44123 (drem_test_towardzero): Likewise.
44124 (remainder_downward_test_data): Likewise.
44125 (remainder_test_downward): Likewise.
44126 (drem_test_downward): Likewise.
44127 (remainder_upward_test_data): Likewise.
44128 (remainder_test_upward): Likewise.
44129 (drem_test_upward): Likewise.
44130 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
44131 (round_test): Use ALL_RM_TEST.
44132 (signbit_test): Likewise.
44133 (trunc_test): Likewise.
44134 (significand_test): Likewise.
44135 (main): Don't call removed functions.
44136
44137 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44138
44139 [BZ #16674]
44140 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44141 || __USE_XOPEN2K8].
44142 (ILL_ILLOPN): Likewise.
44143 (ILL_ILLADR): Likewise.
44144 (ILL_ILLTRP): Likewise.
44145 (ILL_PRVOPC): Likewise.
44146 (ILL_PRVREG): Likewise.
44147 (ILL_COPROC): Likewise.
44148 (ILL_BADSTK): Likewise.
44149 (FPE_INTDIV): Likewise.
44150 (FPE_INTOVF): Likewise.
44151 (FPE_FLTDIV): Likewise.
44152 (FPE_FLTOVF): Likewise.
44153 (FPE_FLTUND): Likewise.
44154 (FPE_FLTRES): Likewise.
44155 (FPE_FLTINV): Likewise.
44156 (FPE_FLTSUB): Likewise.
44157 (SEGV_MAPERR): Likewise.
44158 (SEGV_ACCERR): Likewise.
44159 (BUS_ADRALN): Likewise.
44160 (BUS_ADRERR): Likewise.
44161 (BUS_OBJERR): Likewise.
44162 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44163 (TRAP_TRACE): Likewise.
44164 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44165 __USE_XOPEN2K8].
44166 (CLD_KILLED): Likewise.
44167 (CLD_DUMPED): Likewise.
44168 (CLD_TRAPPED): Likewise.
44169 (CLD_STOPPED): Likewise.
44170 (CLD_CONTINUED): Likewise.
44171 (POLL_IN): Likewise.
44172 (POLL_OUT): Likewise.
44173 (POLL_MSG): Likewise.
44174 (POLL_ERR): Likewise.
44175 (POLL_PRI): Likewise.
44176 (POLL_HUP): Likewise.
44177 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44178 Likewise.
44179 (ILL_ILLOPN): Likewise.
44180 (ILL_ILLADR): Likewise.
44181 (ILL_ILLTRP): Likewise.
44182 (ILL_PRVOPC): Likewise.
44183 (ILL_PRVREG): Likewise.
44184 (ILL_COPROC): Likewise.
44185 (ILL_BADSTK): Likewise.
44186 (FPE_INTDIV): Likewise.
44187 (FPE_INTOVF): Likewise.
44188 (FPE_FLTDIV): Likewise.
44189 (FPE_FLTOVF): Likewise.
44190 (FPE_FLTUND): Likewise.
44191 (FPE_FLTRES): Likewise.
44192 (FPE_FLTINV): Likewise.
44193 (FPE_FLTSUB): Likewise.
44194 (SEGV_MAPERR): Likewise.
44195 (SEGV_ACCERR): Likewise.
44196 (BUS_ADRALN): Likewise.
44197 (BUS_ADRERR): Likewise.
44198 (BUS_OBJERR): Likewise.
44199 (BUS_MCEERR_AR): Likewise.
44200 (BUS_MCEERR_AO): Likewise.
44201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44202 (TRAP_TRACE): Likewise.
44203 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44204 __USE_XOPEN2K8].
44205 (CLD_KILLED): Likewise.
44206 (CLD_DUMPED): Likewise.
44207 (CLD_TRAPPED): Likewise.
44208 (CLD_STOPPED): Likewise.
44209 (CLD_CONTINUED): Likewise.
44210 (POLL_IN): Likewise.
44211 (POLL_OUT): Likewise.
44212 (POLL_MSG): Likewise.
44213 (POLL_ERR): Likewise.
44214 (POLL_PRI): Likewise.
44215 (POLL_HUP): Likewise.
44216 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44217 (ILL_ILLOPN): Likewise.
44218 (ILL_ILLADR): Likewise.
44219 (ILL_ILLTRP): Likewise.
44220 (ILL_PRVOPC): Likewise.
44221 (ILL_PRVREG): Likewise.
44222 (ILL_COPROC): Likewise.
44223 (ILL_BADSTK): Likewise.
44224 (FPE_INTDIV): Likewise.
44225 (FPE_INTOVF): Likewise.
44226 (FPE_FLTDIV): Likewise.
44227 (FPE_FLTOVF): Likewise.
44228 (FPE_FLTUND): Likewise.
44229 (FPE_FLTRES): Likewise.
44230 (FPE_FLTINV): Likewise.
44231 (FPE_FLTSUB): Likewise.
44232 (SEGV_MAPERR): Likewise.
44233 (SEGV_ACCERR): Likewise.
44234 (BUS_ADRALN): Likewise.
44235 (BUS_ADRERR): Likewise.
44236 (BUS_OBJERR): Likewise.
44237 (BUS_MCEERR_AR): Likewise.
44238 (BUS_MCEERR_AO): Likewise.
44239 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44240 (TRAP_TRACE): Likewise.
44241 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44242 __USE_XOPEN2K8].
44243 (CLD_KILLED): Likewise.
44244 (CLD_DUMPED): Likewise.
44245 (CLD_TRAPPED): Likewise.
44246 (CLD_STOPPED): Likewise.
44247 (CLD_CONTINUED): Likewise.
44248 (POLL_IN): Likewise.
44249 (POLL_OUT): Likewise.
44250 (POLL_MSG): Likewise.
44251 (POLL_ERR): Likewise.
44252 (POLL_PRI): Likewise.
44253 (POLL_HUP): Likewise.
44254 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44255 Likewise.
44256 (ILL_ILLOPN): Likewise.
44257 (ILL_ILLADR): Likewise.
44258 (ILL_ILLTRP): Likewise.
44259 (ILL_PRVOPC): Likewise.
44260 (ILL_PRVREG): Likewise.
44261 (ILL_COPROC): Likewise.
44262 (ILL_BADSTK): Likewise.
44263 (ILL_BADIADDR): Likewise.
44264 (ILL_BREAK): Likewise.
44265 (FPE_INTDIV): Likewise.
44266 (FPE_INTOVF): Likewise.
44267 (FPE_FLTDIV): Likewise.
44268 (FPE_FLTOVF): Likewise.
44269 (FPE_FLTUND): Likewise.
44270 (FPE_FLTRES): Likewise.
44271 (FPE_FLTINV): Likewise.
44272 (FPE_FLTSUB): Likewise.
44273 (FPE_DECOVF): Likewise.
44274 (FPE_DECDIV): Likewise.
44275 (FPE_DECERR): Likewise.
44276 (FPE_INVASC): Likewise.
44277 (FPE_INVDEC): Likewise.
44278 (SEGV_MAPERR): Likewise.
44279 (SEGV_ACCERR): Likewise.
44280 (SEGV_PSTKOVF): Likewise.
44281 (BUS_ADRALN): Likewise.
44282 (BUS_ADRERR): Likewise.
44283 (BUS_OBJERR): Likewise.
44284 (BUS_MCEERR_AR): Likewise.
44285 (BUS_MCEERR_AO): Likewise.
44286 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44287 (TRAP_TRACE): Likewise.
44288 (TRAP_BRANCH): Likewise.
44289 (TRAP_HWBKPT): Likewise.
44290 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44291 __USE_XOPEN2K8].
44292 (CLD_KILLED): Likewise.
44293 (CLD_DUMPED): Likewise.
44294 (CLD_TRAPPED): Likewise.
44295 (CLD_STOPPED): Likewise.
44296 (CLD_CONTINUED): Likewise.
44297 (POLL_IN): Likewise.
44298 (POLL_OUT): Likewise.
44299 (POLL_MSG): Likewise.
44300 (POLL_ERR): Likewise.
44301 (POLL_PRI): Likewise.
44302 (POLL_HUP): Likewise.
44303 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44304 (ILL_ILLOPN): Likewise.
44305 (ILL_ILLADR): Likewise.
44306 (ILL_ILLTRP): Likewise.
44307 (ILL_PRVOPC): Likewise.
44308 (ILL_PRVREG): Likewise.
44309 (ILL_COPROC): Likewise.
44310 (ILL_BADSTK): Likewise.
44311 (FPE_INTDIV): Likewise.
44312 (FPE_INTOVF): Likewise.
44313 (FPE_FLTDIV): Likewise.
44314 (FPE_FLTOVF): Likewise.
44315 (FPE_FLTUND): Likewise.
44316 (FPE_FLTRES): Likewise.
44317 (FPE_FLTINV): Likewise.
44318 (FPE_FLTSUB): Likewise.
44319 (SEGV_MAPERR): Likewise.
44320 (SEGV_ACCERR): Likewise.
44321 (BUS_ADRALN): Likewise.
44322 (BUS_ADRERR): Likewise.
44323 (BUS_OBJERR): Likewise.
44324 (BUS_MCEERR_AR): Likewise.
44325 (BUS_MCEERR_AO): Likewise.
44326 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44327 (TRAP_TRACE): Likewise.
44328 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44329 __USE_XOPEN2K8].
44330 (CLD_KILLED): Likewise.
44331 (CLD_DUMPED): Likewise.
44332 (CLD_TRAPPED): Likewise.
44333 (CLD_STOPPED): Likewise.
44334 (CLD_CONTINUED): Likewise.
44335 (POLL_IN): Likewise.
44336 (POLL_OUT): Likewise.
44337 (POLL_MSG): Likewise.
44338 (POLL_ERR): Likewise.
44339 (POLL_PRI): Likewise.
44340 (POLL_HUP): Likewise.
44341 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44342 (ILL_ILLOPN): Likewise.
44343 (ILL_ILLADR): Likewise.
44344 (ILL_ILLTRP): Likewise.
44345 (ILL_PRVOPC): Likewise.
44346 (ILL_PRVREG): Likewise.
44347 (ILL_COPROC): Likewise.
44348 (ILL_BADSTK): Likewise.
44349 (FPE_INTDIV): Likewise.
44350 (FPE_INTOVF): Likewise.
44351 (FPE_FLTDIV): Likewise.
44352 (FPE_FLTOVF): Likewise.
44353 (FPE_FLTUND): Likewise.
44354 (FPE_FLTRES): Likewise.
44355 (FPE_FLTINV): Likewise.
44356 (FPE_FLTSUB): Likewise.
44357 (SEGV_MAPERR): Likewise.
44358 (SEGV_ACCERR): Likewise.
44359 (BUS_ADRALN): Likewise.
44360 (BUS_ADRERR): Likewise.
44361 (BUS_OBJERR): Likewise.
44362 (BUS_MCEERR_AR): Likewise.
44363 (BUS_MCEERR_AO): Likewise.
44364 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44365 (TRAP_TRACE): Likewise.
44366 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44367 __USE_XOPEN2K8].
44368 (CLD_KILLED): Likewise.
44369 (CLD_DUMPED): Likewise.
44370 (CLD_TRAPPED): Likewise.
44371 (CLD_STOPPED): Likewise.
44372 (CLD_CONTINUED): Likewise.
44373 (POLL_IN): Likewise.
44374 (POLL_OUT): Likewise.
44375 (POLL_MSG): Likewise.
44376 (POLL_ERR): Likewise.
44377 (POLL_PRI): Likewise.
44378 (POLL_HUP): Likewise.
44379 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44380 (ILL_ILLOPN): Likewise.
44381 (ILL_ILLADR): Likewise.
44382 (ILL_ILLTRP): Likewise.
44383 (ILL_PRVOPC): Likewise.
44384 (ILL_PRVREG): Likewise.
44385 (ILL_COPROC): Likewise.
44386 (ILL_BADSTK): Likewise.
44387 (FPE_INTDIV): Likewise.
44388 (FPE_INTOVF): Likewise.
44389 (FPE_FLTDIV): Likewise.
44390 (FPE_FLTOVF): Likewise.
44391 (FPE_FLTUND): Likewise.
44392 (FPE_FLTRES): Likewise.
44393 (FPE_FLTINV): Likewise.
44394 (FPE_FLTSUB): Likewise.
44395 (SEGV_MAPERR): Likewise.
44396 (SEGV_ACCERR): Likewise.
44397 (BUS_ADRALN): Likewise.
44398 (BUS_ADRERR): Likewise.
44399 (BUS_OBJERR): Likewise.
44400 (BUS_MCEERR_AR): Likewise.
44401 (BUS_MCEERR_AO): Likewise.
44402 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44403 (TRAP_TRACE): Likewise.
44404 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44405 __USE_XOPEN2K8].
44406 (CLD_KILLED): Likewise.
44407 (CLD_DUMPED): Likewise.
44408 (CLD_TRAPPED): Likewise.
44409 (CLD_STOPPED): Likewise.
44410 (CLD_CONTINUED): Likewise.
44411 (POLL_IN): Likewise.
44412 (POLL_OUT): Likewise.
44413 (POLL_MSG): Likewise.
44414 (POLL_ERR): Likewise.
44415 (POLL_PRI): Likewise.
44416 (POLL_HUP): Likewise.
44417 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44418 (ILL_ILLOPN): Likewise.
44419 (ILL_ILLADR): Likewise.
44420 (ILL_ILLTRP): Likewise.
44421 (ILL_PRVOPC): Likewise.
44422 (ILL_PRVREG): Likewise.
44423 (ILL_COPROC): Likewise.
44424 (ILL_BADSTK): Likewise.
44425 (ILL_DBLFLT): Likewise.
44426 (ILL_HARDWALL): Likewise.
44427 (FPE_INTDIV): Likewise.
44428 (FPE_INTOVF): Likewise.
44429 (FPE_FLTDIV): Likewise.
44430 (FPE_FLTOVF): Likewise.
44431 (FPE_FLTUND): Likewise.
44432 (FPE_FLTRES): Likewise.
44433 (FPE_FLTINV): Likewise.
44434 (FPE_FLTSUB): Likewise.
44435 (SEGV_MAPERR): Likewise.
44436 (SEGV_ACCERR): Likewise.
44437 (BUS_ADRALN): Likewise.
44438 (BUS_ADRERR): Likewise.
44439 (BUS_OBJERR): Likewise.
44440 (BUS_MCEERR_AR): Likewise.
44441 (BUS_MCEERR_AO): Likewise.
44442 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44443 (TRAP_TRACE): Likewise.
44444 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44445 __USE_XOPEN2K8].
44446 (CLD_KILLED): Likewise.
44447 (CLD_DUMPED): Likewise.
44448 (CLD_TRAPPED): Likewise.
44449 (CLD_STOPPED): Likewise.
44450 (CLD_CONTINUED): Likewise.
44451 (POLL_IN): Likewise.
44452 (POLL_OUT): Likewise.
44453 (POLL_MSG): Likewise.
44454 (POLL_ERR): Likewise.
44455 (POLL_PRI): Likewise.
44456 (POLL_HUP): Likewise.
44457 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44458 (ILL_ILLOPN): Likewise.
44459 (ILL_ILLADR): Likewise.
44460 (ILL_ILLTRP): Likewise.
44461 (ILL_PRVOPC): Likewise.
44462 (ILL_PRVREG): Likewise.
44463 (ILL_COPROC): Likewise.
44464 (ILL_BADSTK): Likewise.
44465 (FPE_INTDIV): Likewise.
44466 (FPE_INTOVF): Likewise.
44467 (FPE_FLTDIV): Likewise.
44468 (FPE_FLTOVF): Likewise.
44469 (FPE_FLTUND): Likewise.
44470 (FPE_FLTRES): Likewise.
44471 (FPE_FLTINV): Likewise.
44472 (FPE_FLTSUB): Likewise.
44473 (SEGV_MAPERR): Likewise.
44474 (SEGV_ACCERR): Likewise.
44475 (BUS_ADRALN): Likewise.
44476 (BUS_ADRERR): Likewise.
44477 (BUS_OBJERR): Likewise.
44478 (BUS_MCEERR_AR): Likewise.
44479 (BUS_MCEERR_AO): Likewise.
44480 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44481 (TRAP_TRACE): Likewise.
44482 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44483 __USE_XOPEN2K8].
44484 (CLD_KILLED): Likewise.
44485 (CLD_DUMPED): Likewise.
44486 (CLD_TRAPPED): Likewise.
44487 (CLD_STOPPED): Likewise.
44488 (CLD_CONTINUED): Likewise.
44489 (POLL_IN): Likewise.
44490 (POLL_OUT): Likewise.
44491 (POLL_MSG): Likewise.
44492 (POLL_ERR): Likewise.
44493 (POLL_PRI): Likewise.
44494 (POLL_HUP): Likewise.
44495 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44496 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44497
44498 [BZ #16670]
44499 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44500 before #include of <time.h>.
44501 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44502 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44503 (test-xfail-UNIX98/sched.h/conform): Likewise.
44504
44505 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44506
44507 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44508 error absence of trapping exception support.
44509 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44510
44511 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44512
44513 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44514 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44515 * timezone/Makefile (testdata): Move definition above include of
44516 Rules.
44517 (test-zones): New variable.
44518 (tests-special): Add zone files.
44519 (build-testdata): Use $(evaluate-test).
44520
44521 * elf/Makefile (tests-special): Rename tests to end with .out.
44522 ($(objpfx)noload-mem): Likewise.
44523 ($(objpfx)tst-leaks1-mem): Likewise.
44524 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44525 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44526 $(objpfx)test-iconvconfig.out.
44527 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44528 set -e inside subshell and redirect output to file.
44529 * iconvdata/Makefile (generated): Rename tests to end with .out.
44530 Correct type.
44531 (tests-special): Rename tests to end with .out.
44532 ($(objpfx)mtrace-tst-loading): Likewise.
44533 * intl/Makefile (generated): Likewise.
44534 (tests-special): Likewise.
44535 ($(objpfx)mtrace-tst-gettext): Likewise.
44536 * misc/Makefile (generated): Likewise.
44537 (tests-special): Likewise.
44538 ($(objpfx)tst-error1-mem): Likewise.
44539 * nptl/Makefile (tests-special): Likewise.
44540 ($(objpfx)tst-stack3-mem): Likewise.
44541 (generated): Likewise.
44542 * posix/Makefile (generated): Likewise.
44543 (tests-special): Likewise.
44544 (xtests-special): Likewise.
44545 ($(objpfx)tst-fnmatch-mem): Likewise.
44546 ($(objpfx)bug-regex2-mem): Likewise.
44547 ($(objpfx)bug-regex14-mem): Likewise.
44548 ($(objpfx)bug-regex21-mem): Likewise.
44549 ($(objpfx)bug-regex31-mem): Likewise.
44550 ($(objpfx)tst-vfork3-mem): Likewise.
44551 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44552 ($(objpfx)tst-pcre-mem): Likewise.
44553 ($(objpfx)tst-boost-mem): Likewise.
44554 ($(objpfx)bug-ga2-mem): Likewise.
44555 ($(objpfx)bug-glob2-mem): Likewise.
44556 * resolv/Makefile (generate): Likewise.
44557 (tests-special): Likewise.
44558 (xtests-special): Likewise.
44559 (generated): Likewise.
44560 ($(objpfx)mtrace-tst-leaks): Likewise.
44561 ($(objpfx)mtrace-tst-leaks2): Likewise.
44562
44563 * scripts/merge-test-results.sh: New file.
44564 * Makefile (tests-special-notdir): New variable.
44565 (tests): Run merge-test-results.sh.
44566 (xtests): Likewise.
44567 * Rules (tests-special-notdir): New variable.
44568 (xtests-special-notdir): Likewise.
44569 (tests): Run merge-test-results.sh
44570 (xtests): Likewise.
44571
44572 * Makeconfig (test-xfail-name): New variable.
44573 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44574 compute variable name for expected failures.
44575 * conform/Makefile (conformtest-headers-data): New variable.
44576 (conformtest-standards): Likewise.
44577 (conformtest-headers-ISO): Likewise.
44578 (conformtest-headers-ISO99): Likewise.
44579 (conformtest-headers-ISO11): Likewise.
44580 (conformtest-headers-POSIX): Likewise.
44581 (conformtest-headers-XPG3): Likewise.
44582 (conformtest-headers-XPG4): Likewise.
44583 (conformtest-headers-UNIX98): Likewise.
44584 (conformtest-headers-XOPEN2K): Likewise.
44585 (conformtest-headers-POSIX2008): Likewise.
44586 (conformtest-headers-XOPEN2K8): Likewise.
44587 (conformtest-header-list-base): Likewise.
44588 (conformtest-header-list-tests): Likewise.
44589 (conformtest-header-base): Likewise.
44590 (conformtest-header-tests): Likewise.
44591 (tests-special): Add $(conformtest-header-list-tests). If
44592 [$(fast-check) && !$(cross-compiling)], add
44593 $(conformtest-header-tests) instead of
44594 $(objpfx)run-conformtest.out.
44595 (generated): Add $(conformtest-header-list-base). If
44596 [$(fast-check) && !$(cross-compiling)], add
44597 $(conformtest-header-base). Remove previous setting.
44598 ($(conformtest-header-list-tests)): New target.
44599 (test-xfail-run-conformtest): Remove variable.
44600 ($(objpfx)run-conformtest.out): Remove target.
44601 (test-xfail-ISO11/complex.h/conform): New variable.
44602 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44603 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44604 (test-xfail-XPG3/varargs.h/conform): Likewise.
44605 (test-xfail-XPG4/varargs.h/conform): Likewise.
44606 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44607 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44608 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44609 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44610 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44611 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44612 (test-xfail-XPG3/ftw.h/conform): Likewise.
44613 (test-xfail-XPG3/grp.h/conform): Likewise.
44614 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44615 (test-xfail-XPG3/limits.h/conform): Likewise.
44616 (test-xfail-XPG3/pwd.h/conform): Likewise.
44617 (test-xfail-XPG3/search.h/conform): Likewise.
44618 (test-xfail-XPG3/signal.h/conform): Likewise.
44619 (test-xfail-XPG3/stdio.h/conform): Likewise.
44620 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44621 (test-xfail-XPG3/string.h/conform): Likewise.
44622 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44623 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44624 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44625 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44626 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44627 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44628 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44629 (test-xfail-XPG3/termios.h/conform): Likewise.
44630 (test-xfail-XPG3/time.h/conform): Likewise.
44631 (test-xfail-XPG3/unistd.h/conform): Likewise.
44632 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44633 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44634 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44635 (test-xfail-XPG4/netdb.h/conform): Likewise.
44636 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44637 (test-xfail-XPG4/signal.h/conform): Likewise.
44638 (test-xfail-XPG4/stdio.h/conform): Likewise.
44639 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44640 (test-xfail-XPG4/stropts.h/conform): Likewise.
44641 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44642 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44643 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44644 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44645 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44646 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44647 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44648 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44649 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44650 (test-xfail-XPG4/termios.h/conform): Likewise.
44651 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44652 (test-xfail-XPG4/unistd.h/conform): Likewise.
44653 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44654 (test-xfail-POSIX/sched.h/conform): Likewise.
44655 (test-xfail-POSIX/signal.h/conform): Likewise.
44656 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44657 (test-xfail-POSIX/tar.h/conform): Likewise.
44658 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44659 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44660 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44661 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44662 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44663 (test-xfail-UNIX98/sched.h/conform): Likewise.
44664 (test-xfail-UNIX98/signal.h/conform): Likewise.
44665 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44666 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44667 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44668 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44669 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44670 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44671 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44672 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44673 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44674 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44675 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44676 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44677 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44678 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44679 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44680 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44681 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44682 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44683 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44684 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44685 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44686 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44687 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44688 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44689 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44690 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44691 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44692 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44693 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44694 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44695 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44696 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44697 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44698 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44699 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44700 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44701 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44702 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44703 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44704 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44705 (test-xfail-POSIX2008/signal.h/conform): Likewise.
44706 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44707 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44708 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44709 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44710 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44711 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44712 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44713 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44714 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44715 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44716 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44717 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44718 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44719 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44720 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44721 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44722 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44723 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44724 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44725 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44726 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44727 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44728 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44729 (conformtest-cc-flags): Likewise.
44730 ($(conformtest-header-tests): New target.
44731 * conform/check-header-lists.sh: New file.
44732 * conform/run-conformtest.sh: Remove.
44733
44734 * conform/conformtest.pl: Allow ' and \ in values given for
44735 constants.
44736 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44737 inclusion.
44738 [POSIX] (sys/types.h): Likewise.
44739 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44740 inclusion.
44741 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44742 inclusion.
44743 * conform/data/signal.h-data (SIGIO): Remove expectation.
44744 [XPG3] (SIGBUS): Do not expect.
44745 [POSIX || XPG3] (SIGPOLL): Likewise.
44746 [POSIX || XPG3] (SIGPROF): Likewise.
44747 [POSIX || XPG3] (SIGSYS): Likewise.
44748 [XPG3] (SIGTRAP): Likewise.
44749 [POSIX || XPG3] (SIGURG): Likewise.
44750 [POSIX || XPG3] (SIGVTALRM): Likewise.
44751 [POSIX || XPG3] (SIGXCPU): Likewise.
44752 [POSIX || XPG3] (SIGXFSZ): Likewise.
44753 [POSIX] (SA_SIGINFO): Expect.
44754 [XPG3] (siginfo_t): Do not expect type or contents.
44755 [POSIX] (si_pid): Do not expect element.
44756 [POSIX] (si_uid): Likewise.
44757 [POSIX] (si_addr): Likewise.
44758 [POSIX] (si_status): Likewise.
44759 [POSIX] (si_band): Likewise.
44760 [XPG4] (si_value): Likewise.
44761 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44762 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44763 [POSIX || XPG3] (ILL_ILLADR): Likewise.
44764 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44765 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44766 [POSIX || XPG3] (ILL_PRVREG): Likewise.
44767 [POSIX || XPG3] (ILL_COPROC): Likewise.
44768 [POSIX || XPG3] (ILL_BADSTK): Likewise.
44769 [POSIX || XPG3] (FPE_INTDIV): Likewise.
44770 [POSIX || XPG3] (FPE_INTOVF): Likewise.
44771 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44772 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44773 [POSIX || XPG3] (FPE_FLTUND): Likewise.
44774 [POSIX || XPG3] (FPE_FLTRES): Likewise.
44775 [POSIX || XPG3] (FPE_FLTINV): Likewise.
44776 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44777 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44778 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44779 [POSIX || XPG3] (BUS_ADRALN): Likewise.
44780 [POSIX || XPG3] (BUS_ADRERR): Likewise.
44781 [POSIX || XPG3] (BUS_OBJERR): Likewise.
44782 [POSIX || XPG3] (CLD_EXITED): Likewise.
44783 [POSIX || XPG3] (CLD_KILLED): Likewise.
44784 [POSIX || XPG3] (CLD_DUMPED): Likewise.
44785 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44786 [POSIX || XPG3] (CLD_STOPPED): Likewise.
44787 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44788 [POSIX || XPG3] (POLL_IN): Likewise.
44789 [POSIX || XPG3] (POLL_OUT): Likewise.
44790 [POSIX || XPG3] (POLL_MSG): Likewise.
44791 [POSIX || XPG3] (POLL_ERR): Likewise.
44792 [POSIX || XPG3] (POLL_PRI): Likewise.
44793 [POSIX || XPG3] (POLL_HUP): Likewise.
44794 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44795 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44796 (SIG*): Do not allow.
44797 [XPG3] (si_*): Likewise.
44798 [XPG3] (SI_*): Likewise.
44799 [XPG3 || XPG4] (sigev_*): Likewise.
44800 [XPG3 || XPG4] (SIGEV_*): Likewise.
44801 [XPG3 || XPG4] (sival_*): Likewise.
44802 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44803 [POSIX || XPG3] (BUS_*): Likewise.
44804 [POSIX || XPG3] (CLD_*): Likewise.
44805 [POSIX || XPG3] (FPE_*): Likewise.
44806 [POSIX || XPG3] (ILL_*): Likewise.
44807 [POSIX || XPG3] (POLL_*): Likewise.
44808 [POSIX || XPG3] (SEGV_*): Likewise.
44809 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44810 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44811 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44812 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44813 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44814 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44815 Specify type and value.
44816 (TVERSLEN): Likewise.
44817 (REGTYPE): Likewise.
44818 (AREGTYPE): Likewise.
44819 (LNKTYPE): Likewise.
44820 (SYMTYPE): Likewise.
44821 (CHRTYPE): Likewise.
44822 (BLKTYPE): Likewise.
44823 (DIRTYPE): Likewise.
44824 (FIFOTYPE): Likewise.
44825 (CONTTYPE): Likewise.
44826 (TSUID): Likewise.
44827 (TSGID): Likewise.
44828 (TSVTX): Likewise.
44829 (TUREAD): Likewise.
44830 (TUWRITE): Likewise.
44831 (TUEXEC): Likewise.
44832 (TGREAD): Likewise.
44833 (TGWRITE): Likewise.
44834 (TGEXEC): Likewise.
44835 (TOREAD): Likewise.
44836 (TOWRITE): Likewise.
44837 (TOEXEC): Likewise.
44838 [POSIX] (TSVTX): Expect constant.
44839
44840 2014-03-06 Joseph Myers <joseph@codesourcery.com>
44841
44842 * Makefile (tests): Change dependencies to ....
44843 (tests-special): ... additions to this variable.
44844 (tests): Depend on $(tests-special).
44845 * Makerules (check-abi-list): New variable.
44846 (check-abi): Depend on $(check-abi-list).
44847 [$(subdir) = elf] (tests-special): Add
44848 $(objpfx)check-abi-libc.out.
44849 [$(build-shared) = yes && subdir] (tests-special): Add
44850 $(check-abi-list).
44851 [$(build-shared) = yes && subdir] (tests): Do not depend on
44852 check-abi.
44853 * Rules (tests): Depend on $(tests-special).
44854 (xtests): Depend on $(xtests-special).
44855 * catgets/Makefile (tests): Change dependencies to ....
44856 (tests-special): ... additions to this variable.
44857 * conform/Makefile (tests): Change dependencies to ....
44858 (tests-special): ... additions to this variable.
44859 * elf/Makefile (tests): Change dependencies to ....
44860 (tests-special): ... additions to this variable.
44861 * grp/Makefile (tests): Change dependencies to ....
44862 (tests-special): ... additions to this variable.
44863 * iconv/Makefile (xtests): Change dependencies to ....
44864 (xtests-special): ... additions to this variable.
44865 * iconvdata/Makefile (tests): Change dependencies to ....
44866 (tests-special): ... additions to this variable.
44867 * intl/Makefile (tests): Change dependencies to ....
44868 (tests-special): ... additions to this variable. Also add
44869 $(objpfx)tst-gettext.out.
44870 * io/Makefile (tests): Change dependencies to ....
44871 (tests-special): ... additions to this variable.
44872 * libio/Makefile (tests): Change dependencies to ....
44873 (tests-special): ... additions to this variable.
44874 * malloc/Makefile (tests): Change dependencies to ....
44875 (tests-special): ... additions to this variable.
44876 * misc/Makefile (tests): Change dependencies to ....
44877 (tests-special): ... additions to this variable.
44878 * nptl/Makefile (tests): Change dependencies to ....
44879 (tests-special): ... additions to this variable.
44880 * nptl_db/Makefile (tests): Change dependencies to ....
44881 (tests-special): ... additions to this variable.
44882 * posix/Makefile (tests): Change dependencies to ....
44883 (tests-special): ... additions to this variable.
44884 (xtests): Change dependencies to ....
44885 (xtests-special): ... additions to this variable.
44886 * resolv/Makefile (tests): Change dependencies to ....
44887 (tests-special): ... additions to this variable.
44888 (xtests): Change dependencies to ....
44889 (xtests-special): ... additions to this variable.
44890 * stdio-common/Makefile (tests): Change dependencies to ....
44891 (tests-special): ... additions to this variable.
44892 (do-tst-unbputc): Remove target.
44893 (do-tst-printf): Likewise.
44894 * stdlib/Makefile (tests): Change dependencies to ....
44895 (tests-special): ... additions to this variable.
44896 * string/Makefile (tests): Change dependencies to ....
44897 (tests-special): ... additions to this variable.
44898 * sysdeps/x86/Makefile (tests): Change dependencies to ....
44899 (tests-special): ... additions to this variable.
44900
44901 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44902 whole file.
44903 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44904 whole file.
44905 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44906 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44907
44908 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44909 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44910 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44911 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44912 * conform/data/libgen.h-data [XPG3]: Likewise.
44913 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44914 * conform/data/ndbm.h-data [XPG3]: Likewise.
44915 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44916 * conform/data/netdb.h-data [XPG3]: Likewise.
44917 * conform/data/netinet/in.h-data [XPG3]: Likewise.
44918 * conform/data/poll.h-data [XPG3]: Likewise.
44919 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44920 * conform/data/strings.h-data [XPG3]: Likewise.
44921 * conform/data/stropts.h-data [XPG3]: Likewise.
44922 * conform/data/sys/mman.h-data [XPG3]: Likewise.
44923 * conform/data/sys/resource.h-data [XPG3]: Likewise.
44924 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44925 Likewise.
44926 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44927 * conform/data/sys/time.h-data [XPG3]: Likewise.
44928 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44929 * conform/data/sys/uio.h-data [XPG3]: Likewise.
44930 * conform/data/sys/un.h-data [XPG3]: Likewise.
44931 * conform/data/syslog.h-data [XPG3]: Likewise.
44932 * conform/data/ucontext.h-data [XPG3]: Likewise.
44933 * conform/data/utmpx.h-data [XPG3]: Likewise.
44934 * conform/data/varargs.h-data [UNIX98]: Enable file.
44935
44936 * manual/Makefile (INSTALL_INFO): Remove variable setting.
44937
44938 * math/libm-test.inc (struct test_f_f_data): Move expected results
44939 into structure for each rounding mode.
44940 (struct test_ff_f_data): Likewise.
44941 (struct test_ff_f_data_nexttoward): Likewise.
44942 (struct test_fi_f_data): Likewise.
44943 (struct test_fl_f_data): Likewise.
44944 (struct test_if_f_data): Likewise.
44945 (struct test_fff_f_data): Likewise.
44946 (struct test_c_f_data): Likewise.
44947 (struct test_f_f1_data): Likewise.
44948 (struct test_fF_f1_data): Likewise.
44949 (struct test_ffI_f1_data): Likewise.
44950 (struct test_c_c_data): Likewise.
44951 (struct test_cc_c_data): Likewise.
44952 (struct test_f_i_data): Likewise.
44953 (struct test_ff_i_data): Likewise.
44954 (struct test_f_l_data): Likewise.
44955 (struct test_f_L_data): Likewise.
44956 (struct test_fFF_11_data): Likewise.
44957 (RM_): New macro.
44958 (RM_FE_DOWNWARD): Likewise.
44959 (RM_FE_TONEAREST): Likewise.
44960 (RM_FE_TOWARDZERO): Likewise.
44961 (RM_FE_UPWARD): Likewise.
44962 (RUN_TEST_LOOP_f_f): Update references to expected results.
44963 (RUN_TEST_LOOP_2_f): Likewise.
44964 (RUN_TEST_LOOP_fff_f): Likewise.
44965 (RUN_TEST_LOOP_c_f): Likewise.
44966 (RUN_TEST_LOOP_f_f1): Likewise.
44967 (RUN_TEST_LOOP_fF_f1): Likewise.
44968 (RUN_TEST_LOOP_fI_f1): Likewise.
44969 (RUN_TEST_LOOP_ffI_f1): Likewise.
44970 (RUN_TEST_LOOP_c_c): Likewise.
44971 (RUN_TEST_LOOP_cc_c): Likewise.
44972 (RUN_TEST_LOOP_f_i): Likewise.
44973 (RUN_TEST_LOOP_f_i_tg): Likewise.
44974 (RUN_TEST_LOOP_ff_i_tg): Likewise.
44975 (RUN_TEST_LOOP_f_b): Likewise.
44976 (RUN_TEST_LOOP_f_b_tg): Likewise.
44977 (RUN_TEST_LOOP_f_l): Likewise.
44978 (RUN_TEST_LOOP_f_L): Likewise.
44979 (RUN_TEST_LOOP_fFF_11): Likewise.
44980 * math/gen-libm-test.pl (parse_args): Output four copies of
44981 expected results for each test.
44982
44983 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44984 (__ASSUME_UTIMES): Remove.
44985 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44986 (__ASSUME_UTIMES): Likewise.
44987
44988 * math/gen-auto-libm-tests.c: Update comment on output format.
44989 (output_for_one_input_case): Generate before-rounding and
44990 after-rounding information as conditions on output flags not
44991 floating-point format.
44992 * math/auto-libm-test-out: Regenerated.
44993 * math/gen-libm-test.pl (cond_value): New function.
44994 (or_cond_value): Use cond_value.
44995 (generate_testfile): Handle conditional exceptions.
44996
44997 2014-03-05 Joseph Myers <joseph@codesourcery.com>
44998
44999 * math/libm-test.inc (max_valid_error): New variable.
45000 (init_max_error): Take new argument specifying whether function
45001 results are exactly determined. Set max_valid_error and bound
45002 other variables for errors based on this argument.
45003 (set_max_error): Do not record results above max_valid_error.
45004 (check_float_internal): Only accept errors of up to 0.5ulps if
45005 also at most max_valid_error.
45006 (START): Take new argument EXACT and pass it to init_max_error.
45007 (acos_test): Update call to START.
45008 (acos_test_tonearest): Likewise.
45009 (acos_test_towardzero): Likewise.
45010 (acos_test_downward): Likewise.
45011 (acos_test_upward): Likewise.
45012 (acosh_test): Likewise.
45013 (asin_test): Likewise.
45014 (asin_test_tonearest): Likewise.
45015 (asin_test_towardzero): Likewise.
45016 (asin_test_downward): Likewise.
45017 (asin_test_upward): Likewise.
45018 (asinh_test): Likewise.
45019 (atan_test): Likewise.
45020 (atanh_test): Likewise.
45021 (atan2_test): Likewise.
45022 (cabs_test): Likewise.
45023 (cacos_test): Likewise.
45024 (cacosh_test): Likewise.
45025 (carg_test): Likewise.
45026 (casin_test): Likewise.
45027 (casinh_test): Likewise.
45028 (catan_test): Likewise.
45029 (catanh_test): Likewise.
45030 (cbrt_test): Likewise.
45031 (ccos_test): Likewise.
45032 (ccosh_test): Likewise.
45033 (ceil_test): Likewise.
45034 (cexp_test): Likewise.
45035 (cimag_test): Likewise.
45036 (clog_test): Likewise.
45037 (clog10_test): Likewise.
45038 (conj_test): Likewise.
45039 (copysign_test): Likewise.
45040 (cos_test): Likewise.
45041 (cos_test_tonearest): Likewise.
45042 (cos_test_towardzero): Likewise.
45043 (cos_test_downward): Likewise.
45044 (cos_test_upward): Likewise.
45045 (cosh_test): Likewise.
45046 (cosh_test_tonearest): Likewise.
45047 (cosh_test_towardzero): Likewise.
45048 (cosh_test_downward): Likewise.
45049 (cosh_test_upward): Likewise.
45050 (cpow_test): Likewise.
45051 (cproj_test): Likewise.
45052 (creal_test): Likewise.
45053 (csin_test): Likewise.
45054 (csinh_test): Likewise.
45055 (csqrt_test): Likewise.
45056 (ctan_test): Likewise.
45057 (ctan_test_tonearest): Likewise.
45058 (ctan_test_towardzero): Likewise.
45059 (ctan_test_downward): Likewise.
45060 (ctan_test_upward): Likewise.
45061 (ctanh_test): Likewise.
45062 (ctanh_test_tonearest): Likewise.
45063 (ctanh_test_towardzero): Likewise.
45064 (ctanh_test_downward): Likewise.
45065 (ctanh_test_upward): Likewise.
45066 (erf_test): Likewise.
45067 (erfc_test): Likewise.
45068 (exp_test): Likewise.
45069 (exp_test_tonearest): Likewise.
45070 (exp_test_towardzero): Likewise.
45071 (exp_test_downward): Likewise.
45072 (exp_test_upward): Likewise.
45073 (exp10_test): Likewise.
45074 (exp10_test_tonearest): Likewise.
45075 (exp10_test_towardzero): Likewise.
45076 (exp10_test_downward): Likewise.
45077 (exp10_test_upward): Likewise.
45078 (pow10_test): Likewise.
45079 (exp2_test): Likewise.
45080 (expm1_test): Likewise.
45081 (expm1_test_tonearest): Likewise.
45082 (expm1_test_towardzero): Likewise.
45083 (expm1_test_downward): Likewise.
45084 (expm1_test_upward): Likewise.
45085 (fabs_test): Likewise.
45086 (fdim_test): Likewise.
45087 (floor_test): Likewise.
45088 (fma_test): Likewise.
45089 (fma_test_towardzero): Likewise.
45090 (fma_test_downward): Likewise.
45091 (fma_test_upward): Likewise.
45092 (fmax_test): Likewise.
45093 (fmin_test): Likewise.
45094 (fmod_test): Likewise.
45095 (fpclassify_test): Likewise.
45096 (frexp_test): Likewise.
45097 (hypot_test): Likewise.
45098 (ilogb_test): Likewise.
45099 (isfinite_test): Likewise.
45100 (finite_test): Likewise.
45101 (isgreater_test): Likewise.
45102 (isgreaterequal_test): Likewise.
45103 (isinf_test): Likewise.
45104 (isless_test): Likewise.
45105 (islessequal_test): Likewise.
45106 (islessgreater_test): Likewise.
45107 (isnan_test): Likewise.
45108 (isnormal_test): Likewise.
45109 (issignaling_test): Likewise.
45110 (isunordered_test): Likewise.
45111 (j0_test): Likewise.
45112 (j1_test): Likewise.
45113 (jn_test): Likewise.
45114 (ldexp_test): Likewise.
45115 (lgamma_test): Likewise.
45116 (gamma_test): Likewise.
45117 (lrint_test): Likewise.
45118 (lrint_test_tonearest): Likewise.
45119 (lrint_test_towardzero): Likewise.
45120 (lrint_test_downward): Likewise.
45121 (lrint_test_upward): Likewise.
45122 (llrint_test): Likewise.
45123 (llrint_test_tonearest): Likewise.
45124 (llrint_test_towardzero): Likewise.
45125 (llrint_test_downward): Likewise.
45126 (llrint_test_upward): Likewise.
45127 (log_test): Likewise.
45128 (log10_test): Likewise.
45129 (log1p_test): Likewise.
45130 (log2_test): Likewise.
45131 (logb_test): Likewise.
45132 (logb_test_downward): Likewise.
45133 (lround_test): Likewise.
45134 (llround_test): Likewise.
45135 (modf_test): Likewise.
45136 (nearbyint_test): Likewise.
45137 (nextafter_test): Likewise.
45138 (nexttoward_test): Likewise.
45139 (pow_test): Likewise.
45140 (pow_test_tonearest): Likewise.
45141 (pow_test_towardzero): Likewise.
45142 (pow_test_downward): Likewise.
45143 (pow_test_upward): Likewise.
45144 (remainder_test): Likewise.
45145 (drem_test): Likewise.
45146 (remainder_test_tonearest): Likewise.
45147 (drem_test_tonearest): Likewise.
45148 (remainder_test_towardzero): Likewise.
45149 (drem_test_towardzero): Likewise.
45150 (remainder_test_downward): Likewise.
45151 (drem_test_downward): Likewise.
45152 (remainder_test_upward): Likewise.
45153 (drem_test_upward): Likewise.
45154 (remquo_test): Likewise.
45155 (rint_test): Likewise.
45156 (rint_test_tonearest): Likewise.
45157 (rint_test_towardzero): Likewise.
45158 (rint_test_downward): Likewise.
45159 (rint_test_upward): Likewise.
45160 (round_test): Likewise.
45161 (scalb_test): Likewise.
45162 (scalbn_test): Likewise.
45163 (scalbln_test): Likewise.
45164 (signbit_test): Likewise.
45165 (sin_test): Likewise.
45166 (sin_test_tonearest): Likewise.
45167 (sin_test_towardzero): Likewise.
45168 (sin_test_downward): Likewise.
45169 (sin_test_upward): Likewise.
45170 (sincos_test): Likewise.
45171 (sinh_test): Likewise.
45172 (sinh_test_tonearest): Likewise.
45173 (sinh_test_towardzero): Likewise.
45174 (sinh_test_downward): Likewise.
45175 (sinh_test_upward): Likewise.
45176 (sqrt_test): Likewise.
45177 (sqrt_test_tonearest): Likewise.
45178 (sqrt_test_towardzero): Likewise.
45179 (sqrt_test_downward): Likewise.
45180 (sqrt_test_upward): Likewise.
45181 (tan_test): Likewise.
45182 (tan_test_tonearest): Likewise.
45183 (tan_test_towardzero): Likewise.
45184 (tan_test_downward): Likewise.
45185 (tan_test_upward): Likewise.
45186 (tanh_test): Likewise.
45187 (tgamma_test): Likewise.
45188 (trunc_test): Likewise.
45189 (y0_test): Likewise.
45190 (y1_test): Likewise.
45191 (yn_test): Likewise.
45192 (significand_test): Likewise.
45193
45194 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45195 individual tests in comment.
45196 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45197 (prev_max_error): New variable.
45198 (prev_real_max_error): Likewise.
45199 (prev_imag_max_error): Likewise.
45200 (compare_ulp_data): Don't refer to test names in comment.
45201 (find_test_ulps): Remove function.
45202 (find_function_ulps): Likewise.
45203 (find_complex_function_ulps): Likewise.
45204 (init_max_error): Take function name as argument. Look up ulps
45205 for that function.
45206 (print_ulps): Remove function.
45207 (print_max_error): Use prev_max_error instead of calling
45208 find_function_ulps.
45209 (print_complex_max_error): Use prev_real_max_error and
45210 prev_imag_max_error instead of calling find_complex_function_ulps.
45211 (check_float_internal): Take max_ulp parameter instead of calling
45212 find_test_ulps. Don't call print_ulps.
45213 (check_float): Update call to check_float_internal.
45214 (check_complex): Update calls to check_float_internal.
45215 (START): Pass argument to init_max_error.
45216 * math/gen-libm-test.pl (%results): Don't include "kind"
45217 information.
45218 (parse_ulps): Don't handle ulps of individual tests.
45219 (print_ulps_file): Likewise.
45220 (output_ulps): Likewise.
45221 * math/README.libm-test: Update.
45222 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45223 individual tests.
45224 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45225 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45226 * sysdeps/arm/libm-test-ulps: Likewise.
45227 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45228 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45229 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45230 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45231 * sysdeps/microblaze/libm-test-ulps: Likewise.
45232 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45233 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45234 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45235 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45236 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45237 * sysdeps/sh/libm-test-ulps: Likewise.
45238 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45239 * sysdeps/tile/libm-test-ulps: Likewise.
45240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45241
45242 2014-03-04 Joseph Myers <joseph@codesourcery.com>
45243
45244 * math/libm-test.inc (print_complex_max_error): Check separately
45245 whether real and imaginary errors are within allowed range and
45246 pass 0 to print_complex_function_ulps instead of value within
45247 allowed range.
45248
45249 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45250
45251 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45252 formatting.
45253 (get_handles_fopen): Likewise.
45254 (do_write_test): Likewise.
45255
45256 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45257
45258 * libio/fileops.c (do_ftell): Use cached offset when
45259 available.
45260 * libio/iofwide.c (do_ftell_wide): Likewise.
45261 * libio/iofdopen.c (_IO_new_fdopen): Don't use
45262 _IO_file_attach.
45263 * libio/wfileops.c (_IO_fwide): Don't cache offset.
45264
45265 [BZ #16532]
45266 * libio/libioP.h (get_file_offset): New function.
45267 * libio/fileops.c (get_file_offset): Likewise.
45268 (do_ftell): Likewise.
45269 (_IO_new_file_seekoff): Split out ftell logic.
45270 * libio/wfileops.c (do_ftell_wide): Likewise.
45271 (_IO_wfile_seekoff): Split out ftell logic.
45272 * libio/tst-ftell-active-handler.c: New test case.
45273 * libio/Makefile (tests): Add it.
45274
45275 2014-03-03 Roland McGrath <roland@hack.frob.com>
45276
45277 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45278 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45279
45280 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45281
45282 [BZ #16639]
45283 * nscd/connections.c (nscd_init): Call do_exit.
45284 (start_threads): Call do_exit and notify_parent.
45285 (begin_drop_privileges): Call do_exit.
45286 (finish_drop_privileges): Likewise.
45287 * nscd/selinux.c (preserve_capabilities): Likewise.
45288 (install_real_capabilities): Likewise.
45289 (nscd_selinux_enabled): Likewise.
45290 (avc_create_thread): Likewise.
45291 (avc_alloc_lock): Likewise.
45292 (nscd_avc_init): Likewise.
45293 * nscd/nscd.c (parent_fd): New static variable.
45294 (main): Create a pipe between parent and child processes.
45295 Skip closing parent_fd.
45296 (monitor_child): New function.
45297 (do_exit): Likewise.
45298 (notify_parent): Likewise.
45299 * nscd/nscd.h (notify_parent): Likewise.
45300 (do_exit): Likewise.
45301
45302 2014-03-03 Carlos O'Donell <carlos@redhat.com>
45303
45304 * malloc/malloc.c (__libc_calloc): Revert last change.
45305
45306 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45307
45308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45309
45310 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45311
45312 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45314 implementation.
45315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45316 (__libc_ifunc_impl_list): Likewise.
45317 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45318 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45319 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45320 * string/strrchr.c: Define STRRCHR.
45321
45322 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
45323
45324 * benchtest/bench-strtok.c (simple_strtok): Delete.
45325 (strtok_string): Use as benchmark.
45326 * string/strtok (STRTOK): New macro.
45327
45328 2014-02-28 Carlos O'Donell <carlos@redhat.com>
45329
45330 * manual/threads.texi: Add header and standard comments to all
45331 functions.
45332
45333 * elf/dl-lookup.c (check_match): New function.
45334 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45335 (do_lookup_x): Remove nested function check_match. Use non-nested
45336 function check_match.
45337
45338 2014-02-28 Roland McGrath <roland@hack.frob.com>
45339
45340 * csu/Makefile (generated, before-compile): Use += rather than =.
45341 * catgets/Makefile (generated, generated-dirs): Likewise.
45342 * debug/Makefile (generated): Likewise.
45343 * dlfcn/Makefile (generated): Likewise.
45344 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45345 * iconvdata/Makefile (before-compile, generated): Likewise.
45346 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45347 * libio/Makefile (generated): Likewise.
45348 * malloc/Makefile (generated): Likewise.
45349 * manual/Makefile (generated, generated-dirs): Likewise.
45350 * misc/Makefile (generated): Likewise.
45351 * posix/Makefile (generated): Likewise.
45352 * resolv/Makefile (generated): Likewise.
45353 * sunrpc/Makefile (generated, generated-dirs): Likewise.
45354 * timezone/Makefile (generated, generated-dirs): Likewise.
45355
45356 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45357
45358 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45359
45360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45361 power8 implementation.
45362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45363 file: POWER8 llround ifunc implementation.
45364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45365 (__lllround): Add POWER8 implementation.
45366 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45367 POWER8 llround implementation.
45368
45369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45370 power8 implementation.
45371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45372 file: POWER8 llrint ifunc implementation.
45373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45374 Add POWER8 implementation.
45375 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45376 POWER8 llrint implementation.
45377
45378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45379 power8 implementation.
45380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45381 file: POWER8 finite ifunc implementation.
45382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45383 Add POWER8 implementation.
45384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45385 Likewise.
45386 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45387 POWER8 finite implementation.
45388 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45389
45390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45391 power8 implementation.
45392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45393 file: POWER8 isinf ifunc implementation.
45394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45395 POWER8 implementation.
45396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45397 Likewise.
45398 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45399 isinf implementation.
45400 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45401
45402 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45403 (INIT_ARCH): Add hwcap2 initialization.
45404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45405 power8 implementation.
45406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45407 file: POWER8 isnan ifunc implementation.
45408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45409 POWER8 implementation.
45410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45411 Likewise.
45412 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45413 isnan implementation.
45414 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45415
45416 2014-02-27 Joey Ye <joey.ye@arm.com>
45417
45418 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45419 (_FP_NANFRAC_Q): Set to zero.
45420
45421 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45422
45423 [BZ #16623]
45424 * math/auto-libm-test-in: New test inputs.
45425 * math/auto-libm-test-out: Regenerate.
45426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45427 and DA.
45428 (__cos): Likewise.
45429 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45430
45431 2014-02-27 Joseph Myers <joseph@codesourcery.com>
45432
45433 * scripts/evaluate-test.sh: Take new argument indicating whether
45434 failure is expected.
45435 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45436 indicating whether failure is expected.
45437 * conform/Makefile (test-xfail-run-conformtest): New variable.
45438 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45439 level.
45440 * posix/Makefile (test-xfail-annexc): New variable.
45441 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45442
45443 2014-02-26 Joseph Myers <joseph@codesourcery.com>
45444
45445 * argp/Makefile: Include Makeconfig immediately after defining
45446 subdir.
45447 * assert/Makefile: Likewise.
45448 * benchtests/Makefile: Likewise.
45449 * catgets/Makefile: Likewise.
45450 * conform/Makefile: Likewise.
45451 * crypt/Makefile: Likewise.
45452 * csu/Makefile: Likewise.
45453 (all): Remove target.
45454 * ctype/Makefile: Include Makeconfig immediately after defining
45455 subdir.
45456 * debug/Makefile: Likewise.
45457 * dirent/Makefile: Likewise.
45458 * dlfcn/Makefile: Likewise.
45459 * gmon/Makefile: Likewise.
45460 * gnulib/Makefile: Likewise.
45461 * grp/Makefile: Likewise.
45462 * gshadow/Makefile: Likewise.
45463 * hesiod/Makefile: Likewise.
45464 * hurd/Makefile: Likewise.
45465 (all): Remove target.
45466 * iconvdata/Makefile: Include Makeconfig immediately after
45467 defining subdir.
45468 * inet/Makefile: Likewise.
45469 * intl/Makefile: Likewise.
45470 * io/Makefile: Likewise.
45471 * libio/Makefile: Likewise.
45472 (all): Remove target.
45473 * locale/Makefile: Include Makeconfig immediately after defining
45474 subdir.
45475 * login/Makefile: Likewise.
45476 * mach/Makefile: Likewise.
45477 (all): Remove target.
45478 * malloc/Makefile: Include Makeconfig immediately after defining
45479 subdir.
45480 (all): Remove target.
45481 * manual/Makefile: Include Makeconfig immediately after defining
45482 subdir.
45483 * math/Makefile: Likewise.
45484 * misc/Makefile: Likewise.
45485 * nis/Makefile: Likewise.
45486 * nss/Makefile: Likewise.
45487 * po/Makefile: Likewise.
45488 (all): Remove target.
45489 * posix/Makefile: Include Makeconfig immediately after defining
45490 subdir.
45491 * pwd/Makefile: Likewise.
45492 * resolv/Makefile: Likewise.
45493 * resource/Makefile: Likewise.
45494 * rt/Makefile: Likewise.
45495 * setjmp/Makefile: Likewise.
45496 * shadow/Makefile: Likewise.
45497 * signal/Makefile: Likewise.
45498 * socket/Makefile: Likewise.
45499 * soft-fp/Makefile: Likewise.
45500 * stdio-common/Makefile: Likewise.
45501 * stdlib/Makefile: Likewise.
45502 * streams/Makefile: Likewise.
45503 * string/Makefile: Likewise.
45504 * sunrpc/Makefile: Likewise.
45505 (all): Remove target.
45506 * sysvipc/Makefile: Include Makeconfig immediately after defining
45507 subdir.
45508 * termios/Makefile: Likewise.
45509 * time/Makefile: Likewise.
45510 * timezone/Makefile: Likewise.
45511 (all): Remove target.
45512 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45513 subdir.
45514 * wctype/Makefile: Likewise.
45515
45516 2014-02-26 Steve Ellcey <sellcey@mips.com>
45517
45518 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45519 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45520 (libc_feholdexcept_setround_mips): Ditto.
45521 (libc_feholdsetround): New.
45522 (libc_feholdsetroundf): New.
45523 (libc_feholdsetroundl): New.
45524 (libc_feupdateenv_test_mips): New.
45525 (libc_feupdateenv_test): New.
45526 (libc_feupdateenv_testf): New.
45527 (libc_feupdateenv_testl): New.
45528 (libc_feresetround): New.
45529 (libc_feresetroundf): New.
45530 (libc_feresetroundl): New.
45531 (libc_fetestexcept_mips): New.
45532 (libc_fetestexcept): New.
45533 (libc_fetestexceptf): New.
45534 (libc_fetestexceptl): New.
45535 (HAVE_RM_CTX): New.
45536 (libc_feholdexcept_setround_mips_ctx): New.
45537 (libc_feholdexcept_setround_ctx): New.
45538 (libc_feholdexcept_setroundf_ctx): New.
45539 (libc_feholdexcept_setroundl_ctx): New.
45540 (libc_fesetenv_mips_ctx): New.
45541 (libc_fesetenv_ctx): New.
45542 (libc_fesetenv_ctxf): New.
45543 (libc_fesetenv_ctxl): New.
45544 (libc_feupdateenv_mips_ctx): New.
45545 (libc_feupdateenv_ctx): New.
45546 (libc_feupdateenvf_ctx): New.
45547 (libc_feupdateenvl_ctx): New.
45548 (libc_feholdsetround_mips_ctx): New.
45549 (libc_feholdsetround_ctx): New.
45550 (libc_feholdsetroundf_ctx): New.
45551 (libc_feholdsetroundl_ctx): New.
45552 (libc_feresetround_mips_ctx): New.
45553 (libc_feresetround_ctx): New.
45554 (libc_feresetroundf_ctx): New.
45555 (libc_feresetroundl_ctx): New.
45556
45557 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45558
45559 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45560
45561 * manual/ipc.texi: New file.
45562 * manual/Makefile (chapters): Add ipc.
45563 * manual/job.texi: Add "Inter-Process Communication" to next.
45564 * manual/process.texi: Add "Inter-Process Communication" to prev.
45565
45566 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45567
45568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45569
45570 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45571
45572 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45573
45574 * manual/arith.texi: Fix spaces after sentences.
45575 * manual/charset.texi: Likewise.
45576 * manual/errno.texi: Likewise.
45577 * manual/install.texi: Likewise.
45578 * manual/llio.texi: Likewise.
45579 * manual/locale.texi: Likewise.
45580 * manual/maint.texi: Likewise.
45581 * manual/math.texi: Likewise.
45582 * manual/memory.texi: Likewise.
45583 * manual/message.texi: Likewise.
45584 * manual/probes.texi: Likewise.
45585 * manual/resource.texi: Likewise.
45586 * manual/signal.texi: Likewise.
45587 * manual/socket.texi: Likewise.
45588 * manual/stdio.texi: Likewise.
45589 * manual/string.texi: Likewise.
45590 * manual/time.texi: Likewise.
45591 * manual/users.texi: Likewise.
45592
45593 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45594
45595 [BZ #16632]
45596 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45597 _DEFAULT_SOURCE is defined.
45598
45599 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45600 Carlos O'Donell <carlos@redhat.com>
45601
45602 [BZ #16613]
45603 * elf/dl-tls.c (_dl_count_modids): New function.
45604 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45605 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45606 audit library and increment generation counter.
45607 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45608 * elf/tst-audit9.c: New file.
45609 * elf/tst-auditmod9a.c: New file.
45610 * elf/tst-auditmod9b.c: New file.
45611 * elf/Makefile: Add rules to build and run tst-audit9.
45612
45613 2014-02-25 Florian Weimer <fweimer@redhat.com>
45614
45615 [BZ #15347]
45616 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45617
45618 2014-02-25 Will Newton <will.newton@linaro.org>
45619
45620 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45621 (__longjmp): Restore sp and lr before restoring callee
45622 saved registers. Add longjmp and longjmp_target
45623 SystemTap probe point.
45624 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45625 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45626 Define to zero to match jmpbuf layout.
45627 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45628 (__sigsetjmp): Save sp and lr before saving callee
45629 saved registers. Add setjmp SystemTap probe point.
45630
45631 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45632
45633 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45634
45635 2014-02-24 Andreas Schwab <schwab@suse.de>
45636
45637 [BZ #15804]
45638 * elf/pldd.c (wait_for_ptrace_stop): New function.
45639 (main): Call it after attaching.
45640
45641 2014-02-22 Roland McGrath <roland@hack.frob.com>
45642
45643 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45644 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45645 Versions files is now verboten.
45646 * hurd/Versions (libc: GLIBC_2.0):
45647 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45648 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45649 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45650 * mach/Versions: Likewise.
45651
45652 * csu/Versions: Remove unused %include.
45653 * resolv/Versions: Likewise.
45654
45655 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45656
45657 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45658 ($(objpfx)check-local-headers.out): Likewise.
45659 ($(objpfx)begin-end-check.out): Likewise.
45660 * Makerules (check-abi-%.out): Likewise.
45661 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45662 ($(objpfx)test2.cat): Likewise.
45663 ($(objpfx)de/libc.cat): Likewise.
45664 ($(objpfx)test-gencat.out): Likewise.
45665 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45666 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45667 ($(objpfx)noload-mem): Likewise.
45668 ($(objpfx)tst-pathopt.out): Likewise.
45669 ($(objpfx)tst-rtld-load-self.out): Likewise.
45670 ($(objpfx)tst-array1-cmp.out): Likewise.
45671 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45672 ($(objpfx)tst-array2-cmp.out): Likewise.
45673 ($(objpfx)tst-array3-cmp.out): Likewise.
45674 ($(objpfx)tst-array4-cmp.out): Likewise.
45675 ($(objpfx)tst-array5-cmp.out): Likewise.
45676 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45677 ($(objpfx)check-textrel.out): Likewise.
45678 ($(objpfx)check-execstack.out): Likewise.
45679 ($(objpfx)check-localplt.out): Likewise.
45680 ($(objpfx)order2-cmp.out): Likewise.
45681 ($(objpfx)tst-leaks1-mem): Likewise.
45682 ($(objpfx)tst-leaks1-static-mem): Likewise.
45683 ($(objpfx)tst-initorder-cmp.out): Likewise.
45684 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45685 ($(objpfx)tst-unused-dep.out): Likewise.
45686 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45687 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45688 * iconv/Makefile (test-iconvconfig): Likewise.
45689 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45690 ($(objpfx)iconv-test.out): Likewise.
45691 ($(objpfx)tst-tables.out): Likewise.
45692 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45693 ($(objpfx)tst-gettext.out): Likewise.
45694 ($(objpfx)tst-translit.out): Likewise.
45695 ($(objpfx)tst-gettext2.out): Likewise.
45696 ($(objpfx)tst-gettext4.out): Likewise.
45697 ($(objpfx)tst-gettext6.out): Likewise.
45698 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45699 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45700 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45701 ($(objpfx)tst-fopenloc-mem.out): Likewise.
45702 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45703 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45704 * posix/Makefile ($(objpfx)globtest.out): Likewise.
45705 ($(objpfx)wordexp-tst.out): Likewise.
45706 ($(objpfx)annexc.out): Likewise.
45707 ($(objpfx)tst-fnmatch-mem): Likewise.
45708 ($(objpfx)bug-regex2-mem): Likewise.
45709 ($(objpfx)bug-regex14-mem): Likewise.
45710 ($(objpfx)bug-regex21-mem): Likewise.
45711 ($(objpfx)bug-regex31-mem): Likewise.
45712 ($(objpfx)tst-vfork3-mem): Likewise.
45713 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45714 ($(objpfx)tst-pcre-mem): Likewise.
45715 ($(objpfx)tst-boost-mem): Likewise.
45716 ($(objpfx)tst-getconf.out): Likewise.
45717 ($(objpfx)bug-ga2-mem): Likewise.
45718 ($(objpfx)bug-glob2-mem): Likewise.
45719 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45720 ($(objpfx)mtrace-tst-leaks2): Likewise.
45721 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45722 ($(objpfx)tst-printf.out): Likewise.
45723 ($(objpfx)tst-setvbuf1.out): Likewise.
45724 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45725 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45726 ($(objpfx)tst-fmtmsg.out): Likewise.
45727 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45728 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45729
45730 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45731 * bits/sigaction.h [__USE_MISC]: Likewise.
45732 * bits/waitstatus.h: Update #endif comments.
45733 * ctype/ctype.h: Likewise.
45734 * dirent/dirent.h: Likewise.
45735 [__USE_MISC]: Remove redundant conditionals.
45736 * grp/grp.h: Update #endif comments.
45737 [__USE_GNU]: Remove redundant conditionals.
45738 [__USE_MISC]: Likewise.
45739 * inet/netinet/in.h [__USE_GNU]: Likewise.
45740 * io/sys/stat.h [__USE_MISC]: Likewise.
45741 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45742 * libio/bits/stdio.h: Update #endif comments.
45743 [__USE_MISC]: Remove redundant conditionals.
45744 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45745 * libio/stdio.h: Update #endif comments.
45746 [__USE_MISC]: Remove redundant conditionals.
45747 * math/bits/math-finite.h [__USE_MISC]: Likewise.
45748 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45749 * math/math.h: Update #else and #endif comments.
45750 [__USE_MISC]: Remove redundant conditionals.
45751 * misc/sys/uio.h: Update #endif comments.
45752 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45753 * posix/glob.h [__USE_MISC]: Likewise.
45754 * posix/sys/types.h: Update #endif comments.
45755 [__USE_MISC]: Remove redundant conditionals.
45756 * posix/sys/wait.h: Update #endif comments.
45757 [__USE_MISC]: Remove redundant conditionals.
45758 * posix/unistd.h: Update #endif comments.
45759 [__USE_MISC]: Remove redundant conditionals.
45760 * pwd/pwd.h [__USE_GNU]: Likewise.
45761 [__USE_MISC]: Likewise.
45762 * resolv/netdb.h [__USE_GNU]: Likewise.
45763 * signal/signal.h: Update #endif comments.
45764 [__USE_MISC]: Remove redundant conditionals.
45765 * stdlib/stdlib.h: Update #else and #endif comments.
45766 [__USE_MISC]: Remove redundant conditionals.
45767 [__USE_GNU]: Likewise.
45768 * string/bits/string2.h [__USE_MISC]: Likewise.
45769 * string/string.h: Update #endif comments.
45770 [__USE_MISC]: Remove redundant conditionals.
45771 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45772 Likewise.
45773 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45774 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45775 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45776 Likewise.
45777 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45778 Likewise.
45779 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45780 comments.
45781 [__USE_MISC]: Remove redundant conditionals.
45782 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45783 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45784 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45785 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45786 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45787 Likewise.
45788 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45789 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45790 Likewise.
45791 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45792 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45793 Likewise.
45794 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45795 Likewise.
45796 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45797 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45798 Likewise.
45799 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45800 Likewise.
45801 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45802 * sysdeps/x86/bits/string.h: Update #endif comments.
45803 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45804 conditionals.
45805 * time/sys/time.h: Update #endif comments.
45806 * time/time.h: Likewise.
45807 [__USE_MISC]: Remove redundant conditionals.
45808
45809 2014-02-21 Yury Gribov <y.gribov@samsung.com>
45810
45811 [BZ #16600]
45812 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45813
45814 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
45815
45816 * Versions.def (librt): Add GLIBC_2.17.
45817
45818 2014-02-21 Adam Conrad <adconrad@0c3.net>
45819
45820 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45821 synonym for _SYS_AUXV_H to allow direct inclusion.
45822 * sysdeps/sparc/bits/hwcap.h: Likewise.
45823 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45824 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45825 * sysdeps/sparc/sysdep.h: Likewise.
45826
45827 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45828
45829 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45830
45831 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45832
45833 * benchtests/bench-strrchr.c: Print length instead of position.
45834
45835 2014-02-20 Joseph Myers <joseph@codesourcery.com>
45836
45837 [BZ #16611]
45838 * sysdeps/unix/sysv/linux/kernel-features.h
45839 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45840 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45841 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45842 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45843 Likewise.
45844 [__i386__ || __powerpc__ || __sh__ || __sparc__]
45845 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45846 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45847 (__ASSUME_SENDMMSG): Define instead of using previous
45848 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45849 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45850 (__ASSUME_SENDMMSG_SYSCALL): Define.
45851 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45852 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45853 Likewise.
45854 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45855 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45856 Likewise.
45857 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45858 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45859 Likewise.
45860 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45861 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45862 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45863 [__ASSUME_SENDMMSG]: Change conditionals to
45864 [__ASSUME_SENDMMSG_SOCKETCALL].
45865 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45866 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45867 Define.
45868 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45869 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45870 Likewise.
45871 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45872 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45873 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45874 [!__ASSUME_SENDMMSG]: Change conditional to
45875 [!__ASSUME_SENDMMSG_SOCKETCALL].
45876 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45877 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45878 Define.
45879
45880 [BZ #16610]
45881 * sysdeps/unix/sysv/linux/kernel-features.h
45882 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45883 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45884 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45885 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45886 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45887 [__i386__ || __sparc__]
45888 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45889 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45890 (__ASSUME_RECVMMSG): Define instead of using previous
45891 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45892 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45893 (__ASSUME_RECVMMSG_SYSCALL): Define.
45894 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45895 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45896 Likewise.
45897 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45898 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45899 Likewise.
45900 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45901 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45902 Likewise.
45903 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45904 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45905 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45906 [__ASSUME_RECVMMSG]: Change condition to
45907 [__ASSUME_RECVMMSG_SOCKETCALL].
45908 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45909 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45910 Define.
45911 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45912 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45913 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45914 Likewise.
45915 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45916 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45917 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45918 [!__ASSUME_RECVMMSG]: Change condition to
45919 [!__ASSUME_RECVMMSG_SOCKETCALL].
45920 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45921 (__ASSUME_RECVMMSG_SYSCALL): Define.
45922
45923 [BZ #16609]
45924 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45925 __powerpc__ || __s390__ || __sh__ || __sparc__]
45926 (__ASSUME_SOCKETCALL): Define.
45927 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45928 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45929 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45930 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45931 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45932 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45933 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45934 (__ASSUME_ACCEPT4): Define instead of using previous
45935 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45936 __powerpc__ || __sparc__ || __s390__)] condition.
45937 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45938 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45939 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45940 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45941 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45942 [!__ASSUME_ACCEPT4]: Change condition to
45943 [!__ASSUME_ACCEPT4_SOCKETCALL].
45944 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45945 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
45946 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45947 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45948 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45949 __ASSUME_ACCEPT4_SYSCALL.
45950 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45951 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45952 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45953 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45954 __ASSUME_ACCEPT4_SYSCALL.
45955 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45956 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45957 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45958 [__ASSUME_ACCEPT4]: Change condition to
45959 [__ASSUME_ACCEPT4_SOCKETCALL].
45960 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45961 (__ASSUME_SOCKETCALL): Define.
45962 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45964 (__ASSUME_SOCKETCALL): Define.
45965 (__ASSUME_ACCEPT4): Remove.
45966 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45967 Define.
45968 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45969 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45970 Likewise.
45971 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45972 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45973
45974 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45975 macro.
45976 (HWCAP_ARM_LPAE): Likewise.
45977 (HWCAP_ARM_EVTSTRM): Likewise.
45978 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45979 Add vpfd32, lpae and evtstrm.
45980 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45981 Increase to 22.
45982
45983 2014-02-19 Joseph Myers <joseph@codesourcery.com>
45984
45985 * math/auto-libm-test-in: Add tests of clog10.
45986 * math/auto-libm-test-out: Regenerated.
45987 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45988 * sysdeps/i386/fpu/libm-test-ulps: Update.
45989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45990
45991 2014-02-18 Andreas Schwab <schwab@suse.de>
45992
45993 [BZ #16574]
45994 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45995 Store non-zero if the second buffer was newly allocated.
45996 (send_dg): Likewise.
45997 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45998 to send_vc and send_dg.
45999 (res_nsend): Pass NULL for ansp2_malloced.
46000 * resolv/res_query.c (__libc_res_nquery): Add parameter
46001 answerp2_malloced and pass it down to __libc_res_nsend.
46002 (res_nquery): Pass additional NULL to __libc_res_nquery.
46003 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46004 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
46005 second answer buffer if answerp2_malloced was set.
46006 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46007 (__libc_res_nquerydomain): Add parameter
46008 answerp2_malloced and pass it down to __libc_res_nquery.
46009 (res_nquerydomain): Pass additional NULL to
46010 __libc_res_nquerydomain.
46011 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46012 additional NULL to __libc_res_nsend and __libc_res_nquery.
46013 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46014 additional NULL to __libc_res_nsearch.
46015 (_nss_dns_gethostbyname4_r): Revert last change. Use new
46016 parameter of __libc_res_nsearch to check for separately allocated
46017 second buffer.
46018 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46019 __libc_res_nquery.
46020 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46021 additional NULL to __libc_res_nquery.
46022 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46023 __libc_res_nsearch.
46024 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46025 * include/resolv.h: Update prototypes of __libc_res_nquery,
46026 __libc_res_nsearch, __libc_res_nsend.
46027
46028 2014-02-18 Joseph Myers <joseph@codesourcery.com>
46029
46030 * math/auto-libm-test-in: Add tests of fma.
46031 * math/auto-libm-test-out: Regenerated.
46032 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46033 (fma_towardzero_test_data): Likewise.
46034 (fma_downward_test_data): Likewise.
46035 (fma_upward_test_data): Likewise.
46036 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46037 mpc_mode.
46038 (rounding_modes): Add values for new field.
46039 (func_calc_method): Add value mpfr_fff_f.
46040 (func_calc_desc): Add mpfr_fff_f union field.
46041 (test_function): Add field exact_args.
46042 (FUNC): Add macro argument EXACT_ARGS.
46043 (FUNC_mpfr_f_f): Update call to FUNC.
46044 (FUNC_mpfr_f_f): Likewise.
46045 (FUNC_mpfr_ff_f): Likewise.
46046 (FUNC_mpfr_if_f): Likewise.
46047 (FUNC_mpc_c_f): Likewise.
46048 (FUNC_mpc_c_c): Likewise.
46049 (test_functions): Add fma. Update calls to FUNC.
46050 (handle_input_arg): Add argument exact_args.
46051 (add_test): Update call to handle_input_arg.
46052 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
46053 (output_for_one_input_case): Update call to calc_generic_results.
46054 Recalculate exact zero results in each rounding mode.
46055
46056 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46057 non-negative before setting low bit.
46058 * math/auto-libm-test-in: Mark one asin test possibly having
46059 spurious underflow.
46060 * math/auto-libm-test-out: Regenerated.
46061 * sysdeps/i386/fpu/libm-test-ulps: Update.
46062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46063
46064 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
46065
46066 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46067 * sysdeps/unix/sysv/linux/microblaze: Move directory from
46068 ports/sysdeps/unix/sysv/linux/microblaze.
46069 * README: Add missing listing for microblaze*-*-linux-gnu.
46070
46071 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
46072
46073 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46074 duplicate code
46075
46076 2014-02-16 Mike Frysinger <vapier@gentoo.org>
46077
46078 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46079 * sysdeps/unix/sysv/linux/ia64: Move directory from
46080 ports/sysdeps/unix/sysv/linux/ia64.
46081 * README: Update listing for ia64-*-linux-gnu.
46082
46083 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
46084 Joseph Myers <joseph@codesourcery.com>
46085
46086 * Makeconfig (test-name): New variable.
46087 (evaluate-test): Likewise.
46088 * Makerules (do-test-clean): Remove .test-result files.
46089 (common-mostlyclean): Likewise.
46090 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46091 * scripts/evaluate-test.sh: New file.
46092
46093 2014-02-14 Joseph Myers <joseph@codesourcery.com>
46094
46095 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46096 separate $(objpfx)tst-fopenloc-cmp.out and
46097 $(objpfx)tst-fopenloc-mem.out targets.
46098 (tests): Update dependencies.
46099 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46100 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46101 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46102 (tst-rxspencer-no-utf8-ARGS): New variable.
46103 (tst-rxspencer-no-utf8-ENV): Likewise.
46104 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46105 instead of $(objpfx)tst-rxspencer-mem.
46106 ($(objpfx)tst-rxspencer-mem): Change target to
46107 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
46108 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46109 * posix/tst-rxspencer-no-utf8.c: New file.
46110
46111 * elf/Makefile ($(objpfx)order.out): Remove rule.
46112 [$(run-built-tests) = yes] (tests): Depend on
46113 $(objpfx)order-cmp.out.
46114 ($(objpfx)order-cmp.out): New rule.
46115 [$(run-built-tests) = yes] (tests): Depend on
46116 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46117 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46118 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46119 $(objpfx)tst-array5-static-cmp.out.
46120 ($(objpfx)tst-array1.out): Remove rule.
46121 ($(objpfx)tst-array1-cmp.out): New rule.
46122 ($(objpfx)tst-array1-static.out): Remove rule.
46123 ($(objpfx)tst-array1-static-cmp.out): New rule.
46124 ($(objpfx)tst-array2.out): Remove rule.
46125 ($(objpfx)tst-array2-cmp.out): New rule.
46126 ($(objpfx)tst-array3.out): Remove rule.
46127 ($(objpfx)tst-array3-cmp.out): New rule.
46128 ($(objpfx)tst-array4.out): Remove rule.
46129 ($(objpfx)tst-array4-cmp.out): New rule.
46130 ($(objpfx)tst-array5.out): Remove rule.
46131 ($(objpfx)tst-array5-cmp.out): New rule.
46132 ($(objpfx)tst-array5-static.out): Remove rule.
46133 ($(objpfx)tst-array5-static-cmp.out): New rule.
46134 [$(run-built-tests) = yes] (tests): Depend on
46135 $(objpfx)order2-cmp.out.
46136 ($(objpfx)order2.out): Remove rule.
46137 ($(objpfx)order2-cmp.out): New rule.
46138 ($(objpfx)tst-initorder.out): Remove rule.
46139 [$(run-built-tests) = yes] (tests): Depend on
46140 $(objpfx)tst-initorder-cmp.out.
46141 ($(objpfx)tst-initorder-cmp.out): New rule.
46142 ($(objpfx)tst-initorder2.out): Remove rule.
46143 [$(run-built-tests) = yes] (tests): Depend on
46144 $(objpfx)tst-initorder2-cmp.out.
46145 ($(objpfx)tst-initorder2-cmp.out): New rule.
46146 [$(run-built-tests) = yes] (tests): Depend on
46147 $(objpfx)tst-unused-dep-cmp.out.
46148 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46149 ($(objpfx)tst-unused-dep-cmp.out): New rule.
46150 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46151 on $(objpfx)tst-setvbuf1-cmp.out.
46152 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46153 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46154 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46155 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46156 ($(objpfx)tst-svc.out): Remove rule.
46157 ($(objpfx)tst-svc-cmp.out): New rule.
46158
46159 2014-02-13 Joseph Myers <joseph@codesourcery.com>
46160
46161 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46162 * ctype/ctype.h [__USE_MISC]: Likewise.
46163 * dirent/dirent.h [__USE_MISC]: Likewise.
46164 * grp/grp.h [__USE_MISC]: Likewise.
46165 * io/fcntl.h [__USE_MISC]: Likewise.
46166 * io/sys/stat.h [__USE_MISC]: Likewise.
46167 * libio/stdio.h [__USE_MISC]: Likewise.
46168 * posix/unistd.h [__USE_MISC]: Likewise.
46169 * pwd/pwd.h [__USE_MISC]: Likewise.
46170 * stdlib.h [__USE_MISC]: Likewise.
46171 * string/bits/string2.h [__USE_MISC]: Likewise.
46172 * string/string.h [__USE_MISC]: Likewise.
46173 * time/time.h [__USE_MISC]: Likewise.
46174
46175 2014-02-13 Andreas Schwab <schwab@suse.de>
46176
46177 [BZ #16574]
46178 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46179 second answer buffer if it was separately allocated.
46180
46181 2014-02-12 Joseph Myers <joseph@codesourcery.com>
46182
46183 * sysdeps/mips/math-tests.h: Include <features.h>.
46184 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46185 (ROUNDING_TESTS_long_double): Do not define.
46186 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46187 (EXCEPTION_TESTS_long_double): Likewise.
46188 * sysdeps/mips/mips64/libm-test-ulps: Update.
46189
46190 * include/features.h (__USE_BSD): Remove macro definitions.
46191 (__USE_SVID): Likewise.
46192 (_BSD_SOURCE): Likewise.
46193 (_SVID_SOURCE): Likewise.
46194 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46195 from definition of _DEFAULT_SOURCE.
46196 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46197 [_DEFAULT_SOURCE].
46198 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46199 * bits/mman.h [__USE_BSD]: Likewise.
46200 * bits/termios.h [__USE_BSD]: Likewise.
46201 * bits/waitstatus.h [__USE_BSD]: Likewise.
46202 * ctype/ctype.h [__USE_SVID]: Likewise.
46203 * dirent/dirent.h [__USE_BSD]: Likewise.
46204 * grp/grp.h [__USE_SVID]: Likewise.
46205 [__USE_BSD]: Likewise.
46206 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46207 * io/fcntl.h [__USE_BSD]: Likewise.
46208 * io/ftw.h [__USE_BSD]: Likewise.
46209 * io/sys/stat.h [__USE_BSD]: Likewise.
46210 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46211 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46212 * libio/stdio.h [__USE_SVID]: Likewise.
46213 [__USE_BSD]: Likewise.
46214 * math/math.h [__USE_SVID]: Likewise.
46215 [__USE_BSD]: Likewise.
46216 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46217 * misc/bits/syslog.h [__USE_BSD]: Likewise.
46218 * misc/search.h [__USE_SVID]: Likewise.
46219 * misc/sys/mman.h [__USE_BSD]: Likewise.
46220 * misc/sys/syslog.h [__USE_BSD]: Likewise.
46221 * misc/sys/uio.h [__USE_BSD]: Likewise.
46222 * posix/bits/unistd.h [__USE_BSD]: Likewise.
46223 * posix/glob.h [__USE_BSD]: Likewise.
46224 * posix/regex.h [__USE_BSD]: Likewise.
46225 * posix/sys/types.h [__USE_BSD]: Likewise.
46226 [__USE_SVID]: Likewise.
46227 * posix/sys/utsname.h [__USE_SVID]: Likewise.
46228 * posix/sys/wait.h [__USE_BSD]: Likewise.
46229 [__USE_SVID]: Likewise.
46230 * posix/unistd.h [__USE_BSD]: Likewise.
46231 [__USE_SVID]: Likewise.
46232 * pwd/pwd.h [__USE_SVID]: Likewise.
46233 * resolv/netdb.h [__USE_BSD]: Likewise.
46234 * setjmp/setjmp.h [__USE_BSD]: Likewise.
46235 * signal/signal.h [__USE_BSD]: Likewise.
46236 [__USE_SVID]: Likewise.
46237 * socket/sys/socket.h [__USE_BSD]: Likewise.
46238 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46239 * stdlib/stdlib.h [__USE_BSD]: Likewise.
46240 [__USE_SVID]: Likewise.
46241 * string/bits/string2.h [__USE_BSD]: Likewise.
46242 [__USE_SVID]: Likewise.
46243 * string/bits/string3.h [__USE_BSD]: Likewise.
46244 * string/endian.h [__USE_BSD]: Likewise.
46245 * string/string.h [__USE_SVID]: Likewise.
46246 [__USE_BSD]: Likewise.
46247 * string/strings.h [__USE_BSD]: Likewise.
46248 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46249 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46250 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46251 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46252 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46253 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46254 Likewise.
46255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46256 Likewise.
46257 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46258 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46259 Likewise.
46260 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46261 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46262 Likewise.
46263 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46264 Likewise.
46265 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46266 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46267 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46268 Likewise.
46269 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46270 Likewise.
46271 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46272 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46273 * termios/termios.h [__USE_BSD]: Likewise.
46274 * time/sys/time.h [__USE_BSD]: Likewise.
46275 * time/time.h [__USE_BSD]: Likewise.
46276 [__USE_SVID]: Likewise.
46277
46278 * Makefile (subdir_targets): Remove subdir_lint.out.
46279
46280 * stdio-common/Makefile (do-tst-unbputc): Remove target.
46281 (do-tst-printf): Likewise.
46282 (tests): Depend directly on $(objpfx)tst-unbputc.out and
46283 $(objpfx)tst-printf.out.
46284
46285 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46286
46287 * Makerules (check-abi-%): Change target to
46288 $(objpfx)check-abi-%.out.
46289 (check-abi target): Update dependencies.
46290 (check-abi-pattern variable): Redirect output of diff to $@.
46291 (check-abi variable): Likewise.
46292 * elf/Makefile (check-abi): Update dependencies.
46293
46294 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46295 unused.
46296 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46297 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46298 subnormal range.
46299 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46300 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46301 value has largest subnormal exponent.
46302 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46303 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46304 * sysdeps/aarch64/soft-fp/sfp-machine.h
46305 (_FP_TININESS_AFTER_ROUNDING): New macro.
46306 * sysdeps/alpha/soft-fp/sfp-machine.h
46307 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46308 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46309 Likewise.
46310 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46311 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46312 * sysdeps/mips/soft-fp/sfp-machine.h
46313 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46314 * sysdeps/powerpc/soft-fp/sfp-machine.h
46315 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46316 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46317 Likewise.
46318 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46319 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46320 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46321 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46322 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46323 Likewise.
46324
46325 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
46326
46327 [BZ #16545]
46328 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46329 model 1.
46330
46331 2014-02-12 Richard Henderson <rth@redhat.com>
46332
46333 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46334 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46335 * sysdeps/unix/sysv/linux/alpha: Move directory from
46336 ports/sysdeps/unix/sysv/linux/alpha.
46337 * README: Update listing for alpha-*-linux-gnu.
46338
46339 2014-02-11 Joseph Myers <joseph@codesourcery.com>
46340
46341 * include/features.h: Update comment documenting feature test
46342 macros.
46343 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
46344 _DEFAULT_SOURCE.
46345 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46346 (_SVID_SOURCE): Likewise.
46347 (_DEFAULT_SOURCE): Update description of default features.
46348 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46349 with _GNU_SOURCE.
46350 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46351 (S_ISVTX): Likewise.
46352 * manual/math.texi (Mathematical Constants): Likewise.
46353 * manual/signal.texi (Interrupted Primitives): Likewise.
46354 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46355 * math/test-matherr.c (_SVID_SOURCE): Do not define.
46356 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46357 Don't refer to _SVID_SOURCE in warning text.
46358
46359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46360
46361 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46362 already defined.
46363 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46364 * sysdeps/mips/dl-lookup.c: Remove.
46365 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46366
46367 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
46368
46369 [BZ #16447]
46370 * math/auto-libm-test-in: Add testcase for expl.
46371 * math/auto-libm-test-out: Regenerate.
46372 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46373 calculation of unsafe.
46374 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46375
46376 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
46377
46378 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46379 * sysdeps/unix/sysv/linux/aarch64: Move directory from
46380 ports/sysdeps/unix/sysv/linux/aarch64.
46381 * README: Update listing for aarch64*-*-linux-gnu.
46382
46383 2014-02-11 Will Newton <will.newton@linaro.org>
46384
46385 * manual/probes.texi (Mathematical Function Probes): Use
46386 "triggered" instead of "hit".
46387
46388 * manual/probes.texi (Internal Probes): Add documentation
46389 of setjmp, longjmp and longjmp_target probes.
46390
46391 * include/stap-probe.h: Add comment about probe argument
46392 format.
46393
46394 * malloc/mtrace.c (attribute_hidden): Remove unused macro
46395 definition. (tr_where, tr_freehook, tr_mallochook,
46396 tr_reallochook, tr_memalignhook): Use ANSI protoype.
46397
46398 2014-02-11 David S. Miller <davem@davemloft.net>
46399
46400 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46401 processing int_tests.
46402
46403 2014-02-10 Joseph Myers <joseph@codesourcery.com>
46404
46405 * sysdeps/mips: Move directory from ports/sysdeps/mips.
46406 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46407 * sysdeps/unix/sysv/linux/mips: Move directory from
46408 ports/sysdeps/unix/sysv/linux/mips.
46409 * README: Update listing for mips-*-linux-gnu and
46410 mips64-*-linux-gnu.
46411
46412 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
46413
46414 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46415 * sysdeps/unix/sysv/linux/m68k: Move directory from
46416 ports/sysdeps/unix/sysv/linux/m68k.
46417 * README: Update listing for m68k-*-linux-gnu.
46418
46419 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
46420
46421 * sysdeps/tile: Move directory from ports/sysdeps/tile.
46422 * sysdeps/unix/sysv/linux/generic: Move directory from
46423 ports/sysdeps/unix/sysv/linux/generic.
46424 * sysdeps/unix/sysv/linux/tile: Move directory from
46425 ports/sysdeps/unix/sysv/linux/tile.
46426 * README: Update listing for tile*-*-linux-gnu.
46427
46428 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
46429
46430 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46431 __builtin_expect.
46432 * benchtests/bench-memmem.c (simple_memmem): Likewise.
46433 * catgets/open_catalog.c (__open_catalog): Likewise.
46434 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46435 * debug/confstr_chk.c: Likewise.
46436 * debug/fread_chk.c (__fread_chk): Likewise.
46437 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46438 * debug/getgroups_chk.c: Likewise.
46439 * debug/mbsnrtowcs_chk.c: Likewise.
46440 * debug/mbsrtowcs_chk.c: Likewise.
46441 * debug/mbstowcs_chk.c: Likewise.
46442 * debug/memcpy_chk.c: Likewise.
46443 * debug/memmove_chk.c: Likewise.
46444 * debug/mempcpy_chk.c: Likewise.
46445 * debug/memset_chk.c: Likewise.
46446 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46447 * debug/strcat_chk.c (__strcat_chk): Likewise.
46448 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46449 * debug/strncat_chk.c (__strncat_chk): Likewise.
46450 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46451 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46452 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46453 * debug/wcpncpy_chk.c: Likewise.
46454 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46455 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46456 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46457 * debug/wcsncpy_chk.c: Likewise.
46458 * debug/wcsnrtombs_chk.c: Likewise.
46459 * debug/wcsrtombs_chk.c: Likewise.
46460 * debug/wcstombs_chk.c: Likewise.
46461 * debug/wmemcpy_chk.c: Likewise.
46462 * debug/wmemmove_chk.c: Likewise.
46463 * debug/wmempcpy_chk.c: Likewise.
46464 * debug/wmemset_chk.c: Likewise.
46465 * dirent/scandirat.c (SCANDIRAT): Likewise.
46466 * dlfcn/dladdr1.c (dladdr1): Likewise.
46467 * dlfcn/dladdr.c (dladdr): Likewise.
46468 * dlfcn/dlclose.c (dlclose_doit): Likewise.
46469 * dlfcn/dlerror.c (__dlerror): Likewise.
46470 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46471 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46472 * dlfcn/dlopen.c (dlopen_doit): Likewise.
46473 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46474 * dlfcn/dlsym.c (dlsym_doit): Likewise.
46475 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46476 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46477 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46478 Likewise.
46479 * elf/dl-conflict.c: Likewise.
46480 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46481 * elf/dl-dst.h: Likewise.
46482 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46483 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46484 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46485 * elf/dl-init.c (call_init, _dl_init): Likewise.
46486 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46487 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46488 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46489 Likewise.
46490 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46491 Likewise.
46492 * elf/dl-minimal.c (__libc_memalign): Likewise.
46493 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46494 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46495 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46496 * elf/dl-sym.c (do_sym): Likewise.
46497 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46498 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46499 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46500 * elf/dl-writev.h (_dl_writev): Likewise.
46501 * elf/ldconfig.c (search_dir): Likewise.
46502 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46503 (dl_main): Likewise.
46504 * elf/setup-vdso.h (setup_vdso): Likewise.
46505 * grp/compat-initgroups.c (compat_call): Likewise.
46506 * grp/fgetgrent.c (fgetgrent): Likewise.
46507 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46508 * grp/putgrent.c (putgrent): Likewise.
46509 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46510 Likewise.
46511 * hurd/hurdinit.c: Likewise.
46512 * iconvdata/8bit-gap.c (struct): Likewise.
46513 * iconvdata/ansi_x3.110.c : Likewise.
46514 * iconvdata/big5.c : Likewise.
46515 * iconvdata/big5hkscs.c : Likewise.
46516 * iconvdata/cp1255.c: Likewise.
46517 * iconvdata/cp1258.c : Likewise.
46518 * iconvdata/cp932.c : Likewise.
46519 * iconvdata/euc-cn.c: Likewise.
46520 * iconvdata/euc-jisx0213.c : Likewise.
46521 * iconvdata/euc-jp.c: Likewise.
46522 * iconvdata/euc-jp-ms.c : Likewise.
46523 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46524 * iconvdata/gb18030.c : Likewise.
46525 * iconvdata/gbbig5.c (const): Likewise.
46526 * iconvdata/gbgbk.c: Likewise.
46527 * iconvdata/gbk.c : Likewise.
46528 * iconvdata/ibm1364.c : Likewise.
46529 * iconvdata/ibm930.c : Likewise.
46530 * iconvdata/ibm932.c: Likewise.
46531 * iconvdata/ibm933.c : Likewise.
46532 * iconvdata/ibm935.c : Likewise.
46533 * iconvdata/ibm937.c : Likewise.
46534 * iconvdata/ibm939.c : Likewise.
46535 * iconvdata/ibm943.c: Likewise.
46536 * iconvdata/iso_11548-1.c: Likewise.
46537 * iconvdata/iso-2022-cn.c : Likewise.
46538 * iconvdata/iso-2022-cn-ext.c : Likewise.
46539 * iconvdata/iso-2022-jp-3.c: Likewise.
46540 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46541 * iconvdata/iso-2022-kr.c : Likewise.
46542 * iconvdata/iso646.c (gconv_end): Likewise.
46543 * iconvdata/iso_6937-2.c : Likewise.
46544 * iconvdata/iso_6937.c : Likewise.
46545 * iconvdata/iso8859-1.c: Likewise.
46546 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46547 * iconvdata/shift_jisx0213.c : Likewise.
46548 * iconvdata/sjis.c : Likewise.
46549 * iconvdata/t.61.c : Likewise.
46550 * iconvdata/tcvn5712-1.c : Likewise.
46551 * iconvdata/tscii.c: Likewise.
46552 * iconvdata/uhc.c : Likewise.
46553 * iconvdata/unicode.c (gconv_end): Likewise.
46554 * iconvdata/utf-16.c (gconv_end): Likewise.
46555 * iconvdata/utf-32.c (gconv_end): Likewise.
46556 * iconvdata/utf-7.c (base64): Likewise.
46557 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46558 * iconv/gconv_close.c (__gconv_close): Likewise.
46559 * iconv/gconv_open.c (__gconv_open): Likewise.
46560 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46561 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46562 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46563 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46564 (ucs4le_internal_loop_single): Likewise.
46565 * iconv/iconv.c (iconv): Likewise.
46566 * iconv/iconv_close.c: Likewise.
46567 * iconv/loop.c (SINGLE): Likewise.
46568 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46569 * include/atomic.h: Likewise.
46570 * inet/inet6_option.c (option_alloc): Likewise.
46571 * intl/bindtextdom.c (set_binding_values): Likewise.
46572 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46573 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46574 * intl/localealias.c (read_alias_file): Likewise.
46575 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46576 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46577 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46578 * libio/fmemopen.c (fmemopen): Likewise.
46579 * libio/iofgets.c (_IO_fgets): Likewise.
46580 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46581 * libio/iofgetws.c (fgetws): Likewise.
46582 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46583 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46584 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46585 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46586 * locale/findlocale.c (_nl_find_locale): Likewise.
46587 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46588 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46589 Likewise.
46590 * locale/setlocale.c (setlocale): Likewise.
46591 * login/programs/pt_chown.c (main): Likewise.
46592 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46593 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46594 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46595 (mmap, mmap64, mremap, munmap): Likewise.
46596 * math/e_exp2l.c: Likewise.
46597 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46598 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46599 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46600 * math/s_catan.c (__catan): Likewise.
46601 * math/s_catanf.c (__catanf): Likewise.
46602 * math/s_catanh.c (__catanh): Likewise.
46603 * math/s_catanhf.c (__catanhf): Likewise.
46604 * math/s_catanhl.c (__catanhl): Likewise.
46605 * math/s_catanl.c (__catanl): Likewise.
46606 * math/s_ccosh.c (__ccosh): Likewise.
46607 * math/s_ccoshf.c (__ccoshf): Likewise.
46608 * math/s_ccoshl.c (__ccoshl): Likewise.
46609 * math/s_cexp.c (__cexp): Likewise.
46610 * math/s_cexpf.c (__cexpf): Likewise.
46611 * math/s_cexpl.c (__cexpl): Likewise.
46612 * math/s_clog10.c (__clog10): Likewise.
46613 * math/s_clog10f.c (__clog10f): Likewise.
46614 * math/s_clog10l.c (__clog10l): Likewise.
46615 * math/s_clog.c (__clog): Likewise.
46616 * math/s_clogf.c (__clogf): Likewise.
46617 * math/s_clogl.c (__clogl): Likewise.
46618 * math/s_csin.c (__csin): Likewise.
46619 * math/s_csinf.c (__csinf): Likewise.
46620 * math/s_csinh.c (__csinh): Likewise.
46621 * math/s_csinhf.c (__csinhf): Likewise.
46622 * math/s_csinhl.c (__csinhl): Likewise.
46623 * math/s_csinl.c (__csinl): Likewise.
46624 * math/s_csqrt.c (__csqrt): Likewise.
46625 * math/s_csqrtf.c (__csqrtf): Likewise.
46626 * math/s_csqrtl.c (__csqrtl): Likewise.
46627 * math/s_ctan.c (__ctan): Likewise.
46628 * math/s_ctanf.c (__ctanf): Likewise.
46629 * math/s_ctanh.c (__ctanh): Likewise.
46630 * math/s_ctanhf.c (__ctanhf): Likewise.
46631 * math/s_ctanhl.c (__ctanhl): Likewise.
46632 * math/s_ctanl.c (__ctanl): Likewise.
46633 * math/w_pow.c: Likewise.
46634 * math/w_powf.c: Likewise.
46635 * math/w_powl.c: Likewise.
46636 * math/w_scalb.c (sysv_scalb): Likewise.
46637 * math/w_scalbf.c (sysv_scalbf): Likewise.
46638 * math/w_scalbl.c (sysv_scalbl): Likewise.
46639 * misc/error.c (error_tail): Likewise.
46640 * misc/pselect.c (__pselect): Likewise.
46641 * nis/nis_callback.c (__nis_create_callback): Likewise.
46642 * nis/nis_call.c (__nisfind_server): Likewise.
46643 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46644 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46645 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46646 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46647 * nis/nis_lookup.c (nis_lookup): Likewise.
46648 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46649 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46650 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46651 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46652 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46653 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46654 * nis/nss_compat/compat-initgroups.c (add_group)
46655 (internal_getgrent_r): Likewise.
46656 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46657 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46658 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46659 (internal_getspnam_r): Likewise.
46660 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46661 (_nss_nis_getaliasbyname_r): Likewise.
46662 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46663 (_nss_nis_getntohost_r): Likewise.
46664 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46665 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46666 (_nss_nis_getgrgid_r): Likewise.
46667 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46668 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46669 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46670 (_nss_nis_gethostbyname4_r): Likewise.
46671 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46672 (initgroups_netid): Likewise.
46673 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46674 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46675 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46676 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46677 (_nss_nis_getprotobynumber_r): Likewise.
46678 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46679 (_nss_nis_getsecretkey): Likewise.
46680 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46681 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46682 (_nss_nis_getpwuid_r): Likewise.
46683 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46684 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46685 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46686 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46687 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46688 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46689 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46690 Likewise.
46691 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46692 (_nss_nisplus_getntohost_r): Likewise.
46693 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46694 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46695 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46696 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46697 Likewise.
46698 * nis/nss_nisplus/nisplus-initgroups.c
46699 (_nss_nisplus_initgroups_dyn): Likewise.
46700 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46701 (_nss_nisplus_getnetbyaddr_r): Likewise.
46702 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46703 (_nss_nisplus_getprotobynumber_r): Likewise.
46704 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46705 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46706 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46707 Likewise.
46708 * nis/nss_nisplus/nisplus-service.c
46709 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46710 (_nss_nisplus_getservbyport_r): Likewise.
46711 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46712 (_nss_nisplus_getspnam_r): Likewise.
46713 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46714 Likewise.
46715 * nscd/aicache.c (addhstaiX): Likewise.
46716 * nscd/cache.c (cache_search, prune_cache): Likewise.
46717 * nscd/connections.c (register_traced_file, send_ro_fd)
46718 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46719 (main_loop_epoll): Likewise.
46720 * nscd/grpcache.c (addgrbyX): Likewise.
46721 * nscd/hstcache.c (addhstbyX): Likewise.
46722 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46723 * nscd/mem.c (gc, mempool_alloc): Likewise.
46724 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46725 (addinnetgrX): Likewise.
46726 * nscd/nscd-client.h (__nscd_acquire_maplock)
46727 (__nscd_drop_map_ref): Likewise.
46728 * nscd/nscd_getai.c (__nscd_getai): Likewise.
46729 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46730 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46731 Likewise.
46732 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46733 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46734 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46735 (__nscd_get_map_ref): Likewise.
46736 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46737 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46738 Likewise.
46739 * nscd/pwdcache.c (addpwbyX): Likewise.
46740 * nscd/selinux.c (preserve_capabilities): Likewise.
46741 * nscd/servicescache.c (addservbyX): Likewise.
46742 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46743 * posix/fnmatch.c (fnmatch): Likewise.
46744 * posix/getopt.c (_getopt_internal_r): Likewise.
46745 * posix/glob.c (glob, glob_in_dir): Likewise.
46746 * posix/wordexp.c (exec_comm_child): Likewise.
46747 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46748 (getanswer_r, gaih_getanswer_slice): Likewise.
46749 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46750 * resolv/res_init.c: Likewise.
46751 * resolv/res_mkquery.c (res_nmkquery): Likewise.
46752 * resolv/res_query.c (__libc_res_nquery): Likewise.
46753 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46754 Likewise.
46755 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46756 * stdio-common/perror.c (perror): Likewise.
46757 * stdio-common/printf_fp.c (___printf_fp): Likewise.
46758 * stdio-common/tmpnam.c (tmpnam): Likewise.
46759 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46760 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46761 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46762 Likewise.
46763 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46764 * stdlib/putenv.c (putenv): Likewise.
46765 * stdlib/setenv.c (__add_to_environ): Likewise.
46766 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46767 * stdlib/strtol_l.c (INTERNAL): Likewise.
46768 * string/memmem.c (memmem): Likewise.
46769 * string/strerror.c (strerror): Likewise.
46770 * string/strnlen.c (__strnlen): Likewise.
46771 * string/test-memmem.c (simple_memmem): Likewise.
46772 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46773 * sunrpc/pm_getport.c (__get_socket): Likewise.
46774 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46775 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46776 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46777 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46778 Likewise.
46779 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46780 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46781 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46782 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46783 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46784 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46785 Likewise.
46786 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46787 Likewise.
46788 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46789 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46790 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46791 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46792 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46794 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46795 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46796 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46797 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46798 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46799 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46800 Likewise.
46801 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46802 Likewise.
46803 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46804 Likewise.
46805 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46806 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46807 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46808 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46809 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46810 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46811 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46814 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46815 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46817 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46818 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46820 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46821 Likewise.
46822 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46823 Likewise.
46824 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46825 Likewise.
46826 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46827 Likewise.
46828 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46829 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46830 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46831 Likewise.
46832 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46833 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46834 * sysdeps/posix/opendir.c (__opendirat): Likewise.
46835 * sysdeps/posix/sleep.c: Likewise.
46836 * sysdeps/posix/tempname.c: Likewise.
46837 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46838 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46839 Likewise.
46840 * sysdeps/powerpc/powerpc32/dl-machine.h
46841 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46842 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46844 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46845 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46846 Likewise.
46847 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46849 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46851 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46852 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46853 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46854 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46855 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46856 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46858 (elf_machine_lazy_rel): Likewise.
46859 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46861 (elf_machine_lazy_rel): Likewise.
46862 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46863 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46864 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46865 * sysdeps/unix/grantpt.c (grantpt): Likewise.
46866 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46867 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46868 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46870 Likewise.
46871 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46872 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46873 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46874 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46875 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46876 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46877 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46878 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46879 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46880 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46881 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46882 Likewise.
46883 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46884 (__posix_fallocate64_l64): Likewise.
46885 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46886 (posix_fallocate): Likewise.
46887 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46888 Likewise.
46889 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46890 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46891 (getifaddrs_internal): Likewise.
46892 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46893 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46894 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46895 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46896 * sysdeps/unix/sysv/linux/posix_fallocate64.c
46897 (__posix_fallocate64_l64): Likewise.
46898 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46899 Likewise.
46900 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46901 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46902 (__get_clockfreq): Likewise.
46903 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46904 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46905 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46908 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46909 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46910 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46911 Likewise.
46912 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46913 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46914 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46915 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46916 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46917 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46918 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46919 Likewise.
46920 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46921 (posix_fallocate): Likewise.
46922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46923 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46924 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46925 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46926 (elf_machine_rela, elf_machine_rela_relative)
46927 (elf_machine_lazy_rel): Likewise.
46928 * time/asctime.c (asctime_internal): Likewise.
46929 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46930 * time/tzset.c (__tzset_parse_tz): Likewise.
46931 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46932 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46933 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46934 * wcsmbs/wcsmbsload.h: Likewise.
46935
46936 [BZ #15894]
46937 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46938
46939 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46940 (arena_get2): Remove THREAD_STATS conditionals.
46941 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46942 (__malloc_stats, int): Likewise.
46943
46944 2014-02-08 Mike Frysinger <vapier@gentoo.org>
46945
46946 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46947 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
46948
46949 * manual/setjmp.texi: Fix typos/grammar errors.
46950
46951 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46952 Only return early when n is <= 0. Delete unused return statement.
46953
46954 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46955 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46956 * debug/tst-longjmp_chk3.c: New file.
46957
46958 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46959 (test_main): Replace code with set_fortify_handler call.
46960 * debug/test-strcpy_chk.c: Likewise.
46961 * debug/tst-chk1.c: Likewise.
46962 * debug/tst-longjmp_chk.c: Likewise.
46963 * test-skeleton.c: Include fcntl.h & paths.h
46964 (set_fortify_handler): Define.
46965
46966 * debug/tst-longjmp_chk.c: Add header comment and include
46967 ../test-skeleton.c.
46968 (do_test): Mark static.
46969 (TEST_FUNCTION): Define.
46970
46971 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46972 (IP_PMTUDISC_INTERFACE): Likewise.
46973 (IP_MULTICAST_IF): Likewise.
46974 (IP_MULTICAST_TTL): Likewise.
46975 (IP_MULTICAST_LOOP): Likewise.
46976 (IP_ADD_MEMBERSHIP): Likewise.
46977 (IP_DROP_MEMBERSHIP): Likewise.
46978 (IP_UNBLOCK_SOURCE): Likewise.
46979 (IP_BLOCK_SOURCE): Likewise.
46980 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46981 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46982 (IP_MSFILTER): Likewise.
46983 (MCAST_JOIN_GROUP): Likewise.
46984 (MCAST_BLOCK_SOURCE): Likewise.
46985 (MCAST_UNBLOCK_SOURCE): Likewise.
46986 (MCAST_LEAVE_GROUP): Likewise.
46987 (MCAST_JOIN_SOURCE_GROUP): Likewise.
46988 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46989 (MCAST_MSFILTER): Likewise.
46990 (IP_MULTICAST_ALL): Likewise.
46991 (IP_UNICAST_IF): Likewise.
46992
46993 * timezone/Makefile: Delete $(have-ksh) check.
46994 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46995 * timezone/tzselect.ksh: Add +x mode bits.
46996
46997 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46998 (ANON_INODE_FS_MAGIC): Likewise.
46999 (BDEVFS_MAGIC): Likewise.
47000 (BINFMTFS_MAGIC): Likewise.
47001 (BTRFS_TEST_MAGIC): Likewise.
47002 (CRAMFS_MAGIC_WEND): Likewise.
47003 (DEBUGFS_MAGIC): Likewise.
47004 (ECRYPTFS_SUPER_MAGIC): Likewise.
47005 (EXT3_SUPER_MAGIC): Likewise.
47006 (EXT4_SUPER_MAGIC): Likewise.
47007 (FUTEXFS_SUPER_MAGIC): Likewise.
47008 (HOSTFS_SUPER_MAGIC): Likewise.
47009 (HUGETLBFS_MAGIC): Likewise.
47010 (MINIX3_SUPER_MAGIC): Likewise.
47011 (MTD_INODE_FS_MAGIC): Likewise.
47012 (NILFS_SUPER_MAGIC): Likewise.
47013 (OPENPROM_SUPER_MAGIC): Likewise.
47014 (PIPEFS_MAGIC): Likewise.
47015 (PSTOREFS_MAGIC): Likewise.
47016 (QNX6_SUPER_MAGIC): Likewise.
47017 (RAMFS_MAGIC): Likewise.
47018 (REISERFS_SUPER_MAGIC_STRING): Likewise.
47019 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47020 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47021 (SECURITYFS_MAGIC): Likewise.
47022 (SELINUX_MAGIC): Likewise.
47023 (SMACK_MAGIC): Likewise.
47024 (SOCKFS_MAGIC): Likewise.
47025 (SQUASHFS_MAGIC): Likewise.
47026 (STACK_END_MAGIC): Likewise.
47027 (TMPFS_MAGIC): Likewise.
47028 (USBDEVICE_SUPER_MAGIC): Likewise.
47029 (V9FS_MAGIC): Likewise.
47030 (XENFS_SUPER_MAGIC): Likewise.
47031 (CRAMFS_MAGIC): Fix typo in comment.
47032 (EXT2_SUPER_MAGIC): Update comment.
47033 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47034
47035 2014-02-08 Joseph Myers <joseph@codesourcery.com>
47036
47037 * sysdeps/arm: Move directory from ports/sysdeps/arm.
47038 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47039 * sysdeps/unix/sysv/linux/arm: Move directory from
47040 ports/sysdeps/unix/sysv/linux/arm.
47041 * README: Update listing for arm-*-linux-gnueabi.
47042
47043 * README: Remove mention of am33.
47044
47045 2014-02-07 Roland McGrath <roland@hack.frob.com>
47046
47047 * bits/sigset.h (__sigemptyset): Use a statement expression rather
47048 than the comma operator, to avoid "rhs of comma has no effect"
47049 compiler warnings.
47050 (__sigfillset, __sigandset, __sigorset): Likewise.
47051 * include/signal.h (__sigemptyset): Likewise.
47052 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47053
47054 2014-02-07 Allan McRae <allan@archlinux.org>
47055
47056 * version.h (RELEASE): Set to "development".
47057 (VERSION): Set to "2.19.90"
47058 * NEWS: Add 2.20 section.
47059
47060 2014-02-06 Carlos O'Donell <carlos@redhat.com>
47061
47062 [BZ #16529]
47063 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47064
47065 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47066
47067 * manual/contrib.texi: Update entry for Carlos O'Donell,
47068 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47069
47070 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
47071
47072 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47073
47074 * sysdeps/unix/sysv/linux/kernel-features.h
47075 [__LINUX_KERNEL_VERSION >= 0x020621]
47076 (__ASSUME_PROC_PID_TASK_COMM): Define.
47077
47078 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47079
47080 [BZ #16398]
47081 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47082 conversion when destination buffer does not have enough space.
47083 * libio/tst-ftell-partial-wide.c: New test case.
47084 * libio/Makefile (tests): Add tst-ftell-partial-wide.
47085
47086 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47087 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
47088 Leonard and Allan McRae.
47089
47090 2014-02-04 David S. Miller <davem@davemloft.net>
47091
47092 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47093 32-bit.
47094
47095 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47096
47097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47098 New file
47099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47100 New file
47101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47102 New file.
47103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47104 New file.
47105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47106 New file.
47107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47108 New file.
47109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47110 New file.
47111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47112 New file.
47113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47114 New file.
47115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47116 New file.
47117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47118 New file.
47119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47120 New file.
47121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47122 New file.
47123
47124 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47125
47126 * nptl/shlib-versions: Change powerpc*le start to 2.17.
47127 * shlib-versions: Likewise.
47128
47129 2014-02-04 Roland McGrath <roland@hack.frob.com>
47130 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47131
47132 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47133 (abilist-pattern): New variable, set to %-le.abilist.
47134
47135 * Makerules (abilist-pattern): New variable.
47136 (vpath): Use $(abilist-pattern) in place of %.abilist.
47137 (check-abi-% pattern rule): Likewise.
47138 (check-abi, update-abi): Likewise.
47139
47140 2014-02-04 Eric Wong <normalperson@yhbt.net>
47141
47142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47143
47144 2014-02-03 Carlos O'Donell <carlos@redhat.com>
47145
47146 * manual/startup.texi: Add next, previous, and top entries for
47147 the `Program Arguments' and `Environment Variables' nodes.
47148
47149 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
47150
47151 * manual/macros.texi: Add comments before MTASC-safety macros.
47152
47153 * manual/users.texi: Document MTASC-safety properties.
47154
47155 * manual/threads.texi (pthread_key_create, pthread_key_delete)
47156 (pthread_getspecific, pthread_setspecific): Format with
47157 @deftypefun, and add @safety note.
47158 * manual/signal.texi: Move comments that analyze the above
47159 functions to their home place.
47160
47161 2014-02-03 Allan McRae <allan@archlinux.org>
47162
47163 * po/sl.po: Update Slovenian translation from translation project.
47164
47165 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
47166
47167 * manual/time.texi (timegm): Add missing blank after @c.
47168 Reported by Joseph Myers <joseph@codesourcery.com>.
47169
47170 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
47171
47172 * manual/check-safety.sh: New.
47173 * manual/Makefile ($(objpfx)stamp-summary): Run it.
47174
47175 * manual/terminal.texi: Document MTASC-safety properties.
47176
47177 * manual/filesys.texi: Document MTASC-safety properties.
47178
47179 * manual/errno.texi: Document MTASC-safety properties.
47180
47181 * manual/intro.texi: Document safety identifiers and
47182 conditionals.
47183
47184 * manual/string.texi (wcstok): Fix prototype.
47185 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47186
47187 * manual/time.texi: Document MTASC-safety properties.
47188
47189 * manual/string.texi: Document MTASC-safety properties.
47190
47191 * manual/threads.texi: Document MTASC-safety properties.
47192
47193 * manual/stdio.texi: Document MTASC-safety properties.
47194
47195 * manual/syslog.texi: Document MTASC-safety properties.
47196
47197 * manual/sysinfo.texi: Document MTASC-safety properties.
47198
47199 * manual/startup.texi: Document MTASC-safety properties.
47200
47201 * manual/socket.texi: Document MTASC-safety properties.
47202
47203 * manual/signal.texi: Document MTASC-safety properties.
47204
47205 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
47206
47207 * manual/setjmp.texi: Document MTASC-safety properties.
47208
47209 * manual/search.texi: Document MTASC-safety properties.
47210
47211 * manual/resource.texi: Document MTASC-safety properties.
47212
47213 * manual/process.texi: Document MTASC-safety properties.
47214
47215 * manual/platform.texi: Document MTASC-safety properties.
47216
47217 * manual/pipe.texi: Document MTASC-safety properties.
47218
47219 * manual/pattern.texi: Document MTASC-safety properties.
47220
47221 * manual/message.texi: Document MTASC-safety properties.
47222
47223 [BZ #12751]
47224 * manual/memory.texi: Document MTASC-safety properties.
47225
47226 * manual/math.texi: Document MTASC-safety properties.
47227
47228 * manual/locale.texi: Document MTASC-safety properties.
47229
47230 * manual/llio.texi: Document MTASC-safety properties.
47231
47232 * manual/libdl.texi: New.
47233
47234 * manual/lang.texi: Document MTASC-safety properties.
47235
47236 * manual/job.texi: Document MTASC-safety properties.
47237
47238 * manual/getopt.texi: Document MTASC-safety properties.
47239
47240 * manual/ctype.texi: Document MTASC-safety properties.
47241
47242 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
47243
47244 [BZ #16046]
47245 * csu/libc-tls.c (static_map): Remove variable.
47246 (__libc_setup_tls): Use main executable's link map for TLS data.
47247 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47248 casing for LM_ID_BASE and GL(dl_nns).
47249 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47250 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
47251 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47252 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47253 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47254 member.
47255 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47256 l_phnum members.
47257
47258 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
47259
47260 * manual/debug.texi: Document MTASC-safety properties.
47261
47262 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
47263
47264 [BZ #16510]
47265 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47266 of __x86_64__ when disabling x87 inline functions.
47267
47268 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
47269
47270 * manual/charset.texi: Document MTASC-safety properties.
47271
47272 * manual/crypt.texi: Document MTASC-safety properties.
47273
47274 * manual/conf.texi: Document MTASC-safety properties.
47275
47276 * manual/arith.texi: Document MTASC-safety properties.
47277
47278 * manual/argp.texi: Document MTASC-safety properties.
47279
47280 * manual/macros.texi: Introduce macros to document multi
47281 thread, asynchronous signal and asynchronous cancellation
47282 safety properties.
47283 * manual/intro.texi: Introduce the properties themselves.
47284
47285 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47286
47287 * sysdeps/sh/sh4/Makefile: New file.
47288
47289 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
47290
47291 * math/gen-libm-test.pl ($srcdir): New variable.
47292 ($auto_input): Use it.
47293
47294 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47295
47296 [BZ #16506]
47297 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47298 access beyond array bounds when parsing netgroups file.
47299
47300 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47301 the old buffer before realloc.
47302
47303 2014-01-27 Allan McRae <allan@archlinux.org>
47304
47305 * po/fr.po: Update French translation from translation project.
47306
47307 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47308
47309 * sysdeps/sh/libm-test-ulps: Regenerate.
47310
47311 2014-01-24 David S. Miller <davem@davemloft.net>
47312
47313 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47314
47315 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47316
47317 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47318 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47319
47320 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47321
47322 [BZ #16474]
47323 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47324 string pointers after reallocation.
47325
47326 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47327
47328 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47329 __SH4A__ instead of __SH_FPU_ANY__.
47330
47331 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47332
47333 * sysdeps/sh/fpu_control.h: New file.
47334 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47335 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47336 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47337 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47338 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47339 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47340 * sysdeps/sh/sys/ucontext.h: Remove.
47341 * sysdeps/sh/sys: Remove directory.
47342
47343 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47344
47345 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47346 s390/sys/ucontext.h.
47347 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47348 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47349
47350 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
47351
47352 [BZ #15605]
47353 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47354
47355 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47356
47357 [BZ#16431]
47358 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47359 Adjust the vDSO correctly for internal calls.
47360 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47361
47362 2014-01-20 Allan McRae <allan@archlinux.org>
47363
47364 * po/ca.po: Update Catalan translation from translation project.
47365
47366 2014-01-16 Mike Frysinger <vapier@gentoo.org>
47367
47368 * sysdeps/s390/sotruss-lib.c: New file.
47369
47370 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47371
47372 [BZ#16430]
47373 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47374 (__GI___gettimeofday): Alias for a different internal symbol to avoid
47375 local calls issues by not having a PLT stub required for IFUNC calls.
47376 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47377
47378 2014-01-16 Joseph Myers <joseph@codesourcery.com>
47379
47380 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47381 * math/test-fpucw-static.c: Likewise.
47382
47383 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47384
47385 [BZ #16453]
47386 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47387
47388 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47389
47390 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47391 implementation for powerpc.
47392
47393 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
47394
47395 [BZ #14782]
47396 * sysdeps/posix/system.c (__libc_system): Do not enable
47397 asynchronous cancellation.
47398
47399 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47400
47401 [BZ #16427]
47402 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47403 handling only for numbers special also in the IEEE case.
47404
47405 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47406
47407 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47408
47409 2014-01-11 Allan McRae <allan@archlinux.org>
47410
47411 * po/bg.po: Update Bulgarian translation from translation project.
47412
47413 * po/de.po: Update German translation from translation project.
47414
47415 2014-01-10 Roland McGrath <roland@hack.frob.com>
47416
47417 * sysdeps/generic/gcc-compat.h: New file.
47418
47419 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47420
47421 * benchtests/asin-inputs: Correct slow inputs.
47422 * benchtests/acos-inputs: Likewise.
47423
47424 2014-01-10 Allan McRae <allan@archlinux.org>
47425
47426 * po:sv.po: Update Swedish translation from translation project.
47427
47428 * po/vi.po: Update Vietnamese translation from translation project.
47429
47430 * po/eo.po: Update Esperanto translation from translation project.
47431
47432 * po/cs.po: Update Czech translation from translation project.
47433
47434 * po/nl.po: Update Dutch translation from translation project.
47435
47436 * po/pl.po: Update Polish translation from translation project.
47437
47438 * po/ru.po: Update Russian translation from translation project.
47439
47440 * po/uk.po: Update Ukrainian translation from translation project.
47441
47442 2014-01-08 Brooks Moses <bmoses@google.com>
47443
47444 * elf/dl-load.c: Fix comment typo.
47445
47446 2014-01-08 Carlos O'Donell <carlos@redhat.com>
47447
47448 * po/header.pot: Rename to...
47449 * po/pot.header: ... this.
47450 * po/Makefile: Use pot.header.
47451
47452 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
47453 Maxim Kuvyrkov <maxim@kugelworks.com>
47454
47455 [BZ #16394]
47456 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47457 SRC and DEST against LEN.
47458
47459 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47460
47461 [BZ #16414]
47462 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47463 implementation.
47464 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47465
47466 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47467
47468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47469
47470 2014-01-08 Joseph Myers <joseph@codesourcery.com>
47471
47472 [BZ #16408]
47473 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47474 for large positive arguments.
47475
47476 2014-01-07 Joseph Myers <joseph@codesourcery.com>
47477
47478 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47479
47480 * math/auto-libm-test-in: Mark various tests with
47481 xfail-rounding:ldbl-128ibm.
47482 * math/auto-libm-test-out: Regenerated.
47483
47484 [BZ #16407]
47485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47486 Increase overflow threshold.
47487
47488 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
47489
47490 [BZ #14286]
47491 * stdio-common/vfprintf.c: Check for integer overflow.
47492
47493 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47494
47495 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47496 the first argument and return value of __tls_get_addr_internal.
47497
47498 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47499
47500 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47501 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47502
47503 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47504
47505 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47506 * sysdeps/s390/rtld-global-offsets.sym: New file.
47507 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47508 GLIBC_2.19 symbol.
47509 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47510 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47511 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47512 ... this.
47513 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47514 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47515 ... this.
47516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47517 Regenerate.
47518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47519 Regenerate.
47520 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47521 halfs of GPRs for high_gprs contexts.
47522 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47523 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47524 field.
47525 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47526 uc_flags field.
47527 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47528 64 bit versions:
47529 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47530 for high GPRs (uc_high_gprs) and for future extensions
47531 (__reserved).
47532 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47533 for future extensions (__reserved).
47534 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47535 64 bit versions:
47536 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47537 SC_HIGHGPRS offset definition.
47538 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47539 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47540
47541 * Versions.def: Add GLIBC_2.19 for libpthread.
47542 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47543 siglongjmp for libpthread with GLIBC_2.19 symver.
47544 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47545 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47546 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47547 * sysdeps/s390/__longjmp.c: New file.
47548 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47549 * sysdeps/s390/longjmp.c: New file.
47550 * sysdeps/s390/setjmp.S: New file.
47551 * sysdeps/s390/sigjmp.S: New file.
47552 * sysdeps/s390/v1-longjmp.c: New file.
47553 * sysdeps/s390/v1-setjmp.h: New file.
47554 * sysdeps/s390/v1-sigjmp.c: New file.
47555 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47556 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47557 GLIBC_2.19 version.
47558 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47559 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47560 versioned symbols for ____longjmp_chk.
47561 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47562 Likewise.
47563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47564 Regenerate.
47565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47566 Regenerate.
47567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47568 Regenerate.
47569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47570 Regenerate.
47571 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47572 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47573 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47574 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47575 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47576 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47577 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47578 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47579 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47580 * sysdeps/s390/rtld-__longjmp.c: New file.
47581 * sysdeps/s390/rtld-setjmp.S: New file.
47582
47583 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47584
47585 [BZ #16400]
47586 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47587 Return -__logl (x) for small positive arguments without evaluating
47588 a polynomial.
47589
47590 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47591
47592 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47593 Rename to ...
47594 (__ptrace_peeksiginfo_args): ... this.
47595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47596 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47597 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47598
47599 2014-01-06 Allan McRae <allan@archlinux.org>
47600
47601 * inet/netinet/in.h: Fix typo in comment.
47602
47603 2014-01-05 Andreas Jaeger <aj@suse.de>
47604
47605 * sysdeps/i386/fpu/libm-test-ulps: Update.
47606
47607 2014-01-05 Allan McRae <allan@archlinux.org>
47608
47609 * po/libc.pot: Regenerated.
47610
47611 * malloc/memusagestat.c: Fix gettext call formatting.
47612
47613 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47614
47615 * nscd/nscd.c: Improve usage() output.
47616
47617 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47618
47619 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47620 * sysdeps/unix/sysv/linux/configure: Regenerated.
47621 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47622 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47623
47624 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47625
47626 [BZ #16390]
47627 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47628 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47629
47630 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47631
47632 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47633 extra tokens at end of #undef directive.
47634 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47635 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47636 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47637
47638 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47639
47640 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47641
47642 * math/auto-libm-test-in: Mark various tests with
47643 xfail-rounding:ldbl-128ibm.
47644 * math/auto-libm-test-out: Regenerated.
47645
47646 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47647
47648 [BZ #16386]
47649 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47650 numbers with subnormal high part when calculating exponent.
47651
47652 [BZ #16385]
47653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47654 fabs.
47655
47656 [BZ #16384]
47657 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47658 M_LN2l.
47659 (__ieee754_acoshl): Use __log1pl not __log1p.
47660
47661 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47662
47663 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47664 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47665 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47666 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47667 (reused_arena, arena_get2): Convert to GNU style.
47668 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47669 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47670 (memalign_check, __malloc_set_state): Likewise.
47671 * malloc/mallocbug.c (main): Likewise.
47672 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47673 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47674 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47675 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47676 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47677 (__posix_memalign, malloc_info): Likewise.
47678 * malloc/malloc.h: Likewise.
47679 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47680 (mallochook, memalignhook, reallochook, mabort): Likewise.
47681 * malloc/mcheck.h: Likewise.
47682 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47683 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47684 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47685 * malloc/morecore.c (__default_morecore): Likewise.
47686 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47687 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47688 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47689 (print_and_abort): Likewise.
47690 * malloc/obstack.h: Likewise.
47691 * malloc/set-freeres.c (__libc_freeres): Likewise.
47692 * malloc/tst-mallocstate.c (main): Likewise.
47693 * malloc/tst-mtrace.c (main): Likewise.
47694 * malloc/tst-realloc.c (do_test): Likewise.
47695
47696 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47697
47698 [BZ #16366]
47699 * nscd/netgroupcache.c (do_notfound): New function.
47700 (addgetnetgrentX): Use it.
47701
47702 [BZ # 16365]
47703 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47704 NSS_STATUS_NOTFOUND.
47705
47706 2014-01-01 Joseph Myers <joseph@codesourcery.com>
47707
47708 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47710
47711 2014-01-01 Allan McRae <allan@archlinux.org>
47712
47713 * scripts/update-copyrights: Update configure input file suffix.
47714
47715 * NEWS: Update copyright year.
47716 * catgets/gencat.c: Likewise.
47717 * csu/version.c: Likewise.
47718 * debug/catchsegv.sh: Likewise.
47719 * debug/pcprofiledump.c: Likewise.
47720 * debug/xtrace.sh: Likewise.
47721 * elf/ldconfig.c: Likewise.
47722 * elf/ldd.bash.in: Likewise.
47723 * elf/pldd.c: Likewise.
47724 * elf/sotruss.ksh: Likewise.
47725 * elf/sprof.c: Likewise.
47726 * iconv/iconv_prog.c: Likewise.
47727 * iconv/iconvconfig.c: Likewise.
47728 * locale/programs/locale.c: Likewise.
47729 * locale/programs/localedef.c: Likewise.
47730 * login/programs/pt_chown.c: Likewise.
47731 * malloc/memusage.sh: Likewise.
47732 * malloc/memusagestat.c: Likewise.
47733 * malloc/mtrace.pl: Likewise.
47734 * manual/libc.texinfo: Likewise.
47735 * nscd/nscd.c: Likewise.
47736 * nss/getent.c: Likewise.
47737 * nss/makedb.c: Likewise.
47738 * posix/getconf.c: Likewise.
47739 * scripts/test-installation.pl: Likewise.
47740
47741 * All files with FSF copyright notices: Update copyright dates
47742 using scripts/update-copyrights.
47743 * intl/plural.c: Regenerated.
47744 * locale/programs/charmap-kw.h: Likewise.
47745 * locale/programs/locfile-kw.h: Likewise.
47746
47747 2013-12-31 Mike Frysinger <vapier@gentoo.org>
47748
47749 * sysdeps/unix/sysv/linux/configure: Regenerated.
47750 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47751 the linux/fanotify.h header.
47752 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47753 HAVE_LINUX_FANOTIFY_H is defined.
47754
47755 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47756
47757 * benchtests/cos-inputs: New inputs.
47758 * benchtests/sin-inputs: Likewise.
47759
47760 * benchtests/atan-inputs: New inputs. Fix name of multiple
47761 precision fallback inputs.
47762
47763 * benchtests/atanh-inputs: New inputs.
47764 * benchtests/tanh-inputs: Likewise.
47765
47766 * benchtests/acosh-inputs: New inputs.
47767 * benchtests/asinh-inputs: Likewise.
47768
47769 * benchtests/cosh-inputs: New inputs.
47770 * benchtests/sinh-inputs: Likewise.
47771
47772 * benchtests/acos-inputs: Add more inputs.
47773 * benchtests/asin-inputs: Likewise.
47774
47775 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
47776
47777 [BZ #16375]
47778 * manual/arith.texi: Fix spelling.
47779 * manual/charset.texi: Likewise.
47780 * manual/errno.texi: Likewise.
47781 * manual/filesys.texi: Likewise.
47782 * manual/lang.texi: Likewise.
47783 * manual/llio.texi: Likewise.
47784 * manual/locale.texi: Likewise.
47785 * manual/message.texi: Likewise.
47786 * manual/resource.texi: Likewise.
47787 * manual/search.texi: Likewise.
47788 * manual/setjmp.texi: Likewise.
47789 * manual/stdio.texi: Likewise.
47790 * manual/string.texi: Likewise.
47791 * manual/sysinfo.texi: Likewise.
47792 * manual/time.texi: Likewise.
47793
47794 2013-12-27 Carlos O'Donell <carlos@redhat.com>
47795
47796 * po/sl.po: New file.
47797
47798 2013-12-27 Mike Frysinger <vapier@gentoo.org>
47799
47800 * .gitignore: Add core/.gdbinit/.gdb_history.
47801
47802 2013-12-27 Allan McRae <allan@archlinux.org>
47803
47804 [BZ #16369]
47805 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47806 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47807
47808 2013-12-24 Brooks Moses <bmoses@google.com>
47809
47810 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47811 all compilers that claim C++98 compliance, not just GCC.
47812 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47813 Likewise.
47814
47815 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47816
47817 * NEWS: Restore accidentally deleted bug-fix entries.
47818
47819 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47820 Ondřej Bílka <neleai@seznam.cz>
47821
47822 [BZ #15073]
47823 * malloc/malloc.c (_int_free): Perform sanity check only if we
47824 have_lock.
47825
47826 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
47827
47828 [BZ #12986]
47829 * manual/stdio.texi (String Input Conversions): Clarify that character
47830 classes are not supported.
47831
47832 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47833
47834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47835
47836 2013-12-22 Joseph Myers <joseph@codesourcery.com>
47837
47838 [BZ #16337]
47839 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47840 Calculate results for small negative arguments directly rather
47841 than using reflection formula with special underflow handling.
47842
47843 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47844 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47845 sysdeps/unix/bsd/bsd4.4/syscalls.list.
47846 (fchflags): Likewise.
47847 (revoke): Likewise.
47848 (setlogin): Likewise.
47849 (sigaltstack): Likewise.
47850 (wait4): Likewise.
47851 (sigblock): Remove.
47852 (sigsetmask): Likewise.
47853 (wait3): Likewise.
47854 (waitpid): Likewise.
47855 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47856 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47857 file.
47858 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47859 * sysdeps/unix/bsd/Makefile: ... here.
47860 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47861 * sysdeps/unix/bsd/Versions: ... here.
47862 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47863 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47864 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47865 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47866 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47867 * sysdeps/unix/bsd/sigblock.c: ... here.
47868 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47869 * sysdeps/unix/bsd/sigsetmask.c: ... here.
47870 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47871 * sysdeps/unix/bsd/sigvec.c: ... here.
47872 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47873 * sysdeps/unix/bsd/tcdrain.c: ... here.
47874 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47875 * sysdeps/unix/bsd/tcgetattr.c: ... here.
47876 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47877 * sysdeps/unix/bsd/tcsetattr.c: ... here.
47878 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47879 * sysdeps/unix/bsd/wait.c: ... here.
47880 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47881 * sysdeps/unix/bsd/wait3.c: ... here.
47882 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47883 * sysdeps/unix/bsd/waitpid.c: ... here.
47884
47885 2013-12-21 Joseph Myers <joseph@codesourcery.com>
47886
47887 [BZ #16356]
47888 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47889 round-to-nearest for [!USE_AS_EXPM1L].
47890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47891 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
47892 more tests of exp and exp10. Expect some exp10 tests to miss
47893 exceptions or fail in directed rounding modes.
47894 * math/auto-libm-test-out: Regenerated.
47895 * math/libm-test.inc (exp10_tonearest_test_data): New array.
47896 (exp10_test_tonearest): New function.
47897 (exp10_towardzero_test_data): New array.
47898 (exp10_test_towardzero): New function.
47899 (exp10_downward_test_data): New array.
47900 (exp10_test_downward): New function.
47901 (exp10_upward_test_data): New array.
47902 (exp10_test_upward): New function.
47903 (main): Call the new functions.
47904 * sysdeps/i386/fpu/libm-test-ulps: Update.
47905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47906
47907 2013-12-20 Joseph Myers <joseph@codesourcery.com>
47908
47909 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47910 asinh, atan, atan2, atanh, cbrt, cos and cosh.
47911 * math/auto-libm-test-out: Regenerated.
47912 * math/libm-test.inc (acosh_test_data): Add more tests.
47913 (atanh_test_data): Likewise.
47914 (ceil_test_data): Likewise.
47915 (copysign_test_data): Likewise.
47916 * sysdeps/i386/fpu/libm-test-ulps: Update.
47917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47918
47919 * timezone/checktab.awk: Update from tzcode 2013i.
47920 * timezone/private.h: Likewise.
47921 * timezone/scheck.c: Likewise.
47922 * timezone/tzfile.h: Likewise.
47923 * timezone/tzselect.ksh: Likewise.
47924 * timezone/zdump.c: Likewise.
47925 * timezone/zic.c: Likewise.
47926
47927 * math/auto-libm-test-in: Add tests of cpow.
47928 * math/auto-libm-test-out: Regenerated.
47929 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47930 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47931 mpc_cc_c.
47932 (func_calc_desc): Add mpc_cc_c union field.
47933 (test_functions): Add cpow.
47934 (special_fill_2pi): New function.
47935 (special_real_inputs): Add 2pi.
47936 (calc_generic_results): Handle mpc_cc_c.
47937 * sysdeps/i386/fpu/libm-test-ulps: Update.
47938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47939
47940 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47941 csqrt, ctan and ctanh.
47942 * math/auto-libm-test-out: Regenerated.
47943 * math/libm-test.inc (TEST_COND_x86_64): New macro.
47944 (TEST_COND_x86): Likewise.
47945 (ccos_test_data): Use AUTO_TESTS_c_c.
47946 (ccosh_test_data): Likewise.
47947 (cexp_test_data): Likewise.
47948 (clog_test_data): Likewise.
47949 (csqrt_test_data): Likewise.
47950 (ctan_test_data): Likewise.
47951 (ctan_tonearest_test_data): Likewise.
47952 (ctan_towardzero_test_data): Likewise.
47953 (ctan_downward_test_data): Likewise.
47954 (ctan_upward_test_data): Likewise.
47955 (ctanh_test_data): Likewise.
47956 (ctanh_tonearest_test_data): Likewise.
47957 (ctanh_towardzero_test_data): Likewise.
47958 (ctanh_downward_test_data): Likewise.
47959 (ctanh_upward_test_data): Likewise.
47960 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47961 mpc_c_c.
47962 (func_calc_desc): Add mpc_c_c union field.
47963 (FUNC_mpc_c_c): New macro.
47964 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47965 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47966 ctanh.
47967 (special_fill_min_subnorm_p120): New function.
47968 (special_real_inputs): Add min_subnorm_p120.
47969 (calc_generic_results): Handle mpc_c_c.
47970 * sysdeps/i386/fpu/libm-test-ulps: Update.
47971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47972
47973 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47974
47975 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47976 (do_sin_slow): New functions.
47977 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47978 (cslow2, csloww1, csloww2): Use the new functions.
47979
47980 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47981 Use M to change sign of result instead of X. Assume X is
47982 positive.
47983 (csloww1): Likewise.
47984 (__sin): Adjust.
47985 (__cos): Adjust.
47986
47987 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47988 arguments A and DA.
47989 (__sin): Adjust.
47990 (__cos): Likewise.
47991
47992 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47993 (__cos): Likewise.
47994 (sloww1): Don't adjust sign of DX.
47995 (csloww1): Likewise.
47996 (sloww2): Use X directly and don't adjust sign of DX.
47997 (csloww2): Likewise.
47998
47999 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48000
48001 * math/auto-libm-test-in: Add tests of cabs and carg.
48002 * math/auto-libm-test-out: Regenerated.
48003 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48004 (carg_test_data): Likewise.
48005 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48006 mpc_c_f.
48007 (func_calc_desc): Add mpc_c_f union field.
48008 (test_functions): Add cabs and carg.
48009 (calc_generic_results): Handle mpc_c_f.
48010
48011 * sysdeps/powerpc/powerpc32/libgcc-compat.S
48012 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48013 as a macro and a compat symbol.
48014 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48015 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48016 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48017 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48018 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48019 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48020 not use .hidden.
48021 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48022 Likewise.
48023 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48024 Likewise.
48025 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48026 Likewise.
48027 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48028 Likewise.
48029 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48030 Likewise.
48031 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48032 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48033 from GLIBC_2.3.2.
48034
48035 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48036
48037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48038
48039 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48040
48041 * manual/texinfo.tex: Update to version 2013-11-26.10 with
48042 trailing whitespace removed.
48043 * scripts/config.guess: Update to version 2013-11-29.
48044 * scripts/config.sub: Update to version 2013-10-01.
48045
48046 * math/auto-libm-test-in: Add tests of sincos.
48047 * math/auto-libm-test-out: Regenerated.
48048 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48049 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48050 mpfr_f_11.
48051 (func_calc_desc): Add mpfr_f_11 union field.
48052 (test_functions): Add sincos.
48053 (calc_generic_results): Handle mpfr_f_11.
48054 * sysdeps/i386/fpu/libm-test-ulps: Update.
48055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48056
48057 2013-12-19 Andreas Schwab <schwab@suse.de>
48058
48059 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48060 CALL_MCOUNT.
48061 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48062 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48063 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48064
48065 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48066
48067 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48068 * sysdeps/i386/fpu/libm-test-ulps: Update.
48069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48070
48071 [BZ #16293]
48072 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48073 round-to-nearest mode when using frndint.
48074 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48075 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48076 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48077 Likewise.
48078 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
48079 sinh test to fail.
48080 * math/auto-libm-test-out: Regenerated.
48081 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48082 (TEST_COND_x86): Likewise.
48083 (expm1_tonearest_test_data): New array.
48084 (expm1_test_tonearest): New function.
48085 (expm1_towardzero_test_data): New array.
48086 (expm1_test_towardzero): New function.
48087 (expm1_downward_test_data): New array.
48088 (expm1_test_downward): New function.
48089 (expm1_upward_test_data): New array.
48090 (expm1_test_upward): New function.
48091 (main): Run the new test functions.
48092 * sysdeps/i386/fpu/libm-test-ulps: Update.
48093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48094
48095 * include/features.h: Update comment documenting feature test
48096 macros. Mention _DEFAULT_SOURCE in comment.
48097 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48098 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48099 _BSD_SOURCE and _SVID_SOURCE.
48100 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48101 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48102 !_SVID_SOURCE]: Likewise.
48103 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48104 (__USE_POSIX_IMPLICITLY): Define.
48105 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48106 (_POSIX_SOURCE): Undefine and redefine.
48107 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48108 (_POSIX_C_SOURCE): Likewise.
48109 * manual/creature.texi (_DEFAULT_SOURCE): Document.
48110 (Feature Test Macros): Update documentation of default features.
48111
48112 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48113
48114 * benchtests/Makefile: Add bench-strtok.
48115 * benchtests/bench-strtok.c: New file: strtok benchtest.
48116
48117 2013-12-19 Allan McRae <allan@archlinux.org>
48118
48119 * manual/install.texi: Suppress menu for plain text output.
48120 * INSTALL: Regenerated.
48121
48122 2013-12-18 Brooks Moses <bmoses@google.com>
48123
48124 [BZ #15846]
48125 * misc/getauxval.c: Include errno.h.
48126 (__getauxval): Set errno to ENOENT if the requested type is not
48127 found.
48128 * misc/sys/auxv.h (getauxval): Document that it may set errno;
48129 don't declare with __attribute_const__.
48130 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48131 * manual/startup.texi: Document that getauxval sets errno.
48132
48133 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48134
48135 * math/auto-libm-test-in: Add tests of jn and yn.
48136 * math/auto-libm-test-out: Regenerated.
48137 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48138 (yn_test_data): Likewise.
48139 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48140 mpfr_if_f.
48141 (func_calc_desc): Add mpfr_if_f union field.
48142 (FUNC_mpfr_if_f): New macro.
48143 (test_functions): Add jn and yn.
48144 (calc_generic_results): Assert type of second input for
48145 mpfr_ff_f. Handle mpfr_if_f.
48146 (output_for_one_input_case): Disable all checking for arguments
48147 fitting floating-point types in case of an integer argument.
48148 * sysdeps/i386/fpu/libm-test-ulps: Update.
48149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48150
48151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48152 Don't expect fegetround reference in libm.so.
48153
48154 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48155
48156 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48157 $(config-cflags-nofma).
48158
48159 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48160
48161 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48162 * math/auto-libm-test-out: Regenerated.
48163
48164 [BZ #16338]
48165 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48166 to determine exponent and adjust argument to have exponent of -1.
48167 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48168 log2.
48169 * math/auto-libm-test-out: Regenerated.
48170 * sysdeps/i386/fpu/libm-test-ulps: Update.
48171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48172
48173 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
48174
48175 * manual/probes.texi: Remove cases when per-thread arenas are
48176 disabled.
48177
48178 2013-12-18 Andreas Schwab <schwab@suse.de>
48179
48180 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48181 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48182 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48183 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48184 * sysdeps/i386/i686/multiarch/Makefile: Update.
48185 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48186
48187 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48188
48189 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48190 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48191
48192 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
48193
48194 [BZ #15968]
48195 Support TZ transition times < 00:00:00.
48196 This is needed for version-3 tz-format files; it supports time
48197 stamps past 2037 for America/Godthab (the only entry in the tz
48198 database for which this change is relevant).
48199 * manual/time.texi (TZ Variable): Document transition times
48200 from -167:59:59 through -00:00:01.
48201 * time/tzset.c (tz_rule): Time of day is now signed.
48202 (__tzset_parse_tz): Parse negative time of day.
48203
48204 Document TZ transition times >= 25:00:00.
48205 * manual/time.texi (TZ Variable): Document transition times from
48206 25:00:00 through 167:59:59. These are already supported, and this
48207 support will help with version-3 tz-format files.
48208
48209 * manual/time.texi (TZ Variable): Modernize North America example
48210 to reflect current (i.e., 2007-and-later) daylight saving rules.
48211
48212 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48213
48214 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48215
48216 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48217 * sysdeps/unix/bsd/bits/stat.h: Likewise.
48218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48220 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48221 * sysdeps/unix/bsd/bsdstat.h: Likewise.
48222 * sysdeps/unix/bsd/clock.c: Likewise.
48223 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48224 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48225 * sysdeps/unix/bsd/init-posix.c: Likewise.
48226 * sysdeps/unix/bsd/poll.c: Likewise.
48227 * sysdeps/unix/bsd/ptsname.c: Likewise.
48228 * sysdeps/unix/bsd/seekdir.c: Likewise.
48229 * sysdeps/unix/bsd/setegid.c: Likewise.
48230 * sysdeps/unix/bsd/seteuid.c: Likewise.
48231 * sysdeps/unix/bsd/setgid.c: Likewise.
48232 * sysdeps/unix/bsd/setrgid.c: Likewise.
48233 * sysdeps/unix/bsd/setruid.c: Likewise.
48234 * sysdeps/unix/bsd/setsid.c: Likewise.
48235 * sysdeps/unix/bsd/setuid.c: Likewise.
48236 * sysdeps/unix/bsd/sigaction.c: Likewise.
48237 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48238 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48239 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48240 * sysdeps/unix/bsd/telldir.c: Likewise.
48241 * sysdeps/unix/bsd/times.c: Likewise.
48242 * sysdeps/unix/bsd/usleep.c: Likewise.
48243
48244 * misc/Makefile (install-lib): Remove libbsd-compat.a.
48245 ($(objpfx)libbsd-compat.a): Remove rule.
48246
48247 * include/features.h (__FAVOR_BSD): Do not define.
48248 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48249 features conflicting with POSIX.
48250 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48251 (_BSD_SOURCE): Remove description of not being a subset of other
48252 feature test macros.
48253 * manual/job.texi (getpgrp): Do not document BSD version.
48254 (getpgid): Do not document by reference to BSD getpgrp.
48255 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48256 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48257 * signal/signal.h [__FAVOR_BSD]: Likewise.
48258 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48259 instead of making contents conditional on [__FAVOR_BSD].
48260 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48261
48262 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48263
48264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48265
48266 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48267
48268 [BZ #16314]
48269 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48270 values below 2**-450, not 2**-500.
48271 * math/auto-libm-test-in: Don't allow spurious underflow from
48272 hypot.
48273 * math/auto-libm-test-out: Regenerated.
48274
48275 [BZ #16316]
48276 [BZ #16330]
48277 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48278 values of ha and hb and sort them after adjusting subnormal
48279 arguments.
48280 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48281 Likewise.
48282 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48283 values of ea and eb and sort them after adjusting subnormal
48284 arguments.
48285 * math/auto-libm-test-in: Do not expect some hypot tests of
48286 subnormals to fail. Add more hypot tests.
48287 * math/auto-libm-test-out: Regenerated.
48288
48289 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48290
48291 [BZ #13304]
48292 * sysdeps/sh/s_fma.c: New file.
48293 * sysdeps/sh/s_fmaf.c: New file.
48294 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
48295 version.
48296 * sysdeps/sh/Implies: Add sh/soft-fp.
48297
48298 2013-12-16 Roland McGrath <roland@hack.frob.com>
48299
48300 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
48301 level of indirection to members `objname', `errstring', `malloced'.
48302 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48303 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
48304 it as the __longjmp argument (just pass 1 instead).
48305 (_dl_catch_error): Initialize C with argument pointers and address of
48306 volatile local ERRCODE rather than copying values out of C at return.
48307
48308 2013-12-16 Joseph Myers <joseph@codesourcery.com>
48309
48310 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48311 * math/auto-libm-test-out: Regenerated.
48312 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48313 (hypot_test_data): Likewise.
48314 (pow_test_data): Likewise.
48315 (pow_tonearest_test_data): Likewise.
48316 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48317 mpfr_ff_f.
48318 (func_calc_desc): Add mpfr_ff_f union field.
48319 (FUNC_mpfr_ff_f): New macro.
48320 (test_functions): Add atan2, hypot and pow.
48321 (special_fill_min): New function.
48322 (special_fill_minus_min): Likewise.
48323 (special_fill_min_subnorm): Likewise.
48324 (special_fill_minus_min_subnorm): Likewise.
48325 (special_real_inputs): Add min, -min, min_subnorm and
48326 -min_subnorm.
48327 (calc_generic_results): Handle mpfr_ff_f.
48328 * sysdeps/i386/fpu/libm-test-ulps: Update.
48329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48330
48331 2013-12-16 Will Newton <will.newton@linaro.org>
48332
48333 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48334 (Aligned Memory Blocks): Add documentation for aligned_alloc
48335 and suggest it as an alternative to posix_memalign.
48336 (Hooks for Malloc): Document __memalign_hook is also called
48337 for aligned_alloc. (Summary of Malloc): Add summary for
48338 aligned alloc. Document __memalign_hook is also called
48339 for aligned_alloc.
48340
48341 2013-12-16 Will Newton <will.newton@linaro.org>
48342
48343 * manual/memory.texi (Malloc Examples): Clarify default
48344 alignment documentation. Suggest posix_memalign rather
48345 than memalign or valloc.
48346 (Aligned Memory Blocks): Remove suggestion to use memalign
48347 or valloc. Remove obsolete comment about BSD.
48348 Document memalign errno values and mark the function obsolete.
48349 Document posix_memalign returned error codes. Mark valloc
48350 as obsolete. (Hooks for Malloc): __memalign_hook is also
48351 called for posix_memalign and valloc.
48352 (Summary of Malloc): Add posix_memalign to function summary.
48353 __memalign_hook is also called for posix_memalign and valloc.
48354
48355 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48356
48357 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48358 TAYLOR_SIN.
48359 (__sin): Adjust.
48360 (__cos): Likewise.
48361 (sloww): Use mynumber union. Expand ternary operator into
48362 if-else statements.
48363 (cslow): use mynumber union.
48364
48365 2013-12-16 Allan McRae <allan@archlinux.org>
48366
48367 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48368 * configure: Regenerated.
48369
48370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48371
48372 [BZ #14120]
48373 * configure.ac: Added --enable-maintainer-mode. Check for
48374 autoconf when enabled.
48375 * configure: Regenerated.
48376
48377 * nscd/nscd.service: New file.
48378 * nscd/nscd.tmpfiles: New file.
48379
48380 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
48381
48382 [BZ #12100]
48383 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48384 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48385 * sysdeps/x86_64/multiarch/strstr.c: ... here.
48386 (strstr): Add __strstr_sse2_unaligned ifunc.
48387 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48388 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48389 (strcasestr): Remove __strcasestr_sse42 ifunc.
48390 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48393
48394 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48395
48396 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48397 * sysdeps/sh/bits/fenv.h: ... here.
48398 * sysdeps/sh/sh4/fpu/bits: Remove directory.
48399
48400 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48401
48402 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48403
48404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48405 hypotf multiarch implementations.
48406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48407 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48408 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48409 multiarch hypot for PPC64.
48410 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48411 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48412 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48413 multiarch hypotf for PPC64.
48414
48415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48416 modff multiarch implementations.
48417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48420 multiarch modf for PPC64.
48421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48424 multiarch modff for PPC64.
48425
48426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48427 and logl multiarch implementations.
48428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48431 multiarch logb for PPC64.
48432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48435 multiarch logb for PPC64.
48436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48439 multiarch logb for PPC64.
48440
48441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48442 isinff multiarch implementation.
48443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48444 file.
48445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48447 multiarch isinf for PPC64.
48448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48449 file.
48450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48451 multiarch isinff for PPC64.
48452
48453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48454 finitef multiarch implementation.
48455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48456 file.
48457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48459 multiarch finite for PPC64.
48460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48461 file.
48462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48463 multiarch finitef for PPC64.
48464
48465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48466 lrint multiarch implementation.
48467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48468 file.
48469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48471 multiarch llrint for PPC64.
48472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48473 multiarch lrint for PPC64.
48474
48475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48476 copysignf multiarch implementation.
48477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48478 file.
48479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48480 file.
48481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48482 multiarch copysign for PPC64.
48483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48484 multiarch copysignf for PPC64.
48485
48486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48487 multiarch implementation.
48488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48489 file.
48490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48491 file.
48492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48493 file.
48494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48495 file.
48496 multiarch llround for PPC64.
48497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48498 multiarch trunc for PPC64.
48499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48500 multiarch truncf for PPC64.
48501
48502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48503 multiarch implementation.
48504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48505 file.
48506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48507 file.
48508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48509 file.
48510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48511 file.
48512 multiarch llround for PPC64.
48513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48514 multiarch round for PPC64.
48515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48516 multiarch roundf for PPC64.
48517
48518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48519 multiarch implementation.
48520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48521 file.
48522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48523 file.
48524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48525 file.
48526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48527 file.
48528 multiarch llround for PPC64.
48529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48530 multiarch floor for PPC64.
48531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48532 multiarch floorf for PPC64.
48533
48534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48535 multiarch implementation.
48536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48537 file.
48538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48539 file.
48540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48541 file.
48542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48543 file.
48544 multiarch llround for PPC64.
48545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48546 multiarch ceil for PPC64.
48547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48548 multiarch ceilf for PPC64.
48549
48550 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48551 multiarch implementation.
48552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48553 file.
48554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48555 file.
48556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48557 file.
48558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48559 multiarch llround for PPC64.
48560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48561 multiarch lround for PPC64.
48562
48563 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48564 multiarch implementation.
48565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48568 file.
48569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48572 multiarch isnan for PPC64.
48573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48574 multiarch isnanf for PPC64.
48575
48576 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48577 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48578 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48579 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48580 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48582
48583 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48584 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48587
48588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48589 multiarch implementations.
48590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48591 (__libc_ifunc_impl_list): Likewise.
48592 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48593 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48594 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48595 multiarch stpcpy for PPC64.
48596
48597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48598 multiarch implementations.
48599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48600 (__libc_ifunc_impl_list): Likewise.
48601 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48602 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48603 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48604 multiarch strcpy for PPC64.
48605
48606 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48607 redefine function name.
48608 (_wordcopy_fwd_dest_aligned): Likewise.
48609 (_wordcopy_bwd_aligned): Likewise.
48610 (_wordcopy_bwd_dest_aligned): Likewise.
48611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48612 multiarch implementations.
48613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48614 (__libc_ifunc_impl_list): Likewise.
48615 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48616 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48617 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48618 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48619 multiarch wcscpy for PPC64.
48620
48621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48622 multiarch implementations.
48623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48624 (__libc_ifunc_impl_list): Likewise.
48625 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48626 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48627 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48628 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48629 multiarch wcscpy for PPC64.
48630
48631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48632 multiarch implementations.
48633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48634 (__libc_ifunc_impl_list): Likewise.
48635 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48636 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48637 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48638 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48639 multiarch wcsrchr for PPC64.
48640
48641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48642 multiarch implementations.
48643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48644 (__libc_ifunc_impl_list): Likewise.
48645 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48646 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48647 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48648 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48649 multiarch wcschr for PPC64.
48650
48651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48652 multiarch implementations.
48653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48654 (__libc_ifunc_impl_list): Likewise.
48655 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48656 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48657 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48658 multiarch strchrnul for PPC64.
48659
48660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48661 implementations.
48662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48663 (__libc_ifunc_impl_list): Likewise.
48664 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48665 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48666 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48667 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48668 strchr for PPC64.
48669
48670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48671 implementations.
48672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48673 (__libc_ifunc_impl_list): Likewise.
48674 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48675 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48676 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48677 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48678 strncmp for PPC64.
48679
48680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48681 multiarch implementations.
48682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48683 (__libc_ifunc_impl_list): Likewise.
48684 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48685 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48686 strncasecmp for PPC64.
48687 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48688 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48689 multiarch strncasecmp_l for PPC64.
48690
48691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48692 multiarch implementations.
48693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48694 (__libc_ifunc_impl_list): Likewise.
48695 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48696 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48697 multiarch strcasecmp for PPC64.
48698 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48699 file.
48700 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48701 multiarch strcasecmp_l for PPC64.
48702
48703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48704 implementations.
48705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48706 (__libc_ifunc_impl_list): Likewise.
48707 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48708 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48709 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48710 strnlen for PPC64.
48711
48712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48713 implementations.
48714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48715 (__libc_ifunc_impl_list): Likewise.
48716 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48717 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48718 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48719 strlen for PPC64.
48720
48721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48722 implementations.
48723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48724 (__libc_ifunc_impl_list): Likewise.
48725 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48726 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48727 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48728 rawmemrchr for PPC64.
48729
48730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48731 implementation.
48732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48733 (__libc_ifunc_impl_list): Likewise.
48734 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48735 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48736 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48737 memrchr for PPC64.
48738
48739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48740 implementation.
48741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48742 (__libc_ifunc_impl_list): Likewise.
48743 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48744 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48745 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48746 memchr for PPC64.
48747
48748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48749 implementation.
48750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48751 (__libc_ifunc_impl_list): Likewise.
48752 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48753 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48754 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48755 mempcpy for PPC64.
48756
48757 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48758 avoid cretion of __bzero symbol.
48759 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48760 Likewise.
48761 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48762 Likewise.
48763 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48764 Likewise.
48765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48766 multiarch implementations.
48767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48768 (__libc_ifunc_impl_list): Likewise.
48769 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48770 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48771 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48772 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48773 bzero for PPC32.
48774 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48775 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48776 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48777 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48778 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48779 memset for PPC64.
48780 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48781
48782 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48784 implementations.
48785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48786 (__libc_ifunc_impl_list): Likewise.
48787 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48788 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48789 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48790 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48791 memcmp for PPC64.
48792
48793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48794 multiarch for POWER/PPC64.
48795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48796 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48797 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48798 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48799 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48800 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48801 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48802 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48803 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48804 memcpy for PPC64.
48805
48806 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48807 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48808 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48809 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48810 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48811 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48812 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48813 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48814 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48815 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48816 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48817 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48818 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48819 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48820 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48828
48829 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48830
48831 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48832
48833 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48834
48835 * benchtests/Makefile (bench): Add exp2 and log2.
48836 (LDLIBS-bench-exp2): Add -lm.
48837 (LDLIBS-bench-log2): Likewise.
48838 * benchtests/exp2-inputs: New inputs file.
48839 * benchtests/log2-inputs: New inputs file.
48840 * benchtests/log-inputs: Add new inputs.
48841 * benchtests/tan-inputs: Likewise.
48842
48843 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48844
48845 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48846 definition...
48847 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48848 (csloww2): ... from here.
48849
48850 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48851 instead of structures.
48852 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48853 (POLYNOMIAL): Likewise.
48854 (TAYLOR_SLOW): Likewise.
48855 (__sin): Likewise.
48856 (__cos): Likewise.
48857 (slow1): Likewise.
48858 (slow2): Likewise.
48859 (sloww): Likewise.
48860 (sloww1); Likewise.
48861 (sloww2): Likewise.
48862 (bsloww1): Likewise.
48863 (bsloww2): Likewise.
48864 (cslow2): Likewise.
48865 (csloww): Likewise.
48866 (csloww1): Likewise.
48867 (csloww2): Likewise.
48868
48869 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
48870
48871 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48872 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48873 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48874 * malloc/hooks.c (realloc_check): Likewise.
48875
48876 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48877 * malloc/arena.c: Remove PER_THREAD conditional.
48878 [!PER_THREAD]: Remove code.
48879 (ptmalloc_unlock_all2): Likewise.
48880 (ptmalloc_init): Likewise.
48881 (_int_new_arena): Likewise.
48882 (arena_get2): Likewise.
48883 * malloc/hooks.c (__malloc_get_state): Likewise.
48884 (__malloc_set_state): Likewise.
48885 * malloc/malloc.c: Likewise.
48886 (struct malloc_state): Likewise.
48887 (struct malloc_par): Likewise.
48888 (__libc_realloc): Likewise.
48889 (__libc_mallopt): Likewise.
48890
48891 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48892
48893 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48894
48895 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
48896
48897 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48898 macro to a function. Check for zero perturb_byte.
48899 (_int_malloc, _int_free): Remove zero perturb_byte checks.
48900
48901 * malloc/malloc.c: (force_reg): Remove.
48902 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48903 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48904 force_reg by atomic_forced_read.
48905 * malloc/arena.c (ptmalloc_init): Likewise.
48906 * malloc/hooks.c (top_check): Likewise.
48907
48908 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48909
48910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48911
48912 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
48913
48914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48915
48916 2013-12-08 Joseph Myers <joseph@codesourcery.com>
48917
48918 * math/auto-libm-test-in: Add tests of lgamma.
48919 * math/auto-libm-test-out: Regenerated.
48920 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48921 (M_LOG_2_SQRT_PIl): Likewise.
48922 (lgamma_test_data): Use AUTO_TESTS_f_f1.
48923 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48924 mpfr_f_f1.
48925 (func_calc_desc): Add mpfr_f_f1 union field.
48926 (ARGS1): New macro.
48927 (ARGS2): Likewise.
48928 (ARGS3): Likewise.
48929 (ARGS4): Likewise.
48930 (RET1): Likewise.
48931 (RET2): Likewise.
48932 (CALC): Likewise.
48933 (FUNC): Likewise.
48934 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48935 (test_functions): Add lgamma.
48936 (calc_generic_results): Handle mpfr_f_f1.
48937 * sysdeps/i386/fpu/libm-test-ulps: Update.
48938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48939
48940 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48941
48942 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48943 __mpn_add_n for PowerPC64/POWER7.
48944 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48945 __mpn_sub_n for PowerPC64/POWER7.
48946
48947 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48948 __mpn_addmul_1 for PowerPC64.
48949 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48950 __mpn_submul_1 for PowerPC64.
48951 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48952 for PowerPC64.
48953 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48954 for PowerPC64.
48955
48956 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
48957
48958 [BZ #15089]
48959 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48960
48961 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48962
48963 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48964
48965 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48966 add multiarch folders.
48967 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48968 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48969 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48970 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48971 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48972 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48973 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48974 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48975 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48976 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48977 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48984
48985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48986 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48988 New file.
48989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48990 New file.
48991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48992 multiarch __ieee754_hypot for PowerPC32.
48993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48994 New file.
48995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48996 New file.
48997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48998 multiarch __ieee754_hypotf for PowerPC32.
48999
49000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49001 long_double_symbol only if __logbl is defined.
49002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49003 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49005 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49006 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49007 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49008 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49009 path for implementation.
49010 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49013 logb, and logbl multiarch implementations for PowerPC32.
49014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49015 file.
49016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49017 file.
49018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49019 multiarch logb for PowerPC32.
49020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49021 file.
49022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49023 file.
49024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49025 multiarch logbf for PowerPC32.
49026 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49028 file.
49029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49030 multiarch logbl implementation for PowerPC32.
49031
49032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49033 and modff multiarch implementations.
49034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49035 New file.
49036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49037 New file.
49038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49039 multiarch modf for PowerPC32.
49040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49041 New file.
49042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49043 New file.
49044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49045 multiarch modff for PowerPC32.
49046
49047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49048 and lrintf multiarch implementations.
49049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49050 New file.
49051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49052 New file.
49053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49054 multiarch lrint for PowerPC32.
49055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49056 file: multiarch lrintf for PowerPC32.
49057
49058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49059 and lroundf multiarch implementations.
49060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49061 New file.
49062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49063 New file.
49064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49065 New file.
49066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49067 multiarch lround for PowerPC32.
49068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49069 file: multiarch lroundf for PowerPC32.
49070
49071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49072 copysign and copysignf multiarch implementations.
49073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49074 New file.
49075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49076 New file.
49077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49078 file: multiarch copysign for PowerPC32.
49079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49080 file: multiarch copysignf for PowerPC32.
49081
49082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49083 and truncf multiarch implementations.
49084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49085 New file.
49086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49087 file.
49088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49089 multiarch trunc for PowerPC32.
49090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49091 New file.
49092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49093 New file.
49094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49095 multiarch truncf for PowerPC32.
49096
49097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49098 and roundf multiarch implementations.
49099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49100 New file.
49101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49102 file.
49103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49104 multiarch round for PowerPC32.
49105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49106 New file.
49107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49108 New file.
49109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49110 multiarch roundf for PowerPC32.
49111
49112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49113 and floorf multiarch implementations.
49114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49115 New file.
49116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49117 file.
49118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49119 multiarch floor for PowerPC32.
49120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49121 New file.
49122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49123 New file.
49124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49125 multiarch floorf for PowerPC32.
49126
49127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49128 and ceilf multiarch implementations.
49129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49130 New file.
49131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49132 file.
49133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49134 multiarch ceil for PowerPC32.
49135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49136 New file.
49137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49138 file.
49139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49140 multiarch ceilf for PowerPC32.
49141
49142 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49143 is defined.
49144 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49145 FINITEF is defined.
49146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49147 and finitef multiarch implementations.
49148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49149 New file.
49150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49151 file.
49152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49153 multiarch finite for PowerPC32.
49154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49155 New file.
49156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49157 file: multiarch finitef for PowerPC32.
49158
49159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49160 and isinff multiarch implementations.
49161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49162 file.
49163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49164 file.
49165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49166 multiarch isinf for PowerPC32.
49167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49168 New file.
49169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49170 multiarch isinff for PowerPC32.
49171
49172 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49173 alias when __isnan is defined.
49174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49175 and isnanf multiarch implementations.
49176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49177 file.
49178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49179 file.
49180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49181 file.
49182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49183 file.
49184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49185 multiarch isnan for PowerPC32.
49186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49187 New file.
49188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49189 New file.
49190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49191 multiarch isnanf for PowerPC32.
49192
49193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49194 and sqrtf multiarch implementations.
49195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49196 file.
49197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49198 file.
49199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49200 multiarch sqrt for PowerPC32.
49201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49202 file.
49203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49204 file.
49205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49206 multiarch sqrtf for PowerPC32.
49207
49208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49209 and llroundf multiarch implementations.
49210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49211 New file.
49212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49213 New file.
49214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49215 New file.
49216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49217 file: multiarch llround for PowerPC32.
49218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49219 file: multiarch llroundf for PowerPC32.
49220
49221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49222 multiarch PowerPC32 fpu implementations.
49223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49224 New file.
49225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49226 New file.
49227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49228 multiarch llrint for PowerPC32.
49229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49230 New file.
49231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49232 New file.
49233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49234 file.
49235
49236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49237
49238 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49239 file.
49240 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49241 file.
49242 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49243 file.
49244 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49245 multiarch wordcopy for PPC32.
49246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49247 wordcopy objects.
49248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49249 (__libc_ifunc_impl_list): Likewise.
49250 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49251 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49252 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49253 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49254 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49255 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49256
49257 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49259 file.
49260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49261 file.
49262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49263 file.
49264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49265 multiarch wcscpy for PPC32.
49266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49267 multiarch objects.
49268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49269 (__libc_ifunc_impl_list): Likewise.
49270 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49271 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49272 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49273 sysdeps/powerpc/power6/wcscpy.c.
49274
49275 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49277 file.
49278 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49279 file.
49280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49281 file.
49282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49283 multiarch wcsrchr for PPC32.
49284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49285 multiarch objects.
49286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49287 (__libc_ifunc_impl_list): Likewise.
49288 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49289 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49290 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49291 sysdeps/powerpc/power6/wcsrchr.c.
49292
49293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49294 file.
49295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49296 file.
49297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49299 multiarch wcschr for PPc32.
49300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49301 multiarch objects.
49302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49303 (__libc_ifunc_impl_list): Likewise.
49304 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49305 * sysdeps/powerpc/power6/wcschr.c: ... to here.
49306 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49307 sysdeps/powerpc/power6/wcschr.c.
49308
49309 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49310 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49311 file.
49312 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49313 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49314 file: multiarch strchr for PPC32.
49315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49316 multiarch objects.
49317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49318 (__libc_ifunc_impl_list): Likewise.
49319
49320 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49321 name.
49322 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49323 file.
49324 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49325 file.
49326 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49327 multiarch strchrnul for PPC32.
49328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49329 multiarch objects.
49330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49331 (__libc_ifunc_impl_list): Likewise.
49332
49333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49334 file.
49335 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49336 multiarch strncasecmp for PPC32.
49337 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49338 file.
49339 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49340 multiarch strncasecmp_l for PPC32.
49341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49342 strncasecmp multiarch objects.
49343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49344 (__libc_ifunc_impl_list): Likewise.
49345
49346 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49347 file.
49348 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49349 multiarch strncasecmp for PPC32.
49350 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49351 New file.
49352 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49353 multiarch strcasecmp_l for PPC32.
49354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49355 multiarch objects.
49356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49357 (__libc_ifunc_impl_list): Likewise.
49358
49359 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49360 file.
49361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49362 file.
49363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49364 multiarch strncmp for PPC32.
49365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49366 multiarch objects.
49367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49368 (__libc_ifunc_impl_list): Likewise.
49369
49370 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49371 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49372 file.
49373 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49374 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49376 multiarch objects.
49377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49378 (__libc_ifunc_impl_list): Likewise.
49379
49380 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49381 file.
49382 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49383 file.
49384 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49385 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49386 multiarch objects.
49387 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49388 (__libc_ifunc_impl_list): Likewise.
49389
49390 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49391 file.
49392 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49393 file.
49394 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49395 multiarch rawmemchr for PPC32.
49396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49397 multiarch objects.
49398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49399 (__libc_ifunc_impl_list): Likewise.
49400
49401 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49402 file.
49403 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49404 file.
49405 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49406 file: memrchr multiarch for PPC32.
49407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49408 multiarch objects.
49409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49410 (__libc_ifunc_impl_list): Likewise.
49411
49412 * string/memchr.c (__memchr): Using macro to redefine symbol name.
49413 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49414 file.
49415 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49416 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49417 multiarch memchr for PPC32.
49418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49419 multiarch objects.
49420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49421 (__libc_ifunc_impl_list): Likewise.
49422
49423 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49424 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49425 file.
49426 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49427 file.
49428 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49429 file: multiarch mempcpy for PPC32.
49430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49431 multiarch objects.
49432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49433 (__libc_ifunc_impl_list): Likewise.
49434
49435 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49436 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49437 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49438 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49439 multiarch bzero for PPC32.
49440 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49441 file.
49442 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49443 file.
49444 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49445 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49446 file: multiarch memset for PPC32.
49447 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49449 memset multiarch objects.
49450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49451 (__libc_ifunc_impl_list): Likewise.
49452
49453 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49454 file.
49455 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49457 memcmp for PPC32.
49458 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49460 multiarch objects.
49461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49462 (__libc_ifunc_impl_list): Likewise.
49463
49464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49465 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49467 file.
49468 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49469 file.
49470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49471 file.
49472 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49473 multiarch memcpy for PPC32.
49474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49475 multiarch objects.
49476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49477 (__libc_ifunc_impl_list): Likewise.
49478
49479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49480 support multiarch for POWER/PPC32.
49481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49482 Likewise.
49483 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49485 Implies file to make multiarch folder appers before the fpu and
49486 default folder for power4 configuration.
49487
49488 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49489
49490 * scripts/bench.pl: Append volatile keyword to type.
49491
49492 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49493
49494 * sysdeps/sh/sotruss-lib.c: New file.
49495 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49496
49497 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49498
49499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49500
49501 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49502
49503 [BZ #6810]
49504 * math/w_tgamma.c: Include <errno.h>.
49505 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49506 * math/w_tgammaf.c: Include <errno.h>.
49507 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49508 * math/w_tgammal.c: Include <errno.h>.
49509 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49510 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49511 underflow. Add more tgamma tests.
49512 * math/auto-libm-test-out: Regenerated.
49513 * sysdeps/i386/fpu/libm-test-ulps: Update.
49514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49515
49516 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49517 sin, sinh, tan, tanh, tgamma, y0 and y1.
49518 * math/auto-libm-test-out: Regenerated.
49519 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49520 (TEST_COND_x86): Likewise.
49521 (M_E2l): Remove macro.
49522 (M_E3l): Likewise.
49523 (M_2_SQRT_PIl): Likewise.
49524 (M_SQRT_PIl): Likewise.
49525 (M_1_DIV_El): Likewise.
49526 (log_test_data): Use AUTO_TESTS_f_f.
49527 (log10_test_data): Likewise.
49528 (log1p_test_data): Likewise.
49529 (log2_test_data): Likewise.
49530 (sin_test_data): Likewise.
49531 (sin_tonearest_test_data): Likewise.
49532 (sin_towardzero_test_data): Likewise.
49533 (sin_downward_test_data): Likewise.
49534 (sin_upward_test_data): Likewise.
49535 (sinh_test_data): Likewise.
49536 (sinh_tonearest_test_data): Likewise.
49537 (sinh_towardzero_test_data): Likewise.
49538 (sinh_downward_test_data): Likewise.
49539 (sinh_upward_test_data): Likewise.
49540 (tan_test_data): Likewise.
49541 (tan_tonearest_test_data): Likewise.
49542 (tan_towardzero_test_data): Likewise.
49543 (tan_downward_test_data): Likewise.
49544 (tan_upward_test_data): Likewise.
49545 (tanh_test_data): Likewise.
49546 (tgamma_test_data): Likewise.
49547 (y0_test_data): Likewise.
49548 (y1_test_data): Likewise.
49549 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49550 (special_real_inputs): Add pi/4.
49551 * sysdeps/i386/fpu/libm-test-ulps: Update.
49552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49553
49554 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49555
49556 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49557 "longjmp_target" static probes.
49558 (__longjmp): Rename to __longjmp_symbol.
49559 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49560 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49561 on which longjmp to generate.
49562 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49563 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49564 probe.
49565 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49566 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49567 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49568 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49569 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49570 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49572 __longjmp_symbol based on which __longjmp to generate.
49573 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49574 probe.
49575 (setjmp): Rename to setjmp_symbol.
49576 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49577 (_setjmp): Rename to _setjmp_symbol.
49578 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49579 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49580 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49581 which setjmp to generate.
49582 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49583 "longjmp_target" static probes.
49584
49585 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49586
49587 * benchtests/README: Add note about output arguments.
49588 * benchtests/bench-sincos.c: Remove file.
49589 * benchtests/sincos-inputs: New file.
49590 * scripts/bench.pl: Identify output arguments and define
49591 static variables for them.
49592
49593 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49594
49595 [BZ #15941]
49596 * Makefile (INSTALL): Add install-plain.texi as the primary
49597 dependency.
49598 * manual/install-plain.texi: New file.
49599 * manual/install.texi: Include node directive only for
49600 non-plaintext output.
49601
49602 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49603
49604 * stdlib/longlong.h: Update from GCC.
49605
49606 [BZ #6807]
49607 [BZ #15901]
49608 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49609 * math/w_j0f.c (y0f): Likewise.
49610 * math/w_j0l.c (__y0l): Likewise.
49611 * math/w_j1.c (y1): Likewise.
49612 * math/w_j1f.c (y1f): Likewise.
49613 * math/w_j1l.c (__y1l): Likewise.
49614 * math/w_jn.c (yn): Likewise.
49615 * math/w_jnf.c (ynf): Likewise.
49616 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49617 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49618 value for Bessel function domain errors outside _SVID_ mode.
49619 Adjust sign of return value for yn (negative integer, 0).
49620 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49621 by zero in return for negative x and set sign appropriately for
49622 negative n.
49623 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49624 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49625 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49626 expectations in error cases.
49627 (y1_test_data): Likewise.
49628 (yn_test_data): Likewise.
49629 * sysdeps/i386/fpu/libm-test-ulps: Update.
49630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49631
49632 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49633
49634 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49635 "64" to "64-v1". Add "64-v2".
49636 (abi-64-options): Rename to ...
49637 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49638 (abi-64-condition): Rename to ...
49639 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49640 (abi-64-ld-soname): Rename to ...
49641 (abi-64-v1-ld-soname): ... this.
49642 (abi-64-v2-options): Define.
49643 (abi-64-v2-condition): Likewise.
49644 (abi-64-v2-ld-soname): Likewise.
49645 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49646 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49650
49651 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49652 Alan Modra <amodra@gmail.com>
49653
49654 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49655 New versions for use with the ELFv2 ABI.
49656 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49657 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49658 declaration.
49659 (struct La_ppc64v2_retval): Likewise.
49660 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49661 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49662 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49663 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49664 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49665 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49666 Do not save or restore CR.
49667 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49668 (_dl_profile_resolve): Do no save or restore CR. Support extended
49669 return values for ELFv2 ABI. Fix location of FPR return registers.
49670 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49671 updated values for _CALL_ELF == 2.
49672 (La_regs, La_retval, int_retval): Likewise.
49673
49674 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49675
49676 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49677 (FRAME_MIN_SIZE_PARM): Likewise.
49678 (FRAME_BACKCHAIN): Likewise.
49679 (FRAME_CR_SAVE): Likewise.
49680 (FRAME_LR_SAVE): Likewise.
49681 (FRAME_TOC_SAVE): Likewise.
49682 (FRAME_PARM_SAVE): Likewise.
49683 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49684 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49685 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49686 (call_mcount_parm_offset): New macro.
49687 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49688 (PROF): Use symbolic stack frame offsets.
49689 (TAIL_CALL_SYSCALL_ERROR): Likewise.
49690 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49691 Redefine in terms of FRAME_MIN_SIZE.
49692 (_dl_runtime_resolve): Use symbolic stack frame offsets.
49693 (_dl_profile_resolve): Likewise. Update comment.
49694 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49695 symbols stack frame offsets.
49696 (__sigsetjmp): Likewise.
49697 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49698 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49699 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49700 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49701
49702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49703 (FRAME_BACKCHAIN): Remove.
49704 (FRAME_CR_SAVE): Likewise.
49705 (FRAME_LR_SAVE): Likewise.
49706 (FRAME_COMPILER_DW): Likewise.
49707 (FRAME_LINKER_DW): Likewise.
49708 (FRAME_TOC_SAVE): Likewise.
49709 (FRAME_PARM_SAVE): Likewise.
49710 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49711 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49712 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49714 (CHECK_SP): Use symbolic stack frame offsets.
49715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49716 zone" instead of caller's parameter save area for temp storage.
49717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49718 Likewise. Also, use symbolic stack frame offsets.
49719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49720 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49721 our own stack frame instead of the caller's.
49722 (__socket): Use symbolic stack frame offsets.
49723
49724 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49725 Alan Modra <amodra@gmail.com>
49726
49727 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49728 Define.
49729 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49730 (PPC64_LOCAL_ENTRY_OFFSET): Define.
49731 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49732 New function.
49733 (elf_machine_fixup_plt): Call it.
49734 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
49735 reloc arguments.
49736 (elf_machine_rela): Update call to elf_machine_plt_conflict.
49737 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49738 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49739 r2 before calling target.
49740
49741 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49742 Alan Modra <amodra@gmail.com>
49743
49744 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49745 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49746 versions of macros to support ELFv2 ABI.
49747 (LOCALENTRY): New macro.
49748 (ENTRY, EALIGN): Use it.
49749 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49750 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49751 fall through into ENTRY entry point.
49752 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49753 Only define if _CALL_ELF != 2.
49754
49755 (elf_machine_matches_host): Verify ABI version matches.
49756 (RTLD_START): Use LOCALENTRY.
49757 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49758 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49759 (PLT_ENTRY_WORDS): New macro.
49760 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49761 (elf_machine_runtime_setup): Support ELFv2 ABI.
49762 (elf_machine_fixup_plt): Likewise.
49763 (elf_machine_plt_conflict): Likewise.
49764 (resolve_ifunc): Likewise.
49765 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49766 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49767 Likewise.
49768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49769 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49771 (makecontext): Support ELFv2 ABI.
49772 * elf/elf.h (EF_PPC64_ABI): Define.
49773
49774 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49775
49776 * sysdeps/powerpc/powerpc64/sysdep.h
49777 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49778 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49779 (ENTRY) [ASSEMBLER]: ... but instead here ...
49780 (EALIGN) [ASSEMBLER]: ... and here.
49781 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49782 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49783 (ENTRY_2) [!ASSEMBLER]: Use it.
49784 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49785 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
49786 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49787 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49788 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49790 Use PPC64_LOAD_FUNCPTR.
49791
49792 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49793
49794 2013-12-04 Alan Modra <amodra@gmail.com>
49795
49796 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49797 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49798 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49799 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49800
49801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49802 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49803 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49804 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49805 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49806 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49807
49808 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49809
49810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49811 (__makecontext): Fix incorrect CFI when backtracing out of
49812 context created via makecontext.
49813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49814 (__setcontext): Fix incorrect CFI during switch to new context.
49815 (__novec_setcontext): Likewise.
49816
49817 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49818
49819 [BZ #4772]
49820 * time/strptime_l.c (__strptime_internal): Allow modifiers
49821 in strptime.
49822 * time/tst-strptime.c (day_tests): Add testcase.
49823
49824 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49825
49826 * scripts/bench.pl: Skip over blank lines.
49827
49828 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
49829
49830 [BZ #926]
49831 * manual/time.texi (Calendar Time): Clarify what timezone functions
49832 use.
49833
49834 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49835
49836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49837
49838 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49839
49840 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49841 implementation.
49842 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49843 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49844 * debug/memset_chk.c (__memset_chk): Likewise.
49845 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49846 * debug/strncpy_chk.c: Likewise.
49847
49848 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49849
49850 [BZ #15268]
49851 [BZ #15425]
49852 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49853 (__ieee754_exp): For possibly underflowing results, check size of
49854 result and force underflow exception if required.
49855 * math/auto-libm-test-in: Add more tests of exp.
49856 * math/auto-libm-test-out: Regenerated.
49857 * sysdeps/i386/fpu/libm-test-ulps: Update.
49858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49859
49860 [BZ #16283]
49861 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49862 * math/w_exp2f.c (__exp2f): Likewise.
49863 * math/w_exp2l.c (__exp2l): Likewise.
49864 * math/auto-libm-test-in: Do not allow missing errno on exp2
49865 underflow.
49866 * math/auto-libm-test-out: Regenerated.
49867
49868 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
49869
49870 [BZ #16274]
49871 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49872 handle filename validation.
49873 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49874 (do_open): Delete.
49875
49876 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49877
49878 [BZ #6786]
49879 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49880 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49881 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49882 <float.h>.
49883 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49884 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49885 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49886 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49887 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49888 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49889 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49890 * math/auto-libm-test-in: Don't allow missing errno from erfc.
49891 Add more erfc tests.
49892 * math/auto-libm-test-out: Regenerated.
49893 * sysdeps/i386/fpu/libm-test-ulps: Update.
49894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49895
49896 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49897 exp2, expm1, j0 and j1.
49898 * math/auto-libm-test-out: Regenerated.
49899 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49900 (erfc_test_data): Likewise.
49901 (exp_test_data): Likewise.
49902 (exp_tonearest_test_data): Likewise.
49903 (exp_towardzero_test_data): Likewise.
49904 (exp_downward_test_data): Likewise.
49905 (exp_upward_test_data): Likewise.
49906 (exp10_test_data): Likewise.
49907 (exp2_test_data): Likewise.
49908 (expm1_test_data): Likewise.
49909 (j0_test_data): Likewise.
49910 (j1_test_data): Likewise.
49911 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49912 (input_flag_type): Add flag_xfail_rounding.
49913 (input_flags): Add xfail-rounding.
49914 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49915 (output_for_one_input_case): Handle flag_xfail_rounding.
49916 * sysdeps/i386/fpu/libm-test-ulps: Update.
49917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49918
49919 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
49920
49921 [BZ #16289]
49922 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49923 division by 0.
49924
49925 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49926
49927 [BZ #16195]
49928 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49929 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49930 (STAP_PROBE0): New macro.
49931 (STAP_PROBE1): Likewise.
49932 (STAP_PROBE2): Likewise.
49933 (STAP_PROBE3): Likewise.
49934 (STAP_PROBE4): Likewise.
49935
49936 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
49937
49938 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49939
49940 2013-12-02 Steve Ellcey <sellcey@mips.com>
49941
49942 * benchtests/Makefile (bench): Add sqrt.
49943 (LDLIBS-bench-sqrt): New.
49944 * benchtests/sqrt-input: New.
49945
49946 2013-12-02 Pavel Simerda <psimerda@redhat.com>
49947
49948 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49949 (GAIH_EAI): Likewise.
49950 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49951 (gaih_inet): Likewise.
49952 (getaddrinfo): Don't use GAIH_EAI.
49953
49954 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49955 (struct gaih): Remove definition.
49956
49957 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49958
49959 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49960 Use HERRNOP directly.
49961
49962 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49963
49964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49965
49966 2013-11-30 Joseph Myers <joseph@codesourcery.com>
49967
49968 * math/gen-auto-libm-tests.c (test_functions): Add more
49969 single-argument functions.
49970 (special_fill_pi_2): New function.
49971 (special_fill_minus_pi_2): Likewise.
49972 (special_fill_pi_6): Likewise.
49973 (special_fill_minus_pi_6): Likewise.
49974 (special_fill_pi_3): Likewise.
49975 (special_fill_2pi_3): Likewise.
49976 (special_fill_e): Likewise.
49977 (special_fill_1_e): Likewise.
49978 (special_fill_e_minus_1): Likewise.
49979 (special_real_inputs): Add more special inputs.
49980 (output_for_one_input_case): Do not require ERANGE on underflow to
49981 zero if round-to-nearest result does not underflow to zero, unless
49982 exact results required.
49983 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49984 atan, atanh, cbrt, cos and cosh.
49985 * math/auto-libm-test-out: Regenerated.
49986 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49987 (acos_tonearest_test_data): Likewise.
49988 (acos_towardzero_test_data): Likewise.
49989 (acos_downward_test_data): Likewise.
49990 (acos_upward_test_data): Likewise.
49991 (acosh_test_data): Likewise.
49992 (asin_test_data): Likewise.
49993 (asin_tonearest_test_data): Likewise.
49994 (asin_towardzero_test_data): Likewise.
49995 (asin_upward_test_data): Likewise.
49996 (asinh_test_data): Likewise.
49997 (atan_test_data): Likewise.
49998 (atanh_test_data): Likewise.
49999 (cbrt_test_data): Likewise.
50000 (cos_test_data): Likewise.
50001 (cos_tonearest_test_data): Likewise.
50002 (cos_towardzero_test_data): Likewise.
50003 (cos_downward_test_data): Likewise.
50004 (cos_upward_test_data): Likewise.
50005 (cosh_test_data): Likewise.
50006 (cosh_tonearest_test_data): Likewise.
50007 (cosh_towardzero_test_data): Likewise.
50008 (cosh_downward_test_data): Likewise.
50009 (cosh_upward_test_data): Likewise.
50010 * sysdeps/i386/fpu/libm-test-ulps: Update.
50011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50012
50013 2013-11-29 Joseph Myers <joseph@codesourcery.com>
50014
50015 [BZ #6787]
50016 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50017 * math/w_exp10f.c (__exp10f): Likewise.
50018 * math/w_exp10l.c (__exp10l): Likewise.
50019 * math/libm-test.inc (exp10_test_data): Add more tests and expect
50020 errno settings in existing tests.
50021
50022 [BZ #14032]
50023 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50024 precision control set to double precision.
50025 * sysdeps/i386/fpu/w_sqrt.c: New file.
50026 * math/auto-libm-test-in: Add more tests.
50027 * math/auto-libm-test-out: Update.
50028
50029 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50030 (sqrt_test_tonearest): New function.
50031 (sqrt_towardzero_test_data): New variable.
50032 (sqrt_test_towardzero): New function.
50033 (sqrt_downward_test_data): New variable.
50034 (sqrt_test_downward): New function.
50035 (sqrt_upward_test_data): New variable.
50036 (sqrt_test_upward): New function.
50037 (main): Call the new functions.
50038
50039 * math/gen-auto-libm-tests.c: New file.
50040 * math/auto-libm-test-in: Likewise.
50041 * math/auto-libm-test-out: New generated file.
50042 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50043 variables.
50044 (%beautify): Add generated representations of zero.
50045 (top level): Set $auto_input and call parse_auto_input.
50046 (beautify): Remove trailing "f" from hex float constants.
50047 (parse_args): Handle XFAIL_TEST.
50048 (convert_condition): New function.
50049 (or_value): Likewise.
50050 (or_cond_value): Likewise.
50051 (generate_testfile): Handle AUTO_TESTS_* lines.
50052 (parse_auto_input): New function.
50053 * math/libm-test.inc (XFAIL_TEST): New macro.
50054 (ERRNO_UNCHANGED): Update value.
50055 (ERRNO_EDOM): Likewise.
50056 (ERRNO_ERANGE): Likewise.
50057 (IGNORE_RESULT): Likewise.
50058 (TEST_COND_flt_32): New macro.
50059 (TEST_COND_dbl_64): Likewise.
50060 (TEST_COND_ldbl_96_intel): Likewise.
50061 (TEST_COND_ldbl_96_m68k): Likewise.
50062 (TEST_COND_ldbl_128): Likewise.
50063 (TEST_COND_ldbl_128ibm): Likewise.
50064 (TEST_COND_long32): Likewise.
50065 (TEST_COND_long64): Likewise.
50066 (TEST_COND_before_rounding): Likewise.
50067 (TEST_COND_after_rounding): Likewise.
50068 (enable_test): Handle XFAIL_TEST flag.
50069 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50070 with finite results.
50071 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50072 auto-libm-test-out.
50073
50074 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50075 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50076
50077 [BZ #16214]
50078 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50079 __tls_get_addr_internal instead of __tls_get_offset in order to
50080 avoid GOT pointer dependency. Make rtld export
50081 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50082 __tls_get_addr since we are a __tls_get_offset platform.
50083 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50084 GOT pointer being set up before.
50085 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50086
50087 2013-11-28 Joseph Myers <joseph@codesourcery.com>
50088
50089 * manual/math.texi (Errors in Math Functions): Document accuracy
50090 goals.
50091
50092 [BZ #15004]
50093 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50094 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50095 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50096 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50097 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50098 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50099 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50100 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50101 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50102 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50103 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50104 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50105 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50106 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50107 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50108 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50109
50110 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50111 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50112 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50113 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50114 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50115 Likewise.
50116 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50117 Likewise.
50118 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50119 Likewise.
50120 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50121 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50122 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50123 atomic-feupdateenv and flt-rounds.
50124 * sysdeps/powerpc/nofpu/Versions (libc): Add
50125 __atomic_feholdexcept, __atomic_feclearexcept,
50126 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50127 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50128 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50129 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50130 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50131 here.
50132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50133 Update.
50134
50135 * manual/arith.texi (FP Exceptions): Document that exceptions may
50136 not be raised when matherr is used.
50137 (Math Error Reporting): Document overflow in directed rounding
50138 modes. Document that errno may not be set when finite values are
50139 returned on overflow. Document intent to set errno on underflow
50140 only for underflow to zero.
50141
50142 [BZ #16271]
50143 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50144 round-to-nearest then adjust result for other rounding modes.
50145 * include/fenv.h (fegetround): Use libm_hidden_proto.
50146 * math/fegetround.c (fegetround): Use libm_hidden_def.
50147 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50148 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50149 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50150 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50151 Likewise.
50152 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50153 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50154 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50155 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50156
50157 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50158
50159 [BZ #16077]
50160 * nss/Versions (libnss_files): Add
50161 _nss_files_gethostbyname3_r.
50162 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50163 New function.
50164 (HOST_DB_LOOKUP): Remove macro.
50165 (_nss_files_gethostbyname_r): Implement function without the
50166 HOST_DB_LOOKUP macro.
50167 (_nss_files_gethostbyname2_r): Likewise.
50168
50169 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
50170
50171 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50172
50173 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
50174
50175 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50176 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50177 warning.
50178
50179 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50180
50181 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50182 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50183 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50184 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50185 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50186 __fe_nomask_env_priv and attribute_hidden.
50187 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50188 (libc_feupdateenv_test_ppc): Likewise.
50189 (libc_feresetround_ppc): Likewise.
50190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50191 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50192 compat_symbol macro.
50193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50194 (__fe_nomask_env): Likewise.
50195 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50196
50197 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50198
50199 * string/Makefile: Remove ifunc tests.
50200 * string/test-string.h: Define TEST_IFUNC.
50201 * string/test-bcopy-ifunc.c: Remove.
50202 * string/test-bzero-ifunc.c: Likewise.
50203 * string/test-memccpy-ifunc.c: Likewise.
50204 * string/test-memchr-ifunc.c: Likewise.
50205 * string/test-memcmp-ifunc.c: Likewise.
50206 * string/test-memcpy-ifunc.c: Likewise.
50207 * string/test-memmem-ifunc.c: Likewise.
50208 * string/test-memmove-ifunc.c: Likewise.
50209 * string/test-mempcpy-ifunc.c: Likewise.
50210 * string/test-memrchr-ifunc.c: Likewise.
50211 * string/test-memset-ifunc.c: Likewise.
50212 * string/test-rawmemchr-ifunc.c: Likewise.
50213 * string/test-stpcpy-ifunc.c: Likewise.
50214 * string/test-stpncpy-ifunc.c: Likewise.
50215 * string/test-strcasecmp-ifunc.c: Likewise.
50216 * string/test-strcasestr-ifunc.c: Likewise.
50217 * string/test-strcat-ifunc.c: Likewise.
50218 * string/test-strchr-ifunc.c: Likewise.
50219 * string/test-strchrnul-ifunc.c: Likewise.
50220 * string/test-strcmp-ifunc.c: Likewise.
50221 * string/test-strcpy-ifunc.c: Likewise.
50222 * string/test-strcspn-ifunc.c: Likewise.
50223 * string/test-strlen-ifunc.c: Likewise.
50224 * string/test-strncasecmp-ifunc.c: Likewise.
50225 * string/test-strncat-ifunc.c: Likewise.
50226 * string/test-strncmp-ifunc.c: Likewise.
50227 * string/test-strncpy-ifunc.c: Likewise.
50228 * string/test-strnlen-ifunc.c: Likewise.
50229 * string/test-strpbrk-ifunc.c: Likewise.
50230 * string/test-strrchr-ifunc.c: Likewise.
50231 * string/test-strspn-ifunc.c: Likewise.
50232 * string/test-strstr-ifunc.c: Likewise.
50233
50234 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50235
50236 * benchtests/Makefile: Remove ifunc tests.
50237 * benchtests/bench-string.h: Define TEST_IFUNC.
50238 * benchtests/bench-bcopy-ifunc.c: Remove.
50239 * benchtests/bench-bzero-ifunc.c: Likewise.
50240 * benchtests/bench-memccpy-ifunc.c: Likewise.
50241 * benchtests/bench-memchr-ifunc.c: Likewise.
50242 * benchtests/bench-memcmp-ifunc.c: Likewise.
50243 * benchtests/bench-memcpy-ifunc.c: Likewise.
50244 * benchtests/bench-memmem-ifunc.c: Likewise.
50245 * benchtests/bench-memmove-ifunc.c: Likewise.
50246 * benchtests/bench-mempcpy-ifunc.c: Likewise.
50247 * benchtests/bench-memrchr-ifunc.c: Likewise.
50248 * benchtests/bench-memset-ifunc.c: Likewise.
50249 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50250 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50251 * benchtests/bench-stpcpy-ifunc.c: Likewise.
50252 * benchtests/bench-stpncpy-ifunc.c: Likewise.
50253 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50254 * benchtests/bench-strcasestr-ifunc.c: Likewise.
50255 * benchtests/bench-strcat-ifunc.c: Likewise.
50256 * benchtests/bench-strchr-ifunc.c: Likewise.
50257 * benchtests/bench-strchrnul-ifunc.c: Likewise.
50258 * benchtests/bench-strcmp-ifunc.c: Likewise.
50259 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50260 * benchtests/bench-strcpy-ifunc.c: Likewise.
50261 * benchtests/bench-strcspn-ifunc.c: Likewise.
50262 * benchtests/bench-strlen-ifunc.c: Likewise.
50263 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50264 * benchtests/bench-strncat-ifunc.c: Likewise.
50265 * benchtests/bench-strncmp-ifunc.c: Likewise.
50266 * benchtests/bench-strncpy-ifunc.c: Likewise.
50267 * benchtests/bench-strnlen-ifunc.c: Likewise.
50268 * benchtests/bench-strpbrk-ifunc.c: Likewise.
50269 * benchtests/bench-strrchr-ifunc.c: Likewise.
50270 * benchtests/bench-strsep-ifunc.c: Likewise.
50271 * benchtests/bench-strspn-ifunc.c: Likewise.
50272 * benchtests/bench-strstr-ifunc.c: Likewise.
50273
50274 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50275
50276 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50277
50278 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50279
50280 * resolv/netdb.h: Use __glibc_reserved instead __unused.
50281 * rt/aio.h: Likewise.
50282 * sysdeps/gnu/bits/utmp.h: Likewise.
50283 * sysdeps/gnu/bits/utmpx.h: Likewise.
50284 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50285 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50286 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50287 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50288 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50289 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50290 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50291 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50292 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50293 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50294 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50295 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50296 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50298 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50299 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50300 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50301 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50302 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50303 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50304 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50305 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50306 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50307 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50308 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50310 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50311 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50312 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50313 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50314 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50315 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50316 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50317 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50318 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50319 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50320 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50321 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50322 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50323 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50324 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50325 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50326
50327 2013-11-25 Carlos O'Donell <carlos@redhat.com>
50328
50329 [BZ #16245]
50330 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50331 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50332
50333 2013-11-25 Joseph Myers <joseph@codesourcery.com>
50334
50335 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50336 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50337 Likewise.
50338
50339 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50340
50341 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50342 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50343 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50344 (__fesetround): Remove define.
50345 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50346 rounding and exceptions handling.
50347 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50348 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50349 (__fe_nomask_env): Likewise.
50350 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50351 __fegetround instead of fegetround.
50352 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50353 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50354
50355 2013-11-21 Roland McGrath <roland@hack.frob.com>
50356
50357 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50358 it's there.
50359
50360 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50361
50362 2013-11-21 Meador Inge <meadori@codesourcery.com>
50363
50364 [BZ #11157]
50365 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50366 (encrypt_r): Likewise.
50367 * malloc/obstack.h (obstack_free): Likewise.
50368 * posix/unistd.h (encrypt): Likewise.
50369
50370 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
50371
50372 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50373 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50374 DL_CALL_DT_FINI() that call the functions directly.
50375 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50376 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50377 * elf/dl-fini.c: Likewise.
50378
50379 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
50380
50381 * malloc/hooks.c (memalign_check): Add alignment rounding.
50382 * malloc/malloc.c (_mid_memalign): New function.
50383 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50384 Implement by calling _mid_memalign.
50385 * manual/probes.texi (Memory Allocation Probes): Remove
50386 memory_valloc_retry and memory_pvalloc_retry.
50387
50388 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
50389
50390 * locale/programs/locarchive.c (open_archive): Add const
50391 qualifier to ARCHIVEFNAME and copy default fname to
50392 DEFAULT_FNAME.
50393
50394 [BZ #15601]
50395 * libio/tst-widetext.input: Rename Oriya to Odia.
50396 * locale/iso-639.def: Likewise.
50397
50398 * manual/probes.texi (Mathematical Function Probes): Add
50399 documentation for sin, cos, asin and acos probes.
50400 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50401 (__sin32): Add slowasin probe.
50402 (__cos32): Add slowacos probe.
50403 (__mpsin): Add slowsin probe.
50404 (__mpcos): Add slowcos probe.
50405
50406 2013-11-19 Joseph Myers <joseph@codesourcery.com>
50407
50408 [BZ #15483]
50409 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50410 thread-local __sim_exceptions_thread and global
50411 __sim_exceptions_global.
50412 (__sim_disabled_exceptions): Change to thread-local
50413 __sim_disabled_exceptions_thread and global
50414 __sim_disabled_exceptions_global.
50415 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50416 and global __sim_round_mode_global.
50417 (__simulate_exceptions): Use thread-local floating-point state and
50418 set global state from it as needed.
50419 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50420 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50421 __sim_round_mode_thread.
50422 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50423 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50424 and global __sim_exceptions_global.
50425 (__sim_disabled_exceptions): Change to thread-local
50426 __sim_disabled_exceptions_thread and global
50427 __sim_disabled_exceptions_global.
50428 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50429 and global __sim_round_mode_global.
50430 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50431 (SIM_SET_GLOBAL): Likewise.
50432 * sysdeps/powerpc/soft-fp/sfp-machine.h
50433 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50434 __sim_round_mode_thread.
50435 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50436 __sim_disabled_exceptions_thread.
50437 (__sim_exceptions): Change to __sim_exceptions_thread.
50438 (__sim_disabled_exceptions): Change to
50439 __sim_disabled_exceptions_thread.
50440 (__sim_round_mode): Change to __sim_round_mode_thread.
50441 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50442 thread-local floating-point state and set global state from it as
50443 needed.
50444 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50445 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50446 (__sim_disabled_exceptions): Remove extern declaration.
50447 (feenableexcept): Use thread-local floating-point state and set
50448 global state from it as needed.
50449 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50450 extern declaration.
50451 (__sim_disabled_exceptions): Likewise.
50452 (__sim_round_mode): Likewise.
50453 (__fegetenv): Use thread-local floating-point state.
50454 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50455 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50456 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50457 floating-point state and set global state from it as needed.
50458 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50459 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50460 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50461 Likewise.
50462 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50463 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50464 Likewise.
50465 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50466 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50467 Use __sim_round_mode_thread.
50468 * math/test-fenv-tls.c: New file.
50469 * math/Makefile (tests): Add test-fenv-tls.
50470 ($(objpfx)test-fenv-tls): Depend on
50471 $(common-objpfx)nptl/libpthread.so.
50472
50473 2013-11-19 Andreas Schwab <schwab@suse.de>
50474
50475 * locale/programs/locale.c (show_info): Decode wordarray elements.
50476 * locale/categories.def (LC_MONETARY): Add element for
50477 _NL_MONETARY_CRNCYSTR.
50478 * locale/C-monetary.c (conversion_rate): New variable.
50479 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50480 element.
50481
50482 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
50483
50484 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50485 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50486
50487 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50488
50489 * elf/Makefile (tst-auxv): New test.
50490 * elf/tst-auxv.c: New
50491 * elf/rtld.c (dl_main): Adjust AT_EXECFN
50492
50493 2013-11-18 Joseph Myers <joseph@codesourcery.com>
50494
50495 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50496 (hidden_proto): Caller changed.
50497 (hidden_tls_proto): New macro.
50498 (libc_hidden_tls_proto): Likewise.
50499 (rtld_hidden_tls_proto): Likewise.
50500 (libm_hidden_tls_proto): Likewise.
50501 (libresolv_hidden_tls_proto): Likewise.
50502 (librt_hidden_tls_proto): Likewise.
50503 (libdl_hidden_tls_proto): Likewise.
50504 (libnss_files_hidden_tls_proto): Likewise.
50505 (libnsl_hidden_tls_proto): Likewise.
50506 (libnss_nisplus_hidden_tls_proto): Likewise.
50507 (libutil_hidden_tls_proto): Likewise.
50508
50509 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50510
50511 [BZ #10253]
50512 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50513 (decompose_rpath): Defer expansion to fillin_rpath.
50514 (_dl_init_paths): Pass linkmap to fillin_rpath.
50515
50516 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50517
50518 * benchtests/Makefile: Add strsep.
50519 * benchtests/bench-strsep.c: New file: strsep benchtest.
50520 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50521
50522 2013-11-18 Andreas Schwab <schwab@suse.de>
50523
50524 * locale/programs/locale.c (show_info) [case byte]: Check for
50525 '\377' instead of '\177'.
50526 * locale/C-monetary.c (not_available): Always use "\377".
50527 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50528 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50529 detect unavailable sign_posn locale elements.
50530 * locale/localeconv.c (__localeconv): For grouping and
50531 mon_grouping handle "\177" and "\377" like no grouping.
50532 (INT_ELEM): New macro. Use it to set all numeric members.
50533 * locale/programs/ld-monetary.c (monetary_read)
50534 <tok_mon_grouping>: Normalize single -1 to the empty string.
50535 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50536 Likewise.
50537
50538 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50539
50540 [BZ #16055]
50541 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50542 when we match (nil).
50543 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50544
50545 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50546
50547 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50548 (NO_TEST_INLINE): Update value.
50549 (ERRNO_UNCHANGED): Likewise.
50550 (ERRNO_EDOM): Likewise.
50551 (ERRNO_ERANGE): Likewise.
50552 (IGNORE_RESULT): Likewise.
50553 (check_float_internal): Check signs of NaN results if
50554 TEST_NAN_SIGN used.
50555 (check_complex): Pass TEST_NAN_SIGN flag through to second
50556 check_float_internal call.
50557 (copysign_test_data): Add tests with quiet NaNs as second
50558 argument. Use TEST_NAN_SIGN.
50559 (fabs_test_data): Add test of negative quiet NaN argument. Use
50560 TEST_NAN_SIGN.
50561 (signbit_test_data): Add tests of quiet NaN argument.
50562 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50563
50564 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50565 $ignore_result.
50566 (parse_args): Handle function results specified as IGNORE.
50567 * math/libm-test.inc (IGNORE_RESULT): New macro.
50568 (check_float_internal): Do not check numerical result if flag
50569 IGNORE_RESULT set.
50570 (check_complex): Pass through IGNORE_RESULT to second
50571 check_float_internal call.
50572 (check_int): Do not check numerical result if flag IGNORE_RESULT
50573 set.
50574 (check_long): Likewise.
50575 (check_bool): Likewise.
50576 (check_longlong): Likewise.
50577 (lrint_test_data): Add tests of infinite and NaN arguments.
50578 (lrint_tonearest_test_data): Likewise.
50579 (lrint_towardzero_test_data): Likewise.
50580 (lrint_downward_test_data): Likewise.
50581 (lrint_upward_test_data): Likewise.
50582 (llrint_test_data): Likewise.
50583 (llrint_tonearest_test_data): Likewise.
50584 (llrint_towardzero_test_data): Likewise.
50585 (llrint_downward_test_data): Likewise.
50586 (llrint_upward_test_data): Likewise.
50587 (lround_test_data): Likewise.
50588 (llround_test_data): Likewise.
50589
50590 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50591 (ERRNO_UNCHANGED): Update value.
50592 (ERRNO_EDOM): Likewise.
50593 (ERRNO_ERANGE): Likewise.
50594 (NO_TEST_INLINE_FLOAT): New macro.
50595 (NO_TEST_INLINE_DOUBLE): Likewise.
50596 (enable_test): New function.
50597 (RUN_TEST_f_f): Check enable_test before running test.
50598 (RUN_TEST_2_f): Likewise.
50599 (RUN_TEST_fff_f): Likewise.
50600 (RUN_TEST_c_f): Likewise.
50601 (RUN_TEST_f_f1): Likewise.
50602 (RUN_TEST_fF_f1): Likewise.
50603 (RUN_TEST_fI_f1): Likewise.
50604 (RUN_TEST_ffI_f1): Likewise.
50605 (RUN_TEST_c_c): Likewise.
50606 (RUN_TEST_cc_c): Likewise.
50607 (RUN_TEST_f_i): Likewise.
50608 (RUN_TEST_f_i_tg): Likewise.
50609 (RUN_TEST_ff_i_tg): Likewise.
50610 (RUN_TEST_f_b): Likewise.
50611 (RUN_TEST_f_b_tg): Likewise.
50612 (RUN_TEST_f_l): Likewise.
50613 (RUN_TEST_f_L): Likewise.
50614 (RUN_TEST_fFF_11): Likewise.
50615 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50616 conditionals.
50617 (cosh_test_data): Likewise.
50618 (exp_test_data): Likewise.
50619 (expm1_test_data): Likewise.
50620 (hypot_test_data): Likewise.
50621 (pow_test_data): Likewise.
50622 (sinh_test_data): Likewise.
50623 (tanh_test_data): Likewise.
50624 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50625 flags argument.
50626
50627 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50628 tests with quiet NaN input and output.
50629 (acosh_test_data): Likewise.
50630 (asin_test_data): Likewise.
50631 (asinh_test_data): Likewise.
50632 (atan_test_data): Likewise.
50633 (atanh_test_data): Likewise.
50634 (atan2_test_data): Likewise.
50635 (cbrt_test_data): Likewise.
50636 (cos_test_data): Likewise.
50637 (cosh_test_data): Likewise.
50638 (erf_test_data): Likewise.
50639 (erfc_test_data): Likewise.
50640 (exp_test_data): Likewise.
50641 (exp10_test_data): Likewise.
50642 (exp2_test_data): Likewise.
50643 (expm1_test_data): Likewise.
50644 (hypot_test_data): Likewise.
50645 (j0_test_data): Likewise.
50646 (j1_test_data): Likewise.
50647 (jn_test_data): Likewise.
50648 (lgamma_test_data): Likewise.
50649 (log_test_data): Likewise.
50650 (log10_test_data): Likewise.
50651 (log1p_test_data): Likewise.
50652 (log2_test_data): Likewise.
50653 (pow_test_data): Likewise.
50654 (scalb_test_data): Likewise.
50655 (sin_test_data): Likewise.
50656 (sincos_test_data): Likewise.
50657 (sinh_test_data): Likewise.
50658 (tan_test_data): Likewise.
50659 (tanh_test_data): Likewise.
50660 (tgamma_test_data): Likewise.
50661 (y0_test_data): Likewise.
50662 (y1_test_data): Likewise.
50663 (yn_test_data): Likewise.
50664
50665 [BZ #16167]
50666 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50667 argument being NaN and avoid computations with second argument in
50668 that case.
50669 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50670 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50671 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50672
50673 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50674
50675 * locale/iso-639.def: Add Chitwani Tharu (the).
50676
50677 2013-11-14 Andreas Schwab <schwab@suse.de>
50678
50679 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50680 word instead of empty string.
50681
50682 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50683
50684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50685 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50687 (__fe_nomask_env): Likewise.
50688
50689 2013-11-13 Steve Ellcey <sellcey@mips.com>
50690
50691 * benchtests/bench-timing.h: Include time.h.
50692
50693 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
50694
50695 [BZ #15997]
50696 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50697 to 3.4.0 for x32.
50698 * sysdeps/unix/sysv/linux/configure: Regenerated.
50699
50700 2013-11-13 Joseph Myers <joseph@codesourcery.com>
50701
50702 [BZ #16151]
50703 * stdlib/strtod_l.c (round_and_return): Do not consider
50704 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50705 exponent one less than half the least subnormal exponent.
50706 * stdlib/test-strtod-round-data: Add more tests.
50707 * stdlib/tst-strtod-round.c (tests): Regenerated.
50708
50709 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50710
50711 [BZ #14143]
50712 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50713 (__fe_mask_env): Likewise.
50714 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50715 libm_hidden_proto and add function prototype.
50716 (__fe_mask_env): Add function prototype.
50717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50718 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50720 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50722 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50723
50724 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50725
50726 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50728
50729 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50730
50731 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50732 of htab_find_slot().
50733
50734 2013-11-11 David S. Miller <davem@davemloft.net>
50735
50736 [BZ #16150]
50737 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50738 symbol in the non-vis3 case in static builds.
50739 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50740 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50741 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50742 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50743
50744 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
50745
50746 [BZ #387]
50747 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50748 it is empty.
50749
50750 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50751
50752 * benchtests/Makefile: Add bench-strtod.
50753 * benchtests/bench-strtod.c: New file: strtod benchtest
50754
50755 2013-11-11 Andreas Schwab <schwab@suse.de>
50756
50757 [BZ #16153]
50758 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50759 terminating NUL in key length.
50760
50761 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50762
50763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50764 Add artificial ODP entry for vDSO symbol for PPC64.
50765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50766 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50767
50768 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50769
50770 [BZ #15374]
50771 * nss/getent.c (services_keys): Recognize services starting with digit.
50772
50773 2013-11-06 David S. Miller <davem@davemloft.net>
50774
50775 [BZ #15985]
50776 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50777 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50778
50779 2013-11-06 Will Newton <will.newton@linaro.org>
50780
50781 * manual/memory.texi (Malloc Examples): Remove register
50782 keyword from examples.
50783
50784 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
50785
50786 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50787
50788 2013-11-04 Joseph Myers <joseph@codesourcery.com>
50789
50790 [BZ #6981]
50791 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50792 depending on [__GCC_IEC_559 > 0].
50793 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50794 depending on [__GCC_IEC_559_COMPLEX > 0].
50795
50796 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
50797
50798 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50799 to iso-639.def.
50800
50801 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
50802
50803 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50804
50805 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
50806
50807 [BZ #16112]
50808 * malloc/malloc (malloc_info): Do not handle first bin as
50809 special case.
50810
50811 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
50812
50813 * locale/iso-639.def: Add Central Nahuatl (nhn).
50814
50815 2013-11-01 Bruno Haible <bruno@clisp.org>
50816
50817 [BZ #7003]
50818 * manual/math.texi (BSD Random): Specify range upper bound as
50819 in POSIX.
50820
50821 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
50822
50823 * locale/iso-639.def: Add Meadow Mari (mhr).
50824
50825 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
50826
50827 [BZ #14752], [BZ #15763]
50828 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50829 Validate name.
50830 * rt/tst_shm.c: Add test for escaping directory.
50831
50832 2013-10-31 Andreas Schwab <schwab@suse.de>
50833
50834 [BZ #15917]
50835 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50836 followed by 'x' as part of digit sequence.
50837 * stdio-common/tst-sscanf.c (double_tests2): New tests.
50838
50839 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50840
50841 [BZ #16037]
50842 * configure.ac: allow GNU Make 4.0 and greater.
50843 * configure: Regenerated.
50844
50845 2013-10-30 Will Newton <will.newton@linaro.org>
50846
50847 [BZ #16038]
50848 * malloc/hooks.c (memalign_check): Limit alignment to the
50849 maximum representable power of two.
50850 * malloc/malloc.c (__libc_memalign): Likewise.
50851 * malloc/tst-memalign.c (do_test): Add test for very
50852 large alignment values.
50853 * malloc/tst-posix_memalign.c (do_test): Likewise.
50854
50855 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50856
50857 [BZ #11087]
50858 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50859 (munmap_chunk): Likewise.
50860 (mremap_chunk): Likewise.
50861
50862 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50863
50864 [BZ #15799]
50865 * stdlib/div.c (div): Remove obsolete code.
50866 * stdlib/ldiv.c (ldiv): Likewise.
50867 * stdlib/lldiv.c (lldiv): Likewise.
50868
50869 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50870
50871 [BZ #16071]
50872 * nss/nss_files/files-XXX.c (get_contents_ret): New
50873 enumerator.
50874 (get_contents): New function.
50875 (internal_getent): Use it. Expand size of LINEBUFLEN.
50876
50877 2013-10-30 Mike Frysinger <vapier@gentoo.org>
50878
50879 * configure.in: Moved to ...
50880 * configure.ac: ... here. Change reference to configure.in
50881 to configure.ac.
50882 * sysdeps/arm/preconfigure.ac: ... here.
50883 configure.in to configure.ac.
50884 * sysdeps/gnu/configure.in: Moved to ...
50885 * sysdeps/gnu/configure.ac: ... here.
50886 * sysdeps/i386/configure.in: Moved to ...
50887 * sysdeps/i386/configure.ac: ... here.
50888 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50889 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50890 * sysdeps/mach/configure.in: Moved to ...
50891 * sysdeps/mach/configure.ac: ... here.
50892 * sysdeps/mach/hurd/configure.in: Moved to ...
50893 * sysdeps/mach/hurd/configure.ac: ... here.
50894 * sysdeps/powerpc/configure.in: Moved to ...
50895 * sysdeps/powerpc/configure.ac: ... here.
50896 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50897 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50898 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50899 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50900 * sysdeps/s390/s390-32/configure.in: Moved to ...
50901 * sysdeps/s390/s390-32/configure.ac: ... here.
50902 * sysdeps/s390/s390-64/configure.in: Moved to ...
50903 * sysdeps/s390/s390-64/configure.ac: ... here.
50904 * sysdeps/sh/configure.in: Moved to ...
50905 * sysdeps/sh/configure.ac: ... here.
50906 * sysdeps/sparc/configure.in: Moved to ...
50907 * sysdeps/sparc/configure.ac: ... here.
50908 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50909 * sysdeps/unix/sysv/linux/configure.ac: ... here.
50910 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50911 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50912 * sysdeps/x86_64/configure.in: Moved to ...
50913 * sysdeps/x86_64/configure.ac: ... here.
50914 * sysdeps/x86_64/preconfigure.in: Moved to ...
50915 * sysdeps/x86_64/preconfigure.ac: ... here.
50916 * aclocal.m4: Change reference to configure.in to configure.ac.
50917 * config.h.in: Likewise.
50918 * manual/install.texi: Likewise.
50919 * manual/maint.texi: Likewise.
50920 * Makefile: Likewise.
50921 * malloc/Makefile: Likewise.
50922 * nscd/Makefile: Likewise.
50923 * Makeconfig: Change reference to configure.in and
50924 preconfigure.in to configure.ac and preconfigure.ac
50925 respectively.
50926 * INSTALL: Regenerated.
50927 * configure: Likewise.
50928 * sysdeps/gnu/configure: Likewise.
50929 * sysdeps/i386/configure: Likewise.
50930 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50931 * sysdeps/mach/configure: Likewise.
50932 * sysdeps/mach/hurd/configure: Likewise.
50933 * sysdeps/powerpc/configure: Likewise.
50934 * sysdeps/powerpc/powerpc32/configure: Likewise.
50935 * sysdeps/powerpc/powerpc64/configure: Likewise.
50936 * sysdeps/s390/s390-32/configure: Likewise.
50937 * sysdeps/s390/s390-64/configure: Likewise.
50938 * sysdeps/sh/configure: Likewise.
50939 * sysdeps/sparc/configure: Likewise.
50940 * sysdeps/unix/sysv/linux/configure: Likewise.
50941 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50942 * sysdeps/x86_64/configure: Likewise.
50943 * sysdeps/x86_64/preconfigure: Likewise.
50944
50945 2013-10-29 Andreas Schwab <schwab@suse.de>
50946
50947 * stdio-common/Makefile (tst-swscanf-ENV): Define.
50948
50949 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50950
50951 * benchtests/pow-inputs: Add new inputs.
50952
50953 * benchtests/exp-inputs: Add new inputs.
50954
50955 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50956 conditional check for return value.
50957 (__cos32): Likewise.
50958
50959 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50960
50961 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50962 to provide a boost for large inputs with word alignment.
50963 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50964 implementation based on optimized PPC64 strcpy.
50965 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50966 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50967 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50968 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50969
50970 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50971
50972 [BZ #2801]
50973 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50974
50975 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50976
50977 [BZ #14876]
50978 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50979 * time/tst-strptime.c (day_tests): Add testcase.
50980
50981 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50982
50983 [BZ #14029]
50984 * manual/pattern.texi: Acknowledge that fnmatch can fail.
50985
50986 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
50987
50988 [BZ #16074]
50989 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50990 MAP_FAILED on error.
50991
50992 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50993
50994 [BZ #16072]
50995 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50996 heap for large requests.
50997
50998 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
50999
51000 [BZ #9954]
51001 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51002 result if the result has no associated interface.
51003 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51004 interface for all 127.X.Y.Z addresses.
51005
51006 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
51007
51008 * locale/iso-639.def: Add Ligurian (lij)
51009
51010 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
51011
51012 [BZ #15825]
51013 * sunrpc/rpc_main.c: Document rpcgen -5.
51014
51015 2013-10-19 Michael Stahl <mstahl@redhat.com>
51016
51017 * elf/rtld.c (do_preload): Print the reason why preloading failed.
51018
51019 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51020
51021 [BZ #10278]
51022 * posix/glob.c: Match only directories when trailing slash is present.
51023 * posix/tst-gnuglob.c (my_opendir): Do not open files.
51024 (main): Add testcase.
51025
51026 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51027
51028 [BZ #15670]
51029 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51030
51031 2013-10-18 Carlos O'Donell <carlos@redhat.com>
51032
51033 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51034 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51035 AUTH_DES and cindex for FIPS 140-2.
51036 (DES Encryption): Add cindex FIPS 46-3.
51037
51038 * locale/locarchive.h (struct locarhandle): Add fname.
51039 * locale/programs/localedef.c (main): Pass ARGV[remaining]
51040 if an optional argument was specified to --list-archive,
51041 otherwise NULL.
51042 * locale/programs/locarchive.c (show_archive_content): Take new
51043 argument fname and pass it via ah.fname to open_archive.
51044 * locale/programs/localedef.h: Update decl.
51045 (open_archive): If AH->fname is non-null, open that file
51046 rather than the default file name, and don't ignore ENOENT.
51047 (create_archive): Set AH.fname to NULL.
51048 (delete_locales_from_archive): Likewise.
51049 (add_locales_to_archive): Likewise.
51050 * locale/programs/locfile.c (write_all_categories): Likewise.
51051
51052 2013-10-18 Joseph Myers <joseph@codesourcery.com>
51053 Aldy Hernandez <aldyh@redhat.com>
51054
51055 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51056 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51057 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51058 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51059 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51060 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51061 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51062 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51063 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51064 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51065 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51066 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51067 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51068 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51069 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51070 Likewise.
51071 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51072 Likewise.
51073 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51074 Likewise.
51075 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51076 Likewise.
51077 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51078 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51079 Likewise.
51080 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51081 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51082 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51083 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51084 Likewise.
51085 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51086 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51087 * sysdeps/powerpc/preconfigure: Likewise.
51088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51089 Likewise.
51090 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51091 Replace contents of file by #include of <fenv_libc.h>.
51092 * sysdeps/powerpc/soft-fp/sfp-machine.h
51093 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51094 and <sys/prctl.h>.
51095 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51101 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51102 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51103 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51104 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51105 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51106 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51108 Allow copysignl PLT reference to be missing.
51109
51110 2013-10-18 Richard Sandiford <richard@codesourcery.com>
51111 Joseph Myers <joseph@codesourcery.com
51112
51113 [BZ #15948]
51114 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51115 single character.
51116 (add_to_tablewc): Assert sequence of wide characters is nonempty.
51117
51118 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51119
51120 * elf/tst-tls-dlinfo.c: Don't include tls.h.
51121 * elf/tst-tls1.c: Likewise.
51122 * elf/tst-tls10.h: Likewise.
51123 * elf/tst-tls14.c: Likewise.
51124 * elf/tst-tls2.c: Likewise.
51125 * elf/tst-tls3.c: Likewise.
51126 * elf/tst-tls4.c: Likewise.
51127 * elf/tst-tls5.c: Likewise.
51128 * elf/tst-tls6.c: Likewise.
51129 * elf/tst-tls7.c: Likewise.
51130 * elf/tst-tls8.c: Likewise.
51131 * elf/tst-tls9.c: Likewise.
51132 * elf/tst-tlsmod1.c: Likewise.
51133 * elf/tst-tlsmod13.c: Likewise.
51134 * elf/tst-tlsmod13a.c: Likewise.
51135 * elf/tst-tlsmod14a.c: Likewise.
51136 * elf/tst-tlsmod16a.c: Likewise.
51137 * elf/tst-tlsmod16b.c: Likewise.
51138 * elf/tst-tlsmod2.c: Likewise.
51139 * elf/tst-tlsmod3.c: Likewise.
51140 * elf/tst-tlsmod4.c: Likewise.
51141 * elf/tst-tlsmod5.c: Likewise.
51142 * elf/tst-tlsmod6.c: Likewise.
51143
51144 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
51145
51146 [BZ #12486]
51147 * malloc/malloc.c: remove checks for statistics.
51148
51149 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51150
51151 [BZ #15277]
51152 * inet/inet_net.c (inet_network): Detect additional invalid strings.
51153 * inet/tst-network.c: Add testcase.
51154
51155 2013-10-17 Andreas Schwab <schwab@suse.de>
51156
51157 [BZ #15218]
51158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51159 to determine canonical name.
51160
51161 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51162
51163 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51164 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51165 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51166 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51168 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51169 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51170 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51171 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51172 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51173 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51174 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51175 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51176 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51178 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51180 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51181 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51182 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51183 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51185 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51186 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51187 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51188 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51189 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51190 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51191 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51192 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51193 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51195 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51196 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51197 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51198 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51199 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51200 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51201 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51202 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51203 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51204 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51205 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51206 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51207 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51208 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51209 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51210 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51211 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51212 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51213 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51214 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51215 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51216 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51218 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51220 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51221
51222 2013-10-17 Joseph Myers <joseph@codesourcery.com>
51223
51224 [BZ #16041]
51225 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51226 make result into a quiet NaN.
51227
51228 2013-10-16 Joseph Myers <joseph@codesourcery.com>
51229
51230 * soft-fp/adddf3.c: Fix horizontal whitespace.
51231 * soft-fp/addsf3.c: Likewise.
51232 * soft-fp/addtf3.c: Likewise.
51233 * soft-fp/divdf3.c: Likewise.
51234 * soft-fp/divsf3.c: Likewise.
51235 * soft-fp/divtf3.c: Likewise.
51236 * soft-fp/double.h: Likewise.
51237 * soft-fp/eqdf2.c: Likewise.
51238 * soft-fp/eqsf2.c: Likewise.
51239 * soft-fp/eqtf2.c: Likewise.
51240 * soft-fp/extenddftf2.c: Likewise.
51241 * soft-fp/extended.h: Likewise.
51242 * soft-fp/extendsfdf2.c: Likewise.
51243 * soft-fp/extendsftf2.c: Likewise.
51244 * soft-fp/extendxftf2.c: Likewise.
51245 * soft-fp/fixdfdi.c: Likewise.
51246 * soft-fp/fixdfsi.c: Likewise.
51247 * soft-fp/fixdfti.c: Likewise.
51248 * soft-fp/fixsfdi.c: Likewise.
51249 * soft-fp/fixsfsi.c: Likewise.
51250 * soft-fp/fixsfti.c: Likewise.
51251 * soft-fp/fixtfdi.c: Likewise.
51252 * soft-fp/fixtfsi.c: Likewise.
51253 * soft-fp/fixtfti.c: Likewise.
51254 * soft-fp/fixunsdfdi.c: Likewise.
51255 * soft-fp/fixunsdfsi.c: Likewise.
51256 * soft-fp/fixunsdfti.c: Likewise.
51257 * soft-fp/fixunssfdi.c: Likewise.
51258 * soft-fp/fixunssfsi.c: Likewise.
51259 * soft-fp/fixunssfti.c: Likewise.
51260 * soft-fp/fixunstfdi.c: Likewise.
51261 * soft-fp/fixunstfsi.c: Likewise.
51262 * soft-fp/fixunstfti.c: Likewise.
51263 * soft-fp/floatdidf.c: Likewise.
51264 * soft-fp/floatdisf.c: Likewise.
51265 * soft-fp/floatditf.c: Likewise.
51266 * soft-fp/floatsidf.c: Likewise.
51267 * soft-fp/floatsisf.c: Likewise.
51268 * soft-fp/floatsitf.c: Likewise.
51269 * soft-fp/floattidf.c: Likewise.
51270 * soft-fp/floattisf.c: Likewise.
51271 * soft-fp/floattitf.c: Likewise.
51272 * soft-fp/floatundidf.c: Likewise.
51273 * soft-fp/floatundisf.c: Likewise.
51274 * soft-fp/floatunditf.c: Likewise.
51275 * soft-fp/floatunsidf.c: Likewise.
51276 * soft-fp/floatunsisf.c: Likewise.
51277 * soft-fp/floatunsitf.c: Likewise.
51278 * soft-fp/floatuntidf.c: Likewise.
51279 * soft-fp/floatuntisf.c: Likewise.
51280 * soft-fp/floatuntitf.c: Likewise.
51281 * soft-fp/fmadf4.c: Likewise.
51282 * soft-fp/fmasf4.c: Likewise.
51283 * soft-fp/fmatf4.c: Likewise.
51284 * soft-fp/gedf2.c: Likewise.
51285 * soft-fp/gesf2.c: Likewise.
51286 * soft-fp/getf2.c: Likewise.
51287 * soft-fp/ledf2.c: Likewise.
51288 * soft-fp/lesf2.c: Likewise.
51289 * soft-fp/letf2.c: Likewise.
51290 * soft-fp/muldf3.c: Likewise.
51291 * soft-fp/mulsf3.c: Likewise.
51292 * soft-fp/multf3.c: Likewise.
51293 * soft-fp/negdf2.c: Likewise.
51294 * soft-fp/negsf2.c: Likewise.
51295 * soft-fp/negtf2.c: Likewise.
51296 * soft-fp/op-1.h: Likewise.
51297 * soft-fp/op-2.h: Likewise.
51298 * soft-fp/op-4.h: Likewise.
51299 * soft-fp/op-8.h: Likewise.
51300 * soft-fp/op-common.h: Likewise.
51301 * soft-fp/quad.h: Likewise.
51302 * soft-fp/single.h: Likewise.
51303 * soft-fp/soft-fp.h: Likewise.
51304 * soft-fp/sqrtdf2.c: Likewise.
51305 * soft-fp/sqrtsf2.c: Likewise.
51306 * soft-fp/sqrttf2.c: Likewise.
51307 * soft-fp/subdf3.c: Likewise.
51308 * soft-fp/subsf3.c: Likewise.
51309 * soft-fp/subtf3.c: Likewise.
51310 * soft-fp/truncdfsf2.c: Likewise.
51311 * soft-fp/trunctfdf2.c: Likewise.
51312 * soft-fp/trunctfsf2.c: Likewise.
51313 * soft-fp/trunctfxf2.c: Likewise.
51314 * soft-fp/unorddf2.c: Likewise.
51315 * soft-fp/unordsf2.c: Likewise.
51316 * soft-fp/unordtf2.c: Likewise.
51317
51318 2013-10-15 Joseph Myers <joseph@codesourcery.com>
51319
51320 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51321 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51322
51323 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
51324
51325 * elf/dl-libc.c: Clear initfini list after freeing.
51326
51327 2013-10-14 Joseph Myers <joseph@codesourcery.com>
51328
51329 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51330 * soft-fp/addsf3.c: Likewise.
51331 * soft-fp/addtf3.c: Likewise.
51332 * soft-fp/divdf3.c: Likewise.
51333 * soft-fp/divsf3.c: Likewise.
51334 * soft-fp/divtf3.c: Likewise.
51335 * soft-fp/double.h: Likewise.
51336 * soft-fp/eqdf2.c: Likewise.
51337 * soft-fp/eqsf2.c: Likewise.
51338 * soft-fp/eqtf2.c: Likewise.
51339 * soft-fp/extenddftf2.c: Likewise.
51340 * soft-fp/extended.h: Likewise.
51341 * soft-fp/extendsfdf2.c: Likewise.
51342 * soft-fp/extendsftf2.c: Likewise.
51343 * soft-fp/extendxftf2.c: Likewise.
51344 * soft-fp/fixdfdi.c: Likewise.
51345 * soft-fp/fixdfsi.c: Likewise.
51346 * soft-fp/fixdfti.c: Likewise.
51347 * soft-fp/fixsfdi.c: Likewise.
51348 * soft-fp/fixsfsi.c: Likewise.
51349 * soft-fp/fixsfti.c: Likewise.
51350 * soft-fp/fixtfdi.c: Likewise.
51351 * soft-fp/fixtfsi.c: Likewise.
51352 * soft-fp/fixtfti.c: Likewise.
51353 * soft-fp/fixunsdfdi.c: Likewise.
51354 * soft-fp/fixunsdfsi.c: Likewise.
51355 * soft-fp/fixunsdfti.c: Likewise.
51356 * soft-fp/fixunssfdi.c: Likewise.
51357 * soft-fp/fixunssfsi.c: Likewise.
51358 * soft-fp/fixunssfti.c: Likewise.
51359 * soft-fp/fixunstfdi.c: Likewise.
51360 * soft-fp/fixunstfsi.c: Likewise.
51361 * soft-fp/fixunstfti.c: Likewise.
51362 * soft-fp/floatdidf.c: Likewise.
51363 * soft-fp/floatdisf.c: Likewise.
51364 * soft-fp/floatditf.c: Likewise.
51365 * soft-fp/floatsidf.c: Likewise.
51366 * soft-fp/floatsisf.c: Likewise.
51367 * soft-fp/floatsitf.c: Likewise.
51368 * soft-fp/floattidf.c: Likewise.
51369 * soft-fp/floattisf.c: Likewise.
51370 * soft-fp/floattitf.c: Likewise.
51371 * soft-fp/floatundidf.c: Likewise.
51372 * soft-fp/floatundisf.c: Likewise.
51373 * soft-fp/floatunsidf.c: Likewise.
51374 * soft-fp/floatunsisf.c: Likewise.
51375 * soft-fp/floatuntidf.c: Likewise.
51376 * soft-fp/floatuntisf.c: Likewise.
51377 * soft-fp/floatuntitf.c: Likewise.
51378 * soft-fp/fmadf4.c: Likewise.
51379 * soft-fp/fmasf4.c: Likewise.
51380 * soft-fp/fmatf4.c: Likewise.
51381 * soft-fp/gedf2.c: Likewise.
51382 * soft-fp/gesf2.c: Likewise.
51383 * soft-fp/getf2.c: Likewise.
51384 * soft-fp/ledf2.c: Likewise.
51385 * soft-fp/lesf2.c: Likewise.
51386 * soft-fp/letf2.c: Likewise.
51387 * soft-fp/muldf3.c: Likewise.
51388 * soft-fp/mulsf3.c: Likewise.
51389 * soft-fp/multf3.c: Likewise.
51390 * soft-fp/negdf2.c: Likewise.
51391 * soft-fp/negsf2.c: Likewise.
51392 * soft-fp/negtf2.c: Likewise.
51393 * soft-fp/op-1.h: Likewise.
51394 * soft-fp/op-2.h: Likewise.
51395 * soft-fp/op-4.h: Likewise.
51396 * soft-fp/op-8.h: Likewise.
51397 * soft-fp/op-common.h: Likewise.
51398 * soft-fp/quad.h: Likewise.
51399 * soft-fp/single.h: Likewise.
51400 * soft-fp/soft-fp.h: Likewise.
51401 * soft-fp/sqrtdf2.c: Likewise.
51402 * soft-fp/sqrtsf2.c: Likewise.
51403 * soft-fp/sqrttf2.c: Likewise.
51404 * soft-fp/subdf3.c: Likewise.
51405 * soft-fp/subsf3.c: Likewise.
51406 * soft-fp/subtf3.c: Likewise.
51407 * soft-fp/truncdfsf2.c: Likewise.
51408 * soft-fp/trunctfdf2.c: Likewise.
51409 * soft-fp/trunctfsf2.c: Likewise.
51410 * soft-fp/trunctfxf2.c: Likewise.
51411 * soft-fp/unorddf2.c: Likewise.
51412 * soft-fp/unordsf2.c: Likewise.
51413 * soft-fp/unordtf2.c: Likewise.
51414
51415 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
51416
51417 [BZ #15672]
51418 * misc/error.c (error_tail): Fix possible buffer overflow.
51419
51420 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
51421
51422 [BZ #13028]
51423 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51424 address.
51425
51426 2013-10-14 P. J. McDermott <pj@pehjota.net>
51427
51428 [BZ #832]
51429 * elf/ldd.bash.in (try_trace): New function. Delete previous code
51430 testing pipefail option.
51431
51432 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51433
51434 * soft-fp/double.h: Indent preprocessor directives inside #if.
51435 * soft-fp/extended.h: Likewise.
51436 * soft-fp/op-2.h: Likewise.
51437 * soft-fp/op-4.h: Likewise.
51438 * soft-fp/op-common.h: Likewise.
51439 * soft-fp/quad.h: Likewise.
51440 * soft-fp/single.h: Likewise.
51441 * soft-fp/soft-fp.h: Likewise.
51442
51443 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
51444
51445 * iconv/iconv_prog.c: Fix typos.
51446 * stdio-common/psiginfo-data.h: Likewise.
51447
51448 2013-10-12 Reuben Thomas <rrt@sc3d.org>
51449
51450 [BZ #15764]
51451 * locale/setlocale.c: Fix typo.
51452
51453 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51454
51455 [BZ #16036]
51456 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51457 signaling NaN arguments.
51458 * soft-fp/unordsf2.c (__unordsf2): Likewise.
51459 * soft-fp/unordtf2.c (__unordtf2): Likewise.
51460
51461 [BZ #14910]
51462 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51463 unordered operands.
51464 * soft-fp/gesf2.c (__gesf2): Likewise.
51465 * soft-fp/getf2.c (__getf2): Likewise.
51466 * soft-fp/ledf2.c (__ledf2): Likewise.
51467 * soft-fp/lesf2.c (__lesf2): Likewise.
51468 * soft-fp/letf2.c (__letf2): Likewise.
51469
51470 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51471 * soft-fp/eqsf2.c (__eqsf2): Likewise.
51472 * soft-fp/eqtf2.c (__eqtf2): Likewise.
51473 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51474 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51475 * soft-fp/fixdfti.c (__fixdfti): Likewise.
51476 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51477 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51478 * soft-fp/fixsfti.c (__fixsfti): Likewise.
51479 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51480 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51481 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51482 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51483 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51484 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51485 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51486 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51487 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51488 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51489 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51490 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51491 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51492 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51493 * soft-fp/floatsisf.c (__floatsisf): Likewise.
51494 * soft-fp/floattidf.c (__floattidf): Likewise.
51495 * soft-fp/floattisf.c (__floattisf): Likewise.
51496 * soft-fp/floattitf.c (__floattitf): Likewise.
51497 * soft-fp/floatundidf.c (__floatundidf): Likewise.
51498 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51499 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51500 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51501 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51502 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51503 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51504 * soft-fp/gesf2.c (__gesf2): Likewise.
51505 * soft-fp/getf2.c (__getf2): Likewise.
51506 * soft-fp/ledf2.c (__ledf2): Likewise.
51507 * soft-fp/lesf2.c (__lesf2): Likewise.
51508 * soft-fp/letf2.c (__letf2): Likewise.
51509
51510 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51511 Undefine and redefine.
51512 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51513 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51514 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51515 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51516 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51517 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51518 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51519 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51520 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51521 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51522 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51523 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51524 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51525 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51526 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51527
51528 [BZ #16032]
51529 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51530 without decrementing exponent if mantissa >= that for the
51531 denominator, not >.
51532 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51533 denominator, not >. Decrement exponent in < case instead of
51534 incrementing in >= case.
51535 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51536 without decrementing exponent if mantissa >= that for the
51537 denominator, not >.
51538
51539 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51540 computing saturated result for unsigned overflow.
51541
51542 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51543 Jeff Law <law@redhat.com>
51544
51545 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51546 (atan2Mp): Add systemtap probe marker.
51547 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51548 (__ieee754_log): Add systemtap probe marker.
51549 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51550 (atanMp): Add systemtap probe marker.
51551 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51552 (tanMp): Add systemtap probe marker.
51553 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51554 (__slowexp): Add systemtap probe marker.
51555 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51556 (__slowpow): Add systemtap probe marker.
51557 * manual/probes.texi: Document probes.
51558
51559 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51560
51561 [BZ #15362]
51562 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51563 written.
51564 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51565 written.
51566 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51567 written to buffer but not flushed.
51568 * libio/iofwrite_u.c: Likewise.
51569 * libio/iopadn.c: Return bytes returned even if EOF was
51570 encountered.
51571 * libio/iowpadn.c: Likewise.
51572 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51573 if _IO_padn does not write the whole buffer.
51574 [!COMPILE_WPRINTF] (PAD): Likewise.
51575
51576 2013-10-10 David S. Miller <davem@davemloft.net>
51577
51578 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51579 directory block.
51580
51581 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51582
51583 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51584 instead of FSF address.
51585 * soft-fp/fixdfti.c: Likewise.
51586 * soft-fp/fixsfti.c: Likewise.
51587 * soft-fp/fixtfti.c: Likewise.
51588 * soft-fp/fixunsdfti.c: Likewise.
51589 * soft-fp/fixunssfti.c: Likewise.
51590 * soft-fp/fixunstfti.c: Likewise.
51591 * soft-fp/floattidf.c: Likewise.
51592 * soft-fp/floattisf.c: Likewise.
51593 * soft-fp/floattitf.c: Likewise.
51594 * soft-fp/floatuntidf.c: Likewise.
51595 * soft-fp/floatuntisf.c: Likewise.
51596 * soft-fp/floatuntitf.c: Likewise.
51597 * soft-fp/trunctfxf2.c: Likewise.
51598
51599 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51600 * soft-fp/fixdfti.c: Likewise.
51601 * soft-fp/fixsfti.c: Likewise.
51602 * soft-fp/fixtfti.c: Likewise.
51603 * soft-fp/fixunsdfti.c: Likewise.
51604 * soft-fp/fixunssfti.c: Likewise.
51605 * soft-fp/fixunstfti.c: Likewise.
51606 * soft-fp/floattidf.c: Likewise.
51607 * soft-fp/floattisf.c: Likewise.
51608 * soft-fp/floattitf.c: Likewise.
51609 * soft-fp/floatuntidf.c: Likewise.
51610 * soft-fp/floatuntisf.c: Likewise.
51611 * soft-fp/floatuntitf.c: Likewise.
51612 * soft-fp/trunctfxf2.c: Likewise.
51613
51614 2013-10-10 David S. Miller <davem@davemloft.net>
51615
51616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51617
51618 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51619
51620 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51621 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51622 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51623 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51624 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51625 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51626 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51627
51628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51629 for NaNs before doing comparisons on argument.
51630 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51631 Likewise.
51632
51633 2013-10-10 Will Newton <will.newton@linaro.org>
51634
51635 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51636 passed to _int_memalign does not overflow.
51637
51638 2013-10-10 Torvald Riegel <triegel@redhat.com>
51639
51640 * scripts/bench.pl: Add include-sources directive.
51641 * benchtests/README: Update documentation.
51642
51643 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51644
51645 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51646 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51647 instead of FP_INIT_ROUNDMODE.
51648 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51649 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51650
51651 [BZ #16034]
51652 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51653 copy class of input value.
51654 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51655 not handle exceptions.
51656 * soft-fp/negsf2.c (__negsf2): Likewise.
51657 * soft-fp/negtf2.c (__negtf2): Likewise.
51658 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51659
51660 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51661
51662 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51663 semicolon. From Linux kernel.
51664
51665 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51666
51667 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51668
51669 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51670
51671 [BZ #156]
51672 * manual/socket.texi: Added statement about buffer
51673 for gethostbyname2_r.
51674
51675 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51676
51677 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51678 Use .p2align directive instead, throughout.
51679 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51680 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51681 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51682 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51683 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51684 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51685 * sysdeps/x86_64/strchr.S: Likewise.
51686 * sysdeps/x86_64/strrchr.S: Likewise.
51687
51688 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51689
51690 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51691
51692 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51693
51694 * sysdeps/generic/math_private.h (__mpsin1): Remove
51695 declaration.
51696 (__mpcos1): Likewise.
51697 (__mpsin): New argument __range_reduce.
51698 (__mpcos): Likewise.
51699 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51700 (slow): Use __mpsin and __mpcos.
51701 (slow1): Likewise.
51702 (slow2): Likewise.
51703 (sloww): Likewise.
51704 (sloww1): Likewise.
51705 (sloww2): Likewise.
51706 (bsloww): Likewise.
51707 (bsloww1): Likewise.
51708 (bsloww2): Likewise.
51709 (cslow2): Likewise.
51710 (csloww): Likewise.
51711 (csloww1): Likewise.
51712 (csloww2): Likewise.
51713 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51714 range_reduce. Merge in __mpsin1.
51715 (__mpcos): Likewise.
51716 (__mpsin1): Remove.
51717 (__mpcos1): Likewise.
51718
51719 2013-10-07 Joseph Myers <joseph@codesourcery.com>
51720
51721 * locale/loadlocale.c (_nl_intern_locale_data): Use
51722 LOCFILE_ALIGNED_P.
51723 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51724 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51725 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51726 obstack data is appropriately aligned.
51727 (obstack_int32_grow_fast): Likewise.
51728 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51729 * locale/programs/locfile.c (add_locale_uint32): Likewise.
51730 (add_locale_uint32_array): Likewise.
51731
51732 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51733
51734 * benchtests/Makefile: Remove ARGLIST and RET variables.
51735 ($(objpfx)bench-%.c): Pass only function name to the script.
51736 * benchtests/README: Update documentation.
51737 * benchtests/acos-inputs: Add new directives.
51738 * benchtests/acosh-inputs: Likewise.
51739 * benchtests/asin-inputs: Likewise.
51740 * benchtests/asinh-inputs: Likewise.
51741 * benchtests/atan-inputs: Likewise.
51742 * benchtests/atanh-inputs: Likewise.
51743 * benchtests/cos-inputs: Likewise.
51744 * benchtests/cosh-inputs: Likewise.
51745 * benchtests/exp-inputs: Likewise.
51746 * benchtests/log-inputs: Likewise.
51747 * benchtests/pow-inputs: Likewise.
51748 * benchtests/rint-inputs: Likewise.
51749 * benchtests/sin-inputs: Likewise.
51750 * benchtests/sinh-inputs: Likewise.
51751 * benchtests/tan-inputs: Likewise.
51752 * benchtests/tanh-inputs: Likewise.
51753 * scripts/bench.pl: Add support for new directives.
51754
51755 2013-10-07 Alan Modra <amodra@gmail.com>
51756
51757 * README: Fix careless merge.
51758
51759 2013-10-05 Alan Modra <amodra@gmail.com>
51760
51761 * NEWS: Mention powerpc64le support and bugs fixed.
51762 * README: Both big-endian and little-endian powerpc64 supported.
51763
51764 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51765
51766 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51767 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51768 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51769 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51770
51771 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
51772
51773 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51774 match prototype.
51775
51776 2013-10-04 Joseph Myers <joseph@codesourcery.com>
51777
51778 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51779 Move -mhard-float appending from
51780 ports/sysdeps/powerpc/powerpc32/Makefile.
51781 [$(with-fp) = yes] (ASFLAGS): Likewise.
51782 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51783 * sysdeps/powerpc/nofpu: Move directory from
51784 ports/sysdeps/powerpc/nofpu.
51785 * sysdeps/powerpc/soft-fp: Move directory from
51786 ports/sysdeps/powerpc/soft-fp.
51787 * sysdeps/powerpc/powerpc32/405: Move directory from
51788 ports/sysdeps/powerpc/powerpc32/405.
51789 * sysdeps/powerpc/powerpc32/440: Move directory from
51790 ports/sysdeps/powerpc/powerpc32/440.
51791 * sysdeps/powerpc/powerpc32/464: Move directory from
51792 ports/sysdeps/powerpc/powerpc32/464.
51793 * sysdeps/powerpc/powerpc32/476: Move directory from
51794 ports/sysdeps/powerpc/powerpc32/476.
51795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51796 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51800 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51802 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51804 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51805 * README: Update for powerpc-*-linux-gnu software floating point
51806 support in libc.
51807
51808 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51809 case to powerpc/powerpc32*.
51810 * sysdeps/unix/sysv/linux/configure: Regenerated.
51811
51812 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51813 (_FPU_MASK_OM): Define as 0x04.
51814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51816 0x00c10080.
51817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51818 0x0000003c.
51819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51820
51821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51822 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51823 getcontext_e500.
51824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51825 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51826 setcontext_e500.
51827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51828 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51829 and setcontext_e500.
51830
51831 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
51832
51833 * locale/iso-3166.def: Update iso-1366.def and related occurrences
51834
51835 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51836
51837 * manual/threads.texi (Default Thread Attributes): Fix typo.
51838
51839 2013-10-04 Will Newton <will.newton@linaro.org>
51840
51841 * malloc/Makefile: Add tst-memalign.
51842 * malloc/tst-memalign.c: New file.
51843
51844 * malloc/tst-posix_memalign.c: Add comments.
51845 (do_test): Add comments and call free on all potentially
51846 allocated pointers. Add space after cast.
51847
51848 * malloc/tst-pvalloc.c: Add comments.
51849 (do_test): Add comments and call free on all potentially
51850 allocated pointers. Remove duplicate check for NULL pointer.
51851 Add space after cast.
51852
51853 * malloc/tst-valloc.c: Add comments.
51854 (do_test): Add comments and call free on all potentially
51855 allocated pointers. Remove duplicate check for NULL pointer.
51856 Add space after cast.
51857
51858 2013-10-04 Alan Modra <amodra@gmail.com>
51859
51860 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51861 Use stdint types in rather than __attribute__((mode())).
51862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51863
51864 2013-10-04 Alan Modra <amodra@gmail.com>
51865
51866 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51867 Correct handling of unaligned relocs for little-endian.
51868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51869
51870 2013-10-04 Alan Modra <amodra@gmail.com>
51871
51872 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51873 * configure: Regenerate.
51874 * nptl/shlib-versions: Powerpc*le starts at 2.18.
51875 * shlib-versions: Likewise.
51876
51877 2013-10-04 Alan Modra <amodra@gmail.com>
51878
51879 * string/tester.c (test_memrchr): Increment reported test cycle.
51880
51881 2013-10-04 Alan Modra <amodra@gmail.com>
51882
51883 * string/test-memcpy.c (do_one_test): When reporting errors, print
51884 string address and don't overrun end of string.
51885
51886 2013-10-04 Alan Modra <amodra@gmail.com>
51887
51888 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51889 insrdi. Make better use of reg selection to speed exit slightly.
51890 Schedule entry path a little better. Remove useless "are we done"
51891 checks on entry to main loop. Handle wrapping around zero address.
51892 Correct main loop count. Handle single left-over word from main
51893 loop inline rather than by using loop_small. Remove extra word
51894 case in loop_small caused by wrong loop count. Add little-endian
51895 support.
51896 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51897 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
51898 cache hint.
51899 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51900 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51901 support. Avoid rlwimi.
51902 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51903
51904 2013-10-04 Alan Modra <amodra@gmail.com>
51905
51906 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51907 insrdi. Formatting.
51908 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51909 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51910 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51911 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51912 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51913 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51914
51915 2013-10-04 Alan Modra <amodra@gmail.com>
51916
51917 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51918 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51919 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51920 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51921 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51922 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51923 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51924 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51925 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
51926 use of regs. Use power7 mtocrf. Tidy function tails.
51927
51928 2013-10-04 Alan Modra <amodra@gmail.com>
51929
51930 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51931 Formatting. Consistently use rXXX register defines or rN defines.
51932 Use early exit labels that avoid restoring unused non-volatile regs.
51933 Make cr field use more consistent with rWORDn compares. Rename
51934 regs used as shift registers for unaligned loop, using rN defines
51935 for short lifetime/multiple use regs.
51936 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51937 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
51938 addi 1,1,64 to pop stack frame. Simplify return value code.
51939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51940
51941 2013-10-04 Alan Modra <amodra@gmail.com>
51942
51943 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51944 support. Correct typos, formatting. Optimize tail. Use insrdi
51945 rather than rlwimi.
51946 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51947 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51948 little-endian support. Correct typos.
51949 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
51950 rather than rlwimi.
51951 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
51952 in loop and entry code to keep "and." results.
51953 (strchr): Add little-endian support. Comment. Move cntlzd
51954 earlier in tail.
51955 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51956
51957 2013-10-04 Alan Modra <amodra@gmail.com>
51958
51959 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51960 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51961 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51962 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51963
51964 2013-10-04 Alan Modra <amodra@gmail.com>
51965
51966 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51967 (rTMP): Define as r11.
51968 (strcmp): Add little-endian support. Optimise tail.
51969 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51970 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51971 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51972 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51973 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51974 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51975 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51976
51977 2013-10-04 Alan Modra <amodra@gmail.com>
51978
51979 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51980 little-endian support. Remove unnecessary "are we done" tests.
51981 Handle "s" wrapping around zero and extremely large "size".
51982 Correct main loop count. Handle single left-over word from main
51983 loop inline rather than by using small_loop. Correct comments.
51984 Delete "zero" tail, use "end_max" instead.
51985 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51986
51987 2013-10-04 Alan Modra <amodra@gmail.com>
51988
51989 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51990 support. Don't branch over align.
51991 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51992 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51993 support. Rearrange tmp reg use to suit. Comment.
51994 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51995
51996 2013-10-04 Alan Modra <amodra@gmail.com>
51997
51998 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51999
52000 2013-10-04 Alan Modra <amodra@gmail.com>
52001
52002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52003 conditional form of branch and link when obtaining pc.
52004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52005
52006 2013-10-04 Alan Modra <amodra@gmail.com>
52007
52008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52009 HIWORD/LOWORD.
52010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52012
52013 2013-10-04 Alan Modra <amodra@gmail.com>
52014
52015 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52016 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52017 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52018 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52019 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52020 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52021 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52022 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52023 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52024 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52025
52026 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52027 Alistair Popple <alistair@ozlabs.au.ibm.com>
52028 Alan Modra <amodra@gmail.com>
52029
52030 [BZ #15723]
52031 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52032 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52033 _dl_hwcap access for little-endian.
52034 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
52035 destroy vmx regs when saving unaligned.
52036 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52037 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
52038 destroy vmx regs when saving unaligned.
52039
52040 2013-10-04 Alan Modra <amodra@gmail.com>
52041
52042 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52043 Don't use a union to pack hi/low value.
52044
52045 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52046
52047 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52048 for little-endian.
52049 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52050 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52051 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52052 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52053 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52054
52055 2013-10-04 Alan Modra <amodra@gmail.com>
52056
52057 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52058 constants to usual value for .cst8 section, and remove redundant
52059 high address load.
52060 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52061 constant for 0x1p52. Load little-endian words of double from
52062 correct stack offsets.
52063
52064 2013-10-04 Alan Modra <amodra@gmail.com>
52065
52066 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52067 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52068 words of double from correct stack offsets.
52069 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52070 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52071 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52072 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52073 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52074 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52075 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52076 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52077 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52078 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52079 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52080 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52081 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52082 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52083 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52084 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52085 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52086
52087 2013-10-04 Alan Modra <amodra@gmail.com>
52088
52089 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52090 64-bit int/double union.
52091 (_FPU_SETCW): Likewise.
52092 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52093 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52094
52095 2013-10-04 Alan Modra <amodra@gmail.com>
52096
52097 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52098 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52099
52100 2013-10-04 Alan Modra <amodra@gmail.com>
52101
52102 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52103 use vector int constants.
52104 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52105
52106 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52107
52108 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52109 array with long long.
52110 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52111 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52112 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52113 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52114 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52115 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52116 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52117 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52118 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52119 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52120 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52121 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52122 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52123
52124 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52125
52126 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52127 (__signbit): Likewise. Correct for little-endian.
52128 (__signbitl): Call __signbit.
52129 (lrint): Correct for little-endian.
52130 (lrintf): Call lrint.
52131
52132 2013-10-04 Alan Modra <amodra@gmail.com>
52133
52134 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52135 union 32-bit int array member with 64-bit int array.
52136 (t515, tm256): Double rather than long double.
52137 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52138
52139 2013-10-04 Alan Modra <amodra@gmail.com>
52140
52141 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52142 Delete.
52143 (IEEE854_LONG_DOUBLE_BIAS): Delete.
52144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52145 version of math_ldbl.h.
52146
52147 2013-10-04 Alan Modra <amodra@gmail.com>
52148
52149 [BZ #15734], [BZ #15735]
52150 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52151 all uses of ieee875 long double macros and unions. Simplify test
52152 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
52153 ldbl_extract_mantissa value for ix,iy exponents. Properly
52154 normalize after ldbl_extract_mantissa, and don't add hidden bit
52155 already handled. Don't treat low word of ieee854 mantissa like
52156 low word of IBM long double and mask off bit when testing for
52157 zero.
52158 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52159 all uses of ieee875 long double macros and unions. Simplify tests
52160 for 0.0L and inf. Correct double adjustment of k. Delete dead code
52161 adjusting ha,hb. Simplify code setting kld. Delete two600 and
52162 two1022, instead use their values. Recognise that tests for large
52163 "a" and small "b" are mutually exclusive. Rename vars. Comment.
52164 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52165 Rewrite all uses of ieee875 long double macros and unions. Simplify
52166 test for 0.0L and nan. Correct negation.
52167 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52168 ieee875 long double macros and unions. Correct output for large
52169 magnitude x. Correct absolute value calculation.
52170 (__erfcl): Likewise.
52171 * math/libm-test.inc: Add tests for errors discovered in IBM long
52172 double versions of fmodl, remainderl, erfl and erfcl.
52173
52174 2013-10-04 Alan Modra <amodra@gmail.com>
52175
52176 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52177 all uses of ieee854 long double macros and unions. Simplify tests
52178 for long doubles that are fully specified by the high double.
52179 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52180 Likewise.
52181 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52182 Remove dead code too.
52183 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52184 (__ieee754_ynl): Likewise.
52185 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52186 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52188 Remove dead code too.
52189 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52190 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52192 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52193 Simplify.
52194 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52195 Simplify.
52196 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52197 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52198 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52199 Comment on variable precision.
52200 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52201 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52202 Likewise.
52203 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52204 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52205 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52206 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52207 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52208
52209 2013-10-04 Alan Modra <amodra@gmail.com>
52210
52211 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52213 all uses of ieee854 long double macros and unions.
52214 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52215 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52218 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52219 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52220 Likewise.
52221 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52222 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52223 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52224 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52225 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52226 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52227 Simplify sign and nan test too.
52228 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52229 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52230 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52231 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52232 Likewise.
52233 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52234 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52235 Likewise.
52236 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52237 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52238 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52239 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52240 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52241 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52242
52243 2013-10-04 Alan Modra <amodra@gmail.com>
52244
52245 * stdio-common/printf_size.c (__printf_size): Don't use
52246 union ieee854_long_double in fpnum union.
52247 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
52248 signbit macro to retrieve sign from long double.
52249 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52250 retrieve sign from long double.
52251 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52252 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52253 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52254 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52255 * math/test-misc.c (main): Don't use union ieee854_long_double.
52256
52257 2013-10-04 Alan Modra <amodra@gmail.com>
52258
52259 [BZ #15680]
52260 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52261 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52262 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52263 calculation. Remove unnecessary test for denormal exponent.
52264 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52265 Correct handling of denormals. Avoid undefined shift behaviour.
52266 Correct normalisation of low mantissa when low double is denormal.
52267 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52268 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
52269 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52270 Correct normalisation of low mantissa. Test for overflow of high
52271 mantissa and normalise.
52272 (ldbl_nearbyint): Use more readable constant for two52.
52273 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52274 (__mpn_construct_long_double): Fix test for overflow of high
52275 mantissa and correct normalisation. Avoid undefined shift.
52276
52277 2013-10-04 Alan Modra <amodra@gmail.com>
52278
52279 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52280 (union ibm_extended_long_double): Define as an array of ieee754_double.
52281 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52282 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52283 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52284 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52286 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52288 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52289 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52290 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52291 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52292
52293 2013-10-03 Joseph Myers <joseph@codesourcery.com>
52294
52295 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52296 page size instead of calling getpagesize.
52297
52298 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52299 (LOCFILE_ALIGN_MASK): Likewise.
52300 (LOCFILE_ALIGN_UP): Likewise.
52301 (LOCFILE_ALIGNED_P): Likewise.
52302 * locale/programs/ld-collate.c (collate_output): Use the new
52303 macros instead of __alignof__ (int32_t).
52304 * locale/weight.h (findidx): Likewise.
52305
52306 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
52307
52308 [BZ #431]
52309 * manual/string.texi: Fix strncat and wcsncat.
52310
52311 2013-10-03 Brooks Moses <bmoses@google.com>
52312
52313 [BZ #15915]
52314 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52315 * Makerules: ...here, and adjust associated comments.
52316
52317 2013-10-02 Will Newton <will.newton@linaro.org>
52318
52319 * malloc/Makefile: Add tst-pvalloc.
52320 * malloc/tst-pvalloc.c: New file.
52321
52322 2013-10-02 Will Newton <will.newton@linaro.org>
52323
52324 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52325 improve test coverage.
52326
52327 2013-10-02 Will Newton <will.newton@linaro.org>
52328
52329 * malloc/Makefile: Add tst-posix_memalign.
52330 * malloc/tst-posix_memalign.c: New file.
52331
52332 2013-10-01 Eric Blake <eblake@redhat.com>
52333
52334 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52335 Use __THROWNL rather than __THROW on static functions.
52336
52337 2013-09-30 Petr Machata <pmachata@redhat.com>
52338
52339 * elf/elf.h (R_AARCH64_ABS16): New macro.
52340 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52341 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52342 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52343 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52344 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52345 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52346 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52347 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52348 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52349 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52350 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52351 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52352 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52353 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52354 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52355 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52356 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52357 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52358 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52359 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52360 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52361 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52362 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52363 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52364 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52365 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52366 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52367 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52368 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52369 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52370 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52371 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52372 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52373 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52374 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52375 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52376 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52377 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52378 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52379 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52380 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52381 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52382 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52383 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52384 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52385 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52386 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52387 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52388 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52389 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52390 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52391 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52392 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52393 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52394 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52395 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52396 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52397 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52398 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52399 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52400 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52401 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52402 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52403 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52404 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52405 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52406 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52407 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52408 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52409 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52410 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52411 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52412 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52413 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52414 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52415 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52416 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52417 (R_AARCH64_TLSDESC_LDR): Likewise.
52418 (R_AARCH64_TLSDESC_ADD): Likewise.
52419 (R_AARCH64_TLSDESC_CALL): Likewise.
52420
52421 2013-09-30 Andreas Schwab <schwab@suse.de>
52422
52423 [BZ #15048]
52424 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52425 the nss database lookup.
52426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52428
52429 2013-09-28 Mike Frysinger <vapier@gentoo.org>
52430
52431 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52432
52433 2013-09-28 P. J. McDermott <pj@pehjota.net>
52434
52435 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52436 ${Bash-specific parameter/pattern/string} parameter expansion.
52437 * sysdeps/unix/make-syscalls.sh: Likewise.
52438
52439 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52440
52441 * sysdeps/sh/stackguard-macros.h: New file.
52442
52443 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
52444
52445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52446 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52447 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52448 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52449 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52450 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52451
52452 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52453
52454 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52455 Fix thread ID register.
52456
52457 2013-09-25 Joseph Myers <joseph@codesourcery.com>
52458
52459 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52460 [POSIX || UNIX98]: Require rather than permitting all symbols from
52461 <time.h>.
52462 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52463 element of struct sched_param.
52464 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52465 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52466 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52467 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52468 constant.
52469
52470 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
52471
52472 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52473 argument calculation.
52474
52475 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52476
52477 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52478 Expect macro.
52479 [POSIX] (pthread_attr_t): Do not require type.
52480 [POSIX] (pthread_cond_t): Likewise.
52481 [POSIX] (pthread_condattr_t): Likewise.
52482 [POSIX] (pthread_key_t): Likewise.
52483 [POSIX] (pthread_mutex_t): Likewise.
52484 [POSIX] (pthread_mutexattr_t): Likewise.
52485 [POSIX] (pthread_once_t): Likewise.
52486 [POSIX] (pthread_t): Likewise.
52487 [POSIX-based standards] (pthread_atfork): Expect function.
52488
52489 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52490 Richard Sandiford <richard@codesourcery.com>
52491
52492 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52493 (swap_endianness_p): New extern variable.
52494 (set_big_endian): New inline function.
52495 (maybe_swap_uint32): Likewise.
52496 (maybe_swap_uint32_array): Likewise.
52497 (maybe_swap_uint32_obstack): Likewise.
52498 * locale/programs/locfile.c: Include <stdbool.h>.
52499 (swap_endianness_p): New variable.
52500 (add_locale_uint32): Call maybe_swap_uint32.
52501 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52502 (write_locale_data): Call maybe_swap_uint32_array.
52503 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52504 maybe_swap_uint32.
52505 (obstack_int32_grow_fast): Likewise.
52506 (output_weightwc): Call maybe_swap_uint32_obstack.
52507 (collate_output): Likewise.
52508 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52509 (OPT_LITTLE_ENDIAN): Likewise.
52510 (options): Add --little-endian and --big-endian options.
52511 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52512 * locale/programs/locarchive.c: Include "locfile.h".
52513 (GET): New macro.
52514 (SET): Likewise.
52515 (INC): Likewise.
52516 (create_archive): Use the new macros to access fields of
52517 structures directly mapped from or written to locale archives.
52518 (oldlocrecentcmp): Likewise.
52519 (enlarge_archive): Likewise.
52520 (insert_name): Likewise.
52521 (add_alias): Likewise.
52522 (add_locale): Likewise.
52523 (delete_locales_from_archive): Likewise.
52524 (show_archive_content): Likewise.
52525 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52526 locale data.
52527
52528 2013-09-24 Roland McGrath <roland@hack.frob.com>
52529
52530 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52531 http://www.gnu.org/doc/freemanuals.texi.
52532 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52533
52534 2013-09-24 Will Newton <will.newton@linaro.org>
52535
52536 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52537 macro.
52538
52539 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52540
52541 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52542 unsigned char.
52543
52544 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52545
52546 * manual/threads.texi (POSIX Threads): Fix a typo.
52547
52548 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52549
52550 [BZ #14547]
52551 * string/tst-strcoll-overflow.c: New test case.
52552 * string/Makefile (xtests): Add tst-strcoll-overflow.
52553 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52554 cache if string sizes may cause integer overflow.
52555
52556 [BZ #14547]
52557 * string/strcoll_l.c (coll_seq): New members rule, idx,
52558 save_idx and back_us.
52559 (get_next_seq_nocache): New function.
52560 (do_compare_nocache): New function.
52561 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52562 when malloc fails.
52563
52564 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52565
52566 [BZ #15754]
52567 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52568 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52569 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52570
52571 [BZ #15754]
52572 * elf/Makefile (tests): Add tst-ptrguard1.
52573 (tests-static): Add tst-ptrguard1-static.
52574 (tst-ptrguard1-ARGS): Define.
52575 (tst-ptrguard1-static-ARGS): Define.
52576 * elf/tst-ptrguard1.c: New file.
52577 * elf/tst-ptrguard1-static.c: New file.
52578 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52579 * sysdeps/i386/stackguard-macros.h: Likewise.
52580 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52581 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52582 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52583 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52584 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52585 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52586
52587 2013-09-23 Hector Marco <hecmargi@upv.es>
52588 Ismael Ripoll <iripoll@disca.upv.es>
52589 Carlos O'Donell <carlos@redhat.com>
52590
52591 [BZ #15754]
52592 * sysdeps/generic/stackguard-macros.h: Define
52593 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52594 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52595 Define __pointer_chk_guard_local.
52596 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52597 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52598
52599 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52600
52601 [BZ #15859]
52602 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52603
52604 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52605
52606 * include/string.h (__ffs): Declare as hidden.
52607 * string/ffs.c (__ffs): Define as hidden.
52608 * sysdeps/i386/ffs.c (__ffs): Likewise.
52609 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52610 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52611 * sysdeps/s390/ffs.c (__ffs): Likewise.
52612 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52613
52614 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52615
52616 * NEWS: Mention malloc probes.
52617
52618 * malloc/arena.c (new_heap): New memory_heap_new probe.
52619 (grow_heap): New memory_heap_more probe.
52620 (shrink_heap): New memory_heap_less probe.
52621 (heap_trim): New memory_heap_free probe.
52622 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52623 (systrim): New memory_sbrk_less probe.
52624 * manual/probes.texi: Document them.
52625
52626 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52627 * manual/probes.texi: Document it.
52628
52629 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52630 (__libc_realloc): Add memory_realloc_retry probe.
52631 (__libc_memalign): Add memory_memalign_retry probe.
52632 (__libc_valloc): Add memory_valloc_retry probe.
52633 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52634 (__libc_calloc): Add memory_calloc_retry probe.
52635 * manual/probes.texi: Document them.
52636
52637 * malloc/arena.c (get_free_list): Add probe
52638 memory_arena_reuse_free_list.
52639 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52640 and memory_arena_reuse.
52641 (arena_get2) [!PER_THREAD]: Likewise.
52642 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52643 memory_arena_reuse_realloc.
52644 * manual/probes.texi: Document them.
52645
52646 * malloc/malloc.c (__libc_free): Add
52647 memory_mallopt_free_dyn_thresholds probe.
52648 (__libc_mallopt): Add multiple memory_mallopt probes.
52649 * manual/probes.texi: Document them.
52650
52651 * malloc/malloc.c: Include stap-probe.h.
52652 (__libc_mallopt): Add memory_mallopt probe.
52653 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52654 * manual/probes.texi: New.
52655 * manual/Makefile (chapters): Add probes.
52656 * manual/threads.texi: Set next node.
52657
52658 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52659
52660 [BZ #15963, #13985]
52661 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52662 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52663 Add `Chinese' to `nan' entry name.
52664
52665 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52666
52667 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52668 (POLYNOMIAL): Likewise.
52669 (TAYLOR_SINCOS): Likewise.
52670 (TAYLOR_SLOW): Likewise.
52671 (__sin): Use TAYLOR_SINCOS.
52672 (__cos): Likewise.
52673 (slow): Use TAYLOR_SLOW.
52674 (sloww): Likewise.
52675 (bsloww): Likewise.
52676 (csloww): Likewise.
52677
52678 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52679
52680 * stdlib/strtod_l.c: Fix buffer overrun.
52681
52682 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52683
52684 * benchtests/Makefile (bench): Add sincos.
52685 * benchtests/bench-sincos.c: New file.
52686
52687 * math/libm-test.inc (cos_test_data): New test inputs.
52688 (sin_test_data): Likewise.
52689
52690 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52691 macro.
52692 (__sin): Use it.
52693 (__cos): Likewise.
52694 (slow1): Likewise.
52695 (slow2): Likewise.
52696 (sloww1): Likewise.
52697 (sloww2): Likewise.
52698 (bsloww1): Likewise.
52699 (bsloww2): Likewise.
52700 (cslow2): Likewise.
52701 (csloww1): Likewise.
52702 (csloww2): Likewise.
52703
52704 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52705 function.
52706 (__sin): Use it.
52707 (__cos): Likewise.
52708
52709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52710 gotos.
52711 (__cos): Likewise.
52712
52713 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
52714
52715 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52716 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52717 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52718 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52719 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52720 * elf/cache.c (print_entry): Handle the new cache flags.
52721
52722 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52723 Aldy Hernandez <aldyh@redhat.com>
52724
52725 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52726 Change condition to [_SOFT_FLOAT].
52727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52739 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52741 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52742 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52743 declaration.
52744
52745 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52746
52747 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52748 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52749 (__longjmp): Use LOAD_GP to load saved GPRs.
52750 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52751 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52752 (__sigsetjmp): Use SAVE_GP to save GPRs.
52753
52754 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52755 Do not append -msoft-float.
52756 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52757
52758 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52759
52760 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52761
52762 2013-09-17 Joseph Myers <joseph@codesourcery.com>
52763
52764 [BZ #15966]
52765 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52766 (_FPU_GETCW): Use initial "__" on variable and field names but not
52767 on macro parameter name.
52768 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
52769 parentheses around reference to macro parameter.
52770
52771 2013-09-13 Richard Sandiford <richard@codesourcery.com>
52772
52773 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52774 prototype.
52775 (ctype_startup): Use uint32_t in cast and sizeof for
52776 ctype->charnames.
52777
52778 2013-09-11 Jia Liu <proljc@gmail.com>
52779
52780 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52781 __daddr_t_defined.
52782 [__FreeBSD__]: Likewise.
52783
52784 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
52785
52786 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52787 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52788 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52789 (strchr): Remove __strchr_sse42 ifunc selection.
52790 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52791 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52792
52793 2013-09-11 Will Newton <will.newton@linaro.org>
52794
52795 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52796 parameter to RES. Remove hardcoded 1000 value.
52797 * benchtests/bench-skeleton.c (main): Pass RES parameter
52798 to TIMING_INIT and multiply result by 1000.
52799
52800 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52801
52802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52803
52804 2013-09-11 Andreas Schwab <schwab@suse.de>
52805
52806 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52807 if not defined.
52808 (O_TMPFILE) [__USE_GNU]: Define.
52809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52810 Define.
52811
52812 2013-09-11 Will Newton <will.newton@linaro.org>
52813
52814 [BZ #15857]
52815 * malloc/malloc.c (__libc_memalign): Check the value of bytes
52816 does not overflow.
52817
52818 2013-09-11 Will Newton <will.newton@linaro.org>
52819
52820 [BZ #15856]
52821 * malloc/malloc.c (__libc_valloc): Check the value of bytes
52822 does not overflow.
52823
52824 2013-09-11 Will Newton <will.newton@linaro.org>
52825
52826 [BZ #15855]
52827 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52828 does not overflow.
52829
52830 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
52831
52832 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52833 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52834 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52836 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52837
52838 2013-09-10 Allan McRae <allan@archlinux.org>
52839
52840 [BZ #15748]
52841 * manual/arith.texi (Parsing of Floats): Clarify
52842 cross-reference.
52843
52844 [BZ #15849]
52845 * manual/install.texi (Running make install): Mention
52846 --enable-pt-chown.
52847 * INSTALL: Regenerated.
52848
52849 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
52850
52851 * csu/init-first.c (_init): Remove the !SHARED condition around
52852 FPU control word initialization.
52853 * elf/dl-support.c (_dl_fpu_control): New variable.
52854 (_dl_aux_init) <AT_FPUCW>: Initialize it.
52855 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52856 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52857 * math/test-fpucw-static.c: New file.
52858 * math/test-fpucw-ieee.c: New file.
52859 * math/test-fpucw-ieee-static.c: New file.
52860 * math/Makefile (tests): Add `test-fpucw-ieee' and
52861 `$(tests-static)'.
52862 (tests-static): New variable.
52863 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52864 dependency to...
52865 [($(build-shared),yes)]
52866 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52867 ... this.
52868 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52869 New dependency.
52870
52871 2013-09-09 Allan McRae <allan@archlinux.org>
52872
52873 [BZ #15939]
52874 * manual/string.texi (Collation Functions): Fix typo in
52875 strcoll example.
52876 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52877
52878 [BZ #15893]
52879 * stdlib/isomac.c (get_null_defines): Fix memory leak.
52880
52881 [BZ #15892]
52882 * libio/memstream.c (open_memstream): Fix memory leak.
52883 * libio/wmemstream.c (open_wmemstream): Likewise.
52884
52885 [BZ #15895]
52886 * nscd/netgroupcache.c: Fix nesting of ifdefs.
52887
52888 2013-09-09 Will Newton <will.newton@linaro.org>
52889
52890 * malloc/Makefile: Add tst-realloc to tests.
52891 * malloc/tst-realloc.c: New file.
52892
52893 2013-09-09 Allan McRae <allan@archlinux.org>
52894
52895 [BZ #15844]
52896 * COPYING: Update from GNU website to fix FSF address.
52897 * COPYING.LIB: Likewise.
52898
52899 2013-09-06 David S. Miller <davem@davemloft.net>
52900
52901 * po/zh_TW.po: Update Chinese (traditional) translation from
52902 translation project.
52903
52904 2013-09-06 Richard Sandiford <richard@codesourcery.com>
52905 Joseph Myers <joseph@codesourcery.com>
52906
52907 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52908 "localeinfo.h".
52909 (obstack_chunk_alloc): New macro.
52910 (obstack_chunk_free): Likewise.
52911 (record_offset): New function.
52912 (init_locale_data): Likewise.
52913 (align_locale_data): Likewise.
52914 (add_locale_empty): Likewise.
52915 (add_locale_raw_data): Likewise.
52916 (add_locale_raw_obstack): Likewise.
52917 (add_locale_string): Likewise.
52918 (add_locale_wstring): Likewise.
52919 (add_locale_uint32): Likewise.
52920 (add_locale_uint32_array): Likewise.
52921 (add_locale_char): Likewise.
52922 (start_locale_structure): Likewise.
52923 (end_locale_structure): Likewise.
52924 (start_locale_prelude): Likewise.
52925 (end_locale_prelude): Likewise.
52926 (write_locale_data): Take locale_file structure rather than an
52927 iovec.
52928 * locale/programs/locfile.h: Include "obstack.h".
52929 (struct locale_file): Change to store locale file contents instead
52930 of header.
52931 (init_locale_data): New prototype.
52932 (align_locale_data): Likewise.
52933 (add_locale_empty): Likewise.
52934 (add_locale_raw_data): Likewise.
52935 (add_locale_raw_obstack): Likewise.
52936 (add_locale_string): Likewise.
52937 (add_locale_wstring): Likewise.
52938 (add_locale_uint32): Likewise.
52939 (add_locale_uint32_array): Likewise.
52940 (add_locale_char): Likewise.
52941 (start_locale_structure): Likewise.
52942 (end_locale_structure): Likewise.
52943 (start_locale_prelude): Likewise.
52944 (end_locale_prelude): Likewise.
52945 (write_locale_data): Update prototype.
52946 * locale/programs/3level.h (struct TABLE): Remove result field.
52947 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52948 Use new locale_file interface.
52949 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52950 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52951 * locale/programs/ld-address.c (address_output): Use new
52952 locale_file interface.
52953 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52954 NO_ADD_LOCALE.
52955 (collate_finish): Don't call collseq_table_finalize.
52956 (collate_output): Use new locale_file interface.
52957 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52958 in file.
52959 (NO_FINALIZE): Change to NO_ADD_LOCALE.
52960 (TABLE): Move defines earlier in file.
52961 (ELEMENT): Likewise.
52962 (DEFAULT): Likewise.
52963 (wctrans_table_add): Move macro and inline function earlier in
52964 file.
52965 (struct wctype_table): Move type earlier in file.
52966 (add_locale_wctype_table): New static prototype.
52967 (struct locale_ctype_t): Use logical types instead of struct iovec
52968 pointers for members.
52969 (ctype_output): Use new locale_file interface.
52970 (wctype_table_finalize): Change to add_locale_wctype_table. Use
52971 new locale_file interface.
52972 (allocate_arrays): Update for use of new locale_file interface.
52973 * locale/programs/ld-identification.c (identification_output): Use
52974 new locale_file interface.
52975 * locale/programs/ld-measurement.c (measurement_output): Likewise.
52976 * locale/programs/ld-messages.c (messages_output): Likewise.
52977 * locale/programs/ld-monetary.c (monetary_output): Likewise.
52978 * locale/programs/ld-name.c (name_output): Likewise.
52979 * locale/programs/ld-numeric.c (numeric_output): Likewise.
52980 * locale/programs/ld-paper.c (paper_output): Likewise.
52981 * locale/programs/ld-telephone.c (telephone_output): Likewise.
52982 * locale/programs/ld-time.c (time_output): Likewise.
52983
52984 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52985
52986 * benchtests/Makefile: Add memrchr benchmark.
52987 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52988 benchmark as memrchr.
52989 * benchtests/bench-memrchr-ifunc.c: New file.
52990 * benchtests/bench-memrchr.c: New file.
52991
52992 2013-09-06 Will Newton <will.newton@linaro.org>
52993
52994 * benchtests/Makefile (string-bench): Add memcpy.
52995
52996 2013-09-05 Carlos O'Donell <carlos@redhat.com>
52997 Cong Wang <amwang@redhat.com>
52998
52999 [BZ #15850]
53000 * sysdeps/unix/sysv/linux/bits/in.h
53001 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53002 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53003 before __USE_KERNEL_IPV6_DEFS uses.
53004 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53005 IPPROTO_BEETPH.
53006 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53007 sockaddr_in6, or ipv6_mreq.
53008
53009 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53010
53011 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53012 memory access for final bytes in some large inputs.
53013 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53014
53015 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53016
53017 * string/test-memrchr.c: New file.
53018 * string/test-memrchr-ifunc.c: New file.
53019 * string/Makefile: Add new memrchr testcase.
53020
53021 2013-09-05 Mike Frysinger <vapier@gentoo.org>
53022
53023 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53024 fanotify_init returns EPERM.
53025
53026 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53027
53028 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53029 errors.
53030 (top level): Treat second token from macro or constant entries for
53031 allowed headers as allowed.
53032 * include/complex.h: Condition internal declarations on
53033 [!_ISOMAC].
53034 * include/fenv.h: Condition include of <stdbool.h> and internal
53035 declarations on [!_ISOMAC].
53036
53037 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
53038
53039 [BZ #15923]
53040 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53041
53042 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53043
53044 * configure.in (--enable-versioning): Remove configure option.
53045 (libc_cv_asm_symver_directive): Remove configure test.
53046 (libc_cv_ld_version_script_option): Likewise.
53047 (VERSIONING): Remove variable and AC_SUBST.
53048 (DO_VERSIONING): Remove AC_DEFINE.
53049 * configure: Regenerated.
53050 * config.h.in (DO_VERSIONING): Remove macro.
53051 * Makerules [$(versioning) = yes]: Change conditionals to
53052 [$(build-shared) = yes].
53053 * config.make.in (versioning): Remove variable.
53054 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53055 [$(build-shared) = yes].
53056 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53057 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53058 * elf/Makefile [$(versioning) = yes]: Change conditionals to
53059 [$(build-shared) = yes].
53060 * extra-lib.mk [$(versioning) = yes]: Likewise.
53061 * hurd/Makefile [$(versioning) = yes]: Likewise.
53062 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53063 [SHARED].
53064 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53065 [SHARED].
53066 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53067 [SHARED && !NO_HIDDEN].
53068 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53069 [SHARED].
53070 [SHARED && DO_VERSIONING]: Likewise..
53071 * libio/Makefile [$(versioning) = yes]: Change conditionals to
53072 [$(build-shared) = yes].
53073 * manual/install.texi (--disable-versioning): Remove
53074 documentation.
53075 * INSTALL: Regenerated.
53076 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53077 to [SHARED].
53078 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53079 [$(build-shared) = yes].
53080 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53081 * sysdeps/i386/i686/multiarch/strstr-c.c
53082 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53083 [SHARED && !NO_HIDDEN].
53084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53085 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53086 * sysdeps/powerpc/powerpc32/dl-machine.c
53087 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53088 * sysdeps/powerpc/powerpc32/sysdep.h
53089 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53090 to [SHARED && PIC && !NO_HIDDEN].
53091 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53092 conditional to [SHARED].
53093
53094 2013-09-04 Will Newton <will.newton@linaro.org>
53095
53096 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53097 * benchtests/bench-string.h: Include bench-timing.h instead
53098 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53099 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53100 call to HP_TIMING_DIFF_INIT.
53101 * benchtests/bench-memccpy.c: Use bench-timing.h macros
53102 instead of hp-timing.h macros.
53103 * benchtests/bench-memchr.c: Likewise.
53104 * benchtests/bench-memcmp.c: Likewise.
53105 * benchtests/bench-memcpy.c: Likewise.
53106 * benchtests/bench-memmem.c: Likewise.
53107 * benchtests/bench-memmove.c: Likewise.
53108 * benchtests/bench-memset.c: Likewise.
53109 * benchtests/bench-rawmemchr.c: Likewise.
53110 * benchtests/bench-strcasecmp.c: Likewise.
53111 * benchtests/bench-strcasestr.c: Likewise.
53112 * benchtests/bench-strcat.c: Likewise.
53113 * benchtests/bench-strchr.c: Likewise.
53114 * benchtests/bench-strcmp.c: Likewise.
53115 * benchtests/bench-strcpy.c: Likewise.
53116 * benchtests/bench-strcpy_chk.c: Likewise.
53117 * benchtests/bench-strlen.c: Likewise.
53118 * benchtests/bench-strncasecmp.c: Likewise.
53119 * benchtests/bench-strncat.c: Likewise.
53120 * benchtests/bench-strncmp.c: Likewise.
53121 * benchtests/bench-strncpy.c: Likewise.
53122 * benchtests/bench-strnlen.c: Likewise.
53123 * benchtests/bench-strpbrk.c: Likewise.
53124 * benchtests/bench-strrchr.c: Likewise.
53125 * benchtests/bench-strspn.c: Likewise.
53126 * benchtests/bench-strstr.c: Likewise.
53127
53128 2013-09-04 Will Newton <will.newton@linaro.org>
53129
53130 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53131
53132 2013-09-03 Joseph Myers <joseph@codesourcery.com>
53133
53134 [BZ #15427]
53135 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53136 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53137 * math/libm-test.inc (lgamma_test_data): Add more tests.
53138 * sysdeps/i386/fpu/libm-test-ulps: Update.
53139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53140
53141 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
53142
53143 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53145 Add ifunc.
53146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53147 Add strcmp-sse2-unaligned
53148 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53149
53150 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53151
53152 * Versions.def (libc): Add GLIBC_2.19.
53153
53154 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53155
53156 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53157 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53158
53159 2013-09-02 Joseph Myers <joseph@codesourcery.com>
53160
53161 [BZ #14155]
53162 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53163 intermediate calculations in recurrence.
53164 (__ieee754_ynf): Likewise.
53165 * math/libm-test.inc (jn_test_data): Do not allow spurious
53166 underflow exception. Add more tests.
53167 (yn_test_data): Add more tests.
53168 * sysdeps/i386/fpu/libm-test-ulps: Update.
53169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53170
53171 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
53172
53173 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53174
53175 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53176
53177 * csu/init-first.c: Fix then/than typos.
53178 * locale/programs/ld-collate.c: Likewise.
53179 * locale/programs/linereader.h: Likewise.
53180 * manual/charset.texi: Likewise.
53181 * manual/filesys.texi: Likewise.
53182 * manual/stdio.texi: Likewise.
53183 * manual/string.texi: Likewise.
53184 * stdlib/fmtmsg.c: Likewise.
53185 * sysdeps/i386/stpncpy.S: Likewise.
53186 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53187 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53188 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53189 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53190
53191 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53192
53193 * elf/dl-open.c: Fix typos.
53194 * iconvdata/gbbig5.c: Likewise.
53195 * iconvdata/iso-2022-jp.c: Likewise.
53196 * iconv/gconv_int.h: Likewise.
53197 * iconv/loop.c: Likewise.
53198 * nis/rpcsvc/nis.h: Likewise.
53199 * resolv/ns_name.c: Likewise.
53200 * stdio-common/vfscanf.c: Likewise.
53201 * streams/stropts.h: Likewise.
53202 * sunrpc/rpc_thread.c: Likewise.
53203 * sysdeps/i386/strpbrk.S: Likewise.
53204 * sysdeps/ieee754/k_standard.c: Likewise.
53205 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53206 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53207 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53208 * sysdeps/mach/hurd/profil.c: Likewise.
53209 * sysdeps/s390/dl-procinfo.h: Likewise.
53210 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53211 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53212 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53213 * sysdeps/x86_64/dl-trampoline.S: Likewise.
53214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53215
53216 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53217
53218 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53220
53221 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53222
53223 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53224 aix specific files.
53225 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53226 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53227 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53228 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53229 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53230 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53231 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53232 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53233
53234 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53235 Roland McGrath <roland@hack.frob.com>
53236
53237 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53238 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53239
53240 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
53241
53242 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53243 __executable_start symbol instead of _start.
53244
53245 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53246
53247 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53248 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53249 Move macros to...
53250 * sysdeps/gnu/ldsodefs.h: ... this new file.
53251
53252 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53253 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53254 instead of ELFOSABI_LINUX.
53255
53256 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53257 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53258 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53259 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53260 Likewise.
53261 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53262 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53263 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53264 Likewise.
53265 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53266 (ibm_extended_long_double): Add ieee_nan member.
53267 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53268 (do_test): New function.
53269
53270 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53271 TEST_TRUNC.
53272 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53273 functions, renamed from truncdfsf_test, trunctfsf_test,
53274 trunctfdf_test.
53275 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53276 functions.
53277 (do_test): Run all these.
53278
53279 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53280
53281 * argp/argp-help.c: Fix typos.
53282 * argp/argp-parse.c: Likewise.
53283 * debug/backtracesyms.c: Likewise.
53284 * elf/elf.h: Likewise.
53285 * malloc/malloc.c: Likewise.
53286 * nis/nis_print.c: Likewise.
53287 * resolv/res_comp.c: Likewise.
53288 * stdlib/stdlib.h: Likewise.
53289 * sunrpc/clnt_tcp.c: Likewise.
53290 * sunrpc/clnt_udp.c: Likewise.
53291 * sunrpc/clnt_unix.c: Likewise.
53292 * sysdeps/unix/bsd/ptsname.c: Likewise.
53293 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53294 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53296 Likewise.
53297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53298 Likewise.
53299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53300 Likewise.
53301 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53302
53303 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53304
53305 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53307
53308 2013-08-27 Mike Frysinger <vapier@gentoo.org>
53309
53310 [BZ #15897]
53311 * dlfcn/Makefile (tests): Add bug-dl-leaf.
53312 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53313 ($(objpfx)bug-dl-leaf): New rule.
53314 ($(objpfx)bug-dl-leaf.so): Likewise.
53315 ($(objpfx)bug-dl-leaf.out): Likewise.
53316 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53317 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53318 * dlfcn/bug-dl-leaf.c: New test.
53319 * dlfcn/bug-dl-leaf-lib.c: Likewise.
53320 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53321 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53322 (dlclose): Likewise.
53323 (dlmopen): Likewise.
53324
53325 2013-08-27 Roland McGrath <roland@hack.frob.com>
53326
53327 * include/netdb.h [!_ISOMAC]:
53328 Don't include <tls.h>.
53329 (h_errno, __libc_h_errno): Move declaration and macros out of
53330 [_LIBC_REENTRANT].
53331
53332 * include/resolv.h [_RESOLV_H_]:
53333 Don't include <tls.h>.
53334 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53335 * resolv/res_libc.c: Don't include <tls.h>.
53336 (_res): Use __attribute__ ((nocommon)) in place of
53337 __attribute__ ((section (".bss"))).
53338
53339 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53340 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53341
53342 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53343
53344 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53345 only under [SIOCGIFCONF && SIOCGIFNETMASK].
53346
53347 * resolv/res_mkquery.c: Include <sys/time.h>.
53348
53349 * inet/ifreq.c: Moved to ...
53350 * sysdeps/unix/ifreq.c: ... here.
53351 * inet/ifreq.c: New file, true stub version.
53352
53353 * socket/sa_len.c: New file.
53354 * socket/Makefile (aux): Add it.
53355 * sysdeps/unix/sysv/linux/Makefile
53356 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53357 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53358 and #include <socket/sa_len.c>.
53359 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53360 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53361
53362 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53363 * bits/socket.h: ... here.
53364
53365 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53366 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53367 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53368
53369 2013-08-27 Andreas Schwab <schwab@suse.de>
53370
53371 [BZ #15736]
53372 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53373 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53374 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53375 * string/test-strcasecmp.c (test_main): Run tests in several
53376 locales.
53377 * string/test-strncasecmp.c (test_main): Likewise.
53378
53379 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53380 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53381 to __strcasecmp_nonascii and __strncasecmp_nonascii.
53382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53383 (__strncasecmp_ssse3) [PIC]: Likewise.
53384
53385 2013-08-26 Roland McGrath <roland@hack.frob.com>
53386
53387 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53388
53389 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53390 instead of explicitly declaring xdecrypt.
53391 * nis/nss_nis/nis-publickey.c: Likewise.
53392
53393 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53394
53395 [BZ #15890]
53396 * nscd/aicache.c: Include res_hconf.h.
53397 (addhstaiX): Initialize res_hconf.
53398
53399 2013-08-26 Andreas Schwab <schwab@suse.de>
53400
53401 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53402 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53403
53404 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53405
53406 * nscd/aicache.c (addhstaiX): Fix indentation.
53407
53408 2013-08-25 Mike Frysinger <vapier@gentoo.org>
53409
53410 * configure.ac: Quote $build_pt_chown test.
53411 * configure: Regenerated.
53412
53413 2013-08-23 Joseph Myers <joseph@codesourcery.com>
53414
53415 [BZ #15532]
53416 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53417 * math/s_cexpf.c (__cexpf): Likewise.
53418 * math/s_cexpl.c (__cexpl): Likewise.
53419 * math/libm-test.inc (cexp_test_data): Correct expected return
53420 value for NaN + i0. Add another test.
53421
53422 2013-08-22 David S. Miller <davem@davemloft.net>
53423
53424 * po/ca.po: Update Catalan translation from translation project.
53425 * po/uk.po: Add Ukrainian translations from translation project.
53426
53427 2013-08-21 Joseph Myers <joseph@codesourcery.com>
53428
53429 [BZ #15797]
53430 * math/s_fdim.c (__fdim): Check for infinite arguments if result
53431 is infinite, not alongside NaN test.
53432 * math/s_fdimf.c (__fdimf): Likewise.
53433 * math/s_fdiml.c (__fdiml): Likewise.
53434 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
53435 errno is unchanged.
53436
53437 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
53438
53439 * argp/argp-help.c: Fix typos.
53440 * crypt/speeds.c: Likewise.
53441 * csu/check_fds.c: Likewise.
53442 * elf/dl-load.c: Likewise.
53443 * elf/dl-open.c: Likewise.
53444 * elf/reldep3.c: Likewise.
53445 * elf/reldep.c: Likewise.
53446 * elf/sprof.c: Likewise.
53447 * iconv/iconv_charmap.c: Likewise.
53448 * iconv/skeleton.c: Likewise.
53449 * iconv/strtab.c: Likewise.
53450 * io/lockf64.c: Likewise.
53451 * libio/libioP.h: Likewise.
53452 * resolv/gai_notify.c: Likewise.
53453 * resolv/ns_name.c: Likewise.
53454 * resolv/ns_samedomain.c: Likewise.
53455 * resolv/res_send.c: Likewise.
53456 * stdlib/random.c: Likewise.
53457 * sunrpc/rpc/xdr.h: Likewise.
53458 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53460 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53461 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53462 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53463 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53466 * sysdeps/mach/hurd/check_fds.c: Likewise.
53467 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53468 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53469 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53470 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53471 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53472 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53473 * sysdeps/pthread/aio_notify.c: Likewise.
53474 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53475 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53476 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53477 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53478 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53479
53480 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53481
53482 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53483 version if bit_Slow_SSE4_2 is set.
53484 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53485 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53486
53487 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53488
53489 [BZ #15867]
53490 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53491 trampoline stack frame information.
53492 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53493 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53494 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53495 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53496 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53497 * sysdeps/unix/sysv/linux/powerpc/init-first.c
53498 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53499 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53500 sa_flags value.
53501 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53502 interrupting a syscall and set with option SA_SIGINFO.
53503
53504 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53505
53506 [BZ #15531]
53507 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53508 argument is infinite.
53509 * math/s_cprojf.c (__cprojf): Likewise.
53510 * math/s_cprojl.c (__cprojl): Likewise.
53511 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53512 * math/libm-test.inc (cproj_test_data): Add more tests.
53513
53514 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53515
53516 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53517 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53518 size. Use __ffs to determine corresponding shift.
53519
53520 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53521 Roland McGrath <roland@hack.frob.com>
53522
53523 * Makefile (INSTALL): Remove trailing blank lines from output of
53524 makeinfo.
53525
53526 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53527
53528 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53529 Align 32 bit compat elf_greg to 8 bytes.
53530
53531 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53532
53533 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53534
53535 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53536
53537 * string/strcoll_l.c (coll_seq): New structure.
53538 (get_next_seq_cached): New function.
53539 (get_next_seq): New function.
53540 (do_compare): New function.
53541 (STRCOLL): Use GNU style definition. Simplify implementation
53542 by using get_next_seq, get_next_seq_cached and do_compare.
53543
53544 2013-08-16 Florian Weimer <fweimer@redhat.com>
53545
53546 [BZ #14699]
53547 CVE-2013-4237
53548 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53549 member.
53550 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53551 member.
53552 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53553 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53554 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53555 conditional.
53556 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53557 GETDENTS_64BIT_ALIGNED.
53558 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53559 * manual/filesys.texi (Reading/Closing Directory): Document
53560 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53561 strongly.
53562 * manual/conf.texi (Limits for Files): Add portability note to
53563 NAME_MAX, PATH_MAX.
53564 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53565
53566 2013-08-13 Andreas Schwab <schwab@suse.de>
53567
53568 [BZ #15749]
53569 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53570 of fabs.
53571 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53572 LDBL_MAX_EXP >= 16384]: Add tests for it.
53573
53574 2013-08-12 David S. Miller <davem@davemloft.net>
53575
53576 * version.h (RELEASE): Set to "development".
53577 (VERSION): Set to "2.18.90".
53578 * NEWS: Add 2.19 section.
53579
53580 2013-08-03 David S. Miller <davem@davemloft.net>
53581
53582 * po/ko.po: Update Korean translation from translation project.
53583
53584 2013-08-01 David S. Miller <davem@davemloft.net>
53585
53586 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53587 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53588 Bilka.
53589
53590 2013-07-30 David S. Miller <davem@davemloft.net>
53591
53592 * po/fr.po: Update French translation from translation project.
53593
53594 2013-07-28 David S. Miller <davem@davemloft.net>
53595
53596 * po/cs.po: Update Czech translation from translation project.
53597
53598 * po/sv.po: Update Swedish translation from translation project.
53599
53600 2013-07-27 David S. Miller <davem@davemloft.net>
53601
53602 * po/eo.po: Update Esperanto translation from translation project.
53603
53604 * po/vi.po: Update Vietnamese translation from translation project.
53605
53606 * po/de.po: Update German translation from translation project.
53607
53608 2013-07-26 David S. Miller <davem@davemloft.net>
53609
53610 * po/bg.po: Update Bulgarian translation from translation project.
53611
53612 * po/nl.po: Update Dutch translation from translation project.
53613 * po/pl.po: Update Polish translation from translation project.
53614 * po/ru.po: Update Russian translation from translation project.
53615
53616 2013-07-24 David S. Miller <davem@davemloft.net>
53617
53618 * po/libc.pot: Update.
53619
53620 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53621
53622 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53623 variable page size.
53624 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53625 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53626 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53627
53628 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53629
53630 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53631
53632 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53633 Andreas Schwab <schwab@suse.de>
53634 Roland McGrath <roland@hack.frob.com>
53635 Joseph Myers <joseph@codesourcery.com>
53636 Carlos O'Donell <carlos@redhat.com>
53637
53638 [BZ #15755]
53639 * config.h.in: Define HAVE_PT_CHOWN.
53640 * config.make.in (build-pt-chown): New variable.
53641 * configure.in (--enable-pt_chown): New configure option.
53642 * configure: Regenerate.
53643 * login/Makefile: Include Makeconfig. Build pt_chown only if
53644 build-pt-chown is enabled.
53645 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53646 pt_chown to fix pty ownership.
53647 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53648 CLOSE_ALL_FDS.
53649 * manual/install.texi (Configuring and compiling): Mention
53650 --enable-pt_chown. Add @findex for grantpt.
53651 * INSTALL: Regenerate.
53652
53653 2013-07-20 David S. Miller <davem@davemloft.net>
53654
53655 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53656 difference between 32-bit and 64-bit.
53657
53658 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53659
53660 [BZ #15711]
53661 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53662 Avoid system header dependency with -ffreestanding.
53663 ($(objpfx)bits/syscall%d): Likewise.
53664
53665 2013-07-13 David S. Miller <davem@davemloft.net>
53666
53667 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53668 underflows from atanl/atan2l due to bug 15319.
53669 (casinh_test_data): Likewise.
53670
53671 2013-07-07 David S. Miller <davem@davemloft.net>
53672
53673 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53674
53675 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53676
53677 * sysdeps/i386/fpu/libm-test-ulps: Update.
53678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53679
53680 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53681
53682 * configure.in (--enable-lock-elision): Fix message text.
53683 * INSTALL: Regenerate.
53684 * configure: Regenerate.
53685
53686 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53687
53688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53689
53690 2013-07-03 Andreas Jaeger <aj@suse.de>
53691
53692 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53693 define.
53694 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53695 (ptrace_peeksiginfo_args): Add.
53696 (__ptrace_peeksiginfo_flags): Add.
53697 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53698 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53699 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53700
53701 2013-07-03 Allan McRae <allan@archlinux.org>
53702
53703 * sysdeps/i386/fpu/libm-test-ulps: Update.
53704
53705 2013-07-02 David S. Miller <davem@davemloft.net>
53706
53707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53708
53709 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
53710
53711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53712
53713 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53714
53715 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53717
53718 2013-07-02 Andi Kleen <ak@linux.intel.com>
53719
53720 * config.h.in (ENABLE_LOCK_ELISION): Add.
53721 * configure.in (--enable-lock-elision): Add option.
53722 * manual/install.texi: Document --enable lock elision.
53723 * configure: Regenerate
53724 * INSTALL: Regenerate.
53725
53726 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
53727
53728 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53729 SSE4.2 strcasecmp for libc.a.
53730 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53731
53732 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53733
53734 [BZ #13304]
53735 * soft-fp/op-common.h (_FP_FMA): New macro.
53736 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53737 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
53738 (_FP_MUL_MEAT_1_imm): ... here.
53739 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
53740 (_FP_MUL_MEAT_1_wide): ... here.
53741 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
53742 (_FP_MUL_MEAT_1_hard): ... here.
53743 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53744 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
53745 (_FP_MUL_MEAT_2_wide): ... here.
53746 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
53747 (_FP_MUL_MEAT_2_wide_3mul): ... here.
53748 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
53749 (_FP_MUL_MEAT_2_gmp): ... here.
53750 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53751 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
53752 (_FP_MUL_MEAT_4_wide): ... here.
53753 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
53754 (_FP_MUL_MEAT_4_gmp): ... here.
53755 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53756 (_FP_WFRACBITS_DW_S): Likewise.
53757 (_FP_WFRACXBITS_DW_S): Likewise.
53758 (_FP_HIGHBIT_DW_S): Likewise.
53759 (FP_FMA_S): Likewise.
53760 (_FP_FRAC_HIGH_DW_S): Likewise.
53761 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53762 (_FP_WFRACBITS_DW_D): Likewise.
53763 (_FP_WFRACXBITS_DW_D): Likewise.
53764 (_FP_HIGHBIT_DW_D): Likewise.
53765 (FP_FMA_D): Likewise.
53766 (_FP_FRAC_HIGH_DW_D): Likewise.
53767 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53768 (_FP_WFRACBITS_DW_E): Likewise.
53769 (_FP_WFRACXBITS_DW_E): Likewise.
53770 (_FP_HIGHBIT_DW_E): Likewise.
53771 (FP_FMA_E): Likewise.
53772 (_FP_FRAC_HIGH_DW_E): Likewise.
53773 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53774 (_FP_WFRACBITS_DW_Q): Likewise.
53775 (_FP_WFRACXBITS_DW_Q): Likewise.
53776 (_FP_HIGHBIT_DW_Q): Likewise.
53777 (FP_FMA_Q): Likewise.
53778 (_FP_FRAC_HIGH_DW_Q): Likewise.
53779 * soft-fp/fmasf4.c: New file.
53780 * soft-fp/fmadf4.c: Likewise.
53781 * soft-fp/fmatf4.c: Likewise.
53782
53783 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53784
53785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53786 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53787 Silvermont.
53788 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53789 macro.
53790 (index_Slow_SSE4_2): Likewise.
53791 (index_Prefer_PMINUB_for_stringop): Likewise.
53792 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53793 bit_Slow_SSE4_2 is set.
53794 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53795 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53796
53797 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53798
53799 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53800 rtld_global._dl_hwcap2.
53801 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53802 POWER8.
53803 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53804 POWER8 feature descriptions defined in _dl_hwcap2.
53805 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53806 string handling for POWER8 feature bits.
53807 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53808 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53809 _dl_powerpc_cap_flags.
53810 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53811 * sysdeps/powerpc/rtld-global-offsets.sym
53812 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53813 _dl_hwcap2 in the rtld_global_ro structure.
53814
53815 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53816
53817 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53818 hardware capabilities in support of AT_HWCAP2.
53819 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53820 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53821 GLRO(dl_hwcap2).
53822 (_dl_show_auxv): Add support for calling _dl_procinfo to display
53823 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
53824 explicitly the unknown a_type display mechanism is used.
53825 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53826 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53827 struct member.
53828 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53829 to macro prototype for AT_HWCAP2 support.
53830 * sysdeps/i386/dl-procinfo.h: Likewise.
53831 * sysdeps/s390/dl-procinfo.h: Likewise.
53832 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53833 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
53834 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
53835 return -1 for unknown a_type display fallback.
53836 * sysdeps/sparc/dl-procinfo.h: Likewise.
53837 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53838 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53839
53840 2013-06-28 Joseph Myers <joseph@codesourcery.com>
53841
53842 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53843 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53844
53845 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
53846
53847 [BZ #12492]
53848 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53849 mprotect making __stack_prot writable.
53850
53851 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
53852 Joseph Myers <joseph@codesourcery.com>
53853
53854 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53855 as being properly aligned.
53856
53857 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
53858
53859 * dlfcn/modstatic5.c: New file.
53860 * dlfcn/tststatic5.c: New file.
53861 * dlfcn/Makefile (tests): Add tststatic5.
53862 (tests-static): Likewise.
53863 (modules-names): Add modstatic5.
53864 (tststatic5-ENV): New variable.
53865 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53866
53867 [BZ #15022]
53868 * elf/dl-support.c (_dl_main_map): New variable.
53869 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53870 (_dl_nns, _dl_load_adds): Set to 1.
53871 (_dl_initial_searchlist): Refer to _dl_main_map.
53872 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53873 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53874 call to _dl_get_origin.
53875 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53876 around call_map.
53877 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53878 * dlfcn/modstatic3.c: New file.
53879 * dlfcn/tststatic3.c: New file.
53880 * dlfcn/tststatic4.c: New file.
53881 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53882 (tests-static): Likewise.
53883 (modules-names): Add modstatic3.
53884 (tststatic3-ENV, tststatic4-ENV): New variables.
53885 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53886 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53887
53888 2013-06-26 Joseph Myers <joseph@codesourcery.com>
53889
53890 * configure.in (CC): Require GCC version 4.4 or later.
53891 * configure: Regenerated.
53892 * manual/install.texi (Tools for Compilation): Update GCC version
53893 requirement.
53894 * INSTALL: Regenerated.
53895
53896 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53897
53898 [BZ #15674]
53899 * string/test-memcmp.c (check2): New.
53900 (main): Call check2.
53901
53902 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53903
53904 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
53905
53906 [BZ #15022]
53907 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53908 over to...
53909 (dl_open_worker) [!SHARED]: ... here.
53910
53911 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53912
53913 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53914
53915 2013-06-25 Richard Henderson <rth@redhat.com>
53916
53917 * locale/programs/locarchive.c: Include <libc-internal.h>
53918
53919 2013-06-25 Joseph Myers <joseph@codesourcery.com>
53920
53921 * manual/texinfo.tex: Update to version 2013-06-21.17, with
53922 trailing whitespace removed.
53923
53924 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53925
53926 [BZ #10283]
53927 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53928 * locale/programs/locarchive.c: Include libc-mmap.h.
53929 (prepare_address_space): Take two new outputs (the mmap base and len).
53930 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
53931 values.
53932 (create_archive): Declare new mmap base and len values for
53933 prepare_address_space, and store the result in ah.
53934 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53935 (enlarge_archive): If ah->mmap_base is not NULL, use that and
53936 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53937 Declare new mmap base and len values for
53938 prepare_address_space, and store the result in new_ah.
53939 (open_archive): Declare new mmap base and len values for
53940 prepare_address_space, and store the result in ah.
53941 (close_archive): If ah->mmap_base is not NULL, use that and
53942 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53943 * sysdeps/generic/libc-mmap.h: New file.
53944
53945 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53946
53947 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53948 (ALIGN_UP): Likewise.
53949 (PTR_ALIGN_DOWN): Likewise.
53950 (PTR_ALIGN_UP): Likewise.
53951
53952 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53953
53954 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53955 entry mapped to PPC_PLATFORM_POWER8.
53956 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53957 POWER8.
53958 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53959 (_dl_string_platform): Add case for exporting platform position for
53960 POWER8.
53961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53962 search path to sysdeps/powerpc/powerpc32/power8 directory.
53963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53964 search path to sysdeps/powerpc/powerpc64/power8 directory.
53965 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53966 power7 directories.
53967 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53968 power7 directories.
53969
53970 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53971
53972 * INSTALL: Regenerate.
53973
53974 * nscd/connections.c (nscd_init): Fix comment.
53975
53976 2013-06-22 Joseph Myers <joseph@codesourcery.com>
53977
53978 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53979
53980 [BZ #15667]
53981 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53982 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53983
53984 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53985
53986 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53987 DL_DST_REQ_STATIC.
53988 (DL_DST_REQ_STATIC): Remove macro.
53989
53990 2013-06-21 Joseph Myers <joseph@codesourcery.com>
53991
53992 [BZ #7006]
53993 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53994 with a shift of 0 bits.
53995
53996 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53997
53998 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53999 $(tststatic-ENV).
54000
54001 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54002
54003 [BZ #15655]
54004 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54005
54006 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54007
54008 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54009 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54010 accepts -fno-tree-loop-distribute-patterns.
54011 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54012 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54013 recursive call.
54014 * string/memset.c (memset): Likewise.
54015 * string/test-memmove.c (simple_memmove): Disable loop transformation
54016 to library calls.
54017 * string/test-memset.c (simple_memset): Likewise.
54018 * benchtests/bench-memmove.c (simple_memmove): Likewise.
54019 * benchtests/bench-memset.c (simple_memset): Likewise.
54020 * configure: Regenerated.
54021
54022 2013-06-20 Joseph Myers <joseph@codesourcery.com>
54023
54024 * math/test-misc.c (main): Ignore fesetround failure when failures
54025 of subsequent rounding tests would be ignored.
54026
54027 [BZ #15654]
54028 * math/fedisblxcpt.c (fedisableexcept): Return 0.
54029 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54030 * math/fegetenv.c (__fegetenv): Return 0.
54031 * math/fegetexcept.c (fegetexcept): Return 0.
54032 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54033 FE_TONEAREST.
54034 * math/feholdexcpt.c (feholdexcept): Return 0.
54035 * math/fesetenv.c (__fesetenv): Return 0.
54036 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54037 argument FE_TONEAREST.
54038 * math/feupdateenv.c (__feupdateenv): Return 0.
54039 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54040
54041 2013-06-18 Roland McGrath <roland@hack.frob.com>
54042
54043 * elf/rtld-Rules (rtld-compile-command.S): New variable.
54044 (rtld-compile-command.s, rtld-compile-command.c): New variables.
54045 ($(objpfx)rtld-%.os rules): Use them.
54046
54047 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54048
54049 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54050 fields.
54051
54052 2013-06-17 Roland McGrath <roland@hack.frob.com>
54053
54054 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54055 length of target pattern, then descending length of dependency pattern.
54056 * configure.in (AWK): Require gawk 3.1.2 or newer.
54057 * manual/install.texi (Tools for Compilation): Say that we do.
54058 * configure: Regenerated.
54059
54060 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54061 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54062 * scripts/sysd-rules.awk: ... this new script.
54063 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54064 than a glob-style pattern.
54065
54066 2013-06-17 Joseph Myers <joseph@codesourcery.com>
54067
54068 * math/test-misc.c (main): Do not treat incorrectly rounded
54069 conversions as failure unless ROUNDING_TESTS passes.
54070
54071 2013-06-15 Joseph Myers <joseph@codesourcery.com>
54072
54073 [BZ #15631]
54074 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54075 restore exception state around main square root computation, then
54076 check for inexactness explicitly.
54077
54078 * math/libm-test.inc (fma_test_data): Add another test.
54079
54080 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54081
54082 * manual/threads.texi (Non-POSIX Extensions): New document
54083 node. Document pthread_getattr_default_np and
54084 pthread_setattr_default_np.
54085
54086 * Versions.def (libpthread): Add GLIBC_2.18.
54087 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54089 Likewise.
54090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54091 Likewise.
54092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54093 Likewise.
54094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54095 Likewise.
54096 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54097 Likewise.
54098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54099 Likewise.
54100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54101 Likewise.
54102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54103 Likewise.
54104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54105 Likewise.
54106
54107 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54108
54109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54110 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54111
54112 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54113 H.J. Lu <hjl.tools@gmail.com>
54114
54115 [BZ #15627]
54116 * sysdeps/x86_64/rtld-memset.c: Remove file.
54117 * sysdeps/x86_64/rtld-memset.S: New file.
54118
54119 2013-06-14 Joseph Myers <joseph@codesourcery.com>
54120
54121 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54122 (test_in_one_mode): Take arguments for whether the rounding mode
54123 is supported for each floating-point type.
54124 (do_test): Pass new arguments to test_in_one_mode using
54125 ROUNDING_TESTS.
54126
54127 2013-06-13 Roland McGrath <roland@hack.frob.com>
54128
54129 * posix/tst-waitid.c (do_test): Distinguish different instances of
54130 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
54131 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54132 before entering the kernel for waitpid.
54133
54134 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54135
54136 * NEWS: Fix note on clock function precision. Text by Roland
54137 McGrath.
54138
54139 2013-06-13 Roland McGrath <roland@hack.frob.com>
54140
54141 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54142 it into place only when and if the sanity check passes.
54143
54144 2013-06-13 Joseph Myers <joseph@codesourcery.com>
54145
54146 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54147 output for whether conversion result is exact. Take argument
54148 indicating whether type is IBM long double.
54149 (round_for_all): Change need_exact field to ibm_ld.
54150 * stdlib/tst-strtod-round.c (struct exactness): New type.
54151 (struct test): Change bool ld_ok field to struct exactness exact.
54152 (TEST): Update all definitions for change to field.
54153 (tests): Regenerate array contents.
54154 (test_in_one_mode): Take pointer to new field instead of old ld_ok
54155 field value. Check for IBM long double here.
54156 (do_test): Update calls to test_in_one_mode.
54157
54158 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54159
54160 [BZ #12515]
54161 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54162 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54163
54164 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54165
54166 [BZ #15605]
54167 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54168 generated by the compiler on loop optimizations.
54169 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54170 general definitions.
54171
54172 2013-06-12 Joseph Myers <joseph@codesourcery.com>
54173
54174 * math/bug-nextafter.c: Include <math-tests.h>.
54175 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54176 the relevant type.
54177 * math/bug-nexttoward.c: Include <math-tests.h>.
54178 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54179 the relevant type.
54180 * math/test-misc.c: Include <math-tests.h>.
54181 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54182 the relevant type.
54183
54184 2013-06-12 Andreas Jaeger <aj@suse.de>
54185
54186 * po/ia.po: Update Interlingua translation from translation
54187 project.
54188
54189 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54190
54191 * include/fenv.h: Include stdbool.h.
54192 (struct rm_ctx): New structure.
54193 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54194 Define macro.
54195 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54196 (SET_RESTORE_ROUNDF): Likewise.
54197 (SET_RESTORE_ROUNDL): Likewise.
54198 (SET_RESTORE_ROUND_NOEX): Likewise.
54199 (SET_RESTORE_ROUND_NOEXF): Likewise.
54200 (SET_RESTORE_ROUND_NOEXL): Likewise.
54201 (SET_RESTORE_ROUND_53BIT): Likewise.
54202 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54203 (libc_feresetround_noexf_ctx): Likewise.
54204 (libc_feresetround_noexl_ctx): Likewise.
54205 (libc_feholdsetround_53bit_ctx): Likewise.
54206 (libc_feresetround_53bit_ctx): Likewise.
54207 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54208 (libc_feholdexcept_setround_sse_ctx): New function.
54209 (libc_fesetenv_sse_ctx): Likewise.
54210 (libc_feupdateenv_sse_ctx): Likewise.
54211 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54212 (libc_feholdexcept_setround_387_ctx): Likewise.
54213 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54214 (libc_feholdsetround_387_prec_ctx): Likewise.
54215 (libc_feholdsetround_387_ctx): Likewise.
54216 (libc_feholdsetround_387_53bit_ctx): Likewise.
54217 (libc_feholdsetround_sse_ctx): Likewise.
54218 (libc_feresetround_sse_ctx): Likewise.
54219 (libc_feresetround_387_ctx): Likewise.
54220 (libc_feupdateenv_387_ctx): Likewise.
54221 (libc_feholdexcept_setroundf_ctx): Define macro.
54222 (libc_fesetenvf_ctx): Likewise.
54223 (libc_feupdateenvf_ctx): Likewise.
54224 (libc_feholdsetroundf_ctx): Likewise.
54225 (libc_feresetroundf_ctx): Likewise.
54226 (libc_feholdexcept_setround_ctx): Likewise.
54227 (libc_fesetenv_ctx): Likewise.
54228 (libc_feupdateenv_ctx): Likewise.
54229 (libc_feholdsetround_ctx): Likewise.
54230 (libc_feresetround_ctx): Likewise.
54231 (libc_feholdexcept_setroundl_ctx): Likewise.
54232 (libc_feupdateenvl_ctx): Likewise.
54233 (libc_feholdsetroundl_ctx): Likewise.
54234 (libc_feresetroundl_ctx): Likewise.
54235 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54236 (libc_feresetround_53bit_ctx): Likewise.
54237
54238 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54239
54240 * locale/iso-639.def: Convert to UTF-8.
54241
54242 2013-06-11 Joseph Myers <joseph@codesourcery.com>
54243
54244 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54245 (EXCEPTION_TESTS_double): Likewise.
54246 (EXCEPTION_TESTS_long_double): Likewise.
54247 (EXCEPTION_TESTS): Likewise.
54248 * math/libm-test.inc (test_exceptions): Only test exceptions if
54249 EXCEPTION_TESTS (FLOAT).
54250
54251 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54252
54253 * benchtests/Makefile (string-bench): Add strcpy_chk and
54254 stpcpy_chk.
54255 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54256 * benchtests/bench-stpcpy_chk.c: New file.
54257 * benchtests/bench-strcpy_chk-ifunc.c: New file.
54258 * benchtests/bench-strcpy_chk.c: New file.
54259 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54260 code.
54261 (do_test): Likewise.
54262
54263 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54264
54265 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54266 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54267 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54268 with tabs where appropriate.
54269 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54270 dl-procinfo.h.
54271 [PPC_PLATFORM_PPC440]: Likewise.
54272 [PPC_PLATFORM_PPC464]: Likewise.
54273 [PPC_PLATFORM_PPC476]: Likewise.
54274 (_dl_string_platform): Add support for detecting ppc405, ppc440,
54275 ppc464, and ppc476 platform strings merging from ports/
54276 dl-procinfo.h.
54277
54278 2013-06-11 Andreas Schwab <schwab@suse.de>
54279
54280 [BZ #14991]
54281 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54282 (from_ucs4_idx): Regenerate.
54283 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54284 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54285 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54286 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54287 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54288 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54289 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54290 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54291 from FROM_LOOP and TO_LOOP specific macros.
54292 (BODY): Handle combining characters.
54293 * iconvdata/BIG5HKSCS.irreversible: Update.
54294 * iconvdata/BIG5HKSCS.precomposed: New file.
54295 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54296 characters.
54297 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54298
54299 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54300
54301 * include/sys/time.h: Fix indentation and add copyright header.
54302
54303 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54304 (do_test): Likewise.
54305 * string/test-memchr.c (do_one_test): Likewise.
54306 (do_test): Likewise.
54307 * string/test-memcmp.c (do_one_test): Likewise.
54308 (do_test): Likewise.
54309 * string/test-memcpy.c (do_one_test): Likewise.
54310 (do_test): Likewise.
54311 * string/test-memmem.c (do_one_test): Likewise.
54312 (do_test): Likewise.
54313 (do_random_tests): Likewise.
54314 * string/test-memmove.c (do_one_test): Likewise.
54315 (do_test): Likewise.
54316 * string/test-memset.c (do_one_test): Likewise.
54317 (do_test): Likewise.
54318 * string/test-rawmemchr.c (do_one_test): Likewise.
54319 (do_test): Likewise.
54320 * string/test-strcasecmp.c (do_one_test): Likewise.
54321 (do_test): Likewise.
54322 * string/test-strcasestr.c (do_one_test): Likewise.
54323 (do_test): Likewise.
54324 * string/test-strcat.c (do_one_test): Likewise.
54325 (do_test): Likewise.
54326 * string/test-strchr.c (do_one_test): Likewise.
54327 (do_test): Likewise.
54328 * string/test-strcmp.c (do_one_test): Likewise.
54329 (do_test): Likewise.
54330 * string/test-strcpy.c (do_one_test): Likewise.
54331 (do_test): Likewise.
54332 * string/test-string.h: Likewise.
54333 (test_init): Likewise.
54334 * string/test-strlen.c (do_one_test): Likewise.
54335 (do_test): Likewise.
54336 * string/test-strncasecmp.c (do_one_test): Likewise.
54337 (do_test): Likewise.
54338 * string/test-strncat.c (do_one_test): Likewise.
54339 (do_test): Likewise.
54340 * string/test-strncmp.c (do_one_test): Likewise.
54341 (do_test_limit): Likewise.
54342 (do_test): Likewise.
54343 * string/test-strncpy.c (do_one_test): Likewise.
54344 (do_test): Likewise.
54345 * string/test-strnlen.c (do_one_test): Likewise.
54346 (do_test): Likewise.
54347 * string/test-strpbrk.c (do_one_test): Likewise.
54348 (do_test): Likewise.
54349 * string/test-strrchr.c (do_one_test): Likewise.
54350 (do_test): Likewise.
54351 * string/test-strspn.c (do_one_test): Likewise.
54352 (do_test): Likewise.
54353 * string/test-strstr.c (do_one_test): Likewise.
54354 (do_test): Likewise.
54355
54356 * benchtests/Makefile (string-bench): Add string benchmarks.
54357 * benchtests/bench-bcopy-ifunc.c: New file.
54358 * benchtests/bench-bcopy.c: New file.
54359 * benchtests/bench-bzero-ifunc.c: New file.
54360 * benchtests/bench-bzero.c: New file.
54361 * benchtests/bench-memccpy-ifunc.c: New file.
54362 * benchtests/bench-memccpy.c: New file.
54363 * benchtests/bench-memchr-ifunc.c: New file.
54364 * benchtests/bench-memchr.c: New file.
54365 * benchtests/bench-memcmp-ifunc.c: New file.
54366 * benchtests/bench-memcmp.c: New file.
54367 * benchtests/bench-memmem-ifunc.c: New file.
54368 * benchtests/bench-memmem.c: New file.
54369 * benchtests/bench-memmove-ifunc.c: New file.
54370 * benchtests/bench-memmove.c: New file.
54371 * benchtests/bench-mempcpy-ifunc.c: New file.
54372 * benchtests/bench-mempcpy.c: New file.
54373 * benchtests/bench-memset-ifunc.c: New file.
54374 * benchtests/bench-memset.c: New file.
54375 * benchtests/bench-rawmemchr-ifunc.c: New file.
54376 * benchtests/bench-rawmemchr.c: New file.
54377 * benchtests/bench-stpcpy-ifunc.c: New file.
54378 * benchtests/bench-stpcpy.c: New file.
54379 * benchtests/bench-stpncpy-ifunc.c: New file.
54380 * benchtests/bench-stpncpy.c: New file.
54381 * benchtests/bench-strcasecmp-ifunc.c: New file.
54382 * benchtests/bench-strcasecmp.c: New file.
54383 * benchtests/bench-strcasestr-ifunc.c: New file.
54384 * benchtests/bench-strcasestr.c: New file.
54385 * benchtests/bench-strcat-ifunc.c: New file.
54386 * benchtests/bench-strcat.c: New file.
54387 * benchtests/bench-strchr-ifunc.c: New file.
54388 * benchtests/bench-strchr.c: New file.
54389 * benchtests/bench-strchrnul-ifunc.c: New file.
54390 * benchtests/bench-strchrnul.c: New file.
54391 * benchtests/bench-strcmp-ifunc.c: New file.
54392 * benchtests/bench-strcmp.c: New file.
54393 * benchtests/bench-strcpy-ifunc.c: New file.
54394 * benchtests/bench-strcpy.c: New file.
54395 * benchtests/bench-strcspn-ifunc.c: New file.
54396 * benchtests/bench-strcspn.c: New file.
54397 * benchtests/bench-strlen-ifunc.c: New file.
54398 * benchtests/bench-strlen.c: New file.
54399 * benchtests/bench-strncasecmp-ifunc.c: New file.
54400 * benchtests/bench-strncasecmp.c: New file.
54401 * benchtests/bench-strncat-ifunc.c: New file.
54402 * benchtests/bench-strncat.c: New file.
54403 * benchtests/bench-strncmp-ifunc.c: New file.
54404 * benchtests/bench-strncmp.c: New file.
54405 * benchtests/bench-strncpy-ifunc.c: New file.
54406 * benchtests/bench-strncpy.c: New file.
54407 * benchtests/bench-strnlen-ifunc.c: New file.
54408 * benchtests/bench-strnlen.c: New file.
54409 * benchtests/bench-strpbrk-ifunc.c: New file.
54410 * benchtests/bench-strpbrk.c: New file.
54411 * benchtests/bench-strrchr-ifunc.c: New file.
54412 * benchtests/bench-strrchr.c: New file.
54413 * benchtests/bench-strspn-ifunc.c: New file.
54414 * benchtests/bench-strspn.c: New file.
54415 * benchtests/bench-strstr-ifunc.c: New file.
54416 * benchtests/bench-strstr.c: New file.
54417
54418 * benchtests/Makefile: Disable parallel execution of targets.
54419 (string-bench): Add memcpy.
54420 (benchset): New variable to store a list of benchmark sets.
54421 (bench-func): Renamed from bench.
54422 (bench-set): New target.
54423 (bench): Depend on bench-func and bench-set.
54424 * benchtests/README: Add section on benchmark sets.
54425 * benchtests/bench-memcpy-ifunc.c: New file.
54426 * benchtests/bench-memcpy.c: New file.
54427 * benchtests/bench-string.h: New file.
54428
54429 2013-06-11 Andreas Schwab <schwab@suse.de>
54430
54431 [BZ #15577]
54432 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54433 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54434 values in the triple.
54435 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54436 terminator in the group key.
54437
54438 2013-06-11 Andreas Jaeger <aj@suse.de>
54439
54440 * po/zh_TW.po: Update Chinese (traditional) translation from
54441 translation project.
54442
54443 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54444
54445 * include/time.h (__clock_gettime): Add libc_hidden_proto.
54446 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54447 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
54448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54449 (clock_getcpuclockid): Likewise.
54450 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54451 Add weak_alias and libc_hidden_def.
54452 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54453 * rt/clock_gettime.c (clock_gettime): Rename to
54454 __clock_gettime. Add weak_alias and libc_hidden_def.
54455 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54456 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54457 __clock_nanosleep. Add weak_alias and libc_hidden_def.
54458 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54459 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54460 Likewise.
54461 * rt/clock_settime.c (clock_settime): Rename to
54462 __clock_settime. Add weak_alias and libc_hidden_def.
54463 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54464
54465 2013-06-10 Joseph Myers <joseph@codesourcery.com>
54466
54467 * mach/err_boot.sub: Remove trailing whitespace.
54468 * mach/err_ipc.sub: Likewise.
54469 * mach/err_mach.sub: Likewise.
54470
54471 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54472 (ROUNDING_TESTS_double): Likewise.
54473 (ROUNDING_TESTS_long_double): Likewise.
54474 (ROUNDING_TESTS): Likewise.
54475 * math/libm-test.inc: Include <math-tests.h>.
54476 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54477 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54478 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54479 (IF_ROUND_INIT_FE_UPWARD): Likewise.
54480
54481 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54482
54483 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54484 of assigning.
54485
54486 2013-06-08 Joseph Myers <joseph@codesourcery.com>
54487
54488 * sysdeps/gnu/errlist.awk: Do not generate space at end of
54489 otherwise empty TRANS lines.
54490 * sysdeps/gnu/errlist.c: Regenerated.
54491
54492 * catgets/gencat.c (error_print): Use (void) in function
54493 definition.
54494 * crypt/crypt_util.c (__init_des): Likewise.
54495 * crypt/speeds.c (Stop): Likewise.
54496 (main): Likewise.
54497 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54498 * inet/ruserpass.c (token): Likewise.
54499 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54500 * intl/localealias.c (extend_alias_table): Likewise.
54501 * intl/plural-exp.c (init_germanic_plural): Likewise.
54502 * libio/fcloseall.c (__fcloseall): Likewise.
54503 * libio/genops.c (_IO_flush_all): Likewise.
54504 (_IO_flush_all_linebuffered): Likewise.
54505 (_IO_cleanup): Likewise.
54506 (_IO_iter_begin): Likewise.
54507 (_IO_iter_end): Likewise.
54508 (_IO_list_lock): Likewise.
54509 (_IO_list_unlock): Likewise.
54510 (_IO_list_resetlock): Likewise.
54511 * libio/getchar.c (getchar): Likewise.
54512 * libio/getchar_u.c (getchar_unlocked): Likewise.
54513 * libio/getwchar.c (getwchar): Likewise.
54514 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54515 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54516 * login/getpt.c (__getpt): Likewise.
54517 * login/tst-utmp.c (main): Likewise.
54518 * malloc/hooks.c (__malloc_check_init): Likewise.
54519 * malloc/malloc.c (__malloc_stats): Likewise.
54520 * malloc/mtrace.c (tr_break): Likewise.
54521 (mtrace): Likewise.
54522 (muntrace): Likewise.
54523 * misc/fstab.c (endfsent): Likewise.
54524 * misc/getclktck.c (__getclktck): Likewise.
54525 * misc/getdtsz.c (__getdtablesize): Likewise.
54526 * misc/gethostid.c (gethostid): Likewise.
54527 * misc/getpagesize.c (__getpagesize): Likewise.
54528 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54529 (__get_nprocs): Likewise.
54530 (__get_phys_pages): Likewise.
54531 (__get_avphys_pages): Likewise.
54532 * misc/getttyent.c (getttyent): Likewise.
54533 (setttyent): Likewise.
54534 (endttyent): Likewise.
54535 * misc/getusershell.c (getusershell): Likewise.
54536 (endusershell): Likewise.
54537 (setusershell): Likewise.
54538 (initshells): Likewise.
54539 * misc/hsearch.c (__hdestroy): Likewise.
54540 * misc/sync.c (sync): Likewise.
54541 * misc/syslog.c (closelog_internal): Likewise.
54542 (closelog): Likewise.
54543 * misc/ttyslot.c (ttyslot): Likewise.
54544 * misc/vhangup.c (vhangup): Likewise.
54545 * posix/fork.c (__fork): Likewise.
54546 * posix/getegid.c (__getegid): Likewise.
54547 * posix/geteuid.c (__geteuid): Likewise.
54548 * posix/getgid.c (__getgid): Likewise.
54549 * posix/getpid.c (__getpid): Likewise.
54550 * posix/getppid.c (__getppid): Likewise.
54551 * posix/getuid.c (__getuid): Likewise.
54552 * posix/pause.c (pause): Likewise.
54553 * posix/setpgrp.c (setpgrp): Likewise.
54554 * posix/setsid.c (__setsid): Likewise.
54555 * posix/test-vfork.c (noop): Likewise.
54556 * resolv/gethnamaddr.c (_endhtent): Likewise.
54557 (_gethtent): Likewise.
54558 (ht_endhostent): Likewise.
54559 (gethostent): Likewise.
54560 (dns_service): Likewise.
54561 * stdlib/drand48.c (drand48): Likewise.
54562 * stdlib/lrand48.c (lrand48): Likewise.
54563 * stdlib/mrand48.c (mrand48): Likewise.
54564 * stdlib/rand.c (rand): Likewise.
54565 * stdlib/random.c (__random): Likewise.
54566 * stdlib/setenv.c (clearenv): Likewise.
54567 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54568 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54569 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54570 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54571 (__get_nprocs): Likewise.
54572 (__get_phys_pages): Likewise.
54573 (__get_avphys_pages): Likewise.
54574 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54575 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54576 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54577 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54578 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54579 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54580 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54581 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54582 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54583 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54584 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54585 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54586 * sysdeps/posix/clock.c (clock): Likewise.
54587 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54588 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54589 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54590 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54591 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54592 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54593 (__get_nprocs_conf): Likewise.
54594 (__get_phys_pages): Likewise.
54595 (__get_avphys_pages): Likewise.
54596 * time/clock.c (clock): Likewise.
54597 * time/tzset.c (__tzname_max): Likewise.
54598
54599 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54600
54601 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54602 (__bswap_32): Do not use "register".
54603 * crypt/crypt.c (_ufc_doit_r): Likewise.
54604 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54605 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54606 * gmon/gmon.c (__monstartup): Likewise.
54607 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54608 * hurd/hurdmalloc.c (more_memory): Likewise.
54609 (malloc): Likewise.
54610 (free): Likewise.
54611 (realloc): Likewise.
54612 (malloc_fork_prepare): Likewise.
54613 (malloc_fork_parent): Likewise.
54614 (malloc_fork_child): Likewise.
54615 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54616 (_svcauth_des): Likewise.
54617 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54618 * inet/inet_net.c (inet_network): Likewise.
54619 * inet/inet_netof.c (inet_netof): Likewise.
54620 * inet/rcmd.c (__validuser2_sa): Likewise.
54621 * io/fts.c (fts_open): Likewise.
54622 (fts_load): Likewise.
54623 (fts_close): Likewise.
54624 (fts_read): Likewise.
54625 (fts_children): Likewise.
54626 (fts_build): Likewise.
54627 (fts_stat): Likewise.
54628 (fts_sort): Likewise.
54629 (fts_alloc): Likewise.
54630 (fts_lfree): Likewise.
54631 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54632 (_IO_file_xsgetn): Likewise.
54633 (_IO_file_xsgetn_mmap): Likewise.
54634 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54635 (_IO_cookie_write): Likewise.
54636 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54637 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54638 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54639 * malloc/obstack.c (_obstack_begin): Likewise.
54640 (_obstack_begin_1): Likewise.
54641 (_obstack_newchunk): Likewise.
54642 (_obstack_allocated_p): Likewise.
54643 (obstack_free): Likewise.
54644 (_obstack_memory_used): Likewise.
54645 * misc/getttyent.c (getttynam): Likewise.
54646 (getttyent): Likewise.
54647 (skip): Likewise.
54648 (value): Likewise.
54649 * misc/getusershell.c (initshells): Likewise.
54650 * misc/syslog.c (__vsyslog_chk): Likewise.
54651 * misc/ttyslot.c (ttyslot): Likewise.
54652 * nis/nis_hash.c (__nis_hash): Likewise.
54653 * posix/fnmatch_loop.c (FCT): Likewise.
54654 * posix/getconf.c (print_all): Likewise.
54655 (main): Likewise.
54656 * posix/getopt.c (exchange): Likewise.
54657 * posix/glob.c (globfree): Likewise.
54658 (prefix_array): Likewise.
54659 (__glob_pattern_type): Likewise.
54660 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54661 (NS_GET32): Likewise.
54662 (NS_PUT16): Likewise.
54663 (NS_PUT32): Likewise.
54664 * resolv/gethnamaddr.c (getanswer): Likewise.
54665 (gethostbyname2): Likewise.
54666 (gethostbyaddr): Likewise.
54667 (_gethtent): Likewise.
54668 (_gethtbyname2): Likewise.
54669 (_gethtbyaddr): Likewise.
54670 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54671 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54672 * resolv/res_init.c (__res_vinit): Likewise.
54673 (net_mask): Likewise.
54674 * resolv/res_mkquery.c (outchar): Likewise.
54675 (PRINT): Likewise.
54676 * stdio-common/printf_fp.c (outchar): Likewise.
54677 (PRINT): Likewise.
54678 * stdio-common/printf_fphex.c (outchar): Likewise.
54679 (PRINT): Likewise.
54680 * stdio-common/printf_size.c (outchar): Likewise.
54681 (PRINT): Likewise.
54682 * stdio-common/test_rdwr.c (main): Likewise.
54683 * stdio-common/tfformat.c (matches): Likewise.
54684 * stdio-common/vfprintf.c (outchar): Likewise.
54685 (printf_unknown): Likewise.
54686 (buffered_vfprintf): Likewise.
54687 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54688 * stdio-common/xbug.c (AppendToBuffer): Likewise.
54689 (ReadFile): Likewise.
54690 * stdlib/qsort.c (SWAP): Likewise.
54691 (_quicksort): Likewise.
54692 * stdlib/setenv.c (__add_to_environ): Likewise.
54693 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54694 * stdlib/strtol_l.c (__strtol_l): Likewise.
54695 * stdlib/tst-strtod.c (main): Likewise.
54696 * stdlib/tst-strtol.c (main): Likewise.
54697 * stdlib/tst-strtoll.c (main): Likewise.
54698 * string/bits/string2.h (__strcmp_cc): Likewise.
54699 (__strcmp_cg): Likewise.
54700 (__strcspn_c1): Likewise.
54701 (__strcspn_c2): Likewise.
54702 (__strcspn_c3): Likewise.
54703 (__strspn_c1): Likewise.
54704 (__strspn_c2): Likewise.
54705 (__strspn_c3): Likewise.
54706 (__strsep_1c): Likewise.
54707 (__strsep_2c): Likewise.
54708 (__strsep_3c): Likewise.
54709 * string/memccpy.c (__memccpy): Likewise.
54710 * string/stpcpy.c (__stpcpy): Likewise.
54711 * string/strcmp.c (strcmp): Likewise.
54712 * string/strrchr.c (strrchr): Likewise.
54713 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54714 Likewise.
54715 * sysdeps/mach/hurd/getcwd.c
54716 (_hurd_canonicalize_directory_name_internal): Likewise.
54717 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54718 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54719 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54720 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54721 Likewise, in both definitions.
54722 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54723 definitions.
54724 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54725 64] (__bswap_64): Likewise.
54726 * time/test_time.c (main): Likewise.
54727 * time/tzfile.c (__tzfile_read): Likewise.
54728 (__tzfile_compute): Likewise.
54729 * time/tzset.c (__tzset_parse_tz): Likewise.
54730 (tzset_internal): Likewise.
54731 (compute_change): Likewise.
54732 * wcsmbs/wcscat.c (__wcscat): Likewise.
54733 * wcsmbs/wcschr.c (wcschr): Likewise.
54734 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54735 * wcsmbs/wcscspn.c (wcscspn): Likewise.
54736 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54737 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54738 * wcsmbs/wcsspn.c (wcsspn): Likewise.
54739 * wcsmbs/wcsstr.c (wcsstr): Likewise.
54740 * wcsmbs/wmemchr.c (wmemchr): Likewise.
54741 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54742 * wcsmbs/wmemset.c (wmemset): Likewise.
54743
54744 2013-06-06 Joseph Myers <joseph@codesourcery.com>
54745
54746 * scripts/config.guess: Update to version 2013-05-16.
54747 * scripts/config.sub: Update to version 2013-04-24.
54748 * scripts/install-sh: Update to version 2011-11-20.07.
54749 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54750 * scripts/move-if-change: Update to version 2012-01-06 07:23.
54751
54752 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
54753
54754 * debug/fgetws_u_chk.c: Fix leading whitespaces.
54755 * elf/sln.c: Likewise.
54756 * hurd/hurd/ioctl.h: Likewise.
54757 * hurd/hurdmalloc.c: Likewise.
54758 * hurd/xattr.c: Likewise.
54759 * include/shlib-compat.h: Likewise.
54760 * inet/ruserpass.c: Likewise.
54761 * libio/iofgets_u.c: Likewise.
54762 * libio/iofgetws_u.c: Likewise.
54763 * locale/programs/ld-identification.c: Likewise.
54764 * locale/programs/ld-time.c: Likewise.
54765 * mach/msg-destroy.c: Likewise.
54766 * nss/nss_files/files-netgrp.c: Likewise.
54767 * resolv/res_data.c: Likewise.
54768 * soft-fp/op-1.h: Likewise.
54769 * soft-fp/op-2.h: Likewise.
54770 * soft-fp/op-4.h: Likewise.
54771 * soft-fp/op-common.h: Likewise.
54772 * stdio-common/printf_fphex.c: Likewise.
54773 * stdlib/strtod_l.c: Likewise.
54774 * sunrpc/rpc/clnt.h: Likewise.
54775 * sysdeps/generic/framestate.c: Likewise.
54776 * sysdeps/i386/bsd-_setjmp.S: Likewise.
54777 * sysdeps/i386/bsd-setjmp.S: Likewise.
54778 * sysdeps/i386/__longjmp.S: Likewise.
54779 * sysdeps/i386/setjmp.S: Likewise.
54780 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54781 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54782 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54783 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54785 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54789 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54790 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54791 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54792 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54793 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54794 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54795 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54796 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54797 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54798 * sysdeps/ieee754/support.c: Likewise.
54799 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54800 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54801 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54802 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54803 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54804 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54805 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54806 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54807 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54808 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54809 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54810 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54811 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54812 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54813 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54814 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54815 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54817
54818 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
54819
54820 * posix/transbug.c: Remove executable mode.
54821
54822 2013-06-05 Joseph Myers <joseph@codesourcery.com>
54823
54824 * crypt/speeds.c: Remove trailing whitespace.
54825 * dlfcn/default.c: Likewise.
54826 * elf/ifuncdep2.c: Likewise.
54827 * elf/ifuncmain1.c: Likewise.
54828 * elf/ifuncmain1vis.c: Likewise.
54829 * elf/testobj.h: Likewise.
54830 * elf/tst-stackguard1.c: Likewise.
54831 * gmon/sys/gmon.h: Likewise.
54832 * hurd/hurdmsg.c: Likewise.
54833 * hurd/new-fd.c: Likewise.
54834 * hurd/ports-get.c: Likewise.
54835 * iconvdata/ibm1008_420.c: Likewise.
54836 * inet/tst-getni1.c: Likewise.
54837 * inet/tst-getni2.c: Likewise.
54838 * libio/ioungetc.c: Likewise.
54839 * libio/wfiledoalloc.c: Likewise.
54840 * manual/libm-err-tab.pl: Likewise.
54841 * math/w_dremf.c: Likewise.
54842 * misc/ftruncate.c: Likewise.
54843 * posix/bug-glob2.c: Likewise.
54844 * posix/tst-pcre.c: Likewise.
54845 * posix/wait4.c: Likewise.
54846 * resolv/README: Likewise.
54847 * resolv/res_debug.h: Likewise.
54848 * resolv/tst-inet_ntop.c: Likewise.
54849 * setjmp/bug269-setjmp.c: Likewise.
54850 * soft-fp/extended.h: Likewise.
54851 * soft-fp/op-1.h: Likewise.
54852 * soft-fp/op-2.h: Likewise.
54853 * soft-fp/op-4.h: Likewise.
54854 * soft-fp/op-8.h: Likewise.
54855 * soft-fp/testit.c: Likewise.
54856 * stdio-common/bug16.c: Likewise.
54857 * stdlib/random.c: Likewise.
54858 * sunrpc/rpcsvc/rquota.x: Likewise.
54859 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54860 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54862 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54863 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54864 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54865 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54866 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54867 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54868 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54869 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54870 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54872 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54873 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54874 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54875 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54876 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54877 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54880 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54881 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54882 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54883 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54884 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54885 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54886 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54888 * sysdeps/ieee754/s_lib_version.c: Likewise.
54889 * sysdeps/mach/hurd/check_fds.c: Likewise.
54890 * sysdeps/mach/hurd/getsockname.c: Likewise.
54891 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54892 * sysdeps/mach/hurd/recvfrom.c: Likewise.
54893 * sysdeps/powerpc/bits/link.h: Likewise.
54894 * sysdeps/powerpc/dl-procinfo.c: Likewise.
54895 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54896 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54897 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54898 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54899 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54900 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54901 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54902 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54903 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54904 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54905 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54906 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54907 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54908 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54909 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54910 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54911 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54913 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54914 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54915 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54916 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54917 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54918 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54919 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54921 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54922 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54926 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54927 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54928 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54929 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54930 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54931 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54932 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54933 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54934 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54935 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54936 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54937 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54938 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54939 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54940 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54941 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54942 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54943 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54944 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54946 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54947 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54948 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54949 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54950 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54951 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54952 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54953 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54954 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54955 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54956 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54957 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54958 * sysdeps/powerpc/sysdep.h: Likewise.
54959 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54960 * sysdeps/s390/s390-64/sub_n.S: Likewise.
54961 * sysdeps/sh/dl-trampoline.S: Likewise.
54962 * sysdeps/sh/memset.S: Likewise.
54963 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54964 * sysdeps/sh/strlen.S: Likewise.
54965 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54966 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54967 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54968 * sysdeps/sparc/sparc32/rem.S: Likewise.
54969 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54970 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54971 * sysdeps/sparc/sparc32/strchr.S: Likewise.
54972 * sysdeps/sparc/sparc32/udiv.S: Likewise.
54973 * sysdeps/sparc/sparc32/urem.S: Likewise.
54974 * sysdeps/sparc/sparc64/add_n.S: Likewise.
54975 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54976 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54977 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54978 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54979 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54980 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54981 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54982 * sysdeps/unix/bsd/times.c: Likewise.
54983 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54984 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54988 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54989 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54990 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54991 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54992 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54993 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54994 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54995 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54996 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54997 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54998 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54999 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55000 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55001 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55002 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55003 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55004 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55005 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55006 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55007 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55008 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55009 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55010 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55011 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55012 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55013 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55014 * sysdeps/x86_64/strcspn.S: Likewise.
55015
55016 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55017
55018 * locale/C-translit.h: Revert #include <stdint.h> because this is a
55019 generated file. Regenerate properly from gen-translit.pl.
55020 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
55021 locale/C-translit.h.
55022
55023 2013-06-05 Andreas Schwab <schwab@suse.de>
55024
55025 [BZ #15100]
55026 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55027 week as 6 instead of -1.
55028 * time/tst-strptime.c (day_tests): Add test case.
55029
55030 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55031
55032 * sysdeps/generic/math_private.h
55033 (libc_feholdexcept_setround_53bit): Replace with
55034 libc_feholdsetround_53bit.
55035 (libc_feupdateenv_53bit): Replace with
55036 libc_feresetround_53bit.
55037 (SET_RESTORE_ROUND_53BIT): Adjust.
55038
55039 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55040
55041 * string/test-strchrnul.c: Add copyright header.
55042
55043 * posix/tst-getaddrinfo4.c: Increase test timeout.
55044
55045 2013-06-03 Carlos O'Donell <carlos@redhat.com>
55046
55047 [BZ #15536]
55048 * math/libm-test.inc (MAX_EXP): Remove
55049 (MIN_EXP): Define.
55050 (ulp): Use MIN_EXP - MANT_DIG.
55051 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55052
55053 2013-05-31 Carlos O'Donell <carlos@redhat.com>
55054
55055 * po/be.po: Revert last change.
55056 * po/zh_CN.po: Likewise.
55057 * po/header.pot: Likewise.
55058
55059 2013-05-31 Joseph Myers <joseph@codesourcery.com>
55060
55061 * Makefile ($(common-objpfx)linkobj/libc.so): Define
55062 link-libc-deps to empty as target-specific variable.
55063 * Makerules (link-libc-args): New variable.
55064 (libc-for-link): Likewise.
55065 (link-libc-deps): Likewise.
55066 (lib%.so): Depend on $(link-libc-deps). Link with
55067 $(link-libc-args).
55068 (build-module): Link with $(link-libc-args).
55069 (build-module-asneeded): Likewise.
55070 (build-module-helper-objlist): Filter out $(link-libc-deps) from
55071 list of objects.
55072 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55073 target-specific variable.
55074 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55075 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55076 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55077 libc.
55078 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55079 libc and ld.so.
55080 ($(objpfx)libpcprofile.so): Likewise.
55081 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55082 libc_nonshared.a.
55083 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55084 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55085 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55086 $(link-libc-deps).
55087 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55088 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55089 * login/Makefile ($(objpfx)libutil.so): Likewise.
55090 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55091 * math/Makefile ($(objpfx)libm.so): Likewise.
55092 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55093 $(objpfx)libnsl.so): Define libc-for-link as target-specific
55094 variable instead of depending directly on libc.
55095 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55096 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55097 $(link-libc-deps).
55098 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55099 libc.
55100 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55101 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55102 ($(objpfx)libanl.so): Likewise.
55103 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55104 ld.so.
55105 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55106 $(link-libc-deps).
55107 * sysdeps/i386/fpu/Makefile: Remove file.
55108 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55109 ($(objpfx)libm.so): Remove dependency on ld.so.
55110
55111 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
55112
55113 [BZ # 15553]
55114 * nis/yp_xdr.c (XDRMAXNAME): Define.
55115 (XDRMAXRECORD): Define.
55116 (xdr_domainname): Use XDRMAXNAME.
55117 (xdr_mapname): Likewise.
55118 (xdr_peername): Likewise.
55119 (xdr_keydat): Use XDRMAXRECORD.
55120 (xdr_valdat): Likewise.
55121
55122 2013-05-30 Jeff Law <law@redhat.com>
55123
55124 [BZ #14256]
55125 * manual/errno.texi (ESTALE): Update to account for more than
55126 just NFS file systems.
55127 * sysdeps/gnu/errlist.c: Regenerated.
55128
55129 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55130
55131 [BZ #15465]
55132 * elf/Makefile (tests): Add tst-null-argv.
55133 (modules-names): Add tst-null-argv-lib.
55134 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55135 (tst-null-argv-ENV): Set environment for tst-null-argv.
55136 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55137 (RTLD_PROGNAME): New macro.
55138 * elf/tst-null-argv.c: New test case.
55139 * elf/tst-null-argv-lib.c: Library for test case.
55140 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55141 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55142 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55143 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55144 * elf/dl-init.c (call_init): Likewise.
55145 (_dl_init): Likewise.
55146 * elf/dl-load.c (print_search_path): Likewise.
55147 (_dl_map_object): Likewise.
55148 * elf/dl-lookup.c (do_lookup_x): Likewise.
55149 (add_dependency): Likewise.
55150 (_dl_lookup_symbol_x): Likewise.
55151 (_dl_debug_bindings): Likewise.
55152 * elf/dl-open.c (_dl_show_scope): Likewise.
55153 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55154 * elf/dl-version.c (match_symbol): Likewise.
55155 (_dl_check_map_versions): Likewise.
55156 * elf/rtld.c (dl_main): Likewise.
55157 (print_unresolved): Use RTLD_PROGNAME.
55158 (print_missing_version): Likewise.
55159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55160 (elf_machine_rela): Likewise.
55161 * sysdeps/powerpc/powerpc32/dl-machine.c
55162 (__process_machine_rela): Likewise.
55163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55164 Likewise.
55165 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55166 Likewise.
55167 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55168 Likewise.
55169 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55171 Likewise.
55172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55173 Likewise.
55174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55175
55176 2013-05-28 Carlos O'Donell <carlos@redhat.com>
55177
55178 * po/be.po: Add descriptive title.
55179 * po/zh_CN.po: Likewise.
55180 * po/header.pot: Likewise.
55181
55182 2013-05-28 Mike Frysinger <vapier@gentoo.org>
55183
55184 * locale/programs/locarchive.c (create_archive): Inlucde fname in
55185 error message.
55186 (enlarge_archive): Likewise.
55187
55188 2013-05-28 Ben North <ben@redfrontdoor.org>
55189
55190 * manual/arith.texi (frexp): It is the magnitude of the return
55191 value which lies in [0.5, 1), not the return value itself.
55192
55193 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55194
55195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55196
55197 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
55198
55199 * stdio-common/bug26.c (main): Correct fscanf template.
55200
55201 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55202 declare _dl_skip_args.
55203
55204 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55205 Don't declare.
55206
55207 * manual/platform.texi: Add missing @end deftypefun.
55208
55209 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55210
55211 [BZ #15529]
55212 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55213 bit of mantissa of 2^16382.
55214 * math/libm-test.inc (hypot_test_data): Add more tests.
55215
55216 * math/libm-test.inc: Add drem and pow10 to list of tested
55217 functions.
55218 (pow10_test): New function.
55219 (drem_test): Likewise.
55220 (drem_test_tonearest): Likewise.
55221 (drem_test_towardzero): Likewise.
55222 (drem_test_downward): Likewise.
55223 (drem_test_upward): Likewise.
55224 (main): Call the new functions.
55225
55226 * math/libm-test.inc (finite_test_data): Remove.
55227 (finite_test): Run tests from isfinite_test_data.
55228 (gamma_test_data): Remove.
55229 (gamma_test): Run tests from lgamma_test_data.
55230 * sysdeps/i386/fpu/libm-test-ulps: Update.
55231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55232
55233 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55234
55235 * manual/platform.texi: Add PowerPC PPR function set documentation.
55236 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55237 implementation.
55238
55239 2013-05-24 Carlos O'Donell <carlos@redhat.com>
55240
55241 * math/libm-test.inc (MAX_EXP): Define.
55242 (ULPDIFF): Define.
55243 (ulp): New function.
55244 (check_float_internal): Use ULPDIFF.
55245 (cpow_test): Disable failing test.
55246 (check_ulp): Test ulp() implementation.
55247 (main): Call check_ulp before starting tests.
55248
55249 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55250
55251 * math/gen-libm-test.pl (generate_testfile): Do not handle
55252 START_DATA and END_DATA.
55253 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55254 END_DATA.
55255 (acos_tonearest_test_data): Likewise.
55256 (acos_towardzero_test_data): Likewise.
55257 (acos_downward_test_data): Likewise.
55258 (acos_upward_test_data): Likewise.
55259 (acosh_test_data): Likewise.
55260 (asin_test_data): Likewise.
55261 (asin_tonearest_test_data): Likewise.
55262 (asin_towardzero_test_data): Likewise.
55263 (asin_downward_test_data): Likewise.
55264 (asin_upward_test_data): Likewise.
55265 (asinh_test_data): Likewise.
55266 (atan_test_data): Likewise.
55267 (atanh_test_data): Likewise.
55268 (atan2_test_data): Likewise.
55269 (cabs_test_data): Likewise.
55270 (cacos_test_data): Likewise.
55271 (cacosh_test_data): Likewise.
55272 (carg_test_data): Likewise.
55273 (casin_test_data): Likewise.
55274 (casinh_test_data): Likewise.
55275 (catan_test_data): Likewise.
55276 (catanh_test_data): Likewise.
55277 (cbrt_test_data): Likewise.
55278 (ccos_test_data): Likewise.
55279 (ccosh_test_data): Likewise.
55280 (ceil_test_data): Likewise.
55281 (cexp_test_data): Likewise.
55282 (cimag_test_data): Likewise.
55283 (clog_test_data): Likewise.
55284 (clog10_test_data): Likewise.
55285 (conj_test_data): Likewise.
55286 (copysign_test_data): Likewise.
55287 (cos_test_data): Likewise.
55288 (cos_tonearest_test_data): Likewise.
55289 (cos_towardzero_test_data): Likewise.
55290 (cos_downward_test_data): Likewise.
55291 (cos_upward_test_data): Likewise.
55292 (cosh_test_data): Likewise.
55293 (cosh_tonearest_test_data): Likewise.
55294 (cosh_towardzero_test_data): Likewise.
55295 (cosh_downward_test_data): Likewise.
55296 (cosh_upward_test_data): Likewise.
55297 (cpow_test_data): Likewise.
55298 (cproj_test_data): Likewise.
55299 (creal_test_data): Likewise.
55300 (csin_test_data): Likewise.
55301 (csinh_test_data): Likewise.
55302 (csqrt_test_data): Likewise.
55303 (ctan_test_data): Likewise.
55304 (ctan_tonearest_test_data): Likewise.
55305 (ctan_towardzero_test_data): Likewise.
55306 (ctan_downward_test_data): Likewise.
55307 (ctan_upward_test_data): Likewise.
55308 (ctanh_test_data): Likewise.
55309 (ctanh_tonearest_test_data): Likewise.
55310 (ctanh_towardzero_test_data): Likewise.
55311 (ctanh_downward_test_data): Likewise.
55312 (ctanh_upward_test_data): Likewise.
55313 (erf_test_data): Likewise.
55314 (erfc_test_data): Likewise.
55315 (exp_test_data): Likewise.
55316 (exp_tonearest_test_data): Likewise.
55317 (exp_towardzero_test_data): Likewise.
55318 (exp_downward_test_data): Likewise.
55319 (exp_upward_test_data): Likewise.
55320 (exp10_test_data): Likewise.
55321 (exp2_test_data): Likewise.
55322 (expm1_test_data): Likewise.
55323 (fabs_test_data): Likewise.
55324 (fdim_test_data): Likewise.
55325 (finite_test_data): Likewise.
55326 (floor_test_data): Likewise.
55327 (fma_test_data): Likewise.
55328 (fma_towardzero_test_data): Likewise.
55329 (fma_downward_test_data): Likewise.
55330 (fma_upward_test_data): Likewise.
55331 (fmax_test_data): Likewise.
55332 (fmin_test_data): Likewise.
55333 (fmod_test_data): Likewise.
55334 (fpclassify_test_data): Likewise.
55335 (frexp_test_data): Likewise.
55336 (gamma_test_data): Likewise.
55337 (hypot_test_data): Likewise.
55338 (ilogb_test_data): Likewise.
55339 (isfinite_test_data): Likewise.
55340 (isgreater_test_data): Likewise.
55341 (isgreaterequal_test_data): Likewise.
55342 (isinf_test_data): Likewise.
55343 (isless_test_data): Likewise.
55344 (islessequal_test_data): Likewise.
55345 (islessgreater_test_data): Likewise.
55346 (isnan_test_data): Likewise.
55347 (isnormal_test_data): Likewise.
55348 (issignaling_test_data): Likewise.
55349 (isunordered_test_data): Likewise.
55350 (j0_test_data): Likewise.
55351 (j1_test_data): Likewise.
55352 (jn_test_data): Likewise.
55353 (ldexp_test_data): Likewise.
55354 (lgamma_test_data): Likewise.
55355 (lrint_test_data): Likewise.
55356 (lrint_tonearest_test_data): Likewise.
55357 (lrint_towardzero_test_data): Likewise.
55358 (lrint_downward_test_data): Likewise.
55359 (lrint_upward_test_data): Likewise.
55360 (llrint_test_data): Likewise.
55361 (llrint_tonearest_test_data): Likewise.
55362 (llrint_towardzero_test_data): Likewise.
55363 (llrint_downward_test_data): Likewise.
55364 (llrint_upward_test_data): Likewise.
55365 (log_test_data): Likewise.
55366 (log10_test_data): Likewise.
55367 (log1p_test_data): Likewise.
55368 (log2_test_data): Likewise.
55369 (logb_test_data): Likewise.
55370 (logb_downward_test_data): Likewise.
55371 (lround_test_data): Likewise.
55372 (llround_test_data): Likewise.
55373 (modf_test_data): Likewise.
55374 (nearbyint_test_data): Likewise.
55375 (nextafter_test_data): Likewise.
55376 (nexttoward_test_data): Likewise.
55377 (pow_test_data): Likewise.
55378 (pow_tonearest_test_data): Likewise.
55379 (pow_towardzero_test_data): Likewise.
55380 (pow_downward_test_data): Likewise.
55381 (pow_upward_test_data): Likewise.
55382 (remainder_test_data): Likewise.
55383 (remainder_tonearest_test_data): Likewise.
55384 (remainder_towardzero_test_data): Likewise.
55385 (remainder_downward_test_data): Likewise.
55386 (remainder_upward_test_data): Likewise.
55387 (remquo_test_data): Likewise.
55388 (rint_test_data): Likewise.
55389 (rint_tonearest_test_data): Likewise.
55390 (rint_towardzero_test_data): Likewise.
55391 (rint_downward_test_data): Likewise.
55392 (rint_upward_test_data): Likewise.
55393 (round_test_data): Likewise.
55394 (scalb_test_data): Likewise.
55395 (scalbn_test_data): Likewise.
55396 (scalbln_test_data): Likewise.
55397 (signbit_test_data): Likewise.
55398 (sin_test_data): Likewise.
55399 (sin_tonearest_test_data): Likewise.
55400 (sin_towardzero_test_data): Likewise.
55401 (sin_downward_test_data): Likewise.
55402 (sin_upward_test_data): Likewise.
55403 (sincos_test_data): Likewise.
55404 (sinh_test_data): Likewise.
55405 (sinh_tonearest_test_data): Likewise.
55406 (sinh_towardzero_test_data): Likewise.
55407 (sinh_downward_test_data): Likewise.
55408 (sinh_upward_test_data): Likewise.
55409 (sqrt_test_data): Likewise.
55410 (tan_test_data): Likewise.
55411 (tan_tonearest_test_data): Likewise.
55412 (tan_towardzero_test_data): Likewise.
55413 (tan_downward_test_data): Likewise.
55414 (tan_upward_test_data): Likewise.
55415 (tanh_test_data): Likewise.
55416 (tgamma_test_data): Likewise.
55417 (trunc_test_data): Likewise.
55418 (y0_test_data): Likewise.
55419 (y1_test_data): Likewise.
55420 (yn_test_data): Likewise.
55421 (significand_test_data): Likewise.
55422
55423 * math/gen-libm-test.pl (@functions): Remove variable.
55424 (generate_testfile): Don't handle START and END lines.
55425 * math/libm-test.inc (START): New macro.
55426 (END): Likewise.
55427 (END_COMPLEX): Likewise.
55428 (acos_test): Use END macro without arguments.
55429 (acos_test_tonearest): Likewise.
55430 (acos_test_towardzero): Likewise.
55431 (acos_test_downward): Likewise.
55432 (acos_test_upward): Likewise.
55433 (acosh_test): Likewise.
55434 (asin_test): Likewise.
55435 (asin_test_tonearest): Likewise.
55436 (asin_test_towardzero): Likewise.
55437 (asin_test_downward): Likewise.
55438 (asin_test_upward): Likewise.
55439 (asinh_test): Likewise.
55440 (atan_test): Likewise.
55441 (atanh_test): Likewise.
55442 (atan2_test): Likewise.
55443 (cabs_test): Likewise.
55444 (cacos_test): Use END_COMPLEX macro without arguments.
55445 (cacosh_test): Likewise.
55446 (carg_test): Use END macro without arguments.
55447 (casin_test): Use END_COMPLEX macro without arguments.
55448 (casinh_test): Likewise.
55449 (catan_test): Likewise.
55450 (catanh_test): Likewise.
55451 (cbrt_test): Use END macro without arguments.
55452 (ccos_test): Use END_COMPLEX macro without arguments.
55453 (ccosh_test): Likewise.
55454 (ceil_test): Use END macro without arguments.
55455 (cexp_test): Use END_COMPLEX macro without arguments.
55456 (cimag_test): Use END macro without arguments.
55457 (clog_test): Use END_COMPLEX macro without arguments.
55458 (clog10_test): Likewise.
55459 (conj_test): Likewise.
55460 (copysign_test): Use END macro without arguments.
55461 (cos_test): Likewise.
55462 (cos_test_tonearest): Likewise.
55463 (cos_test_towardzero): Likewise.
55464 (cos_test_downward): Likewise.
55465 (cos_test_upward): Likewise.
55466 (cosh_test): Likewise.
55467 (cosh_test_tonearest): Likewise.
55468 (cosh_test_towardzero): Likewise.
55469 (cosh_test_downward): Likewise.
55470 (cosh_test_upward): Likewise.
55471 (cpow_test): Use END_COMPLEX macro without arguments.
55472 (cproj_test): Likewise.
55473 (creal_test): Use END macro without arguments.
55474 (csin_test): Use END_COMPLEX macro without arguments.
55475 (csinh_test): Likewise.
55476 (csqrt_test): Likewise.
55477 (ctan_test): Likewise.
55478 (ctan_test_tonearest): Likewise.
55479 (ctan_test_towardzero): Likewise.
55480 (ctan_test_downward): Likewise.
55481 (ctan_test_upward): Likewise.
55482 (ctanh_test): Likewise.
55483 (ctanh_test_tonearest): Likewise.
55484 (ctanh_test_towardzero): Likewise.
55485 (ctanh_test_downward): Likewise.
55486 (ctanh_test_upward): Likewise.
55487 (erf_test): Use END macro without arguments.
55488 (erfc_test): Likewise.
55489 (exp_test): Likewise.
55490 (exp_test_tonearest): Likewise.
55491 (exp_test_towardzero): Likewise.
55492 (exp_test_downward): Likewise.
55493 (exp_test_upward): Likewise.
55494 (exp10_test): Likewise.
55495 (exp2_test): Likewise.
55496 (expm1_test): Likewise.
55497 (fabs_test): Likewise.
55498 (fdim_test): Likewise.
55499 (finite_test): Likewise.
55500 (floor_test): Likewise.
55501 (fma_test): Likewise.
55502 (fma_test_towardzero): Likewise.
55503 (fma_test_downward): Likewise.
55504 (fma_test_upward): Likewise.
55505 (fmax_test): Likewise.
55506 (fmin_test): Likewise.
55507 (fmod_test): Likewise.
55508 (fpclassify_test): Likewise.
55509 (frexp_test): Likewise.
55510 (gamma_test): Likewise.
55511 (hypot_test): Likewise.
55512 (ilogb_test): Likewise.
55513 (isfinite_test): Likewise.
55514 (isgreater_test): Likewise.
55515 (isgreaterequal_test): Likewise.
55516 (isinf_test): Likewise.
55517 (isless_test): Likewise.
55518 (islessequal_test): Likewise.
55519 (islessgreater_test): Likewise.
55520 (isnan_test): Likewise.
55521 (isnormal_test): Likewise.
55522 (issignaling_test): Likewise.
55523 (isunordered_test): Likewise.
55524 (j0_test): Likewise.
55525 (j1_test): Likewise.
55526 (jn_test): Likewise.
55527 (ldexp_test): Likewise.
55528 (lgamma_test): Likewise.
55529 (lrint_test): Likewise.
55530 (lrint_test_tonearest): Likewise.
55531 (lrint_test_towardzero): Likewise.
55532 (lrint_test_downward): Likewise.
55533 (lrint_test_upward): Likewise.
55534 (llrint_test): Likewise.
55535 (llrint_test_tonearest): Likewise.
55536 (llrint_test_towardzero): Likewise.
55537 (llrint_test_downward): Likewise.
55538 (llrint_test_upward): Likewise.
55539 (log_test): Likewise.
55540 (log10_test): Likewise.
55541 (log1p_test): Likewise.
55542 (log2_test): Likewise.
55543 (logb_test): Likewise.
55544 (logb_test_downward): Likewise.
55545 (lround_test): Likewise.
55546 (llround_test): Likewise.
55547 (modf_test): Likewise.
55548 (nearbyint_test): Likewise.
55549 (nextafter_test): Likewise.
55550 (nexttoward_test): Likewise.
55551 (pow_test): Likewise.
55552 (pow_test_tonearest): Likewise.
55553 (pow_test_towardzero): Likewise.
55554 (pow_test_downward): Likewise.
55555 (pow_test_upward): Likewise.
55556 (remainder_test): Likewise.
55557 (remainder_test_tonearest): Likewise.
55558 (remainder_test_towardzero): Likewise.
55559 (remainder_test_downward): Likewise.
55560 (remainder_test_upward): Likewise.
55561 (remquo_test): Likewise.
55562 (rint_test): Likewise.
55563 (rint_test_tonearest): Likewise.
55564 (rint_test_towardzero): Likewise.
55565 (rint_test_downward): Likewise.
55566 (rint_test_upward): Likewise.
55567 (round_test): Likewise.
55568 (scalb_test): Likewise.
55569 (scalbn_test): Likewise.
55570 (scalbln_test): Likewise.
55571 (signbit_test): Likewise.
55572 (sin_test): Likewise.
55573 (sin_test_tonearest): Likewise.
55574 (sin_test_towardzero): Likewise.
55575 (sin_test_downward): Likewise.
55576 (sin_test_upward): Likewise.
55577 (sincos_test): Likewise.
55578 (sinh_test): Likewise.
55579 (sinh_test_tonearest): Likewise.
55580 (sinh_test_towardzero): Likewise.
55581 (sinh_test_downward): Likewise.
55582 (sinh_test_upward): Likewise.
55583 (sqrt_test): Likewise.
55584 (tan_test): Likewise.
55585 (tan_test_tonearest): Likewise.
55586 (tan_test_towardzero): Likewise.
55587 (tan_test_downward): Likewise.
55588 (tan_test_upward): Likewise.
55589 (tanh_test): Likewise.
55590 (tgamma_test): Likewise.
55591 (trunc_test): Likewise.
55592 (y0_test): Likewise.
55593 (y1_test): Likewise.
55594 (yn_test): Likewise.
55595 (significand_test): Likewise.
55596
55597 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55598
55599 [BZ #15381]
55600 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55601
55602 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55603
55604 [BZ #14894]
55605 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55606 __ppc_mdoio and __ppc_mdoom.
55607 * manual/platform.texi: Document new functions __ppc_yield,
55608 __ppc_mdoio and __ppc_mdoom.
55609
55610 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55611
55612 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55613 (main): Mention "tls" pseudo-hwcap is legacy.
55614 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55615
55616 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55617
55618 * math/gen-libm-test.pl (parse_args): Output only string of
55619 arguments as text for test name, not full call or descriptions of
55620 tests for extra outputs.
55621 (generate_testfile): Do not pass function name to parse_args.
55622 Generate this_func variable from START.
55623 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55624 field to arg_str.
55625 (struct test_ff_f_data): Likewise.
55626 (test_ff_f_data_nexttoward): Likewise.
55627 (struct test_fi_f_data): Likewise.
55628 (struct test_fl_f_data): Likewise.
55629 (struct test_if_f_data): Likewise.
55630 (struct test_fff_f_data): Likewise.
55631 (struct test_c_f_data): Likewise.
55632 (struct test_f_f1_data): Likewise. Remove field extra_name.
55633 (struct test_fF_f1_data): Likewise.
55634 (struct test_ffI_f1_data): Likewise.
55635 (struct test_c_c_data): Rename test_name field to arg_str.
55636 (struct test_cc_c_data): Likewise.
55637 (struct test_f_i_data): Likewise.
55638 (struct test_ff_i_data): Likewise.
55639 (struct test_f_l_data): Likewise.
55640 (struct test_f_L_data): Likewise.
55641 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55642 and extra2_name.
55643 (COMMON_TEST_SETUP): New macro.
55644 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55645 (COMMON_TEST_CLEANUP): Likewise.
55646 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55647 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55648 macros.
55649 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55650 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55651 macros.
55652 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55653 (RUN_TEST_fff_f): Take argument string. Call new setup and
55654 cleanup macros.
55655 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55656 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55657 macros.
55658 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55659 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55660 macros.
55661 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55662 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55663 cleanup macros.
55664 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55665 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55666 cleanup macros.
55667 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55668 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55669 cleanup macros.
55670 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55671 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55672 macros.
55673 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55674 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55675 macros.
55676 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55677 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55678 macros.
55679 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55680 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55681 cleanup macros.
55682 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55683 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55684 cleanup macros.
55685 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55686 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
55687 macros.
55688 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55689 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
55690 cleanup macros.
55691 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55692 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
55693 macros.
55694 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55695 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
55696 macros.
55697 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55698 (RUN_TEST_fFF_11): Take argument string. Call new setup and
55699 cleanup macros.
55700 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55701
55702 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
55703
55704 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55705 to _sifields.sigfault.
55706 (si_addr_lsb): Define new macro.
55707 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55708 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55709 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55710
55711 2013-05-03 Carlos O'Donell <carlos at redhat.com>
55712
55713 [BZ #15441]
55714 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55715 returns -1.
55716 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55717 null return -1.
55718 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55719 loading the domain.
55720
55721 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55722
55723 * math/gen-libm-test.pl (parse_args): Do not include expected
55724 result in test name.
55725 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55726 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55727 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55728 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55729 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55731
55732 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55733
55734 * benchtests/Makefile: Sort function entries.
55735
55736 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55737 tanh, asinh, acosh, atanh.
55738 * benchtests/acos-inputs: New file.
55739 * benchtests/acosh-inputs: New file.
55740 * benchtests/asin-inputs: New file.
55741 * benchtests/asinh-inputs: New file.
55742 * benchtests/atanh-inputs: New file.
55743 * benchtests/cosh-inputs: New file.
55744 * benchtests/log-inputs: New file.
55745 * benchtests/sinh-inputs: New file.
55746 * benchtests/tanh-inputs: New file.
55747
55748 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
55749
55750 [BZ #15339]
55751 * posix/tst-getaddrinfo4.c: New test.
55752 * posix/Makefile (tests): Add it.
55753
55754 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55755
55756 [BZ #15339]
55757 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55758 when no services were used.
55759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55760 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55761
55762 2013-05-21 Andreas Schwab <schwab@suse.de>
55763
55764 [BZ #15014]
55765 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55766 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55767 successful.
55768 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55769 redundant variable declarations and reallocation of buffer when
55770 parsing as IPv6 address. Always set NSS status when called from
55771 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
55772 buffer too small. Correct computation of needed size.
55773 * nss/Makefile (tests): Add test-digits-dots.
55774 * nss/test-digits-dots.c: New test.
55775
55776 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55777
55778 * benchtests/Makefile: Remove instructions for adding
55779 benchmark tests.
55780 * benchtests/README: New file to explain how to execute and
55781 enhance the benchmark tests.
55782
55783 2013-05-21 Andreas Schwab <schwab@suse.de>
55784
55785 [BZ #15493]
55786 * setjmp/Makefile (tests): Add tst-sigsetjmp.
55787 * setjmp/tst-sigsetjmp.c: New test.
55788
55789 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55790
55791 * sysdeps/x86_64/memset.S (memset): New implementation.
55792 (__bzero): Likewise.
55793 (__memset_tail): New function.
55794
55795 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55796
55797 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55798 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55799 __memcpy_sse2_unaligned ifunc selection.
55800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55801 Add memcpy-sse2-unaligned.S.
55802 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55803 Add: __memcpy_sse2_unaligned.
55804
55805 2013-05-19 Joseph Myers <joseph@codesourcery.com>
55806
55807 [BZ #15490]
55808 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55809 math_force_eval before restoring floating-point envrionment.
55810 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55811 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55812 Likewise.
55813 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55814 <math_private.h>.
55815 (__nearbyintl): Use math_force_eval before restoring
55816 floating-point environment.
55817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55818
55819 * math/gen-libm-test.pl (special_functions): Remove.
55820 (parse_args): Don't handle TEST_extra. Handle functions with no
55821 return value.
55822 * math/libm-test.inc (struct test_sincos_data): Replace with
55823 struct test_fFF_11_data.
55824 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55825 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55826 (sincos_test_data): Change element type to struct
55827 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
55828 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55829 RUN_TEST_LOOP_sincos.
55830 * math/README.libm-test: Don't mention special handling of
55831 individual functions.
55832 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55834 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55835 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55836 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55838
55839 * math/gen-libm-test.pl (get_variable): Remove function.
55840 (parse_args): Don't show pointer parameters to call in test
55841 names. Use "extra output N" in test names for extra outputs
55842 rather than naming variables.
55843
55844 2013-05-18 Joseph Myers <joseph@codesourcery.com>
55845
55846 [BZ #15488]
55847 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55848 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55849 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55850 double tests.
55851 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55852 disable.
55853 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55854 check_long_double.
55855
55856 * math/gen-libm-test.pl (@tests): Remove variable.
55857 ($count): Likewise.
55858 (new_test): Remove function.
55859 (show_exceptions): New function.
55860 (special_functions): Use show_exceptions instead of new_test.
55861 (parse_args): Likewise.
55862 (generate_testfile): Pass only function name in generated call to
55863 print_max_error or print_complex_max_error.
55864 (get_ulps): Do not handle complex tests specially.
55865 (output_test): Rename to ...
55866 (get_all_ulps_for_test): ... this. Return a string rather than
55867 printing to a file. Require ulps to be present.
55868 (output_ulps): Generate arrays rather than #defines.
55869 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55870 (struct ulp_data): New type.
55871 (BUILD_COMPLEX_ULP): Remove macro.
55872 (compare_ulp_data): New function.
55873 (find_ulps): Likewise.
55874 (find_test_ulps): Likewise.
55875 (find_function_ulps): Likewise.
55876 (find_complex_function_ulps): Likewise.
55877 (print_max_error): Determine allowed ulps using
55878 find_function_ulps.
55879 (print_complex_max_error): Determine allowed ulps using
55880 find_complex_function_ulps.
55881 (check_float_internal): Determine max ulps using find_test_ulps.
55882 (check_float): Do not take max_ulp parameter. Update call to
55883 check_float_internal.
55884 (check_complex): Likewise.
55885 (check_int): Do not take max_ulp parameter.
55886 (check_long): Likewise.
55887 (check_bool): Likewise.
55888 (check_longlong): Likewise.
55889 (struct test_f_f_data): Remove max_ulp field.
55890 (struct test_ff_f_data): Likewise.
55891 (struct test_ff_f_data_nexttoward): Likewise.
55892 (struct test_fi_f_data): Likewise.
55893 (struct test_fl_f_data): Likewise.
55894 (struct test_if_f_data): Likewise.
55895 (struct test_fff_f_data): Likewise.
55896 (struct test_c_f_data): Likewise.
55897 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55898 (struct test_fF_f1_data): Likewise.
55899 (struct test_ffI_f1_data): Likewise.
55900 (struct test_c_c_data): Remove max_ulp field.
55901 (struct test_cc_c_data): Likewise.
55902 (struct test_f_i_data): Likewise.
55903 (struct test_ff_i_data): Likewise.
55904 (struct test_f_l_data): Likewise.
55905 (struct test_f_L_data): Likewise.
55906 (struct test_sincos_data): Likewise.
55907 (RUN_TEST_f_f): Do not handle ulps.
55908 (RUN_TEST_LOOP_f_f): Likewise.
55909 (RUN_TEST_2_f): Likewise.
55910 (RUN_TEST_LOOP_2_f): Likewise.
55911 (RUN_TEST_fff_f): Likewise.
55912 (RUN_TEST_LOOP_fff_f): Likewise.
55913 (RUN_TEST_c_f): Likewise.
55914 (RUN_TEST_LOOP_c_f): Likewise.
55915 (RUN_TEST_f_f1): Likewise.
55916 (RUN_TEST_LOOP_f_f1): Likewise.
55917 (RUN_TEST_fF_f1): Likewise.
55918 (RUN_TEST_LOOP_fF_f1): Likewise.
55919 (RUN_TEST_fI_f1): Likewise.
55920 (RUN_TEST_LOOP_fI_f1): Likewise.
55921 (RUN_TEST_ffI_f1): Likewise.
55922 (RUN_TEST_LOOP_ffI_f1): Likewise.
55923 (RUN_TEST_c_c): Likewise.
55924 (RUN_TEST_LOOP_c_c): Likewise.
55925 (RUN_TEST_cc_c): Likewise.
55926 (RUN_TEST_LOOP_cc_c): Likewise.
55927 (RUN_TEST_f_i): Likewise.
55928 (RUN_TEST_LOOP_f_i): Likewise.
55929 (RUN_TEST_f_i_tg): Likewise.
55930 (RUN_TEST_LOOP_f_i_tg): Likewise.
55931 (RUN_TEST_ff_i_tg): Likewise.
55932 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55933 (RUN_TEST_f_b): Likewise.
55934 (RUN_TEST_LOOP_f_b): Likewise.
55935 (RUN_TEST_f_b_tg): Likewise.
55936 (RUN_TEST_LOOP_f_b_tg): Likewise.
55937 (RUN_TEST_f_l): Likewise.
55938 (RUN_TEST_LOOP_f_l): Likewise.
55939 (RUN_TEST_f_L): Likewise.
55940 (RUN_TEST_LOOP_f_L): Likewise.
55941 (RUN_TEST_sincos): Likewise.
55942 (RUN_TEST_LOOP_sincos): Likewise.
55943
55944 2013-05-17 Joseph Myers <joseph@codesourcery.com>
55945
55946 [BZ #15480]
55947 [BZ #15485]
55948 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55949 main case of finite arguments, set rounding mode to FE_TONEAREST
55950 and discard exceptions.
55951 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55952 exceptions.
55953 (remainder_tonearest_test_data): New variable.
55954 (remainder_test_tonearest): New function.
55955 (remainder_towardzero_test_data): New variable.
55956 (remainder_test_towardzero): New function.
55957 (remainder_downward_test_data): New variable.
55958 (remainder_test_downward): New function.
55959 (remainder_upward_test_data): New variable.
55960 (remainder_test_upward): New function.
55961 (main): Call the new test functions.
55962
55963 * math/libm-test.inc (struct test_f_f1_data): Remove field
55964 extra_init.
55965 (struct test_fF_f1_data): Likewise.
55966 (struct test_ffI_f1_data): Likewise.
55967 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
55968 based on value of EXTRA_EXPECTED.
55969 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55970 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
55971 EXTRA_VAR based on value of EXTRA_EXPECTED.
55972 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55973 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
55974 EXTRA_VAR based on value of EXTRA_EXPECTED.
55975 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55976 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
55977 EXTRA_VAR based on value of EXTRA_EXPECTED.
55978 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55979 * math/gen-libm-test.pl (parse_args): Don't output initializers
55980 for extra output values.
55981
55982 * math/libm-test.inc (check_int): Expect result to be exactly
55983 equal to expected value and do not handle ulps.
55984 (check_long): Likewise.
55985 (check_longlong): Likewise.
55986
55987 * math/libm-test.inc (ceil_test_data): Test for "inexact"
55988 exceptions.
55989 (cimag_test_data): Likewise.
55990 (conj_test_data): Likewise.
55991 (copysign_test_data): Likewise.
55992 (cproj_test_data): Likewise.
55993 (creal_test_data): Likewise.
55994 (fabs_test_data): Likewise.
55995 (fdim_test_data): Likewise.
55996 (finite_test_data): Likewise.
55997 (floor_test_data): Likewise.
55998 (fmax_test_data): Likewise.
55999 (fmin_test_data): Likewise.
56000 (fmod_test_data): Likewise.
56001 (fpclassify_test_data): Likewise.
56002 (frexp_test_data): Likewise.
56003 (ilogb_test_data): Likewise.
56004 (isfinite_test_data): Likewise.
56005 (isgreater_test_data): Likewise.
56006 (isgreaterequal_test_data): Likewise.
56007 (isinf_test_data): Likewise.
56008 (isless_test_data): Likewise.
56009 (islessequal_test_data): Likewise.
56010 (islessgreater_test_data): Likewise.
56011 (isnan_test_data): Likewise.
56012 (isnormal_test_data): Likewise.
56013 (issignaling_test_data): Likewise.
56014 (isunordered_test_data): Likewise.
56015 (ldexp_test_data): Likewise.
56016 (lrint_test_data): Likewise.
56017 (lrint_test_data) [TEST_FLOAT]: Disable one test.
56018 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56019 (lrint_tonearest_test_data): Test for "inexact" exceptions.
56020 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56021 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56022 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56023 test input.
56024 (lrint_towardzero_test_data): Test for "inexact" exceptions.
56025 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56026 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56027 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56028 that test input.
56029 (lrint_downward_test_data): Test for "inexact" exceptions.
56030 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56031 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56032 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56033 test input.
56034 (lrint_upward_test_data): Test for "inexact" exceptions.
56035 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56036 test input.
56037 (llrint_test_data): Test for "inexact" exceptions.
56038 (llrint_test_data) [TEST_FLOAT]: Disable one test.
56039 (llrint_tonearest_test_data): Test for "inexact" exceptions.
56040 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56041 (llrint_towardzero_test_data): Test for "inexact" exceptions.
56042 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56043 (llrint_downward_test_data): Test for "inexact" exceptions.
56044 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56045 (llrint_upward_test_data): Test for "inexact" exceptions.
56046 (logb_test_data): Likewise.
56047 (logb_downward_test_data): Likewise.
56048 (nextafter_test_data): Likewise.
56049 (nexttoward_test_data): Likewise.
56050 (remainder_test_data): Likewise.
56051 (remquo_test_data): Likewise.
56052 (scalbn_test_data): Likewise.
56053 (scalbln_test_data): Likewise.
56054 (signbit_test_data): Likewise.
56055 (sqrt_test_data): Likewise.
56056 (significand_test_data): Likewise.
56057
56058 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56059
56060 [BZ #15424]
56061 * benchtests/bench-modf.c (struct args): Mark arg0 as
56062 volatile.
56063 * scripts/bench.pl: Mark members of struct args as volatile.
56064
56065 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56066
56067 [BZ # 15497]
56068 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56069 negative infinity on POWER6 or lower.
56070 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56071
56072 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
56073
56074 [BZ #15442]
56075 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56076 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56077 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56078 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56079 (_FP_SETQNAN): New macro.
56080 (_FP_SETQNAN_SEMIRAW): Likewise.
56081 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56082 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56083 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56084 (FP_EXTEND): Use _FP_FRAC_SNANP.
56085 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56086 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56087 into account.
56088 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56089 New macro.
56090 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56091 Likewise.
56092
56093 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56094
56095 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56096 with DIVIDE_BY_ZERO_EXCEPTION.
56097 (gamma_test_data): Likewise.
56098 (lgamma_test_data): Likewise.
56099 (log_test_data): Likewise.
56100 (log10_test_data): Likewise.
56101 (log2_test_data): Likewise.
56102 (tgamma_test_data): Likewise.
56103
56104 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56105 (acos_test_tonearest): Likewise.
56106 (acos_test_towardzero): Likewise.
56107 (acos_test_downward): Likewise.
56108 (acos_test_upward): Likewise.
56109 (acosh_test): Likewise.
56110 (asin_test): Likewise.
56111 (asin_test_tonearest): Likewise.
56112 (asin_test_towardzero): Likewise.
56113 (asin_test_downward): Likewise.
56114 (asin_test_upward): Likewise.
56115 (asinh_test): Likewise.
56116 (atan_test): Likewise.
56117 (atanh_test): Likewise.
56118 (atan2_test): Likewise.
56119 (cabs_test): Likewise.
56120 (cacos_test): Likewise.
56121 (cacosh_test): Likewise.
56122 (casin_test): Likewise.
56123 (casinh_test): Likewise.
56124 (catan_test): Likewise.
56125 (catanh_test): Likewise.
56126 (cbrt_test): Likewise.
56127 (ccos_test): Likewise.
56128 (ccosh_test): Likewise.
56129 (cexp_test): Likewise.
56130 (clog_test): Likewise.
56131 (clog10_test): Likewise.
56132 (cos_test): Likewise.
56133 (cos_test_tonearest): Likewise.
56134 (cos_test_towardzero): Likewise.
56135 (cos_test_downward): Likewise.
56136 (cos_test_upward): Likewise.
56137 (cosh_test): Likewise.
56138 (cosh_test_tonearest): Likewise.
56139 (cosh_test_towardzero): Likewise.
56140 (cosh_test_downward): Likewise.
56141 (cosh_test_upward): Likewise.
56142 (cpow_test): Likewise.
56143 (csin_test): Likewise.
56144 (csinh_test): Likewise.
56145 (csqrt_test): Likewise.
56146 (ctan_test): Likewise.
56147 (ctan_test_tonearest): Likewise.
56148 (ctan_test_towardzero): Likewise.
56149 (ctan_test_downward): Likewise.
56150 (ctan_test_upward): Likewise.
56151 (ctanh_test): Likewise.
56152 (ctanh_test_tonearest): Likewise.
56153 (ctanh_test_towardzero): Likewise.
56154 (ctanh_test_downward): Likewise.
56155 (ctanh_test_upward): Likewise.
56156 (erf_test): Likewise.
56157 (erfc_test): Likewise.
56158 (exp_test): Likewise.
56159 (exp_test_tonearest): Likewise.
56160 (exp_test_towardzero): Likewise.
56161 (exp_test_downward): Likewise.
56162 (exp_test_upward): Likewise.
56163 (exp10_test): Likewise.
56164 (exp2_test): Likewise.
56165 (expm1_test): Likewise.
56166 (fmod_test): Likewise.
56167 (gamma_test): Likewise.
56168 (hypot_test): Likewise.
56169 (j0_test): Likewise.
56170 (j1_test): Likewise.
56171 (jn_test): Likewise.
56172 (lgamma_test): Likewise.
56173 (log_test): Likewise.
56174 (log10_test): Likewise.
56175 (log1p_test): Likewise.
56176 (log2_test): Likewise.
56177 (logb_test_downward): Likewise.
56178 (pow_test): Likewise.
56179 (pow_test_tonearest): Likewise.
56180 (pow_test_towardzero): Likewise.
56181 (pow_test_downward): Likewise.
56182 (pow_test_upward): Likewise.
56183 (remainder_test): Likewise.
56184 (remquo_test): Likewise.
56185 (sin_test): Likewise.
56186 (sin_test_tonearest): Likewise.
56187 (sin_test_towardzero): Likewise.
56188 (sin_test_downward): Likewise.
56189 (sin_test_upward): Likewise.
56190 (sincos_test): Likewise.
56191 (sinh_test): Likewise.
56192 (sinh_test_tonearest): Likewise.
56193 (sinh_test_towardzero): Likewise.
56194 (sinh_test_downward): Likewise.
56195 (sinh_test_upward): Likewise.
56196 (sqrt_test): Likewise.
56197 (tan_test): Likewise.
56198 (tan_test_tonearest): Likewise.
56199 (tan_test_towardzero): Likewise.
56200 (tan_test_downward): Likewise.
56201 (tan_test_upward): Likewise.
56202 (tanh_test): Likewise.
56203 (tgamma_test): Likewise.
56204 (y0_test): Likewise.
56205 (y1_test): Likewise.
56206 (yn_test): Likewise.
56207
56208 * math/gen-libm-test.pl (adjust_arg): Remove function.
56209 (special_function): Remove argument $in_func. Only handle
56210 generating output for tables of tests, not inside functions.
56211 (parse_args): Likewise.
56212 (generate_testfile): Remove variable $in_func. Update call to
56213 parse_args.
56214 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56215 (MINUS_ZERO_INIT): Rename macro to minus_zero.
56216 (PLUS_INFTY_INIT): Rename macro to plus_infty.
56217 (MINUS_INFTY_INIT): Rename macro to minus_infty.
56218 (QNAN_VALUE_INIT): Rename macro to qnan_value.
56219 (MAX_VALUE_INIT): Rename macro to max_value.
56220 (MIN_VALUE_INIT): Rename macro to min_value.
56221 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56222 (plus_zero): Remove variable.
56223 (minus_zero): Likewise.
56224 (plus_infty): Likewise.
56225 (minus_infty): Likewise.
56226 (qnan_value): Likewise.
56227 (max_value): Likewise.
56228 (min_value): Likewise.
56229 (min_subnorm_value): Likewise.
56230
56231 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56232
56233 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56234 uint64_t or uint32_t usage.
56235 * crypt/sha256-block.c: Likewise.
56236 * crypt/sha256-crypt.c: Likewise.
56237 * crypt/sha256.c: Likewise.
56238 * crypt/sha512-block.c: Likewise.
56239 * crypt/sha512-crypt.c: Likewise.
56240 * crypt/sha512.c: Likewise.
56241 * debug/backtrace-tst.c: Likewise.
56242 * debug/pcprofiledump.c: Likewise.
56243 * elf/cache.c: Likewise.
56244 * elf/dl-cache.c: Likewise.
56245 * elf/dl-misc.c: Likewise.
56246 * elf/dl-profile.c: Likewise.
56247 * elf/dl-support.c: Likewise.
56248 * elf/ldconfig.c: Likewise.
56249 * elf/sprof.c: Likewise.
56250 * iconv/dummy-repertoire.c: Likewise.
56251 * iconv/iconv_charmap.c: Likewise.
56252 * iconv/skeleton.c: Likewise.
56253 * iconvdata/8bit-generic.c: Likewise.
56254 * iconvdata/cp737.h: Likewise.
56255 * iconvdata/cp775.h: Likewise.
56256 * iconvdata/ibm1008.h: Likewise.
56257 * iconvdata/ibm1025.h: Likewise.
56258 * iconvdata/ibm1046.h: Likewise.
56259 * iconvdata/ibm1097.h: Likewise.
56260 * iconvdata/ibm1112.h: Likewise.
56261 * iconvdata/ibm1122.h: Likewise.
56262 * iconvdata/ibm1123.h: Likewise.
56263 * iconvdata/ibm1124.h: Likewise.
56264 * iconvdata/ibm1129.h: Likewise.
56265 * iconvdata/ibm1130.h: Likewise.
56266 * iconvdata/ibm1132.h: Likewise.
56267 * iconvdata/ibm1133.h: Likewise.
56268 * iconvdata/ibm1137.h: Likewise.
56269 * iconvdata/ibm1140.h: Likewise.
56270 * iconvdata/ibm1141.h: Likewise.
56271 * iconvdata/ibm1142.h: Likewise.
56272 * iconvdata/ibm1143.h: Likewise.
56273 * iconvdata/ibm1144.h: Likewise.
56274 * iconvdata/ibm1145.h: Likewise.
56275 * iconvdata/ibm1146.h: Likewise.
56276 * iconvdata/ibm1147.h: Likewise.
56277 * iconvdata/ibm1148.h: Likewise.
56278 * iconvdata/ibm1149.h: Likewise.
56279 * iconvdata/ibm1153.h: Likewise.
56280 * iconvdata/ibm1154.h: Likewise.
56281 * iconvdata/ibm1155.h: Likewise.
56282 * iconvdata/ibm1156.h: Likewise.
56283 * iconvdata/ibm1157.h: Likewise.
56284 * iconvdata/ibm1158.h: Likewise.
56285 * iconvdata/ibm1160.h: Likewise.
56286 * iconvdata/ibm1161.h: Likewise.
56287 * iconvdata/ibm1162.h: Likewise.
56288 * iconvdata/ibm1163.h: Likewise.
56289 * iconvdata/ibm1164.h: Likewise.
56290 * iconvdata/ibm1166.h: Likewise.
56291 * iconvdata/ibm1167.h: Likewise.
56292 * iconvdata/ibm12712.h: Likewise.
56293 * iconvdata/ibm1390.h: Likewise.
56294 * iconvdata/ibm1399.h: Likewise.
56295 * iconvdata/ibm16804.h: Likewise.
56296 * iconvdata/ibm4517.h: Likewise.
56297 * iconvdata/ibm4899.h: Likewise.
56298 * iconvdata/ibm4909.h: Likewise.
56299 * iconvdata/ibm4971.h: Likewise.
56300 * iconvdata/ibm5347.h: Likewise.
56301 * iconvdata/ibm803.h: Likewise.
56302 * iconvdata/ibm856.h: Likewise.
56303 * iconvdata/ibm901.h: Likewise.
56304 * iconvdata/ibm902.h: Likewise.
56305 * iconvdata/ibm9030.h: Likewise.
56306 * iconvdata/ibm9066.h: Likewise.
56307 * iconvdata/ibm921.h: Likewise.
56308 * iconvdata/ibm922.h: Likewise.
56309 * iconvdata/ibm9448.h: Likewise.
56310 * iconvdata/isiri-3342.h: Likewise.
56311 * iconvdata/jis0201.h: Likewise.
56312 * include/link.h: Likewise.
56313 * include/netdb.h: Likewise.
56314 * inet/check_native.c: Likewise.
56315 * inet/check_pf.c: Likewise.
56316 * inet/getipv4sourcefilter.c: Likewise.
56317 * inet/getnameinfo.c: Likewise.
56318 * inet/getsourcefilter.c: Likewise.
56319 * inet/htonl.c: Likewise.
56320 * inet/setipv4sourcefilter.c: Likewise.
56321 * inet/setsourcefilter.c: Likewise.
56322 * inet/test-inet6_opt.c: Likewise.
56323 * inet/tst-network.c: Likewise.
56324 * locale/C-collate.c: Likewise.
56325 * locale/C-ctype.c: Likewise.
56326 * locale/C-time.c: Likewise.
56327 * locale/C-translit.h: Likewise.
56328 * locale/loadarchive.c: Likewise.
56329 * locale/programs/3level.h: Likewise.
56330 * locale/programs/charmap.c: Likewise.
56331 * locale/programs/charmap.h: Likewise.
56332 * locale/programs/ld-address.c: Likewise.
56333 * locale/programs/ld-collate.c: Likewise.
56334 * locale/programs/ld-ctype.c: Likewise.
56335 * locale/programs/ld-identification.c: Likewise.
56336 * locale/programs/ld-measurement.c: Likewise.
56337 * locale/programs/ld-messages.c: Likewise.
56338 * locale/programs/ld-monetary.c: Likewise.
56339 * locale/programs/ld-name.c: Likewise.
56340 * locale/programs/ld-numeric.c: Likewise.
56341 * locale/programs/ld-paper.c: Likewise.
56342 * locale/programs/ld-telephone.c: Likewise.
56343 * locale/programs/ld-time.c: Likewise.
56344 * locale/programs/linereader.c: Likewise.
56345 * locale/programs/locale.c: Likewise.
56346 * locale/programs/locarchive.c: Likewise.
56347 * locale/programs/locfile.h: Likewise.
56348 * locale/programs/repertoire.c: Likewise.
56349 * locale/programs/simple-hash.c: Likewise.
56350 * locale/programs/simple-hash.h: Likewise.
56351 * malloc/memusage.c: Likewise.
56352 * malloc/memusagestat.c: Likewise.
56353 * nis/nis_defaults.c: Likewise.
56354 * nis/nis_hash.c: Likewise.
56355 * nis/nis_print.c: Likewise.
56356 * nis/nis_xdr.c: Likewise.
56357 * nscd/connections.c: Likewise.
56358 * nscd/hstcache.c: Likewise.
56359 * nscd/nscd_gethst_r.c: Likewise.
56360 * nscd/nscd_getserv_r.c: Likewise.
56361 * nscd/nscd_helper.c: Likewise.
56362 * nscd/servicescache.c: Likewise.
56363 * nss/makedb.c: Likewise.
56364 * nss/nss_db/db-XXX.c: Likewise.
56365 * nss/nss_db/db-initgroups.c: Likewise.
56366 * nss/nss_db/db-netgrp.c: Likewise.
56367 * nss/nss_files/files-network.c: Likewise.
56368 * nss/nss_files/files-parse.c: Likewise.
56369 * posix/bug-regex5.c: Likewise.
56370 * posix/fnmatch_loop.c: Likewise.
56371 * posix/regcomp.c: Likewise.
56372 * posix/regexec.c: Likewise.
56373 * posix/tst-rfc3484-2.c: Likewise.
56374 * posix/tst-rfc3484-3.c: Likewise.
56375 * posix/tst-rfc3484.c: Likewise.
56376 * resolv/nss_dns/dns-canon.c: Likewise.
56377 * resolv/nss_dns/dns-network.c: Likewise.
56378 * resolv/res_init.c: Likewise.
56379 * resolv/res_mkquery.c: Likewise.
56380 * resolv/tst-aton.c: Likewise.
56381 * stdlib/cxa_atexit.c: Likewise.
56382 * stdlib/cxa_finalize.c: Likewise.
56383 * stdlib/gen-fpioconst.c: Likewise.
56384 * stdlib/strtol_l.c: Likewise.
56385 * string/tst-endian.c: Likewise.
56386 * sunrpc/auth_des.c: Likewise.
56387 * sunrpc/clnt_udp.c: Likewise.
56388 * sunrpc/rtime.c: Likewise.
56389 * sunrpc/svcauth_des.c: Likewise.
56390 * sunrpc/xdr.c: Likewise.
56391 * sunrpc/xdr_intXX_t.c: Likewise.
56392 * sunrpc/xdr_rec.c: Likewise.
56393 * sysdeps/generic/ldconfig.h: Likewise.
56394 * sysdeps/generic/ldsodefs.h: Likewise.
56395 * sysdeps/generic/memusage.h: Likewise.
56396 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56398 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56399 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56401 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56402 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56403 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56404 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56405 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56406 * sysdeps/posix/getaddrinfo.c: Likewise.
56407 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56409 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56410 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56411 * sysdeps/powerpc/test-gettimebase.c: Likewise.
56412 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56413 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56414 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56415 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56416 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56417 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56418 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56419 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56420 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56421 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56422 * sysdeps/x86_64/dl-tls.h: Likewise.
56423 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56424 * time/alt_digit.c: Likewise.
56425 * time/era.c: Likewise.
56426 * wcsmbs/tst-c16c32-1.c: Likewise.
56427
56428 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56429
56430 * math/libm-test.inc (struct test_sincos_data): New type.
56431 (RUN_TEST_LOOP_sincos): New macro.
56432 (sincos_test_data): New variable.
56433 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56434
56435 2013-05-16 Richard Henderson <rth@redhat.com>
56436
56437 * math/atest-exp2.c (LIMB64): New macro.
56438 (CONSTSZ): New macro.
56439 (mp_exp1, mp_exp_m1, mp_log2): New variables.
56440 (hexdig): Move ...
56441 (print_mpn_fp): ... to function scope.
56442 (read_mpn_hex): Remove.
56443 (get_log2): Remove.
56444 (exp2_mpn): Use mp_log2.
56445 (main): Use mp_exp1.
56446
56447 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56448
56449 * math/libm-test.inc: Remove comment about not testing "inexact"
56450 exceptions.
56451 (INEXACT_EXCEPTION): New macro.
56452 (NO_INEXACT_EXCEPTION): Likewise.
56453 (INVALID_EXCEPTION_OK): Update value.
56454 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56455 (OVERFLOW_EXCEPTION_OK): Likewise.
56456 (UNDERFLOW_EXCEPTION_OK): Likewise.
56457 (IGNORE_ZERO_INF_SIGN): Likewise.
56458 (ERRNO_UNCHANGED): Likewise.
56459 (ERRNO_EDOM): Likewise.
56460 (ERRNO_ERANGE): Likewise.
56461 (test_exceptions): Handle testing "inexact" exceptions.
56462 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56463 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56464 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56465 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56466 INEXACT_EXCEPTION.
56467 (rint_towardzero_test_data): Likewise.
56468 (rint_downward_test_data): Likewise.
56469 (rint_upward_test_data): Likewise.
56470
56471 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56472 with OVERFLOW_EXCEPTION.
56473 (exp10_test_data): Likewise.
56474 (exp2_test_data): Likewise.
56475 (expm1_test_data): Likewise.
56476 (lgamma_test_data): Likewise.
56477 (pow_test_data): Likewise.
56478 (tgamma_test_data): Likewise.
56479 (yn_test_data): Remove duplicate test of overflow.
56480
56481 * math/libm-test.inc (struct test_cc_c_data): New type.
56482 (RUN_TEST_LOOP_cc_c): New macro.
56483 (cpow_test_data): New variable.
56484 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56485
56486 * math/libm-test.inc (struct test_f_L_data): New type.
56487 (RUN_TEST_LOOP_f_L): New macro.
56488 (llrint_test_data): New variable.
56489 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56490 (llrint_tonearest_test_data): New variable.
56491 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56492 (llrint_towardzero_test_data): New variable.
56493 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56494 (llrint_downward_test_data): New variable.
56495 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56496 (llrint_upward_test_data): New variable.
56497 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56498 (llround_test_data): New variable.
56499 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56500
56501 2013-05-13 Peter Collingbourne <pcc@google.com>
56502
56503 * math/atest-exp2.c (get_log2): Remove const attribute.
56504
56505 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56506
56507 * math/libm-test.inc (struct test_f_l_data): New type.
56508 (RUN_TEST_LOOP_f_l): New macro.
56509 (lrint_test_data): New variable.
56510 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56511 (lrint_tonearest_test_data): New variable.
56512 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56513 (lrint_towardzero_test_data): New variable.
56514 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56515 (lrint_downward_test_data): New variable.
56516 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56517 (lrint_upward_test_data): New variable.
56518 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56519 (lround_test_data): New variable.
56520 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56521
56522 2013-05-15 Peter Collingbourne <pcc@google.com>
56523
56524 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56525 (EXTRACT_WORDS64) Use where appropriate.
56526 (INSERT_WORDS64) Likewise.
56527
56528 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56529 constraints with x constraints.
56530 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56531
56532 * malloc/obstack.c (_obstack_compat): Add initializer.
56533
56534 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56535
56536 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56537 si_trapno and add si_addr_lsb to _sifields.sigfault.
56538 (si_trapno): Remove macro.
56539 (si_addr_lsb): Define new macro.
56540 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56541
56542 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56543
56544 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56545 instead of TEST_f_l.
56546 (llrint_test_tonearest): Likewise.
56547 (llrint_test_towardzero): Likewise.
56548 (llrint_test_downward): Likewise.
56549 (llrint_test_upward): Likewise.
56550 (llround_test): Likewise.
56551
56552 * math/libm-test.inc (struct test_f_i_data): Add comment.
56553 (RUN_TEST_LOOP_f_b): New macro.
56554 (RUN_TEST_LOOP_f_b_tg): Likewise.
56555 (finite_test_data): New variable.
56556 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56557 (isfinite_test_data): New variable.
56558 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56559 (isinf_test_data): New variable.
56560 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56561 (isnan_test_data): New variable.
56562 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56563 (isnormal_test_data): New variable.
56564 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56565 (issignaling_test_data): New variable.
56566 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56567 (signbit_test_data): New variable.
56568 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56569
56570 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56571 with INVALID_EXCEPTION.
56572 (acosh_test_data): Likewise.
56573 (asin_test_data): Likewise.
56574 (atanh_test_data): Likewise.
56575 (fmod_test_data): Likewise.
56576 (log_test_data): Likewise.
56577 (log10_test_data): Likewise.
56578 (log2_test_data): Likewise.
56579 (pow_test_data): Likewise.
56580 (sqrt_test_data): Likewise.
56581 (y0_test_data): Likewise.
56582 (y1_test_data): Likewise.
56583 (yn_test_data): Likewise.
56584
56585 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56586 function contents.
56587
56588 * math/libm-test.inc (struct test_ff_i_data): New type.
56589 (RUN_TEST_LOOP_ff_i_tg): New macro.
56590 (isgreater_test_data): New variable.
56591 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56592 (isgreaterequal_test_data): New variable.
56593 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56594 (isless_test_data): New variable.
56595 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56596 (islessequal_test_data): New variable.
56597 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56598 (islessgreater_test_data): New variable.
56599 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56600 (isunordered_test_data): New variable.
56601 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56602
56603 2013-05-14 David S. Miller <davem@davemloft.net>
56604
56605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56606
56607 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56608
56609 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56610
56611 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56612 extra_test to int.
56613 (struct test_f_i_data): Change type of max_ulp to int.
56614
56615 * math/libm-test.inc (test_ffI_f1_data): New type.
56616 (RUN_TEST_LOOP_ffI_f1): New macro.
56617 (remquo_test_data): New variable.
56618 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56619
56620 * setjmp/tst-setjmp-fp.c: New file.
56621 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56622 (link-libm): New variable.
56623 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56624
56625 * math/libm-test.inc (struct test_f_i_data): New type.
56626 (RUN_TEST_LOOP_f_i): New macro.
56627 (RUN_TEST_LOOP_f_i_tg): Likewise.
56628 (fpclassify_test_data): New variable.
56629 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56630 (ilogb_test_data): New variable.
56631 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56632
56633 * math/libm-test.inc (scalbln_test): Correct function name in END
56634 call.
56635
56636 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56637 (RUN_TEST_LOOP_fI_f1): New macro.
56638 (frexp_test_data): New variable.
56639 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56640
56641 * math/libm-test.inc (struct test_fF_f1_data): New type.
56642 (RUN_TEST_LOOP_fF_f1): New macro.
56643 (modf_test_data): New variable.
56644 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56645
56646 * math/libm-test.inc (struct test_f_f1_data): New type.
56647 (RUN_TEST_LOOP_f_f1): New macro.
56648 (gamma_test_data): New variable.
56649 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56650 (lgamma_test_data): New variable.
56651 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56652
56653 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56654
56655 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56656 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56657 (main): Comment "tls" pseudo-hwcap.
56658
56659 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56660
56661 * math/libm-test.inc (struct test_fl_f_data): New type.
56662 (RUN_TEST_LOOP_fl_f): New variable.
56663 (scalbln_test_data): New variable.
56664 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56665
56666 * math/libm-test.inc (struct test_fi_f_data): New type.
56667 (RUN_TEST_LOOP_fi_f): New macro.
56668 (ldexp_test_data): New variable.
56669 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56670 (scalbn_test_data): New variable.
56671 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56672
56673 * math/libm-test.inc (struct test_c_f_data): New type.
56674 (RUN_TEST_LOOP_c_f): New macro.
56675 (cabs_test_data): New variable.
56676 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56677 (carg_test_data): New variable.
56678 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56679 (cimag_test_data): New variable.
56680 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56681 (creal_test_data): New variable.
56682 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56683
56684 * math/libm-test.inc (struct test_if_f_data): New type.
56685 (RUN_TEST_LOOP_if_f): New macro.
56686 (jn_test_data): New variable.
56687 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56688 (yn_test_data): New variable.
56689 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56690
56691 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56692
56693 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56694
56695 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56696 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56697
56698 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56699
56700 * benchtests/Makefile (CPPFLAGS-nonlib): Add
56701 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56702 (bench-deps): Add bench-timing.h.
56703 * benchtests-bench-skeleton.c: Include bench-timing.h.
56704 (main): Use TIMING_* macros instead of clock_gettime.
56705 * benchtests/bench-timing.h: New file.
56706
56707 [BZ #14582]
56708 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56709 Renamed from _LIB_VERSION.
56710 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56711
56712 2013-05-12 Joseph Myers <joseph@codesourcery.com>
56713
56714 * math/libm-test.inc (struct test_fff_f_data): New type.
56715 (RUN_TEST_LOOP_fff_f): New macro.
56716 (fma_test_data): New variable.
56717 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56718 (fma_towardzero_test_data): New variable.
56719 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56720 (fma_downward_test_data): New variable.
56721 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56722 (fma_upward_test_data): New variable.
56723 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56724
56725 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56726 (struct test_c_c_data): New type.
56727 (RUN_TEST_LOOP_c_c): New macro.
56728 (cacos_test_data): New variable.
56729 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56730 (cacosh_test_data): New variable.
56731 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56732 (casin_test_data): New variable.
56733 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56734 (casinh_test_data): New variable.
56735 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56736 (catan_test_data): New variable.
56737 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56738 (catanh_test_data): New variable.
56739 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56740 (ccos_test_data): New variable.
56741 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56742 (ccosh_test_data): New variable.
56743 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56744 (cexp_test_data): New variable.
56745 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56746 (clog_test_data): New variable.
56747 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56748 (clog10_test_data): New variable.
56749 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56750 (conj_test_data): New variable.
56751 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56752 (cproj_test_data): New variable.
56753 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56754 (csin_test_data): New variable.
56755 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56756 (csinh_test_data): New variable.
56757 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56758 (csqrt_test_data): New variable.
56759 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56760 (ctan_test_data): New variable.
56761 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56762 (ctan_tonearest_test_data): New variable.
56763 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56764 (ctan_towardzero_test_data): New variable.
56765 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56766 (ctan_downward_test_data): New variable.
56767 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56768 (ctan_upward_test_data): New variable.
56769 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56770 (ctanh_test_data): New variable.
56771 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56772 (ctanh_tonearest_test_data): New variable.
56773 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56774 (ctanh_towardzero_test_data): New variable.
56775 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56776 (ctanh_downward_test_data): New variable.
56777 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56778 (ctanh_upward_test_data): New variable.
56779 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56780 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56781 of BUILD_COMPLEX.
56782
56783 * math/libm-test.inc (struct test_ff_f_data): New type.
56784 (struct test_ff_f_data_nexttoward): Likewise.
56785 (RUN_TEST_LOOP_2_f): New macro.
56786 (RUN_TEST_LOOP_ff_f): Likewise.
56787 (atan2_test_data): New variable.
56788 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56789 (copysign_test_data): New variable.
56790 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56791 (fdim_test_data): New variable.
56792 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56793 (fmax_test_data): New variable.
56794 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56795 (fmin_test_data): New variable.
56796 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56797 (fmod_test_data): New variable.
56798 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56799 (hypot_test_data): New variable.
56800 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56801 (nextafter_test_data): New variable.
56802 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56803 (nexttoward_test_data): New variable.
56804 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56805 (pow_test_data): New variable.
56806 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56807 (pow_tonearest_test_data): New variable.
56808 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56809 (pow_towardzero_test_data): New variable.
56810 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56811 (pow_downward_test_data): New variable.
56812 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56813 (pow_upward_test_data): New variable.
56814 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56815 (remainder_test_data): New variable.
56816 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56817 (scalb_test_data): New variable.
56818 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56819 * sysdeps/i386/fpu/libm-test-ulps: Update.
56820
56821 2013-05-11 Joseph Myers <joseph@codesourcery.com>
56822
56823 * math/libm-test.inc (fma_test): Use max_value instead of local
56824 variable fltmax.
56825 (nextafter_test): Likewise.
56826
56827 * math/libm-test.inc (acos_towardzero_test_data): New variable.
56828 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56829 (acos_downward_test_data): New variable.
56830 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56831 (acos_upward_test_data): New variable.
56832 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56833 (acosh_test_data): New variable.
56834 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56835 (asin_test_data): New variable.
56836 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56837 (asin_tonearest_test_data): New variable.
56838 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56839 (asin_towardzero_test_data): New variable.
56840 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56841 (asin_downward_test_data): New variable.
56842 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56843 (asin_upward_test_data): New variable.
56844 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56845 (asinh_test_data): New variable.
56846 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56847 (atan_test_data): New variable.
56848 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56849 (atanh_test_data): New variable.
56850 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56851 (cbrt_test_data): New variable.
56852 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56853 (ceil_test_data): New variable.
56854 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56855 (cos_test_data): New variable.
56856 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56857 (cos_tonearest_test_data): New variable.
56858 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56859 (cos_towardzero_test_data): New variable.
56860 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56861 (cos_downward_test_data): New variable.
56862 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56863 (cos_upward_test_data): New variable.
56864 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56865 (cosh_test_data): New variable.
56866 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56867 (cosh_tonearest_test_data): New variable.
56868 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56869 (cosh_towardzero_test_data): New variable.
56870 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56871 (cosh_downward_test_data): New variable.
56872 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56873 (cosh_upward_test_data): New variable.
56874 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56875 (erf_test_data): New variable.
56876 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56877 (erfc_test_data): New variable.
56878 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56879 (exp_test_data): New variable.
56880 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56881 (exp_tonearest_test_data): New variable.
56882 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56883 (exp_towardzero_test_data): New variable.
56884 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56885 (exp_downward_test_data): New variable.
56886 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56887 (exp_upward_test_data): New variable.
56888 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56889 (exp10_test_data): New variable.
56890 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56891 (exp2_test_data): New variable.
56892 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56893 (expm1_test_data): New variable.
56894 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56895 (fabs_test_data): New variable.
56896 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56897 (floor_test_data): New variable.
56898 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56899 (j0_test_data): New variable.
56900 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56901 (j1_test_data): New variable.
56902 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56903 (log_test_data): New variable.
56904 (log_test): Run tests with RUN_TEST_LOOP_f_f.
56905 (log10_test_data): New variable.
56906 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56907 (log1p_test_data): New variable.
56908 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56909 (log2_test_data): New variable.
56910 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56911 (logb_test_data): New variable.
56912 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56913 (logb_downward_test_data): New variable.
56914 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56915 (nearbyint_test_data): New variable.
56916 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56917 (rint_test_data): New variable.
56918 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56919 (rint_tonearest_test_data): New variable.
56920 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56921 (rint_towardzero_test_data): New variable.
56922 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56923 (rint_downward_test_data): New variable.
56924 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56925 (rint_upward_test_data): New variable.
56926 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56927 (round_test_data): New variable.
56928 (round_test): Run tests with RUN_TEST_LOOP_f_f.
56929 (sin_test_data): New variable.
56930 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56931 (sin_tonearest_test_data): New variable.
56932 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56933 (sin_towardzero_test_data): New variable.
56934 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56935 (sin_downward_test_data): New variable.
56936 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56937 (sin_upward_test_data): New variable.
56938 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56939 (sinh_test_data): New variable.
56940 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56941 (sinh_tonearest_test_data): New variable.
56942 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56943 (sinh_towardzero_test_data): New variable.
56944 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56945 (sinh_downward_test_data): New variable.
56946 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56947 (sinh_upward_test_data): New variable.
56948 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56949 (sqrt_test_data): New variable.
56950 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56951 (tan_test_data): New variable.
56952 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56953 (tan_tonearest_test_data): New variable.
56954 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56955 (tan_towardzero_test_data): New variable.
56956 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56957 (tan_downward_test_data): New variable.
56958 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56959 (tan_upward_test_data): New variable.
56960 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56961 (tanh_test_data): New variable.
56962 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56963 (tgamma_test_data): New variable.
56964 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56965 (trunc_test_data): New variable.
56966 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56967 (y0_test_data): New variable.
56968 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56969 (y1_test_data): New variable.
56970 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56971 (significand_test_data): New variable.
56972 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56973
56974 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
56975
56976 [BZ #12387]
56977 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56978
56979 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
56980
56981 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56982
56983 2013-05-10 Andreas Jaeger <aj@suse.de>
56984
56985 [BZ #15448]
56986 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56987 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56988
56989 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56990
56991 * math/gen-libm-test.pl (adjust_arg): New function.
56992 (special_functions): Handle generating output in both functions
56993 and arrays.
56994 (parse_args): Likewise.
56995 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
56996 $in_func argument to parse_args.
56997 * math/libm-test.inc (struct test_f_f_data): New type.
56998 (IF_ROUND_INIT_): New macro.
56999 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57000 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57001 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57002 (IF_ROUND_INIT_FE_UPWARD): Likewise.
57003 (ROUND_RESTORE_): Likewise.
57004 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57005 (ROUND_RESTORE_FE_TONEAREST): Likewise.
57006 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57007 (ROUND_RESTORE_FE_UPWARD): Likewise.
57008 (RUN_TEST_LOOP_f_f): New macro.
57009 (acos_test_data): New variable.
57010 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57011 (acos_tonearest_test_data): New variable.
57012 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57013
57014 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57015
57016 * benchtests/bench-skeleton.c (startup): Fix coding style.
57017
57018 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57019
57020 [BZ #6809]
57021 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57022 negative infinity argument.
57023 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57024 negative infinity argument.
57025 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57026 negative infinity argument.
57027 * math/libm-test.inc (tgamma_test): Expect errno to be set for
57028 domain errors.
57029
57030 2013-05-10 Florian Weimer <fweimer@redhat.com>
57031
57032 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57033 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57034 * iconv/iconv_prog.c (main): Likewise.
57035 * locale/programs/charmap-dir.c (charmap_readdir)
57036 (fopen_uncompressed): Likewise.
57037 * locale/programs/locfile.c (siblings_uncached)
57038 (write_locale_data): Use lstat64 instead of lstat.
57039 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57040 stat.
57041
57042 2013-05-10 Andreas Jaeger <aj@suse.de>
57043
57044 [BZ #15395]
57045 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57046 localization.
57047 Include <locale.h>.
57048
57049 2013-05-09 Carlos O'Donell <carlos@redhat.com>
57050
57051 * elf/dl-close.c (_dl_close_worker): Add comments.
57052
57053 2013-05-09 Joseph Myers <joseph@codesourcery.com>
57054
57055 [BZ #15359]
57056 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57057 high part of pi/2.
57058 (__ieee754_rem_pio2l): Update comments.
57059
57060 [BZ #15429]
57061 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57062 high part of pi/2.
57063 (__ieee754_rem_pio2l): Update comments.
57064
57065 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57066 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57067
57068 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57069 M_PI_4l.
57070
57071 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57072 (M_PI_34_LOG10El): Likewise.
57073 (M_PI2_LOG10El): Likewise.
57074 (M_PI4_LOG10El): Likewise.
57075 (M_PI_LOG10El): Likewise.
57076
57077 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57078
57079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57080
57081 2013-05-08 Joseph Myers <joseph@codesourcery.com>
57082
57083 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57084 (MINUS_ZERO_INIT): Likewise.
57085 (PLUS_INFTY_INIT): Likewise.
57086 (MINUS_INFTY_INIT): Likewise.
57087 (QNAN_VALUE_INIT): Likewise.
57088 (MAX_VALUE_INIT): Likewise.
57089 (MIN_VALUE_INIT): Likewise.
57090 (MIN_SUBNORM_VALUE_INIT): Likewise.
57091 (plus_zero): Initialize with PLUS_ZERO_INIT.
57092 (minus_zero): Initialize with MINUS_ZERO_INIT.
57093 (plus_infty): Initialize with PLUS_INFTY_INIT.
57094 (minus_infty): Initialize with MINUS_INFTY_INIT.
57095 (qnan_value): Initialize with QNAN_VALUE_INIT.
57096 (max_value): Initialize with MAX_VALUE_INIT.
57097 (min_value): Initialize with MIN_VALUE_INIT.
57098 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57099
57100 * math/libm-test.inc (RUN_TEST_if_f): New macro.
57101 (jn_test): Use TEST_if_f instead of TEST_ff_f.
57102 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57103 (yn_test): Use TEST_if_f instead of TEST_ff_f.
57104
57105 * math/libm-test.inc (RUN_TEST_f_f): New macro.
57106 (RUN_TEST_2_f): Likewise.
57107 (RUN_TEST_ff_f): Likewise.
57108 (RUN_TEST_fi_f): Likewise.
57109 (RUN_TEST_fl_f): Likewise.
57110 (RUN_TEST_fff_f): Likewise.
57111 (RUN_TEST_c_f): Likewise.
57112 (RUN_TEST_f_f1): Likewise.
57113 (RUN_TEST_fF_f1): Likewise.
57114 (RUN_TEST_fI_f1): Likewise.
57115 (RUN_TEST_ffI_f1): Likewise.
57116 (RUN_TEST_c_c): Likewise.
57117 (RUN_TEST_cc_c): Likewise.
57118 (RUN_TEST_f_i): Likewise.
57119 (RUN_TEST_f_i_tg): Likewise.
57120 (RUN_TEST_ff_i_tg): Likewise.
57121 (RUN_TEST_f_b): Likewise.
57122 (RUN_TEST_f_b_tg): Likewise.
57123 (RUN_TEST_f_l): Likewise.
57124 (RUN_TEST_f_L): Likewise.
57125 (RUN_TEST_sincos): Likewise.
57126 * math/gen-libm-test.pl (new_test): Take new argument to indicate
57127 whether to show exceptions. Do not include ");\n" in return
57128 value.
57129 (special_functions): Output call to RUN_TEST_sincos instead of
57130 check_float calls. Update calls to new_test.
57131 (parse_args): Output call to single RUN_TEST_* macro instead of
57132 check_* calls and other assignments. Update calls to new_test.
57133
57134 [BZ #2546]
57135 [BZ #2560]
57136 [BZ #5159]
57137 [BZ #15426]
57138 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57139 input to result for tgamma overflow.
57140 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57141 (gamma_coeff): New variable.
57142 (NCOEFF): New macro.
57143 (gamma_positive): New function.
57144 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57145 underflow here. Use gamma_positive instead of exp (lgamma) for
57146 other arguments.
57147 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57148 (gamma_coeff): New variable.
57149 (NCOEFF): New macro.
57150 (gammaf_positive): New function.
57151 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57152 underflow here. Use gamma_positive instead of exp (lgamma) for
57153 other arguments.
57154 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57155 (gamma_coeff): New variable.
57156 (NCOEFF): New macro.
57157 (gammal_positive): New function.
57158 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57159 underflow here. Use gamma_positive instead of exp (lgamma) for
57160 other arguments.
57161 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57162 (gamma_coeff): New variable.
57163 (NCOEFF): New macro.
57164 (gammal_positive): New function.
57165 (__ieee754_gammal_r): Handle positive infinity, overflow and
57166 underflow here. Handle NaN the same as positive infinity. Remove
57167 check x < 0xffffffff for negative integers. Use gamma_positive
57168 instead of exp (lgamma) for other arguments.
57169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57170 (gamma_coeff): New variable.
57171 (NCOEFF): New macro.
57172 (gammal_positive): New function.
57173 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57174 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57175 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57176 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57177 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57178 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57179 * sysdeps/generic/math_private.h (__gamma_productf): New
57180 prototype.
57181 (__gamma_product): Likewise.
57182 (__gamma_productl): Likewise.
57183 * math/Makefile (libm-calls): Add gamma_product.
57184 * math/libm-test.inc (tgamma_test): Add more tests.
57185 * sysdeps/i386/fpu/libm-test-ulps: Update.
57186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57187
57188 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
57189
57190 * benchtests/bench-skeleton.c (main): Preheat CPU.
57191
57192 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
57193
57194 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57195
57196 2013-05-07 Roland McGrath <roland@hack.frob.com>
57197
57198 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57199 and _dl_skip_args_internal.
57200
57201 2013-05-07 Carlos O'Donell <carlos@redhat.com>
57202
57203 * manual/message.texi (Message Translation): Talk about users.
57204 Message to key mapping impacts design.
57205
57206 2013-05-06 Roland McGrath <roland@hack.frob.com>
57207
57208 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57209
57210 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57211
57212 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57213 * sysdeps/wordsize-64/glob64.c: ... here.
57214
57215 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57216 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57217 New macros.
57218
57219 * debug/getlogin_r_chk.c: Moved to ...
57220 * login/getlogin_r_chk.c: ... here.
57221 * debug/Makefile (routines): Move getlogin_r_chk to ...
57222 * login/Makefile (routines): ... here.
57223 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57224 * login/Versions (libc: GLIBC_2.4): ... here.
57225
57226 * io/poll.c (__poll): Renamed from poll.
57227 Add libc_hidden_def.
57228 (poll): Define as weak alias.
57229
57230 * debug/ptsname_r_chk.c: Moved to ...
57231 * login/ptsname_r_chk.c: ... here.
57232 * debug/Makefile (routines): Move ptsname_r_chk to ...
57233 * login/Makefile (routines): ... here.
57234 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57235 * login/Versions (libc: GLIBC_2.4): ... here.
57236
57237 * posix/getlogin.c: Moved to ...
57238 * login/getlogin.c: ... here.
57239 * posix/getlogin_r.c: Moved to ...
57240 * login/getlogin_r.c: ... here.
57241 * posix/getlogin_r.c: Moved to ...
57242 * login/getlogin_r.c: ... here.
57243 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57244 * login/Makefile (routines): ... here.
57245 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57246 * login/Versions (libc: GLIBC_2.0): ... here.
57247
57248 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57249 (setrlimit): Define as weak alias.
57250
57251 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57252 Call __ names for open, ftruncate, and close.
57253 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57254 (truncate): Define as weak alias.
57255
57256 2013-05-06 Joseph Myers <joseph@codesourcery.com>
57257
57258 * math/gen-libm-test.pl (parse_args): Initialize x before each
57259 test of frexp, modf and remquo.
57260
57261 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57262 test signgam value.
57263
57264 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57265
57266 [BZ #15418]
57267 [BZ #15419]
57268 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57269 internal tests.
57270 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57271
57272 2013-05-06 Roland McGrath <roland@hack.frob.com>
57273
57274 * elf/dl-writev.h: New file.
57275 * elf/dl-misc.c: Include it.
57276 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57277 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57278
57279 2013-05-04 Joseph Myers <joseph@codesourcery.com>
57280
57281 * math/libm-test.inc (noXFails): Remove variable.
57282 (noXPasses): Likewise.
57283 (BUILD_COMPLEX_INT): Remove macro.
57284 (print_screen): Remove xfail argument.
57285 (print_screen_max_error): Likewise.
57286 (update_stats): Likewise.
57287 (print_max_error): Likewise. Update calls to other affected
57288 functions.
57289 (print_complex_max_error): Likewise.
57290 (test_single_exception): Update calls to print_screen.
57291 (test_single_errno): Likewise.
57292 (check_float_internal): Remove xfail argument. Update calls to
57293 other affected functions.
57294 (check_float): Likewise.
57295 (check_complex): Likewise.
57296 (check_int): Likewise.
57297 (check_long): Likewise.
57298 (check_bool): Likewise.
57299 (check_longlong): Likewise.
57300 (main): Don't print noXFails and noXPasses.
57301 * math/gen-libm-test.pl (top level): Don't mention expected
57302 failure handling in comment.
57303 (new_test): Don't handle expected failures.
57304 (parse_args): Don't mention expected failure handling in comment.
57305 (generate_testfile): Don't handle expected failures.
57306 (parse_ulps): Likewise.
57307 (print_ulps_file): Likewise.
57308 (get_failure): Remove function.
57309 (output_test): Don't handle expected failures.
57310 * make/README.libm-test: Don't mention expected failure handling.
57311
57312 * math/libm-test.inc (plus_zero): Make const. Add initializer.
57313 (minus_zero): Likewise.
57314 (plus_infty): Likewise.
57315 (minus_infty): Likewise.
57316 (qnan_value): Likewise.
57317 (max_value): Likewise.
57318 (min_value): Likewise.
57319 (min_subnorm_value): Likewise.
57320 (initialize): Do not initialize those variables dynamically.
57321
57322 2013-05-03 Roland McGrath <roland@hack.frob.com>
57323
57324 * io/open.c (__open_2): Moved to ...
57325 * io/open_2.c: ... this new file.
57326 * io/open64.c (__open64_2): Moved to ...
57327 * io/open64_2.c: ... this new file.
57328 * io/openat.c (__openat_2): Moved to ...
57329 * io/openat_2.c: ... this new file.
57330 * io/openat64.c (__openat64_2): Moved to ...
57331 * io/openat64_2.c: ... this new file.
57332 * io/Makefile (routines): Add them.
57333 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57334 * sysdeps/unix/sysv/linux/open_2.c: File removed.
57335 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57336 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57337 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57338 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57339 (__openat64): Add hidden_ver.
57340 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57341 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57342
57343 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57344 Separately conditionalize setting of GLRO(dl_sysinfo) so
57345 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57346 as well, but the actual setting is only under [NEED_DL_SYSINFO].
57347
57348 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57349
57350 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57351 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57352 definition.
57353 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57354 * sysdeps/unix/sysv/linux/powerpc/init-first.c
57355 (_libc_vdso_platform_setup): Add __vdso_time initialization.
57356 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57357 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57358
57359 2013-05-03 Joseph Myers <joseph@codesourcery.com>
57360
57361 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57362 test signgam value.
57363
57364 * math/libm-test.inc (hypot_test): Do not use
57365 IGNORE_ZERO_INF_SIGN.
57366
57367 2013-05-03 Andreas Jaeger <aj@suse.de>
57368
57369 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57370 Linux 3.9.
57371 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57372 (PF_MAX): Adjust for VSOCK change.
57373
57374 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57375
57376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57377
57378 2013-05-02 Carlos O'Donell <carlos@redhat.com>
57379
57380 [BZ #15264]
57381 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57382 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57383 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57384
57385 2013-05-02 David S. Miller <davem@davemloft.net>
57386
57387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57388
57389 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
57390
57391 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57392
57393 2013-05-01 Roland McGrath <roland@hack.frob.com>
57394
57395 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57396
57397 2013-05-01 Richard Smith <richard@metafoo.co.uk>
57398
57399 [BZ #14952]
57400 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57401 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57402 Use __attribute__ ((__gnu_inline__)).
57403 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57404 Don't use __attribute__ ((__gnu_inline__)).
57405
57406 2013-05-01 Joseph Myers <joseph@codesourcery.com>
57407
57408 [BZ #15423]
57409 * math/s_catan.c (__catan): Handle small real or imaginary part of
57410 input specially to avoid spurious underflow.
57411 * math/s_catanf.c (__catanf): Likewise.
57412 * math/s_catanh.c (__catanh): Likewise.
57413 * math/s_catanhf.c (__catanhf): Likewise.
57414 * math/s_catanhl.c (__catanhl): Likewise.
57415 * math/s_catanl.c (__catanl): Likewise.
57416 * math/libm-test.inc (catan_test): Add more tests.
57417 (catanh_test): Likewise.
57418 * sysdeps/i386/fpu/libm-test-ulps: Update.
57419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57420
57421 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57422
57423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57424
57425 2013-04-30 Joseph Myers <joseph@codesourcery.com>
57426
57427 [BZ #15416]
57428 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57429 accurately for denominator in atan2.
57430 * math/s_catanf.c (__catanf): Likewise.
57431 * math/s_catanh.c (__catanh): Likewise.
57432 * math/s_catanhf.c (__catanhf): Likewise.
57433 * math/s_catanhl.c (__catanhl): Likewise.
57434 * math/s_catanl.c (__catanl): Likewise.
57435 * math/libm-test.inc (catan_test): Add more tests.
57436 (catanh_test): Likewise.
57437 * sysdeps/i386/fpu/libm-test-ulps: Update.
57438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57439
57440 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57441
57442 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57443
57444 * benchtests/Makefile (bench): Remove slow benchmarks.
57445 * benchtests/atan-inputs: Add slow benchmark inputs.
57446 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57447 (BENCH_FUNC): Accept variant offset.
57448 (VARIANT): Define.
57449 * benchtests/bench-skeleton.c (main): Run benchmark for each
57450 variant.
57451 * benchtests/cos-inputs: Add slow benchmark inputs.
57452 * benchtests/exp-inputs: Likewise.
57453 * benchtests/pow-inputs: Likewise.
57454 * benchtests/sin-inputs: Likewise.
57455 * benchtests/slowatan-inputs: Remove.
57456 * benchtests/slowatan.c: Remove.
57457 * benchtests/slowcos-inputs: Remove.
57458 * benchtests/slowcos.c: Remove.
57459 * benchtests/slowexp-inputs: Remove.
57460 * benchtests/slowexp.c: Remove.
57461 * benchtests/slowpow-inputs: Remove.
57462 * benchtests/slowpow.c: Remove.
57463 * benchtests/slowsin-inputs: Remove.
57464 * benchtests/slowsin.c: Remove.
57465 * benchtests/slowtan-inputs: Remove.
57466 * benchtests/slowtan.c: Remove.
57467 * benchtests/tan-inputs: Add slow benchmark inputs.
57468 * scripts/bench.pl: Parse comments and directives.
57469
57470 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
57471 in CPPFLAGS.
57472 ($(objpfx)bench-%.c): Remove *-ITER.
57473 * benchtests/bench-modf.c: Remove definition of ITER.
57474 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57475 (main): Loop for DURATION seconds instead of fixed number of
57476 iterations.
57477 * scripts/bench.pl: Don't expect iterations in parameters.
57478
57479 2013-04-29 Roland McGrath <roland@hack.frob.com>
57480
57481 * io/fchdir.c (__fchdir): Renamed from fchdir.
57482 (fchdir): Define as weak alias.
57483
57484 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57485
57486 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57487 (ERRNO_EDOM): Likewise.
57488 (ERRNO_ERANGE): Likewise.
57489 (noErrnoTests): New variable.
57490 (init_max_error): Set errno to 0.
57491 (test_single_errno): New function.
57492 (test_errno): Likewise.
57493 (check_float_internal): Call test_errno. Set errno to 0.
57494 (check_complex): Refer to errno tests in comment.
57495 (check_int): Call test_errno. Set errno to 0.
57496 (check_long): Likewise.
57497 (check_bool): Likewise.
57498 (check_longlong): Likewise.
57499 (cos_test): Use ERRNO_* flags for errno tests instead of
57500 check_int.
57501 (expm1_test): Likewise.
57502 (fmod_test): Likewise.
57503 (ilogb_test): Likewise.
57504 (lgamma_test): Likewise.
57505 (pow_test): Likewise.
57506 (remainder_test): Likewise.
57507 (sin_test): Likewise.
57508 (tan_test): Likewise.
57509 (yn_test): Likewise.
57510 (initialize): Set errno to 0.
57511 (main): Print number of errno tests.
57512 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57513
57514 2013-04-29 Andreas Jaeger <aj@suse.de>
57515
57516 [BZ #15084]
57517 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57518 and RES_USEVC.
57519
57520 [BZ #15085]
57521 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57522 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57523 unimplemented.
57524
57525 [BZ #15380]
57526 * stdlib/random.c (__initstate): Return NULL if
57527 __initstate fails.
57528
57529 [BZ #15086]
57530 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57531 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57532 RES_SNGLKUPREOP.
57533
57534 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57535
57536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57537
57538 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57539
57540 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57541 of individual tests.
57542 (casin_test): Likewise.
57543 (casinh_test): Likewise.
57544
57545 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57546
57547 [BZ #15409]
57548 * math/s_catan.c (__catan): Handle arguments with large real or
57549 imaginary part separately without squaring.
57550 * math/s_catanf.c (__catanf): Likewise.
57551 * math/s_catanh.c (__catanh): Likewise.
57552 * math/s_catanhf.c (__catanhf): Likewise.
57553 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57554 and redefine.
57555 (__catanhl): Handle arguments with large real or imaginary part
57556 separately without squaring.
57557 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57558 and redefine.
57559 (__catanl): Handle arguments with large real or imaginary part
57560 separately without squaring.
57561 * math/libm-test.inc (catan_test): Add more tests.
57562 (catanh_test): Likewise.
57563 * sysdeps/i386/fpu/libm-test-ulps: Update.
57564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57565
57566 2013-04-27 Andreas Jaeger <aj@suse.de>
57567
57568 [BZ #15007]
57569 * stdlib/stdlib.h: Update guards for qecvt.
57570 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57571 <stdlib.h>.
57572
57573 2013-04-27 Allan McRae <allan@archlinux.org>
57574
57575 * sysdeps/i386/fpu/libm-test-ulps: Update.
57576
57577 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57578
57579 [BZ #15406]
57580 * math/s_catan.c: Include <float.h>.
57581 (__catan): Ensure underflow exception occurs for underflowed
57582 result.
57583 * math/s_catanf.c: Include <float.h>.
57584 (__catanf): Ensure underflow exception occurs for underflowed
57585 result.
57586 * math/s_catanh.c: Include <float.h>.
57587 (__catanh): Ensure underflow exception occurs for underflowed
57588 result.
57589 * math/s_catanhf.c: Include <float.h>.
57590 (__catanhf): Ensure underflow exception occurs for underflowed
57591 result.
57592 * math/s_catanhl.c: Include <float.h>.
57593 (__catanhl): Ensure underflow exception occurs for underflowed
57594 result.
57595 * math/s_catanl.c: Include <float.h>.
57596 (__catanl): Ensure underflow exception occurs for underflowed
57597 result.
57598 * math/libm-test.inc (catan_test): Add more tests.
57599 (catanh_test): Likewise.
57600
57601 [BZ #15405]
57602 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57603 underflowed result.
57604 * math/s_ccoshf.c (__ccoshf): Likewise.
57605 * math/s_ccoshl.c (__ccoshl): Likewise.
57606 * math/s_csin.c (__csin): Likewise.
57607 * math/s_csinf.c (__csinf): Likewise.
57608 * math/s_csinh.c (__csinh): Likewise.
57609 * math/s_csinhf.c (__csinhf): Likewise.
57610 * math/s_csinhl.c (__csinhl): Likewise.
57611 * math/s_csinl.c (__csinl): Likewise.
57612 * math/libm-test.inc (ccos_test): Add more tests.
57613 (ccosh_test): Likewise.
57614 (csin_test): Likewise.
57615 (csinh_test): Likewise.
57616
57617 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57618
57619 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57620 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57621 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57622 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57623 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57624 powerpc/power5+/fpu folders.
57625 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57626
57627
57628 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57629
57630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57631
57632 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57633
57634 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57635 additions to variable.
57636 [$(config-machine) = x86_64] (modules-names): Likewise.
57637 ($(objpfx)tst-audit3): Remove dependency.
57638 ($(objpfx)tst-audit3.out): Likewise.
57639 ($(objpfx)tst-audit4): Likewise.
57640 ($(objpfx)tst-audit4.out): Likewise.
57641 ($(objpfx)tst-audit5): Likewise.
57642 ($(objpfx)tst-audit5.out): Likewise.
57643 ($(objpfx)tst-audit6): Likewise.
57644 ($(objpfx)tst-audit6.out): Likewise.
57645 ($(objpfx)tst-audit7): Likewise.
57646 ($(objpfx)tst-audit7.out): Likewise.
57647 (tst-audit3-ENV): Remove variable.
57648 (tst-audit4-ENV): Likewise.
57649 (tst-audit5-ENV): Likewise.
57650 (tst-audit6-ENV): Likewise.
57651 (tst-audit7-ENV): Likewise.
57652 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57653 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57654 addition to variable.
57655 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57656 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57657 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57658 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57659 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57660 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57661 tst-audit3, tst-audit4 and tst-audit5.
57662 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57663 tst-audit6 and tst-audit7.
57664 [$(subdir) = elf] (modules-names): Add audit modules for those
57665 tests.
57666 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57667 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57668 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57669 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57670 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57671 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57672 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57673 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57674 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57675 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57676 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57677 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57678 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57679 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57680 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57681 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57682 Likewise.
57683 [$(subdir) = elf && $(config-cflags-avx) = yes]
57684 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57685 [$(subdir) = elf && $(config-cflags-avx) = yes]
57686 (CFLAGS-tst-auditmod4a.c): Likewise.
57687 [$(subdir) = elf && $(config-cflags-avx) = yes]
57688 (CFLAGS-tst-auditmod4b.c): Likewise.
57689 [$(subdir) = elf && $(config-cflags-avx) = yes]
57690 (CFLAGS-tst-auditmod6b.c): Likewise.
57691 [$(subdir) = elf && $(config-cflags-avx) = yes]
57692 (CFLAGS-tst-auditmod6c.c): Likewise.
57693 [$(subdir) = elf && $(config-cflags-avx) = yes]
57694 (CFLAGS-tst-auditmod7b.c): Likewise.
57695 * elf/tst-audit3.c: Move to ...
57696 * sysdeps/x86_64/tst-audit3.c: ... here.
57697 * elf/tst-audit4.c: Move to ...
57698 * sysdeps/x86_64/tst-audit4.c: ... here.
57699 * elf/tst-audit5.c: Move to ...
57700 * sysdeps/x86_64/tst-audit5.c: ... here.
57701 * elf/tst-audit6.c: Move to ...
57702 * sysdeps/x86_64/tst-audit6.c: ... here.
57703 * elf/tst-audit7.c: Move to ...
57704 * sysdeps/x86_64/tst-audit7.c: ... here.
57705 * elf/tst-auditmod3a.c: Move to ...
57706 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57707 * elf/tst-auditmod3b.c: Move to ...
57708 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57709 * elf/tst-auditmod4a.c: Move to ...
57710 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57711 * elf/tst-auditmod4b.c: Move to ...
57712 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57713 * elf/tst-auditmod5a.c: Move to ...
57714 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57715 * elf/tst-auditmod5b.c: Move to ...
57716 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57717 * elf/tst-auditmod6a.c: Move to ...
57718 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57719 * elf/tst-auditmod6b.c: Move to ...
57720 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57721 * elf/tst-auditmod6c.c: Move to ...
57722 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57723 * elf/tst-auditmod7a.c: Move to ...
57724 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57725 * elf/tst-auditmod7b.c: Move to ...
57726 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57727
57728 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
57729
57730 [BZ #15366]
57731 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57732 define unconditionally.
57733 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57734 define unconditionally.
57735 (INT8_C, INT16_C, etc.): Likewise.
57736
57737 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
57738
57739 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57740 __ehdr_start with hidden visibility.
57741
57742 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57743
57744 2013-04-24 Carlos O'Donell <carlos@redhat.com>
57745
57746 * math/libm-test.inc (cos_test): Use accurate hex constants.
57747 (sincost_test): Likewise.
57748
57749 2013-04-24 Joseph Myers <joseph@codesourcery.com>
57750
57751 * math/libm-test.inc (catan_test): Add more tests.
57752 (catanh_test): Likewise.
57753
57754 * math/s_catanf.c (__catanf): Use suffixed floating-point
57755 constants.
57756 * math/s_catanhf.c (__catanhf): Likewise.
57757 * math/s_catanhl.c (__catanhl): Likewise.
57758 * math/s_catanl.c (__catanl): Likewise.
57759
57760 [BZ #15394]
57761 * math/s_catan.c (__catan): Calculate imaginary part of result
57762 with log1p not log unless computing log of number close to 0.
57763 * math/s_catanf.c (__catanf): Likewise.
57764 * math/s_catanl.c (__catanl): Likewise.
57765 * math/s_catanh.c (__catanh): Calculate real part of result with
57766 log1p not log unless computing log of number close to 0.
57767 * math/s_catanhf.c (__catanhf): Likewise.
57768 * math/s_catanhl.c (__catanhl): Likewise.
57769 * math/libm-test.inc (catan_test): Add more tests.
57770 (catanh_test): Likewise.
57771 * sysdeps/i386/fpu/libm-test-ulps: Update.
57772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57773
57774 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57775
57776 * benchtests/Makefile: Mention files in which fast and slow
57777 paths of math functions are implemented.
57778
57779 2013-04-23 Roland McGrath <roland@hack.frob.com>
57780
57781 * sysdeps/posix/timespec_get.c: New file.
57782
57783 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57784
57785 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57786 POWER.
57787 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57788 for POWER.
57789 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57790 powerpc/power5/fpu folders.
57791 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57792 * benchtests/Makefile: Add modf testcase.
57793 * benchtests/bench-modf.c: New file: Benchmark test for mo
57794
57795 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
57796
57797 [BZ #14888]
57798 * time/Makefile (tests): Add tst-strptime-whitespace.
57799 * time/strptime_l.c (get_number): Use ISSPACE.
57800 (__strptime_internal): Likewise.
57801 * time/tst-strptime-whitespace.c: New test case.
57802
57803 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57804
57805 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57806 member.
57807 (_nss_files_init): Set it here.
57808
57809 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
57810
57811 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57812 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57813 unsigned.
57814
57815 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
57816
57817 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57818
57819 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57820
57821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57822 size just once.
57823
57824 2013-04-21 David S. Miller <davem@davemloft.net>
57825
57826 * po/ru.po: Update Russion translation from translation project.
57827
57828 2013-04-17 Adam Conrad <adconrad@0c3.net>
57829
57830 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57831 and setfsgid.
57832
57833 2013-04-17 Carlos O'Donell <carlos@redhat.com>
57834
57835 * configure.in: Remove i386 configure warning. Remove i386 case.
57836 * configure: Regenerate.
57837 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57838 Add example to error message.
57839 * sysdeps/i386/configure: Regenerate.
57840
57841 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57842
57843 * benchtests/Makefile (bench): Add cos, tan, slowcos and
57844 slowtan.
57845 * benchtests/cos-inputs: New file.
57846 * benchtests/slowcos-inputs: New file.
57847 * benchtests/slowcos.c: New file.
57848 * benchtests/slowtan-inputs: New file.
57849 * benchtests/slowtan.c: New file.
57850 * benchtests/tan-inputs: New file.
57851
57852 2013-04-16 Roland McGrath <roland@hack.frob.com>
57853
57854 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57855 considered kosher.
57856
57857 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57858
57859 * benchtests/Makefile: Include cppflags-iterator.mk to add
57860 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57861
57862 * Makefile.in (bench-clean): New target.
57863 * benchtests/Makefile (bench-clean): Likewise.
57864
57865 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
57866
57867 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57868
57869 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
57870
57871 * stdio-common/tstdiomisc.c: Fix coding-style violation.
57872
57873 2013-04-15 Andreas Schwab <schwab@suse.de>
57874
57875 * nscd/grpcache.c (cache_addgr): Properly check for short write.
57876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57877 * nscd/pwdcache.c (cache_addpw): Likewise.
57878 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
57879 more than recsize.
57880
57881 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57882
57883 * benchtests/Makefile (bench): Write all output to
57884 bench-out.tmp together.
57885
57886 2013-04-15 Andreas Schwab <schwab@suse.de>
57887
57888 * nscd/nscd.c (main): Don't fork again after closing files.
57889
57890 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57891
57892 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57893
57894 * benchtests/Rules (bench-deps): Collect dependencies into a
57895 single variable. Add Makefile to dependencies.
57896 ($(objpfx)bench-%.c): Depend on bench-deps.
57897
57898 2013-04-12 Roland McGrath <roland@hack.frob.com>
57899 Xavier Roche <roche+kml2@exalead.com>
57900
57901 [BZ #15361]
57902 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57903 just that it's a file descriptor.
57904 * manual/llio.texi (Synchronizing AIO Operations): Update description
57905 for EBADF error from aio_fsync.
57906
57907 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57908
57909 * Rules (bench): Move target definition...
57910 * benchtests/Makefile: ... here.
57911
57912 2013-04-11 Carlos O'Donell <carlos@redhat.com>
57913
57914 * math/libm-test.inc (cos_test): Fix PI/2 test.
57915 (sincos_test): Likewise.
57916 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57917 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57918
57919 2013-04-11 Andreas Schwab <schwab@suse.de>
57920
57921 [BZ #13988]
57922 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57923 accept exponent character only when digits were seen.
57924 * stdio-common/Makefile (tests): Add bug26.
57925 * stdio-common/bug26.c: New file.
57926
57927 [BZ #14293]
57928 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57929 non-freeable.
57930
57931 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57932
57933 * Makeconfig (rtld-prefix): Define built linker prefix.
57934 * Rules (run-bench): Use it.
57935 * math/Makefile (run-regen-ulps): Likewise.
57936
57937 * Rules (bench): Remove eval.
57938
57939 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57940 Roland McGrath <roland@hack.frob.com>
57941 Ondrej Bilka <neleai@seznam.cz>
57942
57943 [BZ #15346]
57944 * time/getdate.c: Include ctype.h and alloca.h.
57945 (__getdate_r): Trim leading and trailing spaces of input.
57946 * time/tst-getdate.c (tests): Add tests with leading and
57947 trailing spaces.
57948
57949 2013-04-08 Roland McGrath <roland@hack.frob.com>
57950
57951 [BZ #14280]
57952 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57953 when computing value.
57954
57955 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57956
57957 * math/README.libm-test (How can I generate "libm-test-ulps"?):
57958 Use testrun.sh to run libm tests.
57959
57960 [BZ #15309]
57961 * elf/dl-open.c (dl_open_worker): memset all of seen array.
57962
57963 2013-04-06 Marko Myllynen <myllynen@redhat.com>
57964
57965 [BZ #15264]
57966 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57967
57968 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57969
57970 * Makefile.in (regen-ulps): New target.
57971 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57972 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57973 [ifneq (no,$(PERL)] (regen-ulps): New target.
57974 [ifeq (no,$(PERL)] (regen-ulps): New target.
57975 * math/libm-test.inc (ulps_file_name): Define.
57976 (output_dir): New variable.
57977 (options): Add "output-dir" option.
57978 (parse_opt): Handle 'o' case.
57979 (main): If output_dir is non-NULL use it as a prefix
57980 otherwise use "".
57981 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57982
57983 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57984
57985 [BZ #10060, #10062]
57986 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57987 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57988 fail configure if __sync_val_compare_and_swap is not inlined.
57989 * sysdeps/i386/configure: Regenerate.
57990 * configure.in: Build for i686 when configured for i386.
57991 * configure: Regenerate.
57992 * README: Remove i386 reference.
57993
57994 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57995
57996 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57997 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57998
57999 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
58000
58001 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58002 (lmsnanval): New variables.
58003 (F): Add conversion tests.
58004 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58005 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58006
58007 * stdio-common/tstdiomisc.c (F): Properly collect individual
58008 tests' results.
58009
58010 [BZ #14686, #15336]
58011 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58012 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58013 Instead, use input NaN values or generate a qNaN by arithmetic
58014 operation. Also fix bugs to comply with the standard.
58015 * math/libm-test.inc (remainder_test): Add more tests.
58016
58017 [BZ #15335, #15342]
58018 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58019 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58020 input NaN values or generate a qNaN by arithmetic operation.
58021
58022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58023 unreachable code.
58024
58025 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58026 definitions.
58027
58028 2013-04-03 Joseph Myers <joseph@codesourcery.com>
58029
58030 [BZ #14478]
58031 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58032 underflowed result.
58033 * math/s_cexpf.c (__cexpf): Likewise.
58034 * math/s_cexpl.c (__cexpl): Likewise.
58035 * math/libm-test.inc (cexp_test): Add more tests.
58036
58037 2013-04-03 Andreas Schwab <schwab@suse.de>
58038
58039 [BZ #15330]
58040 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58041 order arrays from heap if bigger than alloca cutoff.
58042
58043 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
58044
58045 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58046 (SNAN_TESTS_double): Refer to GCC PR56831.
58047 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58048 GCC PR56828.
58049
58050 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58051
58052 * Rules (bench): Move bench.out after the run is complete.
58053
58054 * Rules (bench): Echo currently running benchmark.
58055
58056 * benchtests/Makefile (bench): Add atan and slowatan.
58057 * benchtests/atan-inputs: New file.
58058 * benchtests/slowatan-inputs: New file.
58059 * benchtests/slowatan.c: New file.
58060
58061 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58062 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58063 its value.
58064
58065 [BZ #15305]
58066 * sysdeps/unix/sysv/linux/kernel-features.h
58067 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58068 __ASSUME_XFS_RESTRICTED_CHOWN.
58069 * sysdeps/unix/sysv/linux/pathconf.c
58070 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58071 Save and restore errno.
58072
58073 2013-04-02 Joseph Myers <joseph@codesourcery.com>
58074
58075 [BZ #15327]
58076 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58077 arguments using __kernel_casinh.
58078 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58079 arguments using __kernel_casinhf.
58080 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58081 arguments using __kernel_casinhl.
58082 * math/libm-test.inc (cacosh_test): Add more tests.
58083 * sysdeps/i386/fpu/libm-test-ulps: Update.
58084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58085
58086 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58087
58088 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58090
58091 * bench/Makefile (bench): Add sin and slowsin.
58092 * benchtests/sin-inputs: New file.
58093 * benchtests/slowsin-inputs: New file.
58094 * benchtests/slowsin.c: New file.
58095
58096 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58097 (bench): Add slowexp and slowpow.
58098 (exp-ITER): Increase iterations.
58099 (pow-ITER): Likewise.
58100 * benchtests/exp-inputs: Change input.
58101 * benchtests/pow-inputs: Likewise.
58102 * benchtests/slowexp-inputs: New file.
58103 * benchtests/slowexp.c: New file.
58104 * benchtests/slowpow-inputs: New file.
58105 * benchtests/slowpow.c: New file.
58106
58107 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58108
58109 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58110 instructions.
58111 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58112 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58113 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58114 * benchtests/Makefile: Add rint benchtest.
58115 * benchtests/rint-inputs: Input for rint benchtest.
58116
58117 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
58118
58119 * Versions.def (libm): Add GLIBC_2.18.
58120 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58121 hidden libm prototypes.
58122 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58123 * math/Makefile (libm-calls): Add s_issignaling.
58124 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58125 __issignalingf, __issignalingl. Adjust all libm.abilist files.
58126 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58127 declaration.
58128 * math/math.h [__USE_GNU] (issignaling): New macro.
58129 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58130 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58131 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58132 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58133 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58134 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58135 * manual/arith.texi (issignaling): New section.
58136 * manual/libm-err-tab.pl (@all_functions): Update comment.
58137 * math/gen-libm-test.pl (parse_args): Apply special handling for
58138 issignaling.
58139 * math/libm-test.inc (print_float, issignaling_test): New
58140 functions.
58141 (check_float_internal): Add issignaling checks.
58142 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58143 default definition.
58144 * sysdeps/powerpc/math-tests.h: New file.
58145 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58146 tests.
58147 * math/test-snan.c (TEST_FUNC): Likewise.
58148
58149 2013-03-30 David S. Miller <davem@davemloft.net>
58150
58151 * po/de.po: Update from translation team.
58152
58153 2013-03-30 Joseph Myers <joseph@codesourcery.com>
58154
58155 [BZ #10357]
58156 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58157 imaginary part less than 1.0 and real part less than 0.5
58158 specially.
58159 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58160 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58161 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58162 (cacos_test): Add more tests.
58163 (casin_test): Likewise.
58164 (casinh_test): Likewise.
58165 * sysdeps/i386/fpu/libm-test-ulps: Update.
58166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58167
58168 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58169
58170 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58171 ONE with its value.
58172
58173 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58174 (__pow_mp): Replace ONE and MONE with their values.
58175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58176 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58177 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58178 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58179 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58180 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58181
58182 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58183
58184 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58185 (__pow_mp): Replace ZERO and MZERO with their values.
58186 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58187 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58188 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58190 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58191 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58192 (__sqr): Likewise.
58193
58194 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58195
58196 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58197
58198 2013-03-28 Roland McGrath <roland@hack.frob.com>
58199
58200 * include/stdlib.h [!SHARED] (__call_tls_dtors):
58201 Declare with __attribute__ ((weak)).
58202 * stdlib/exit.c (__libc_atexit) [!SHARED]:
58203 Call __call_tls_dtors only if it's not NULL.
58204
58205 2013-03-28 Roland McGrath <roland@hack.frob.com>
58206
58207 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58208 didn't do it already, then set _dl_phdr and _dl_phnum based on the
58209 magic __ehdr_start linker symbol if it's defined.
58210 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58211 them up here if it was already done.
58212
58213 * elf/dl-support.c (_dl_phdr): Make pointer to const.
58214 (_dl_aux_init): Use const in cast when setting it.
58215 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58216 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58217 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58218
58219 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58220 Declare them here.
58221 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58222 * csu/libc-tls.c: Nor here.
58223 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58224
58225 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58226 (__libc_message): Never call vsyslog.
58227
58228 2013-03-28 Alan Modra <amodra@gmail.com>
58229
58230 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58231 Define as empty.
58232 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58233 Likewise.
58234
58235 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58236
58237 [BZ #15214]
58238 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58239 underflow.
58240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58241
58242 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58243
58244 [BZ #15304]
58245 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58246 Don't add gid passed as argument.
58247
58248 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58249
58250 2013-03-27 Joseph Myers <joseph@codesourcery.com>
58251
58252 [BZ #15307]
58253 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58254 imaginary part between 1.0 and 1.5 and real part less than 0.5
58255 specially.
58256 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58257 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58258 * math/libm-test.inc (cacos_test): Add more tests.
58259 (casin_test): Likewise.
58260 (casinh_test): Likewise.
58261 * sysdeps/i386/fpu/libm-test-ulps: Update.
58262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58263
58264 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58265
58266 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58267 constants.
58268 (norm): Likewise.
58269 (denorm): Likewise.
58270 (__dbl_mp): Likewise.
58271 (add_magnitudes): Likewise.
58272 (sub_magnitudes): Likewise.
58273 (__add): Likewise.
58274 (__sub): Likewise.
58275 (__mul): Likewise.
58276 (__sqr): Likewise.
58277 (__inv): Likewise.
58278 (__dvd): Likewise.
58279
58280 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58281 commented code.
58282 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58283 (__dubcos): Likewise.
58284 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58285 (__ieee754_acos): Likewise.
58286 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58287 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58288 (__exp1): Likewise.
58289 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58290 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58291 (log1): Likewise.
58292 (my_log2): Likewise.
58293 (checkint): Likewise.
58294 * sysdeps/ieee754/dbl-64/e_remainder.c
58295 (__ieee754_remainder): Likewise.
58296 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58297 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58298 (bsloww): Likewise.
58299 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58300
58301 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58302 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58303 MANTISSA_STORE_T to store computations on mantissa. Use
58304 macros for rounding and division.
58305 (denorm): Likewise.
58306 (__dbl_mp): Likewise.
58307 (add_magnitudes): Likewise.
58308 (sub_magnitudes): Likewise.
58309 (__mul): Likewise.
58310 (__sqr): Likewise.
58311 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58312 powers of two in terms of TWOPOW macro.
58313 (mp_no): Make type of mantissa as MANTISSA_T.
58314 [!RADIXI]: Define RADIXI.
58315 [!TWO52]: Define TWO52.
58316 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58317
58318 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58319
58320 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58321 llroundl symbol when building for PPC32.
58322
58323 2013-03-24 Mark H Weaver <mhw@netris.org>
58324
58325 * manual/arith.texi (Normalization Functions): Fix prototypes for
58326 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58327
58328 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58329
58330 [BZ #13889]
58331 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58332 high value to check if expl overflow.
58333 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58334 to check for underflow and overflow.
58335 * math/libm-test.inc: Add exp test.
58336
58337 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
58338
58339 [BZ #11120]
58340 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58341 with NOT_IN_libc.
58342
58343 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58344
58345 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58346 symbol.
58347
58348 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
58349
58350 * math/gen-libm-test.pl (parse_args, special_functions): Properly
58351 wrap blocks consisting of several statements.
58352
58353 * sysdeps/generic/math-tests.h: New file.
58354 * sysdeps/i386/fpu/math-tests.h: Likewise.
58355 * math/test-snan.c: Include it.
58356 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58357
58358 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58359
58360 [BZ #15285]
58361 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58362 (__ieee754_j0l): Do not improve calculations using cos of twice
58363 input for inputs above LDBL_MAX / 2.0L.
58364 (__ieee754_y0l): Likewise.
58365 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58366 (__ieee754_j1l): Do not improve calculations using cos of twice
58367 input for inputs above LDBL_MAX / 2.0L.
58368 (__ieee754_y1l): Likewise.
58369 * math/libm-test.inc (j0_test): Add another test.
58370 (j1_test): Likewise.
58371 (y0_test): Likewise.
58372 (y1_test): Likewise.
58373 * sysdeps/i386/fpu/libm-test-ulps: Update.
58374
58375 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58376
58377 * Rules ($(objpfx)bench-%.c): Include code from a C source
58378 file.
58379
58380 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58381
58382 [BZ #15287]
58383 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58384 imaginary part 1.0 and real part less than 0.5 specially.
58385 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58386 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58387 * math/libm-test.inc (cacos_test): Add more tests.
58388 (casin_test): Likewise.
58389 (casinh_test): Likewise.
58390 * sysdeps/i386/fpu/libm-test-ulps: Update.
58391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58392
58393 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58394
58395 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58396 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58397
58398 2013-03-20 Joseph Myers <joseph@codesourcery.com>
58399
58400 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58401 * config.make.in (config-cflags-sse4): Remove variable.
58402 (config-cflags-avx): Likewise.
58403 (config-cflags-sse2avx): Likewise.
58404 (config-cflags-novzeroupper): Likewise.
58405 (config-asflags-i686): Likewise.
58406 (have-mfma4): Likewise.
58407 (have-as-vis3): Likewise.
58408 (MIG): Likewise.
58409 * configure.in (MIG): Do not AC_SUBST.
58410 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58411 (libc_cv_cc_sse4): Do not AC_SUBST.
58412 (libc_cv_cc_avx): Likewise.
58413 (libc_cv_cc_sse2avx): Likewise.
58414 (libc_cv_cc_novzeroupper): Likewise.
58415 (libc_cv_cc_fma4): Likewise.
58416 (libc_cv_as_i686): Likewise.
58417 (libc_cv_sparc_as_vis3): Likewise.
58418 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58419 LIBC_CONFIG_VAR.
58420 (config-asflags-i686): Likewise.
58421 (config-cflags-avx): Likewise.
58422 (config-cflags-sse2avx): Likewise.
58423 (have-mfma4): Likewise.
58424 (config-cflags-novzeroupper): Likewise.
58425 * sysdeps/mach/configure.in (MIG): Likewise.
58426 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58427 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58428 LIBC_CONFIG_VAR.
58429 (config-cflags-avx): Likewise.
58430 (config-cflags-sse2avx): Likewise.
58431 (have-mfma4): Likewise.
58432 (config-cflags-novzeroupper): Likewise.
58433 * configure: Regenerated.
58434 * sysdeps/i386/configure: Likewise.
58435 * sysdeps/mach/configure: Likewise.
58436 * sysdeps/sparc/configure: Likewise.
58437 * sysdeps/x86_64/configure: Likewise.
58438
58439 2013-03-20 Roland McGrath <roland@hack.frob.com>
58440
58441 [BZ #14812]
58442 * locale/programs/localedef.c (options): Put N_ translation marker
58443 on argument names, not just descriptions.
58444
58445 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58446
58447 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58448
58449 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
58450
58451 [BZ #14176]
58452 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58453
58454 2013-03-19 Roland McGrath <roland@hack.frob.com>
58455
58456 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58457 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58458 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58459 [!BEFORE_ABORT] (before_abort): New function.
58460 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58461 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58462 (writev_for_fatal): New function.
58463 (WRITEV_FOR_FATAL): New macro; call that.
58464 (backtrace_and_maps): New function.
58465 (BEFORE_ABORT): New macro; call that.
58466 (struct str_list): Type removed.
58467 (__libc_message, __libc_fatal): Functions removed.
58468 Include <sysdeps/posix/libc_fatal.c> instead.
58469
58470 2013-03-19 Joseph Myers <joseph@codesourcery.com>
58471
58472 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58473 constants.
58474 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58475 double constants.
58476
58477 2013-03-19 Andreas Schwab <schwab@suse.de>
58478
58479 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58480 * sysdeps/gnu/configure: Regenerate.
58481
58482 * configure.in: Substitute libc_cv_rtlddir.
58483 * configure: Regenerate.
58484 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58485 * Makeconfig (rtlddir, inst_rtlddir): New variables.
58486 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58487 * elf/Makefile (install-others, CFLAGS-interp.c)
58488 (ldso_install, common-ldd-rewrite): Likewise.
58489 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58490 $(inst_slibdir)/$(rtld-installed-name).
58491 * scripts/rellns-sh: Add -p option.
58492 * Makerules (make-shlib-link): Use rellns-sh to get relative name
58493 for source.
58494
58495 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58496
58497 * manual/nptl.texi: Renamed to ...
58498 * manual/threads.texi: ... this.
58499 * manual/Makefile (chapters): Update.
58500
58501 2013-03-18 Roland McGrath <roland@hack.frob.com>
58502
58503 [BZ #14812]
58504 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58505 on argument names, not just descriptions.
58506 * malloc/memusagestat.c (options): Likewise.
58507 * nss/getent.c (options): Likewise.
58508
58509 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58510
58511 [BZ #14812]
58512 * iconv/iconv_prog.c (options): Put N_ translation marker
58513 on argument names, not just descriptions.
58514 * iconv/iconvconfig.c (options): Likewise.
58515
58516 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58517
58518 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58519 implementation which is faster on all x86_64 architectures.
58520 Tested on AMD, Intel Nehalem, SNB, IVB.
58521 * sysdeps/x86_64/strnlen.S: Likewise.
58522
58523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58524 Remove all multiarch strlen and strnlen versions.
58525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58526 Remove strlen and strnlen related parts.
58527
58528 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58529 Inline strlen part.
58530 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58531
58532 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58533 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58534 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58535 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58536 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58537 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58538
58539 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58540
58541 * manual/memory.texi (Malloc Tunable Parameters):
58542 Sort parameters alphabetically. Add comments for missing entries.
58543
58544 2013-03-17 David S. Miller <davem@davemloft.net>
58545
58546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58547
58548 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58549
58550 [BZ #15283]
58551 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58552 for arguments at most half maximum finite value.
58553 * math/libm-test.inc (j0_test): Add more tests.
58554 (j1_test): Likewise.
58555 (y0_test): Likewise.
58556 (y1_test): Likewise.
58557 * sysdeps/i386/fpu/libm-test-ulps: Update.
58558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58559
58560 [BZ #14155]
58561 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58562 1 / x and functions P and Q for arguments above 0x1p256L.
58563 (__ieee754_y0l): Likewise.
58564 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58565 (__ieee754_y1l): Likewise.
58566 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58567 (j1_test): Likewise.
58568 (y0_test): Likewise.
58569 (y1_test): Likewise.
58570
58571 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58572
58573 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58574 variable.
58575
58576 2013-03-15 Roland McGrath <roland@hack.frob.com>
58577
58578 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58579 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58580 zero since it's initialized to EXEC_PAGESIZE.
58581
58582 * sysdeps/unix/sysv/linux/ldsodefs.h
58583 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58584 * sysdeps/generic/ldsodefs.h: ... here.
58585
58586 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58587
58588 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58589
58590 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58591 math/test-snan.c.
58592 * math/test-snan.c: Renamed from
58593 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58594 * math/Makefile (tests): Add test-snan.
58595 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58596 test-powerpc-snan.
58597
58598 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58599 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58600 functions.
58601 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58602 __builtin_nan family of functions.
58603 * math/libm-test.inc (initialize): Initialize qnan_value with
58604 __builtin_nan family of functions.
58605 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58606 Remove variables.
58607 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58608 Remove functions.
58609 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58610 storage class. Initialize qNaN_var and sNaN_var with
58611 __builtin_nan and __builtin_nans families of functions,
58612 respectively.
58613
58614 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58615 (sqrt_test): Remove duplicate test with qNaN input.
58616 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58617 (round_test, signbit_test, significand_test): Note missing +/-Inf
58618 as well as qNaN tests.
58619
58620 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58621 qNaN_var. Fix a few strings, too.
58622 * math/libm-test.inc (nan_value): Rename to qnan_value.
58623 * math/gen-libm-test.pl (%beautify): Adjust to that.
58624 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58625 * math/test-misc.c (main): Likewise.
58626 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58627 to __qnan_bytes, and __qnan_union, respectively.
58628 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58629 Likewise.
58630 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58631 and lqnanval, respectively.
58632 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58633 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58634 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58635 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58636
58637 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58638 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58639 doubles.
58640
58641 * math/test-misc.c (main): Fix copy'n'pastos.
58642 * misc/tst-efgcvt.c (special): Likewise.
58643
58644 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58645 Remove declarations.
58646
58647 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58648
58649 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58650 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58651 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58652 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58653
58654 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58655
58656 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58657 macro to return vdso values correctly in IFUNC implementations.
58658 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58659 Optimization by using IFUNC.
58660
58661 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58662 Richard Henderson <rth@redhat.com>
58663 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58664
58665 * Makefile.in (bench): New target.
58666 * NEWS: Mention the benchmark framework.
58667 * Rules (bench): Likewise.
58668 (binaries-bench): Generate binaries for functions to
58669 benchmark.
58670 * benchtests/Makefile: New makefile for benchmark tests.
58671 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58672 programs.
58673 * benchtests/exp-inputs: New input file for EXP function.
58674 * benchtests/pow-inputs: New input file for POW function.
58675 * scripts/bench.pl: New script to generate source files for
58676 benchmark programs.
58677
58678 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58679
58680 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58681 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58682 computations on mantissa. Use macros for rounding and
58683 division.
58684 (denorm): Likewise.
58685 (__dbl_mp): Likewise.
58686 (add_magnitudes): Likewise.
58687 (sub_magnitudes): Likewise.
58688 (__mul): Likewise.
58689 (__sqr): Likewise.
58690 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58691 powers of two in terms of TWOPOW macro.
58692 (mp_no): Make type of mantissa as MANTISSA_T.
58693 [!RADIXI]: Define RADIXI.
58694 [!TWO52]: Define TWO52.
58695 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58696
58697 * manual/nptl.texi (cindex): Modify threads to pthreads.
58698
58699 2013-03-15 Joseph Myers <joseph@codesourcery.com>
58700
58701 * sysdeps/x86_64/preconfigure: Regenerated.
58702
58703 2013-03-14 Joseph Myers <joseph@codesourcery.com>
58704
58705 [BZ #14155]
58706 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58707 0x1p28 and above.
58708 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58709 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58710 0x1p28 and above.
58711 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58712 * math/libm-test.inc (j0_test): Do not allow one spurious
58713 underflow exception.
58714 (y1_test): Likewise.
58715
58716 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58717
58718 * manual/Makefile (chapters): Add nptl.
58719 * manual/debug.texi (Debugging Support): Add link to Threads
58720 chapter.
58721 * manual/nptl.texi: New file.
58722
58723 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58724
58725 2013-03-14 Petr Baudis <pasky@ucw.cz>
58726
58727 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58728 for non-NULL pointer before the memory validity test. Pointed
58729 out by Holger Brunck <holger.brunck@keymile.com>.
58730
58731 2013-03-13 Andreas Schwab <schwab@suse.de>
58732
58733 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58734 instead of .os.
58735
58736 2013-03-13 Joseph Myers <joseph@codesourcery.com>
58737
58738 * timezone/zic.c: Update from tzcode 2013b.
58739
58740 2013-03-12 Carlos O'Donell <carlos@redhat.com>
58741
58742 * manual/install.texi (Configuring and compiling):
58743 Mention i686 and i586.
58744 * INSTALL: Regenerate.
58745
58746 2013-03-12 Roland McGrath <roland@hack.frob.com>
58747
58748 * sysdeps/init_array/elf-init.c: New file.
58749 * csu/elf-init.c
58750 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58751 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58752
58753 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58754 __gmon_start__ as global, but as static with a .preinit_array pointer.
58755 * sysdeps/init_array/gmon-start.c: New file. Use that.
58756 * sysdeps/init_array/crti.S: New file, empty except for comments.
58757 * sysdeps/init_array/crtn.S: Likewise.
58758
58759 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
58760
58761 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58762 definining bcopy.
58763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58764 Remove Prefer_SSE_for_memop.
58765 * sysdeps/x86_64/multiarch/init-arch.h: Remove
58766 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58767 HAS_PREFER_SSE_FOR_MEMOP.
58768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58769 memset-x86-64.
58770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58771 Remove bzero, memset ifunc support.
58772 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58773 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58774 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58775 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58776
58777 2013-03-11 Andreas Schwab <schwab@suse.de>
58778
58779 [BZ #15234]
58780 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58781 by SHLIB_COMPAT.
58782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58783 (GLIBC_2.16): Remove pthread_atfork.
58784
58785 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
58786
58787 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58788 (ptestcases.h): Likewise.
58789
58790 2013-03-08 Roland McGrath <roland@hack.frob.com>
58791
58792 * Makeconfig ($(common-objpfx)config.status): Depend on
58793 sysdeps/*/preconfigure{,.in} too.
58794
58795 2013-03-08 Joseph Myers <joseph@codesourcery.com>
58796
58797 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58798 (__free_hook): Use void * instead of __malloc_ptr_t.
58799 (__malloc_hook): Likewise.
58800 (__realloc_hook): Likewise.
58801 (__memalign_hook): Likewise.
58802 (__after_morecore_hook): Likewise.
58803 * malloc/arena.c (save_malloc_hook): Likewise.
58804 (save_free_hook): Likewise.
58805 * malloc/hooks.c (malloc_hook_ini): Likewise.
58806 (realloc_hook_ini): Likewise.
58807 (memalign_hook_ini): Likewise.
58808 * malloc/malloc.c (malloc_hook_ini): Likewise.
58809 (realloc_hook_ini): Likewise.
58810 (memalign_hook_ini): Likewise.
58811 (__free_hook): Likewise.
58812 (__malloc_hook): Likewise.
58813 (__realloc_hook): Likewise.
58814 (__memalign_hook): Likewise.
58815 (__libc_malloc): Likewise.
58816 (__libc_free): Likewise.
58817 (__libc_realloc): Likewise.
58818 (__libc_memalign): Likewise.
58819 (__libc_valloc): Likewise.
58820 (__libc_pvalloc): Likewise.
58821 (__libc_calloc): Likewise.
58822 (__posix_memalign): Likewise.
58823 * malloc/morecore.c (__sbrk): Likewise.
58824 (__default_morecore): Likewise.
58825
58826 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58827
58828 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58829 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58830 __malloc_ptrdiff_t.
58831
58832 * malloc/malloc.h (__malloc_size_t): Remove macro.
58833 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58834 __malloc_size_t.
58835 (old_memalign_hook): Likewise.
58836 (old_realloc_hook): Likewise.
58837 (struct hdr): Likewise.
58838 (flood): Likewise.
58839 (mallochook): Likewise.
58840 (memalignhook): Likewise.
58841 (reallochook): Likewise.
58842 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58843 (tr_old_realloc_hook): Likewise.
58844 (tr_old_memalign_hook): Likewise.
58845 (tr_mallochook): Likewise.
58846 (tr_reallochook): Likewise.
58847 (tr_memalignhook): Likewise.
58848
58849 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58850
58851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58852 default_ldbl_pack and using as default implementation.
58853 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58854 implementation.
58855 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58856 redundant definition.
58857 (ldbl_insert_mantissa): Likewise.
58858 (ldbl_canonicalize): Likewise.
58859 (ldbl_nearbyint): Likewise.
58860 (ldbl_pack): Rename to ldbl_pack_ppc.
58861 (ldbl_unpack): Rename to ldbl_unpack_ppc.
58862 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58863 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58864
58865 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58866
58867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58868 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58869 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58870 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58872 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58873 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58874 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58875
58876 2013-03-07 Andreas Jaeger <aj@suse.de>
58877
58878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58879 bits/mman-linux.h.
58880
58881 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58882
58883 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58884 Include mpa.h and declare __MPEXP.
58885 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58887 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58888 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58890 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58891 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58892
58893 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58894 (__slowpow): Use long double EXPL and LOGL functions to
58895 compute POW.
58896 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58897 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58898 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58899 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58900 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58901 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58902
58903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58904 intermediate variable to calculate exponent.
58905 (__sqr): Likewise.
58906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58907 Likewise.
58908 (__sqr): Likewise.
58909
58910 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58911 [!NO__SQR]: Define __sqr.
58912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58913 and NO__SQR. Remove all code except __mul and __sqr. Include
58914 sysdeps/ieee754/dbl-64/mpa.c.
58915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58916
58917 [BZ #12723]
58918 * posix/Makefile (tests): Add tst-pathconf.
58919 * posix/tst-pathconf.c: New test case.
58920 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58921 _PC_PIPE_BUF.
58922 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58923
58924 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
58925
58926 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58927
58928 2013-03-06 Andreas Jaeger <aj@suse.de>
58929
58930 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58931 definition via __MAP_ANONYMOUS.
58932
58933 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58934 it's not part of Linux headers.
58935
58936 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58937 (MAP_HUGE_MASK): Define.
58938
58939 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58940 Define.
58941 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58943 Define.
58944 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58945 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58946 Define.
58947 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58948 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58949 Define.
58950 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58951
58952 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58953 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58954 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58955 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58956 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58957 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58958
58959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58960 Handle f2fs.
58961
58962 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58963 Handle f2fs and efivarfs.
58964
58965 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58966 f2fs.
58967
58968 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58969 (EFIVARFS_MAGIC): Add.
58970 (F2FS_LINK_MAX): Add.
58971
58972 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58973
58974 * stdio-common/vfprintf.c: Replace __builtin_expect with
58975 __glibc_unlikely.
58976
58977 2013-03-06 Joseph Myers <joseph@codesourcery.com>
58978
58979 [BZ #13550]
58980 * sysdeps/generic/bp-sym.h: Remove file.
58981 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58982 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58983 <bp-sym.h> and <bp-asm.h>.
58984 (__longjmp): Don't use BP_SYM.
58985 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58986 and <bp-asm.h>.
58987 (memcpy): Don't use BP_SYM.
58988 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58989 <bp-sym.h> and <bp-asm.h>.
58990 (memcpy): Don't use BP_SYM.
58991 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58992 <bp-asm.h>.
58993 (memcpy): Don't use BP_SYM.
58994 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58995 <bp-asm.h>.
58996 (memset): Don't use BP_SYM.
58997 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58998 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58999 (__bzero): Don't use BP_SYM.
59000 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59001 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59002 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59003 <bp-sym.h> and <bp-asm.h>.
59004 (memcmp): Don't use BP_SYM. Remove comment about bounded
59005 pointers.
59006 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59007 <bp-sym.h> and <bp-asm.h>.
59008 (memcpy): Don't use BP_SYM.
59009 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59010 <bp-sym.h> and <bp-asm.h>.
59011 (memset): Don't use BP_SYM.
59012 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59013 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59014 (__bzero): Don't use BP_SYM.
59015 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59016 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59017 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59018 <bp-sym.h> and <bp-asm.h>.
59019 (strncmp): Don't use BP_SYM. Remove comment about bounded
59020 pointers.
59021 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59022 <bp-sym.h> and <bp-asm.h>.
59023 (memcpy): Don't use BP_SYM.
59024 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59025 <bp-sym.h> and <bp-asm.h>.
59026 (memset): Don't use BP_SYM.
59027 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59028 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59029 (__bzero): Don't use BP_SYM.
59030 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59031 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59032 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59033 <bp-sym.h> and <bp-asm.h>.
59034 (__memchr): Don't use BP_SYM.
59035 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59036 <bp-sym.h> and <bp-asm.h>.
59037 (memcmp): Don't use BP_SYM. Remove comment about bounded
59038 pointers.
59039 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59040 <bp-sym.h> and <bp-asm.h>.
59041 (memcpy): Don't use BP_SYM.
59042 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59043 <bp-sym.h> and <bp-asm.h>.
59044 (__mempcpy): Don't use BP_SYM.
59045 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59046 <bp-sym.h> and <bp-asm.h>.
59047 (__memrchr): Don't use BP_SYM.
59048 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59049 <bp-sym.h> and <bp-asm.h>.
59050 (memset): Don't use BP_SYM.
59051 (__bzero): Likewise.
59052 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59053 <bp-sym.h> and <bp-asm.h>.
59054 (__rawmemchr): Don't use BP_SYM.
59055 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59056 <bp-sym.h> and <bp-asm.h>.
59057 (__STRCMP): Don't use BP_SYM.
59058 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59059 <bp-sym.h> and <bp-asm.h>.
59060 (strchr): Don't use BP_SYM.
59061 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59062 <bp-sym.h> and <bp-asm.h>.
59063 (__strchrnul): Don't use BP_SYM.
59064 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59065 <bp-sym.h> and <bp-asm.h>.
59066 (strlen): Don't use BP_SYM.
59067 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59068 <bp-sym.h> and <bp-asm.h>.
59069 (strncmp): Don't use BP_SYM. Remove comment about bounded
59070 pointers.
59071 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59072 <bp-sym.h> and <bp-asm.h>.
59073 (__strnlen): Don't use BP_SYM.
59074 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59075 <bp-sym.h> and <bp-asm.h>.
59076 (__GI__setjmp): Don't use BP_SYM.
59077 (_setjmp): Likewise.
59078 (__sigsetjmp): Likewise.
59079 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59080 (L(start_addresses)): Don't use BP_SYM.
59081 (_start): Likewise.
59082 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59083 <bp-asm.h>.
59084 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59085 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59086 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59087 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59088 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59089 <bp-asm.h>.
59090 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59091 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
59092 about bounded pointers.
59093 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59094 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59095 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59096 <bp-asm.h>.
59097 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59098 about bounded pointers. Remove GKM FIXME comments.
59099 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59100 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59101 <bp-asm.h>.
59102 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59103 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
59104 Remove GKM FIXME comments.
59105 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59106 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59107 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59108 <bp-asm.h>.
59109 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59110 about bounded pointers. Remove GKM FIXME comment.
59111 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59112 and <bp-asm.h>.
59113 (strncmp): Don't use BP_SYM. Remove comment about bounded
59114 pointers.
59115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59116 <bp-sym.h> and <bp-asm.h>.
59117 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59119 <bp-sym.h> and <bp-asm.h>.
59120 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59121 comment.
59122
59123 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59124
59125 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59126 call free(NULL).
59127
59128 2013-03-05 David S. Miller <davem@davemloft.net>
59129
59130 * po/es.po: Update from translation team.
59131
59132 2013-03-05 Andreas Jaeger <aj@suse.de>
59133
59134 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59135 <bits/mman-linux.h>.
59136 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59137 is fine.
59138 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59139 <bits/mman-linux.h> to end of file.
59140 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59141 is fine.
59142 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59143 <bits/mman-linux.h> to end of file.
59144 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59145 is fine.
59146 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59147 <bits/mman-linux.h> to end of file.
59148
59149 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59150 (MCL_CURRENT, MCL_FUTURE): Define here.
59151
59152 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59153
59154 [BZ #15232]
59155 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59156 attribute_hidden.
59157 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59158
59159 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59160
59161 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59162 fourth parameter needed for rt_sigprocmask syscall.
59163 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59164 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59165 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59166 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59167 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59168 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59169
59170 2013-03-04 Joseph Myers <joseph@codesourcery.com>
59171
59172 [BZ #13550]
59173 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59174 comment about bounded pointers.
59175 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59176 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59177
59178 2013-03-04 Andreas Jaeger <aj@suse.de>
59179
59180 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59181 common definitions.
59182
59183 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59184 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59185 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59187 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59189
59190 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59191
59192 [BZ #15055]
59193 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59194 __ieee754_sqrl instead of __sqrl.
59195
59196 2013-03-01 Joseph Myers <joseph@codesourcery.com>
59197
59198 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59199 * sysdeps/powerpc/fpu_control.h: ... here.
59200 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59201 * sysdeps/powerpc/bits/fenvinline.h: ... here.
59202 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59203 * sysdeps/powerpc/bits/mathinline.h: ... here.
59204
59205 2013-03-01 Roland McGrath <roland@hack.frob.com>
59206
59207 * elf/dl-hwcaps.c (_dl_important_hwcaps):
59208 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59209 to just [NEED_DL_SYSINFO_DSO].
59210 * elf/dl-support.c: Likewise.
59211 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59212 * elf/rtld.c (dl_main): Likewise.
59213 * elf/setup-vdso.h (setup_vdso): Likewise.
59214 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59215 * sysdeps/unix/sysv/linux/dl-sysdep.c
59216 (_dl_discover_osversion): Likewise.
59217
59218 2013-03-01 Carlos O'Donell <carlos@redhat.com>
59219
59220 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59221 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59222
59223 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
59224
59225 * NEWS: Mention libm performance improvements and non-x86 PI
59226 futex support.
59227
59228 * csu/libc-start.c (__pthread_initialize_minimal): Change
59229 function arguments.
59230 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59231
59232 2013-02-28 Joseph Myers <joseph@codesourcery.com>
59233
59234 [BZ #13550]
59235 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59236 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59237 <bp-sym.h> and <bp-asm.h>.
59238 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59239 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59240 and <bp-asm.h>.
59241 (memcpy): Don't use BP_SYM.
59242 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59243 <bp-asm.h>.
59244 (__mpn_add_n): Don't use BP_SYM.
59245 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59246 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59247 and <bp-asm.h>.
59248 (__mpn_addmul_1): Don't use BP_SYM.
59249 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59250 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59251 <bp-sym.h>.
59252 (_setjmp): Don't use BP_SYM.
59253 (__novmx_setjmp): Likewise.
59254 (__GI__setjmp): Likewise.
59255 (__vmx_setjmp): Likewise.
59256 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59257 <bp-sym.h>.
59258 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59259 (__bzero): Don't use BP_SYM.
59260 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59261 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59262 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59263 <bp-sym.h> and <bp-asm.h>.
59264 (memcpy): Don't use BP_SYM.
59265 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59266 <bp-sym.h> and <bp-asm.h>.
59267 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59268 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59269 <bp-sym.h> and <bp-asm.h>.
59270 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59271 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59272 <bp-asm.h>.
59273 (__mpn_lshift): Don't use BP_SYM.
59274 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59275 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59276 <bp-asm.h>.
59277 (memset): Don't use BP_SYM.
59278 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59279 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59280 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59281 <bp-asm.h>.
59282 (__mpn_mul_1): Don't use BP_SYM.
59283 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59284 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59285 <bp-sym.h> and <bp-asm.h>.
59286 (memcmp): Don't use BP_SYM.
59287 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59288 <bp-sym.h> and <bp-asm.h>.
59289 (memcpy): Don't use BP_SYM.
59290 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59291 <bp-sym.h> and <bp-asm.h>.
59292 (memset): Don't use BP_SYM.
59293 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59294 <bp-sym.h> and <bp-asm.h>.
59295 (strncmp): Don't use BP_SYM.
59296 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59297 <bp-sym.h> and <bp-asm.h>.
59298 (memcpy): Don't use BP_SYM.
59299 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59300 <bp-sym.h> and <bp-asm.h>.
59301 (memset): Don't use BP_SYM.
59302 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59303 <bp-sym.h> and <bp-asm.h>.
59304 (__memchr): Don't use BP_SYM.
59305 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59306 <bp-sym.h> and <bp-asm.h>.
59307 (memcmp): Don't use BP_SYM.
59308 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59309 <bp-sym.h> and <bp-asm.h>.
59310 (memcpy): Don't use BP_SYM.
59311 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59312 <bp-sym.h> and <bp-asm.h>.
59313 (__mempcpy): Don't use BP_SYM.
59314 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59315 <bp-sym.h> and <bp-asm.h>.
59316 (__memrchr): Don't use BP_SYM.
59317 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59318 <bp-sym.h> and <bp-asm.h>.
59319 (memset): Don't use BP_SYM.
59320 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59321 <bp-sym.h> and <bp-asm.h>.
59322 (__rawmemchr): Don't use BP_SYM.
59323 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59324 <bp-sym.h> and <bp-asm.h>.
59325 (__STRCMP): Don't use BP_SYM.
59326 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59327 <bp-sym.h> and <bp-asm.h>.
59328 (strchr): Don't use BP_SYM.
59329 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59330 <bp-sym.h> and <bp-asm.h>.
59331 (__strchrnul): Don't use BP_SYM.
59332 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59333 <bp-sym.h> and <bp-asm.h>.
59334 (strlen): Don't use BP_SYM.
59335 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59336 <bp-sym.h> and <bp-asm.h>.
59337 (strncmp): Don't use BP_SYM.
59338 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59339 <bp-sym.h> and <bp-asm.h>.
59340 (__strnlen): Don't use BP_SYM.
59341 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59342 <bp-asm.h>.
59343 (__mpn_rshift): Don't use BP_SYM.
59344 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59345 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59346 <bp-sym.h> and <bp-asm.h>.
59347 (__sigsetjmp): Don't use BP_SYM.
59348 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59349 (L(start_addresses)): Don't use BP_SYM.
59350 (_start): Likewise.
59351 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59352 <bp-asm.h>.
59353 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59354 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59355 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59356 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59357 <bp-asm.h>.
59358 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59359 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59360 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59361 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59362 <bp-asm.h>.
59363 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59364 comments.
59365 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59366 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59367 <bp-asm.h>.
59368 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
59369 FIXME comments.
59370 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59371 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59372 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59373 <bp-asm.h>.
59374 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59375 comment.
59376 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59377 and <bp-asm.h>.
59378 (strncmp): Don't use BP_SYM,
59379 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59380 <bp-asm.h>.
59381 (__mpn_sub_n): Don't use BP_SYM.
59382 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59383 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59384 and <bp-asm.h>.
59385 (__mpn_submul_1): Don't use BP_SYM.
59386 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59388 <bp-sym.h> and <bp-asm.h>.
59389 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59391 <bp-sym.h> and <bp-asm.h>.
59392 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59393 comment.
59394
59395 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59396
59397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59398 Use ZK to minimize writes to Z.
59399 (sub_magnitudes): Simplify code a bit.
59400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59401 Use ZK to minimize writes to Z.
59402 (sub_magnitudes): Simplify code a bit.
59403
59404 2013-02-27 Roland McGrath <roland@hack.frob.com>
59405
59406 * csu/gmon-start.c: Add special exception to license text.
59407
59408 2013-02-27 Richard Henderson <rth@redhat.com>
59409
59410 * scripts/config.guess: Update from config.git.
59411 * scripts/config.sub: Likewise.
59412
59413 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
59414
59415 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59416
59417 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59418
59419 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59420
59421 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59422
59423 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59424
59425 2013-02-26 Roland McGrath <roland@hack.frob.com>
59426
59427 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59428 [$(build-shared = yes].
59429
59430 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59431
59432 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59433 (__mul): Reduce iterations for calculating mantissa.
59434
59435 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59436 MPTWO.
59437 (__mpranred): Likewise.
59438
59439 [BZ #15160]
59440 * malloc/memusagestat.c (main): Draw graphs for heap and stack
59441 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59442
59443 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
59444
59445 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59446 Define __attribute__.
59447
59448 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59449
59450 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59451 unused.
59452 * posix/regex_internal.h (__attribute): Remove.
59453 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59454 (re_string_context_at): Likewise.
59455 (bitset_not): Use __attribute__ and mark function as possibly
59456 unused.
59457 (bitset_merge): Likewise.
59458 (bitset_mask): Likewise.
59459 (re_string_char_size_at): Likewise.
59460 (re_string_wchar_at): Likewise.
59461 (re_string_elem_size_at): Likewise.
59462
59463 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59464
59465 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59466 code.
59467 (cc32): Likewise.
59468
59469 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59470 (__acr): Likewise.
59471 (__cpy): Likewise.
59472 (norm): Likewise.
59473 (denorm): Likewise.
59474 (__dbl_mp): Likewise.
59475 (add_magnitudes): Likewise.
59476 (sub_magnitudes): Likewise.
59477 (__mul): Likewise.
59478 (__inv): Likewise.
59479
59480 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59481 style.
59482
59483 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59484 style.
59485
59486 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59487 code.
59488
59489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59490 up changes with default code.
59491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59492 Likewise.
59493
59494 2013-02-24 Allan McRae <allan@archlinux.org>
59495
59496 * manual/socket.texi (The Internet Namespace): Order menu items
59497 to match that in the file.
59498
59499 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59500 node listing of the info page menu.
59501
59502 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59503
59504 [BZ #13550]
59505 * sysdeps/i386/bp-asm.h: Remove file.
59506 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59507 (PARMS): Do not use macros from bp-asm.h.
59508 (S1): Likewise.
59509 (S2): Likewise.
59510 (SIZE): Likewise.
59511 (__mpn_add_n): Do not use BP_SYM
59512 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59513 "bp-asm.h".
59514 (PARMS): Do not use macros from bp-asm.h.
59515 (S1): Likewise.
59516 (SIZE): Likewise.
59517 (__mpn_addmul_1): Do not use BP_SYM
59518 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59519 "bp-asm.h".
59520 (PARMS): Do not use macros from bp-asm.h.
59521 (SIGMSK): Likewise.
59522 (_setjmp): Likewise. Do not use BP_SYM.
59523 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59524 "bp-asm.h".
59525 (PARMS): Do not use macros from bp-asm.h.
59526 (SIGMSK): Likewise.
59527 (setjmp): Likewise. Do not use BP_SYM.
59528 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59529 "bp-asm.h".
59530 (PARMS): Do not use macros from bp-asm.h.
59531 (__frexp): Do not use BP_SYM.
59532 (frexp): Likewise.
59533 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59534 "bp-asm.h".
59535 (PARMS): Do not use macros from bp-asm.h.
59536 (__frexpf): Do not use BP_SYM.
59537 (frexpf): Likewise.
59538 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59539 "bp-asm.h".
59540 (PARMS): Do not use macros from bp-asm.h.
59541 (__frexpl): Do not use BP_SYM.
59542 (frexpl): Likewise.
59543 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59544 "bp-asm.h".
59545 (PARMS): Do not use macros from bp-asm.h.
59546 (__remquo): Do not use BP_SYM.
59547 (remquo): Likewise.
59548 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59549 "bp-asm.h".
59550 (PARMS): Do not use macros from bp-asm.h.
59551 (__remquof): Do not use BP_SYM.
59552 (remquof): Likewise.
59553 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59554 "bp-asm.h".
59555 (PARMS): Do not use macros from bp-asm.h.
59556 (__remquol): Do not use BP_SYM.
59557 (remquol): Likewise.
59558 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59559 "bp-asm.h".
59560 (PARMS): Do not use macros from bp-asm.h.
59561 (DEST): Likewise.
59562 (SRC): Likewise.
59563 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59564 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59565 "bp-asm.h".
59566 (PARMS): Do not use macros from bp-asm.h.
59567 (strlen): Do not use BP_SYM.
59568 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59569 "bp-asm.h".
59570 (PARMS): Do not use macros from bp-asm.h.
59571 (S1): Likewise.
59572 (S2): Likewise.
59573 (SIZE): Likewise.
59574 (__mpn_add_n): Do not use BP_SYM.
59575 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59576 "bp-asm.h".
59577 (PARMS): Do not use macros from bp-asm.h.
59578 (S1): Likewise.
59579 (SIZE): Likewise.
59580 (__mpn_addmul_1): Do not use BP_SYM.
59581 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59582 weak_alias.
59583 (bzero): Likewise.
59584 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59585 "bp-asm.h".
59586 (PARMS): Do not use macros from bp-asm.h.
59587 (S): Likewise.
59588 (SIZE): Likewise.
59589 (__mpn_lshift): Do not use BP_SYM.
59590 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59591 "bp-asm.h".
59592 (PARMS): Do not use macros from bp-asm.h.
59593 (DEST): Likewise.
59594 (SRC): Likewise.
59595 (LEN): Likewise.
59596 (memcpy): Likewise. Do not use BP_SYM.
59597 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59598 libc_hidden_def and weak_alias.
59599 (mempcpy): Do not use BP_SYM in weak_alias.
59600 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59601 "bp-asm.h".
59602 (PARMS): Do not use macros from bp-asm.h.
59603 (DEST): Likewise.
59604 (LEN): Likewise.
59605 [!BZERO_P] (CHR): Likewise.
59606 (memset): Likewise. Do not use BP_SYM.
59607 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59608 "bp-asm.h".
59609 (PARMS): Do not use macros from bp-asm.h.
59610 (S1): Likewise.
59611 (SIZE): Likewise.
59612 (__mpn_mul_1): Do not use BP_SYM.
59613 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59614 "bp-asm.h".
59615 (PARMS): Do not use macros from bp-asm.h.
59616 (S): Likewise.
59617 (SIZE): Likewise.
59618 (__mpn_rshift): Do not use BP_SYM.
59619 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59620 "bp-asm.h".
59621 (PARMS): Do not use macros from bp-asm.h.
59622 (STR): Likewise.
59623 (CHR): Likewise.
59624 (strchr): Likewise. Do not use BP_SYM.
59625 (index): Do not use BP_SYM in weak_alias.
59626 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59627 "bp-asm.h".
59628 (PARMS): Do not use macros from bp-asm.h.
59629 (DEST): Likewise.
59630 (SRC): Likewise.
59631 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59632 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59633 "bp-asm.h".
59634 (PARMS): Do not use macros from bp-asm.h.
59635 (strlen): Do not use BP_SYM.
59636 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59637 "bp-asm.h".
59638 (PARMS): Do not use macros from bp-asm.h.
59639 (S1): Likewise.
59640 (S2): Likewise.
59641 (SIZE): Likewise.
59642 (__mpn_sub_n): Do not use BP_SYM.
59643 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59644 "bp-asm.h".
59645 (PARMS): Do not use macros from bp-asm.h.
59646 (S1): Likewise.
59647 (SIZE): Likewise.
59648 (__mpn_submul_1): Do not use BP_SYM.
59649 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59650 "bp-asm.h".
59651 (PARMS): Do not use macros from bp-asm.h.
59652 (S1): Likewise.
59653 (S2): Likewise.
59654 (SIZE): Likewise.
59655 (__mpn_add_n): Do not use BP_SYM.
59656 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59657 weak_alias.
59658 (bzero): Likewise.
59659 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59660 "bp-asm.h".
59661 (PARMS): Do not use macros from bp-asm.h.
59662 (BLK2): Likewise.
59663 (LEN): Likewise.
59664 (memcmp): Do not use BP_SYM.
59665 (bcmp): Do not use BP_SYM in weak_alias.
59666 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59667 "bp-asm.h".
59668 (PARMS): Do not use macros from bp-asm.h.
59669 (DEST): Likewise.
59670 (SRC): Likewise.
59671 (LEN): Likewise.
59672 (memcpy): Likewise. Do not use BP_SYM.
59673 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59674 "bp-asm.h".
59675 (PARMS): Do not use macros from bp-asm.h.
59676 (DEST): Likewise.
59677 (SRC): Likewise.
59678 (LEN): Likewise.
59679 (memmove): Likewise. Do not use BP_SYM.
59680 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59681 "bp-asm.h".
59682 (PARMS): Do not use macros from bp-asm.h.
59683 (DEST): Likewise.
59684 (SRC): Likewise.
59685 (LEN): Likewise.
59686 (__mempcpy): Likewise. Do not use BP_SYM.
59687 (mempcpy): Do not use BP_SYM in weak_alias.
59688 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59689 "bp-asm.h".
59690 (PARMS): Do not use macros from bp-asm.h.
59691 (DEST): Likewise.
59692 (LEN): Likewise.
59693 [!BZERO_P] (CHR): Likewise.
59694 (memset): Likewise. Do not use BP_SYM.
59695 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59696 "bp-asm.h".
59697 (PARMS): Do not use macros from bp-asm.h.
59698 (STR2): Likewise.
59699 (strcmp): Do not use BP_SYM.
59700 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59701 "bp-asm.h".
59702 (PARMS): Do not use macros from bp-asm.h.
59703 (STR): Likewise.
59704 (DELIM): Likewise.
59705 [USE_AS_STRTOK_R] (SAVE): Likewise.
59706 (FUNCTION): Likewise. Do not use BP_SYM.
59707 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59708 aliases.
59709 (strtok_r): Likewise.
59710 (__GI___strtok_r): Likewise.
59711 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59712 (PARMS): Do not use macros from bp-asm.h.
59713 (S): Likewise.
59714 (SIZE): Likewise.
59715 (__mpn_lshift): Do not use BP_SYM.
59716 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59717 (PARMS): Do not use macros from bp-asm.h.
59718 (STR): Likewise.
59719 (CHR): Likewise.
59720 (__memchr): Do not use BP_SYM.
59721 (memchr): Do not use BP_SYM in weak_alias.
59722 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59723 (PARMS): Do not use macros from bp-asm.h.
59724 (BLK2): Likewise.
59725 (LEN): Likewise.
59726 (memcmp): Do not use BP_SYM.
59727 (bcmp): Do not use BP_SYM in weak_alias.
59728 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59729 (PARMS): Do not use macros from bp-asm.h.
59730 (S1): Likewise.
59731 (SIZE): Likewise.
59732 (__mpn_mul_1): Do not use BP_SYM.
59733 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59734 "bp-asm.h".
59735 (PARMS): Do not use macros from bp-asm.h.
59736 (STR): Likewise.
59737 (CHR): Likewise.
59738 (__rawmemchr): Do not use BP_SYM.
59739 (rawmemchr): Do not use BP_SYM in weak_alias.
59740 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59741 (PARMS): Do not use macros from bp-asm.h.
59742 (S): Likewise.
59743 (SIZE): Likewise.
59744 (__mpn_rshift): Do not use BP_SYM.
59745 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59746 (PARMS): Do not use macros from bp-asm.h.
59747 (SIGMSK): Likewise.
59748 (__sigsetjmp): Likewise. Do not use BP_SYM.
59749 * sysdeps/i386/start.S: Do not include "bp-sym.h".
59750 (_start): Do not use BP_SYM.
59751 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59752 (PARMS): Do not use macros from bp-asm.h.
59753 (DEST): Likewise.
59754 (SRC): Likewise.
59755 (__stpcpy): Likewise. Do not use BP_SYM.
59756 (stpcpy): Do not use BP_SYM in weak_alias.
59757 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59758 "bp-asm.h".
59759 (PARMS): Do not use macros from bp-asm.h.
59760 (DEST): Likewise.
59761 (SRC): Likewise.
59762 (LEN): Likewise.
59763 (__stpncpy): Likewise. Do not use BP_SYM.
59764 (stpncpy): Do not use BP_SYM in weak_alias.
59765 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59766 (PARMS): Do not use macros from bp-asm.h.
59767 (STR): Likewise.
59768 (CHR): Likewise.
59769 (strchr): Likewise. Do not use BP_SYM.
59770 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59771 "bp-asm.h".
59772 (PARMS): Do not use macros from bp-asm.h.
59773 (STR): Likewise.
59774 (CHR): Likewise.
59775 (__strchrnul): Likewise. Do not use BP_SYM.
59776 (strchrnul): Do not use BP_SYM in weak_alias.
59777 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59778 "bp-asm.h".
59779 (PARMS): Do not use macros from bp-asm.h.
59780 (STOP): Likewise.
59781 (strcspn): Do not use BP_SYM.
59782 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59783 "bp-asm.h".
59784 (PARMS): Do not use macros from bp-asm.h.
59785 (STR): Likewise.
59786 (STOP): Likewise.
59787 (strpbrk): Likewise. Do not use BP_SYM.
59788 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59789 "bp-asm.h".
59790 (PARMS): Do not use macros from bp-asm.h.
59791 (STR): Likewise.
59792 (CHR): Likewise.
59793 (strrchr): Likewise. Do not use BP_SYM.
59794 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59795 (PARMS): Do not use macros from bp-asm.h.
59796 (SKIP): Likewise.
59797 (strspn): Do not use BP_SYM.
59798 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59799 (PARMS): Do not use macros from bp-asm.h.
59800 (STR): Likewise.
59801 (DELIM): Likewise.
59802 (SAVE): Likewise.
59803 (FUNCTION): Likewise. Do not use BP_SYM.
59804 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59805 aliases.
59806 (strtok_r): Likewise.
59807 (__GI___strtok_r): Likewise.
59808 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59809 (PARMS): Do not use macros from bp-asm.h.
59810 (S1): Likewise.
59811 (S2): Likewise.
59812 (SIZE): Likewise.
59813 (__mpn_sub_n): Do not use BP_SYM.
59814 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59815 "bp-asm.h".
59816 (PARMS): Do not use macros from bp-asm.h.
59817 (S1): Likewise.
59818 (SIZE): Likewise.
59819 (__mpn_submul_1): Do not use BP_SYM.
59820 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59821 <bp-sym.h>.
59822 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59823 and <bp-asm.h>.
59824 (PARMS): Do not use macros from bp-asm.h.
59825 (FLAGS): Likewise.
59826 (PTID): Likewise.
59827 (TLS): Likewise.
59828 (CTID): Likewise.
59829 (__clone): Do not use BP_SYM.
59830 (clone): Do not use BP_SYM in weak_alias.
59831 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59832 and <bp-asm.h>.
59833 (PARMS): Do not use macros from bp-asm.h.
59834 (LEN): Likewise.
59835 (__mmap64): Do not use BP_SYM.
59836 (mmap64): Do not use BP_SYM in weak_alias.
59837 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59838 <bp-sym.h> and <bp-asm.h>.
59839 (PARMS): Do not use macros from bp-asm.h.
59840 (__posix_fadvise64_l64): Do not use BP_SYM.
59841 * sysdeps/unix/sysv/linux/i386/semtimedop.S
59842 (PARMS): Do not use macros from bp-asm.h.
59843 (NSOPS): Likewise.
59844 (semtimedop): Do not use BP_SYM.
59845 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59846 and <bp-asm.h>.
59847
59848 2013-02-21 Allan McRae <allan@archlinux.org>
59849
59850 * manual/message.texi (Charset conversion in gettext):
59851 Move @end statement to beginning of line.
59852
59853 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59854
59855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59856 static.
59857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59858 Likewise.
59859
59860 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59861 (denorm): Likewise.
59862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59864
59865 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59866
59867 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59868 tail-call to the resolved function if pltexit isn't needed.
59869
59870 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59871
59872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59873 or Y being zero as being unlikely.
59874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59875 Likewise.
59876
59877 2013-02-20 Carlos O'Donell <carlos@redhat.com>
59878
59879 * manual/nss.texi (System Databases and Name Service Switch):
59880 Remove frobnicate @pxref.
59881
59882 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59883
59884 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59885 __attribute__ ((unused)) to __attribute__ ((__unused__)).
59886
59887 2013-02-20 Petr Machata <pmachata@redhat.com>
59888
59889 * elf/elf.h (R_ARM_TARGET1): New macro.
59890 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59891 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59892 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59893 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59894 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59895 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59896 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59897 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59898 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59899 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59900 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59901 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59902 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59903 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59904 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59905 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59906 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59907 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59908 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59909 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59910 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59911 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59912 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59913 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59914 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59915 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59916 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59917 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59918 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59919 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59920 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59921 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59922 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59923 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59924 (R_ARM_THM_GOT_BREL12): Likewise.
59925 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59926 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59927 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59928 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59929 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59930 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59931 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59932 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59933 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59934
59935 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59936
59937 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59938 __attribute_used__ to __attribute__ ((unused)).
59939
59940 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59941
59942 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59943 powerpc mpa.c.
59944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59945 comment formatting.
59946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59947
59948 2013-02-19 Joseph Myers <joseph@codesourcery.com>
59949
59950 [BZ #13550]
59951 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59952 Remove macro.
59953 (ENTER): Remove both macro definitions.
59954 (LEAVE): Likewise.
59955 (CHECK_BOUNDS_LOW): Likewise.
59956 (CHECK_BOUNDS_HIGH): Likewise.
59957 (CHECK_BOUNDS_BOTH): Likewise.
59958 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59959 (RETURN_BOUNDED_POINTER): Likewise.
59960 (RETURN_NULL_BOUNDED_POINTER): Likewise.
59961 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59962 (POP_ERRNO_LOCATION_RETURN): Likewise.
59963 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59964 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59965 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59966 macros.
59967 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59968 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59969 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59970 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59971 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59972 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59973 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59974 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59975 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59976 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59977 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59978 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59979 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59980 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59981 removed macros.
59982 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59983 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59984 macros.
59985 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59986 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59987 * sysdeps/i386/i586/memset.S (memset): Likewise.
59988 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59989 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59990 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59991 macros.
59992 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59993 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59994 Change uses of L(2) to L(out).
59995 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59996 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59997 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59998 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59999 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60000 removed macros.
60001 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60002 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60003 macros.
60004 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60005 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60006 (RETURN): Do not use macro LEAVE.
60007 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60008 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60009 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60010 * sysdeps/i386/i686/memset.S (memset): Likewise.
60011 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60012 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60013 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60014 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60015 Likewise.
60016 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60017 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
60018 L(1_2) and L(1_3) into L(1).
60019 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60020 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60021 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60022 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60023 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60024 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60025 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60026 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60027 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60028 macros.
60029 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60030 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60031 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60032 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60033 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60034 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60035 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60036 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60037 * sysdeps/i386/strcspn.S (strcspn): Likewise.
60038 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60039 * sysdeps/i386/strrchr.S (strrchr): Likewise.
60040 * sysdeps/i386/strspn.S (strspn): Likewise.
60041 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60042 conditional code.
60043 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60044 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60045 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60046 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
60047 L(1_3) into L(1_1).
60048 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60049 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60050 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60051 macros.
60052 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60053
60054 2013-02-19 Jakub Jelinek <jakub@redhat.com>
60055
60056 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60057 macro.
60058
60059 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60060
60061 * math/atest-exp.c (exp_mpn): Remove ROUND.
60062 * math/atest-exp2.c (exp_mpn): Likewise.
60063 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60064
60065 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60066 * stdlib/tst-tls-atexit-lib.c: Likewise.
60067 * stdlib/tst-tls-atexit.c: Likewise.
60068
60069 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60070
60071 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60072 and __attribute_alloc_size__.
60073
60074 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60075
60076 * include/programs/xmalloc.h: Change __attribute_alloc_size to
60077 __attribute_alloc_size__.
60078 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60079 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60080
60081 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60082
60083 * include/programs/xmalloc.h: New file.
60084 * catgets/gencat.c: Include it.
60085 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60086 * elf/pldd.c: Likewise.
60087 * iconv/iconv_charmap.c: Likewise.
60088 * iconv/iconvconfig.c: Likewise.
60089 * iconv/strtab.c: Likewise.
60090 * locale/programs/locale.c: Likewise.
60091 * locale/programs/localedef.h: Likewise.
60092 * locale/programs/simple-hash.c: Likewise.
60093 * nscd/nscd.h: Likewise.
60094 * nss/makedb.c: Likewise.
60095 * sysdeps/generic/ldconfig.h: Likewise.
60096
60097 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60098
60099 * Versions.def: Add GLIBC_2.18.
60100 * include/link.h (struct link_map): New member l_tls_dtor_count.
60101 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60102 (__call_tls_dtors): Likewise.
60103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60104 __cxa_thread_atexit_impl.
60105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60106 Likewise.
60107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60108 Likewise.
60109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60110 Likewise.
60111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60112 Likewise.
60113 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60115 Likewise.
60116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60117 Likewise.
60118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60120 Likewise.
60121 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60122 (tests): Add test case tst-tls-atexit.
60123 (modules-names): Add shared library for tst-tls-atexit.
60124 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60125 (GLIBC_PRIVATE): Add __call_tls_dtors.
60126 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60127 for libstdc++.
60128 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60129 * stdlib/tst-tls-atexit.c: New test case.
60130 * stdlib/tst-tls-atexit-lib.c: New test case.
60131
60132 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60133
60134 * elf/Versions (ld): Add _dl_find_dso_for_object.
60135 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60136 * elf/dl-open.c (_dl_find_dso_for_object): New function.
60137 (dl_open_worker): Use _dl_find_dso_for_object.
60138 * elf/dl-sym.c (do_sym): Likewise.
60139 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60140
60141 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60142
60143 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60144 Syntactic changes only.
60145 (_dl_runtime_profile): Do a tail-call to the resolved function.
60146
60147 2013-02-17 Joseph Myers <joseph@codesourcery.com>
60148
60149 [BZ #13550]
60150 * sysdeps/x86_64/bp-asm.h: Remove file.
60151 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60152 <bp-sym.h> and <bp-asm.h>.
60153 (__clone): Do not use BP_SYM.
60154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60155 <bp-sym.h> and <bp-asm.h>.
60156 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60157 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60158 "bp-asm.h".
60159 (_setjmp): Do not use BP_SYM.
60160 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60161 "bp-asm.h".
60162 (setjmp): Do not use BP_SYM.
60163 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60164 libc_hidden_def.
60165 (mempcpy): Do not use BP_SYM in weak_alias.
60166 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60167 "bp-asm.h".
60168 (strchr): Do not use BP_SYM.
60169 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60170 "bp-asm.h".
60171 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60172 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60173 (_start): Do not use BP_SYM.
60174 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60175 "bp-asm.h".
60176 (strcat): Do not use BP_SYM.
60177 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60178 "bp-asm.h".
60179 (STRCMP): Do not use BP_SYM.
60180 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60181 "bp-asm.h".
60182 (STRCPY): Do not use BP_SYM.
60183 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60184 "bp-asm.h".
60185 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60186 "bp-asm.h".
60187 (FUNCTION): Do not use BP_SYM.
60188 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60189 weak_alias.
60190 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60191
60192 2013-02-17 Andreas Jaeger <aj@suse.de>
60193
60194 * time/Versions: Sort entries.
60195 * string/Versions: Likewise.
60196 * resolv/Versions: Likewise.
60197 * posix/Versions: Likewise.
60198 * iconv/Versions: Likewise.
60199 * elf/Versions: Likewise.
60200 * wcsmbs/Versions: Likewise.
60201
60202 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60203
60204 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60205 loop termination condition.
60206
60207 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60208 variable to calculate EZ.
60209 (__sqr): Likewise.
60210
60211 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60212 the lower precision input.
60213
60214 2013-02-15 Joseph Myers <joseph@codesourcery.com>
60215
60216 [BZ #13550]
60217 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60218 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60219 (run-via-rtld-prefix): Do not handle %-bp tests.
60220 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60221 (all-object-suffixes): Remove .ob.
60222 (bppfx): Remove variable.
60223 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60224 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60225 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60226 [$(build-bounded) = yes] (libtype.ob): Likewise.
60227 * Makerules (elide-routines.ob): Remove variable.
60228 (do-tests-clean): Do not handle *-bp.out.
60229 (common-mostlyclean): Do not handle *-bp and *-bp.out.
60230 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60231 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60232 (tests): Do not include $(tests-bp.out).
60233 (xtests): Do not include $(xtests-bp.out).
60234 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60235 [$(build-bounded) = yes] ($(addprefix
60236 $(objpfx),$(binaries-bounded))): Remove rule.
60237 ($(objpfx)%-bp.out): Remove rule.
60238 * config.make.in (build-bounded): Remove variable.
60239 * crypt/Makefile [$(build-bounded) = yes]
60240 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60241 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60242 append to variable.
60243 [$(build-bounded) = yes] (install-lib): Likewise.
60244 [$(build-bounded) = yes] (generated): Likewise.
60245 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60246 Remove rule.
60247 * intl/Makefile [$(build-bounded) = yes]
60248 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60249 * math/Makefile [$(build-bounded) = yes]
60250 ($(tests:%=$(objpfx)%-bp): Likewise.
60251 * misc/Makefile [$(build-bounded) = yes]
60252 ($(objpfx)tst-tsearch-bp): Likewise.
60253 * nptl/Makeconfig (bounded-thread-library): Remove variable.
60254 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60255 Remove dependency.
60256 * string/Makefile (o-objects.ob): Remove variable.
60257 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60258 (CFLAGS-.ob): Remove variable.
60259 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60260 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60261 both definitions of variable.
60262 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60263 (ASFLAGS-.ob): Remove variable.
60264
60265 2013-02-14 Joseph Myers <joseph@codesourcery.com>
60266
60267 [BZ #13550]
60268 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60269 Remove __BOUNDED_POINTERS__ from condition.
60270 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60271 * string/bits/string2.h [!__NO_STRING_INLINES &&
60272 !__BOUNDED_POINTERS__]: Likewise.
60273 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60274 Likewise.
60275 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60276 Remove conditional code.
60277 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60278 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60279 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60280 condition.
60281
60282 [BZ #13550]
60283 * csu/libc-start.c: Do not include <bp-sym.h>.
60284 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60285 * elf/dl-open.c: Do not include <bp-sym.h>.
60286 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60287 * math/fegetenv.c: Do not include <bp-sym.h>.
60288 (fegetenv): Do not use BP_SYM in versioned symbols.
60289 * nptl/sysdeps/pthread/bits/libc-lockP.h
60290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60291 <bp-sym.h>.
60292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60293 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60295 (__pthread_mutex_destroy): Likewise.
60296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60297 (__pthread_mutex_lock): Likewise.
60298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60299 (__pthread_mutex_trylock): Likewise.
60300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60301 (__pthread_mutex_unlock): Likewise.
60302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60303 (__pthread_mutexattr_init): Likewise.
60304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60305 (__pthread_mutexattr_destroy): Likewise.
60306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60307 (__pthread_mutexattr_settype): Likewise.
60308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60309 (__pthread_rwlock_init): Likewise.
60310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60311 (__pthread_rwlock_destroy): Likewise.
60312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60313 (__pthread_rwlock_rdlock): Likewise.
60314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60315 (__pthread_rwlock_tryrdlock): Likewise.
60316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60317 (__pthread_rwlock_wrlock): Likewise.
60318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60319 (__pthread_rwlock_trywrlock): Likewise.
60320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60321 (__pthread_rwlock_unlock): Likewise.
60322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60323 (__pthread_key_create): Likewise.
60324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60325 (__pthread_setspecific): Likewise.
60326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60327 (__pthread_getspecific): Likewise.
60328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60329 Likewise.
60330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60331 (_pthread_cleanup_push_defer): Likewise.
60332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60333 (_pthread_cleanup_pop_restore): Likewise.
60334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60335 (pthread_setcancelstate): Likewise.
60336 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60337 <bp-sym.h>.
60338 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60339 (memchr): Do not use BP_SYM in weak_alias.
60340 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60341 (fegetenv): Do not use BP_SYM in versioned symbols.
60342 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60343 (fesetenv): Do not use BP_SYM in versioned symbols.
60344 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60345 (feupdateenv): Do not use BP_SYM in versioned symbols.
60346 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60347 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60348 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60349 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60350 (open64): Do not use BP_SYM in weak_alias.
60351 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60352 (fegetenv): Do not use BP_SYM in versioned symbols.
60353 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60354 (fesetenv): Do not use BP_SYM in versioned symbols.
60355 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60356 (feupdateenv): Do not use BP_SYM in versioned symbols.
60357 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60358 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60359 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60360 (feraiseexcept): Do not use BP_SYM in versioned symbols.
60361 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60362 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60363 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60364 <bp-sym.h>.
60365 (__libc_start_main): Do not use BP_SYM.
60366
60367 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60368
60369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60370 redundant return line.
60371 (norm): Likewise.
60372 (denorm): Likewise.
60373 (dbl_mp): Likewise.
60374 (sub_magnitudes): Likewise.
60375 (__add): Likewise.
60376 (__sub): Likewise.
60377 (__mul): Likewise.
60378 (__inv): Likewise.
60379 (__dvd): Likewise.
60380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60381 (norm): Likewise.
60382 (denorm): Likewise.
60383 (dbl_mp): Likewise.
60384 (sub_magnitudes): Likewise.
60385 (__add): Likewise.
60386 (__sub): Likewise.
60387 (__mul): Likewise.
60388 (__inv): Likewise.
60389 (__dvd): Likewise.
60390
60391 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60392 instead of __mul.
60393 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60394 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60395 (cc32): Likewise.
60396
60397 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60398 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60399 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60400 of __mul for squares.
60401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60402 function
60403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60404 Likewise.
60405 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60406 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60407
60408 2013-02-13 Joseph Myers <joseph@codesourcery.com>
60409
60410 [BZ #13550]
60411 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60412 code.
60413 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60414 prototype or function definition. Rename ubp_* variables and
60415 parameters. Remove argv definitions conditional on
60416 [__BOUNDED_POINTERS__].
60417 * debug/backtrace.c (__backtrace): Do not use __unbounded.
60418 * elf/dl-runtime.c (_dl_fixup): Likewise.
60419 * include/set-hooks.h (RUN_HOOK): Likewise.
60420 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60421 definition.
60422 * string/strcpy.c (strcpy): Do not use __unbounded.
60423 * sysdeps/generic/frame.h (struct layout): Likewise.
60424 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60425 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60426 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60427 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60428 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60429 (__backtrace): Likewise.
60430 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60431 use __ptrvalue.
60432 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60433 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60434 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60435 Likewise.
60436 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60437 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60438 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60439 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60440 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60441 Do not use __unbounded.
60442 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60443 Rename __unboundedrlimits parameter to rlimits in prototype.
60444 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60445 Do not use __unbounded.
60446 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60447 not use __ptrvalue.
60448 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60449 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60450 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60451 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60452 __ptrvalue or __unbounded.
60453 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60454 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60455 use __unbounded.
60456 (__new_msgctl): Do not use __ptrvalue.
60457 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60458 __unbounded.
60459 (__libc_msgrcv): Do not use __ptrvalue.
60460 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60461 startup_info): Do not use __unbounded.
60462 (__libc_start_main): Likewise. Rename ubp_* variables and
60463 parameters. Remove argv definitions conditional on
60464 [__BOUNDED_POINTERS__].
60465 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60466 __ptrvalue.
60467 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60468 use __unbounded.
60469 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60470 or __ptrvalue.
60471 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60472 use __unbounded.
60473 (__new_shmctl): Do not use __ptrvalue.
60474 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60475 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60476 Likewise.
60477 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60478 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60479 (__libc_sigaction): Likewise.
60480 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60481 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60482 Likewise.
60483 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60484
60485 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
60486
60487 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60488
60489 * string/mempcpy.c: Implement by calling memcpy.
60490
60491 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60492
60493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60494
60495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60496 evaluation.
60497
60498 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60499 values in the mantissa.
60500
60501 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60502 minimize writes to Z.
60503 (sub_magnitudes): Simplify code a bit.
60504
60505 2013-02-12 Roland McGrath <roland@hack.frob.com>
60506
60507 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60508 from the message. The linker prefixes all warnings with that already.
60509
60510 2013-02-12 Andreas Schwab <schwab@suse.de>
60511
60512 [BZ #15078]
60513 * posix/regexec.c (extend_buffers): Add parameter min_len.
60514 (check_matching): Pass minimum needed length.
60515 (clean_state_log_if_needed): Likewise.
60516 (get_subexp): Likewise.
60517 * posix/Makefile (tests): Add bug-regex34.
60518 (bug-regex34-ENV): Define.
60519 * posix/bug-regex34.c: New file.
60520
60521 [BZ #11561]
60522 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60523 elements compare against the byte sequence of it, not its name.
60524 * posix/Makefile (tests): Add bug-regex35.
60525 (bug-regex35-ENV): Define.
60526 * posix/bug-regex35.c: New file.
60527
60528 2013-02-11 Tom de Vries <tom@codesourcery.com>
60529
60530 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60531 comment.
60532 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60533 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60534 (CHECK_EOL): Add undef.
60535
60536 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60537
60538 * bits/stdlib-bsearch.h: New file.
60539 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60540 * stdlib/stdlib.h: Likewise.
60541
60542 2013-02-11 Roland McGrath <roland@hack.frob.com>
60543
60544 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60545 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60546 declaration.
60547 * manual/search.texi (Array Search Function): Add missing const in
60548 lfind prototype.
60549 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60550 declaration to use rlim_t.
60551 (Basic Scheduling Functions): Remove erroneous const from
60552 sched_getparam prototype. Remove erroneous * from
60553 sched_get_priority_max and sched_get_priority_min prototypes.
60554 (Resource Usage): Fix summary @comment on vtimes to refer to
60555 sys/vtimes.h rather than vtimes.h.
60556 Add missing *s in vtimes prototype.
60557 (Limits on Resources): Fix ulimit prototype to return long int.
60558 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60559 prototypes to use long int rather than double.
60560 (BSD Random): Fix initstate and setstate to use char *, not void *.
60561 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60562 prototype to make second argument 'struct aiocb64 *const[]'.
60563 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60564 (Status of AIO Operations): Remove erroneous const in aio_return and
60565 aio_return64 prototypes.
60566 (Synchronizing I/O): Fix sync prototype to return void.
60567 * manual/startup.texi (Suboptions): Remove an erroneous const in
60568 getsubopt prototype.
60569 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60570 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60571 use size_t rather than int.
60572 (Scanning All Users): Likewise for getpwent_r.
60573 (Setting Groups): Add missing const to setgroups prototype.
60574 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60575 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60576 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60577 'const void *' rather than 'const char *'.
60578 (Host Address Functions): Likewise for inet_ntop.
60579 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60580 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60581 ssize_t for return value.
60582 (Sending Data): Likewise for send, sendto, sendmsg.
60583 (Socket Option Functions): Add a missing const in setsockopt prototype.
60584 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60585 use wchar_t for the argument.
60586 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60587 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60588 take no arguments.
60589 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60590 double/float/long double for second argument.
60591 Fix return types of significand, significandf, significandl.
60592 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60593 argument in fchmod prototype.
60594 (File Owner): Use uid_t and gid_t in fchown prototype.
60595 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60596 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60597 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60598 use 'const struct dirent **' as argument types to CMP function pointer
60599 argument.
60600 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60601 (File Times): Fix summary magic @comment for struct utimbuf and utime
60602 to refer to utime.h, not time.h.
60603 * manual/string.texi (Argz Functions): Add missing const in
60604 argz_extract and argz_next prototypes.
60605 (Finding Tokens in a String): Likewise for basename.
60606 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60607 (Copying and Concatenation): Fix typo in wmemmove prototype.
60608 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60609 (Signal Stack): Remove erroneous const in sigstack prototype.
60610 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60611 prototype.
60612 (Simple Calendar Time): Likewise for stime.
60613 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60614 prototype.
60615 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60616 say sys/sysctl.h instead.
60617 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60618 and vsyslog prototypes.
60619
60620 2013-02-11 Tom de Vries <tom@codesourcery.com>
60621
60622 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60623 Remove.
60624
60625 2013-02-11 Roland McGrath <roland@hack.frob.com>
60626
60627 * misc/sys/mman.h: Fix typo in mremap comment.
60628
60629 2013-02-08 Roland McGrath <roland@hack.frob.com>
60630
60631 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60632 the '\0' terminator.
60633
60634 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60635
60636 [BZ #13550]
60637 * debug/segfault.c: Don't include <bp-checks.h>.
60638 * sysdeps/generic/bp-checks.h: Remove file.
60639 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60640 (__GETDENTS): Don't use CHECK_N.
60641 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60642 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60643 (__getgroups): Don't use CHECK_N.
60644 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60645 (setgroups): Don't use CHECK_N.
60646 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60647 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60648 (__libc_msgrcv): Don't use CHECK_N.
60649 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60650 (__libc_msgsnd): Don't use CHECK_N.
60651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60652 <bp-checks.h>.
60653 (__libc_pread): Don't use CHECK_N.
60654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60655 include <bp-checks.h>.
60656 (__libc_pread64): Don't use CHECK_N.
60657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60658 include <bp-checks.h>.
60659 (__libc_pwrite): Don't use CHECK_N.
60660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60661 include <bp-checks.h>.
60662 (__libc_pwrite64): Don't use CHECK_N.
60663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60664 <bp-checks.h>.
60665 (__libc_pread): Don't use CHECK_N.
60666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60667 include <bp-checks.h>.
60668 (__libc_pread64): Don't use CHECK_N.
60669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60670 include <bp-checks.h>.
60671 (__libc_pwrite): Don't use CHECK_N.
60672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60673 include <bp-checks.h>.
60674 (__libc_pwrite64): Don't use CHECK_N.
60675 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60676 (do_pread): Don't use CHECK_N.
60677 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60678 (do_pread64): Don't use CHECK_N.
60679 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60680 (do_pwrite): Don't use CHECK_N.
60681 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60682 (do_pwrite64): Don't use CHECK_N.
60683 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60684 (__libc_readv): Don't use CHECK_N.
60685 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60686 (semop): Don't use CHECK_N.
60687 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60688 <bp-checks.h>.
60689 (semtimedop): Don't use CHECK_N.
60690 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60691 (__libc_pread): Don't use CHECK_N.
60692 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60693 <bp-checks.h>.
60694 (__libc_pread64): Don't use CHECK_N.
60695 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60696 <bp-checks.h>.
60697 (__libc_pwrite): Don't use CHECK_N.
60698 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60699 <bp-checks.h>.
60700 (__libc_pwrite64): Don't use CHECK_N.
60701 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60702 <bp-checks.h>.
60703 (__libc_msgrcv): Don't use CHECK_N.
60704 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60705 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
60706 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60707 (__libc_writev): Don't use CHECK_N.
60708
60709 2013-02-08 Roland McGrath <roland@hack.frob.com>
60710
60711 * string/strcpy.c: Removed unused variable.
60712
60713 * Makeconfig (+sysdep-includes): Define with := rather than =.
60714 Use an existing include/ subdir of each sysdeps dir before it.
60715
60716 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60717
60718 * nscd/connection.c (register_traced_file): Comment function.
60719 [HAVE_INOTIFY] (union __inev): Define.
60720 [HAVE_INOTIFY] (inotify_check_files): New function.
60721 [HAVE_INOTIFY] (clear_db_cache): Likewise.
60722 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60723 clear_db_cache.
60724 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60725
60726 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60727
60728 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60729 loaded if not already and that a failure is permanent.
60730
60731 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60732
60733 [BZ #15006]
60734 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60735 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60736
60737 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60738
60739 [BZ #13550]
60740 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60741 (CHECK_1_NULL_OK): Likewise.
60742 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60743 (__fxstat): Do not use CHECK_1.
60744 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60745 <bp-checks.h>.
60746 (___fxstat64): Do not use CHECK_1.
60747 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60748 <bp-checks.h>.
60749 (__fxstatat): Do not use CHECK_1.
60750 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60751 <bp-checks.h>.
60752 (__fxstatat64): Do not use CHECK_1.
60753 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60754 <bp-checks.h>.
60755 (__fxstat): Do not use CHECK_1.
60756 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60757 <bp-checks.h>.
60758 (__fxstatat): Do not use CHECK_1.
60759 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60760 <bp-checks.h>.
60761 (__getresgid): Do not use CHECK_1.
60762 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60763 <bp-checks.h>.
60764 (__getresuid): Do not use CHECK_1.
60765 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60766 <bp-checks.h>.
60767 (__lxstat): Do not use CHECK_1.
60768 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60769 <bp-checks.h>.
60770 (__old_msgctl): Do not use CHECK_1.
60771 (__new_msgctl): Likewise.
60772 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60773 <bp-checks.h>.
60774 (__new_setrlimit): Do not use CHECK_1.
60775 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60776 <bp-checks.h>.
60777 (__old_shmctl): Do not use CHECK_1.
60778 (__new_shmctl): Likewise.
60779 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60780 <bp-checks.h>.
60781 (__xstat): Do not use CHECK_1.
60782 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60783 (__lxstat): Do not use CHECK_1.
60784 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60785 <bp-checks.h>.
60786 (___lxstat64): Do not use CHECK_1.
60787 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60788 (__old_msgctl): Do not use CHECK_1.
60789 (__new_msgctl): Likewise.
60790 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60791 <bp-checks.h>.
60792 (__gettimeofday): Do not use CHECK_1.
60793 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60794 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60795 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60796 <bp-checks.h>.
60797 (__gettimeofday): Do not use CHECK_1.
60798 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60799 (__old_shmctl): Do not use CHECK_1_NULL_OK.
60800 (__new_shmctl): Do not use CHECK_1.
60801 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60802 <bp-checks.h>.
60803 (do_sigtimedwait): Do not use CHECK_1.
60804 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60805 <bp-checks.h>.
60806 (do_sigwaitinfo): Do not use CHECK_1.
60807 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60808 <bp-checks.h>.
60809 (msgctl): Do not use CHECK_1.
60810 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60811 <bp-checks.h>.
60812 (shmctl): Do not use CHECK_1.
60813 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60814 (ustat): Do not use CHECK_1.
60815 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60816 <bp-checks.h>.
60817 (__fxstat): Do not use CHECK_1.
60818 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60819 <bp-checks.h>.
60820 (__fxstatat): Do not use CHECK_1.
60821 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60822 <bp-checks.h>.
60823 (__lxstat): Do not use CHECK_1.
60824 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60825 <bp-checks.h>.
60826 (__xstat): Do not use CHECK_1.
60827 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60828 (__xstat): Do not use CHECK_1.
60829 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60830 (___xstat64): Do not use CHECK_1.
60831
60832 [BZ #13550]
60833 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60834 definitions.
60835 (CHECK_BOUNDS_HIGH): Likewise.
60836 * string/strcpy.c: Do not include <bp-checks.h>.
60837 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60838
60839 2013-02-07 Roland McGrath <roland@hack.frob.com>
60840
60841 * nscd/nscd-client.h (__nscd_drop_map_ref):
60842 Add __attribute__ ((unused)).
60843 * nis/nss-nisplus.h (niserr2nss): Likewise.
60844
60845 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60846 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60847
60848 * csu/libc-tls.c (init_static_tls, init_slotinfo):
60849 Remove inline keyword.
60850 * include/rounding-mode.h (round_away): Likewise.
60851 * libio/wfileops.c (adjust_wide_data): Likewise.
60852 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60853 (__m128i_strloadu_tolower): Likewise.
60854 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60855 (__m128i_strloadu_tolower): Likewise.
60856 * time/mktime.c (ydhms_diff): Likewise.
60857 * locale/elem-hash.h (elem_hash): Likewise.
60858 * locale/setlocale.c (setdata): Likewise.
60859 * posix/regex_internal.h (re_string_char_size_at): Likewise.
60860 (re_string_wchar_at): Likewise.
60861 (bitset_not, bitset_merge, bitset_mask): Likewise.
60862 [!(__GNUC__ > 3)] (inline): Remove macro.
60863 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60864 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60865 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60866 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60867 * string/memcmp.c (memcmp_bytes): Likewise.
60868 * locale/programs/locarchive.c (compute_hashval): Likewise.
60869 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60870 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60871 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60872 * nss/getent.c (print_rpc, print_protocols): Likewise.
60873 (print_passwd, print_group, print_aliases): Likewise.
60874 * nis/nss-nisplus.h (niserr2nss): Likewise.
60875 * nscd/connections.c (restart_p): Likewise.
60876 Change return type to bool.
60877
60878 2013-02-05 Roland McGrath <roland@hack.frob.com>
60879
60880 * Makeconfig (all-Depend-files): Add existing
60881 $(sorted-subdirs:=/Depend) files.
60882 (all-subdirs): Remove nss.
60883 * sysdeps/unix/inet/Subdirs: Add it here instead.
60884 * hesiod/Depend: New file.
60885
60886 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60887 instead of calling alloca.
60888
60889 * io/lseek.c (__lseek): Rename to __libc_lseek.
60890 Define __lseek as an alias.
60891
60892 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60893
60894 2013-02-04 Carlos O'Donell <carlos@redhat.com>
60895
60896 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60897 else clause and remove check for non-standard endianness.
60898
60899 2013-02-04 David S. Miller <davem@davemloft.net>
60900
60901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60902
60903 2013-02-04 Joseph Myers <joseph@codesourcery.com>
60904
60905 [BZ #13550]
60906 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60907 (__ubp_memchr): Remove prototype.
60908 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60909 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60910 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60911 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60912 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60913 Remove alias.
60914 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60915 (__ubp_memchr): Likewise.
60916 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60917 (__ubp_memchr): Likewise.
60918 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60919 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60920 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60921 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60922 CHECK_STRING.
60923 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60924 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60925 (__getcwd): Do not use CHECK_STRING.
60926 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60927 <bp-checks.h>.
60928 (__real_chown): Do not use CHECK_STRING.
60929 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60930 <bp-checks.h>.
60931 (fchownat): Do not use CHECK_STRING.
60932 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60933 CHECK_STRING.
60934 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60935 <bp-checks.h>.
60936 (__lchown): Do not use CHECK_STRING.
60937 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60938 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60939 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60940 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60942 include <bp-checks.h>.
60943 (truncate64): Do not use CHECK_STRING.
60944 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60945 <bp-checks.h>.
60946 (__real_chown): Do not use CHECK_STRING.
60947 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60948 <bp-checks.h>.
60949 (__lchown): Do not use CHECK_STRING.
60950 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60951 <bp-checks.h>.
60952 (__chown): Do not use CHECK_STRING.
60953 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60954 <bp-checks.h>.
60955 (truncate64): Do not use CHECK_STRING.
60956 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60957 Likewise.
60958 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60959 (__xmknod): Do not use CHECK_STRING.
60960 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60961 <bp-checks.h>.
60962 (__xmknodat): Do not use CHECK_STRING.
60963 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60964 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60965
60966 2013-02-04 Andreas Schwab <schwab@suse.de>
60967
60968 [BZ #14142]
60969 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60970 * include/netdb.h: Likewise for h_errno.
60971 * elf/tst-stackguard1.c: Include <tls.h>.
60972
60973 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
60974
60975 * elf/link.h (struct link_map): Extend the l_addr comment.
60976 * include/link.h (struct link_map): Likewise.
60977
60978 2013-02-01 Joseph Myers <joseph@codesourcery.com>
60979
60980 [BZ #13550]
60981 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60982 (BOUNDED_1): Remove macro.
60983 * debug/backtrace.c: Don't include <bp-checks.h>.
60984 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60985 (__backtrace): Likewise.
60986 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60987 <bp-checks.h>.
60988 (__backtrace): Don't use BOUNDED_1.
60989 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60990 <bp-checks.h>.
60991 (__backtrace): Don't use BOUNDED_1.
60992 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60993 (__backtrace): Don't use BOUNDED_1.
60994 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60995 (shmat): Don't use BOUNDED_N.
60996
60997 2013-01-31 Joseph Myers <joseph@codesourcery.com>
60998
60999 [BZ #13550]
61000 * sysdeps/generic/bp-start.h: Remove file.
61001 * csu/libc-start.c: Don't include <bp-start.h>.
61002 (LIBC_START_MAIN): Set up __environ directly instead of using
61003 INIT_ARGV_and_ENVIRON.
61004 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61005 <bp-start.h>.
61006
61007 [BZ #13550]
61008 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61009 definitions.
61010 (CHECK_FCNTL): Likewise.
61011 (CHECK_N_PAGES): Likewise.
61012
61013 [BZ #13550]
61014 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61015 definitions.
61016 (CHECK_SIGSET_NULL_OK): Likewise.
61017 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61018 <bp-checks.h>.
61019 (sigpending): Don't use CHECK_SIGSET.
61020 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61021 <bp-checks.h>.
61022 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61023 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61024 <bp-checks.h>.
61025 (do_sigsuspend): Don't use CHECK_SIGSET.
61026 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61027 use CHECK_SIGSET.
61028 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61029 (do_sigwait): Don't use CHECK_SIGSET.
61030 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61031 use CHECK_SIGSET.
61032 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61033 include <bp-checks.h>.
61034 (sigpending): Don't use CHECK_SIGSET.
61035 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61036 include <bp-checks.h>.
61037 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61038 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61039 <bp-checks.h>.
61040 (sigpending): Don't use CHECK_SIGSET.
61041 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61042 <bp-checks.h>.
61043 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61044
61045 [BZ #13550]
61046 * sysdeps/generic/bp-semctl.h: Remove file.
61047 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61048 <bp-checks.h> and <bp-semctl.h>.
61049 (__old_semctl): Don't use CHECK_SEMCTL.
61050 (__new_semctl): Likewise.
61051 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61052 and <bp-semctl.h>.
61053 (__old_semctl): Don't use CHECK_SEMCTL.
61054 (__new_semctl): Likewise.
61055 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61056 <bp-checks.h> and <bp-semctl.h>.
61057 (__old_semctl): Don't use CHECK_SEMCTL.
61058 (__new_semctl): Likewise.
61059 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61060 <bp-checks.h> and <bp-semctl.h>.
61061 (semctl): Don't use CHECK_SEMCTL.
61062
61063 [BZ #13550]
61064 * Makerules (elide-bp-thunks): Remove variable.
61065 (elide-routines.oS): Don't use $(elide-bp-thunks).
61066 (elide-routines.os): Likewise.
61067 (elide-routines.o): Likewise.
61068 (elide-routines.op): Likewise.
61069 (elide-routines.og): Likewise.
61070 (objects): Don't use $(bp-thunks).
61071 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61072 include.
61073 (common-generated): Do not add s-proto-bp.d.
61074 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61075 (int): Likewise.
61076 (typ): Likewise.
61077 Do not generate makefile rules for bounded-pointer thunks.
61078 * sysdeps/generic/bp-thunks.h: Remove file.
61079 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61080 * sysdeps/unix/s-proto-bp.S: Likewise.
61081
61082 [BZ #15062]
61083 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61084 parts of result separately when argument is not close to line from
61085 -i to i and one part of argument is small.
61086 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61087 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61088 * math/libm-test.inc (cacos_test): Add more tests.
61089 (casin_test): Likewise.
61090 (casinh_test): Likewise.
61091 * sysdeps/i386/fpu/libm-test-ulps: Update.
61092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61093
61094 2013-01-31 David S. Miller <davem@davemloft.net>
61095
61096 * po/de.po: Update from translation team.
61097
61098 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
61099
61100 * time/tzfile.c: Include stdint.h for SIZE_MAX.
61101
61102 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
61103
61104 * configure.in (_AC_PROG_CC_C89): New definition.
61105 * configure: Regenerate.
61106
61107 * configure.in (AC_PROG_CPP): New definition.
61108 * configure: Regenerate.
61109
61110 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61111
61112 * debug/tst-backtrace.h: New file.
61113 * debug/tst-backtrace2.c: Include tst-backtrace.h.
61114 (ret): Remove variable.
61115 (x): Likewise.
61116 (FAIL): Remove macro.
61117 (NO_INLINE): Likewise.
61118 (fn1): Use match function instead of strstr.
61119 * debug/tst-backtrace3.c: Include tst-backtrace.h.
61120 (ret): Remove variable.
61121 (x): Likewise.
61122 (FAIL): Remove macro.
61123 (NO_INLINE): Likewise.
61124 (fn): Use match function instead of strstr.
61125 * debug/tst-backtrace4.c: Include tst-backtrace.h.
61126 (ret): Remove variable.
61127 (x): Likewise.
61128 (FAIL): Remove macro.
61129 (NO_INLINE): Likewise.
61130 (handle_signal): Use match function instead of strstr.
61131 * debug/tst-backtrace5.c: Include tst-backtrace.h.
61132 (ret): Remove variable.
61133 (x): Likewise.
61134 (FAIL): Remove macro.
61135 (NO_INLINE): Likewise.
61136 (handle_signal): Use match function instead of strstr.
61137
61138 2013-01-23 Roland McGrath <roland@hack.frob.com>
61139
61140 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61141
61142 2013-01-23 David S. Miller <davem@davemloft.net>
61143
61144 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61145 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61146 argument of CAS if possible.
61147 * sysdeps/sparc/sparc64/bits/atomic.h
61148 (__arch_compare_and_exchange_val_32_acq): Likewise.
61149 (__arch_compare_and_exchange_val_64_acq): Likewise.
61150
61151 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
61152
61153 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61154 * sysdeps/posix/ulimit.c: ... this.
61155 Include <limits.h>.
61156 * sysdeps/unix/bsd/ulimit.c: Remove file.
61157
61158 2013-01-23 Adam Conrad <adconrad@0c3.net>
61159
61160 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61161 (LDFLAGS-tst-array5): Likewise.
61162
61163 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61164
61165 [BZ #15036]
61166 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61167 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61168 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61169 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61170
61171 2013-01-21 David S. Miller <davem@davemloft.net>
61172
61173 * sysdeps/sparc/backtrace.c: New file.
61174 * sysdeps/sparc/sparc32/backtrace.h: New file.
61175 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61176 * sysdeps/sparc/sparc64/backtrace.h: New file.
61177 * sysdeps/sparc/sparc64/backtrace.c: Delete.
61178 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61179 -funwind-tables.
61180
61181 2013-01-21 Andreas Schwab <schwab@suse.de>
61182
61183 [BZ #15020]
61184 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61185 closed its stdout.
61186
61187 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
61188
61189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61190 "mpa2.h".
61191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61192
61193 2013-01-18 Joseph Myers <joseph@codesourcery.com>
61194 Mark Mitchell <mark@codesourcery.com>
61195 Tom de Vries <tom@codesourcery.com>
61196 Paul Pluzhnikov <ppluzhnikov@google.com>
61197
61198 * debug/tst-backtrace2.c: New file.
61199 * debug/tst-backtrace3.c: Likewise.
61200 * debug/tst-backtrace4.c: Likewise.
61201 * debug/tst-backtrace5.c: Likewise.
61202 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61203 (CFLAGS-tst-backtrace3.c): Likewise.
61204 (CFLAGS-tst-backtrace4.c): Likewise.
61205 (CFLAGS-tst-backtrace5.c): Likewise.
61206 (LDFLAGS-tst-backtrace2): Likewise.
61207 (LDFLAGS-tst-backtrace3): Likewise.
61208 (LDFLAGS-tst-backtrace4): Likewise.
61209 (LDFLAGS-tst-backtrace5): Likewise.
61210 (tests): Add new tests tst-backtrace2, tst-backtrace3,
61211 tst-backtrace4 and tst-backtrace5.
61212
61213 2013-01-18 Anton Blanchard <anton@samba.org>
61214 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61215
61216 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61217 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61218 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61219 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61221 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61222 "+r" and remove output regs list as redundant. Add explicit inline
61223 asm to specify register of return val to work around compiler codegen
61224 bug. Remove (int) cast on return value. Add return type parameter to
61225 use in macro so that this macro does not truncate return value for
61226 64-bit values.
61227 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61228 pass to INTERNAL_VSYSCALL_NCS.
61229 (INLINE_VSYSCALL): Add 'long int' as return type to
61230 INTERNAL_VSYSCALL_NCS macro invocation.
61231 (INTERNAL_VSYSCALL): Add 'long int' as return type to
61232 INTERNAL_VSYSCALL_NCS macro invocation.
61233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61234
61235 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61236
61237 [BZ #14496]
61238 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61239 Fix application of SIMD FP exception mask.
61240
61241 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61242 mp_no from a power of two.
61243 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61244 __mpexp_twomm1. Use __pow_mp.
61245
61246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61247 multiplication.
61248
61249 2013-01-17 David S. Miller <davem@davemloft.net>
61250
61251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61252
61253 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61254
61255 [BZ #15023]
61256 * include/complex.h: Condition contents on [!_COMPLEX_H].
61257 (__kernel_casinhf): New prototype.
61258 (__kernel_casinh): Likewise.
61259 (__kernel_casinhl): Likewise.
61260 * math/Makefile (libm_calls): Add k_casinh.
61261 * math/k_casinh.c: New file.
61262 * math/k_casinhf.c: Likewise.
61263 * math/k_casinhl.c: Likewise.
61264 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61265 finite nonzero arguments.
61266 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61267 finite nonzero arguments.
61268 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61269 finite nonzero arguments.
61270 * math/s_casinh.c: Do not include <float.h>.
61271 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61272 * math/s_casinhf.c: Do not include <float.h>.
61273 (__casinhf): Move code for finite nonzero arguments to
61274 k_casinhf.c.
61275 * math/s_casinhl.c: Do not include <float.h>.
61276 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61277 redefine.
61278 (__casinhl): Move code for finite nonzero arguments to
61279 k_casinhl.c.
61280 * math/libm-test.inc (cacos_test): Add more tests.
61281 * sysdeps/i386/fpu/libm-test-ulps: Update.
61282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61283
61284 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
61285
61286 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61287 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61288 [!HAVE_MREMAP]: Remove [defined linux] case.
61289 * malloc/arena.c: Do not include <malloc-sysdep.h>.
61290
61291 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
61292
61293 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61294
61295 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
61296
61297 * elf/elf.h (R_386_SIZE32): New relocation.
61298 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61299 R_386_SIZE32.
61300 (elf_machine_rela): Likewise.
61301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61302 R_X86_64_SIZE64 and R_X86_64_SIZE32.
61303
61304 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61305
61306 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61307 (FP_FAST_FMA): Do not define.
61308 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61309 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61310 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61311 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61312 !_SOFT_FLOAT]: Likewise.
61313 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61314 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61315 value.
61316 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61317 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61318 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61319 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61320 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61321 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61322 file.
61323
61324 2013-01-16 Andreas Schwab <schwab@suse.de>
61325
61326 [BZ #14327]
61327 * include/stdlib.h (__mktemp): Add declaration.
61328 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61329 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61330
61331 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61332
61333 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61334 definitions.
61335 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61336 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61337 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61338 definitions here.
61339 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61340 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61341 definitions.
61342 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61343 and ONE.
61344 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61345 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61346 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61347 definitions.
61348 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61349 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61350 definitions.
61351 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61352
61353 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61354
61355 2013-01-15 David S. Miller <davem@davemloft.net>
61356
61357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61358 trunc{,f} to libm-sysdep_routes.
61359 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61361 file.
61362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61364 file.
61365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61366 file.
61367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61369 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61370 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61371 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61372 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61373 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61374 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61375
61376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61377 nearbyint{,f} to libm-sysdep_routes.
61378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61380 New file.
61381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61382 file.
61383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61384 New file.
61385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61386 file.
61387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61389 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61390 file.
61391 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61392 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61393 file.
61394 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61395 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61396 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61397
61398 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61399 libc_feholdexcept and libc_fesetenv.
61400
61401 2013-01-15 Mike Frysinger <vapier@gentoo.org>
61402
61403 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61404
61405 2013-01-14 David S. Miller <davem@davemloft.net>
61406
61407 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61408 (SPARC_ASM_VIS2_IFUNC): Likewise.
61409 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61411 use of 'siam' instruction.
61412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61413 Likewise.
61414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61415 Likewise.
61416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61417 Likewise.
61418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61423 file.
61424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61425 file.
61426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61427 file.
61428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61429 file.
61430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61435 new VIS2 routines.
61436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61439 Likewise.
61440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61445 routines to libm-sysdep_routines.
61446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61447
61448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61449 fdim/fdimf to libm-sysdep_routines.
61450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61451 file.
61452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61454 file.
61455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61458 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61459 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61460 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61461 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61462
61463 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61464
61465 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61466 to optimize copies.
61467
61468 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61471
61472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61473 local variable MPTWO.
61474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61475 Likewise.
61476
61477 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61478
61479 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61480 GLOB_NOESCAPE.
61481
61482 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61483
61484 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61485
61486 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61487
61488 * manual/pattern.texi (glob_t): Document gl_flags.
61489 (glob64_t): Likewise.
61490
61491 2013-01-11 David S. Miller <davem@davemloft.net>
61492
61493 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61494 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61495 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
61496 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61497 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61498 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61499 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61500 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61501 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61502 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61503 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61504 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61505 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61506
61507 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61508 sparc V9 rather than using V8 code.
61509 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61510 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61511
61512 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61513 Move to...
61514 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61515 Here.
61516
61517 2013-01-11 Roland McGrath <roland@hack.frob.com>
61518
61519 [BZ #14941]
61520 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61521 not in the main loop.
61522 * configure: Regenerated.
61523
61524 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61525
61526 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61527 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61528 to just #else.
61529 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61530 [!__GLIBC_HAVE_LONG_LONG] case.
61531 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61532 condition to just #else.
61533 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61534 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61535 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61536 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61537 unconditional.
61538 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61539 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61540 #elif condition to just #else.
61541 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61542 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61543 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61544 #elif condition to just #else.
61545
61546 2013-01-11 Steve Ellcey <sellcey@mips.com>
61547
61548 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61549 (EF_MIPS_ARCH_64): Fix value.
61550 (EF_MIPS_ARCH_32R2): New.
61551 (EF_MIPS_ARCH_64R2): New.
61552
61553 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61554
61555 * Makeconfig (+link-pie-before-libc): New.
61556 (+link-pie-after-libc): Likewise.
61557 (+link-pie-tests): Likewise.
61558 (+link-pie): Rewritten.
61559 (link-before-libc): Remove $(config-LDFLAGS).
61560 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61561 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61562 (config-LDFLAGS): Renamed to ...
61563 (rtld-LDFLAGS): This.
61564 (rtld-tests-LDFLAGS): New macro.
61565 (link-libc-rpath-link): Likewise.
61566 (link-libc-tests-rpath-link): Likewise.
61567 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61568 (link-libc): Prepand $(link-libc-rpath-link).
61569 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61570 (test-program-prefix): New macro.
61571 (test-via-rtld-prefix): Likewise.
61572 (test-program-cmd): Likewise.
61573 (host-test-program-cmd): Likewise.
61574 * Makefile ($(common-objpfx)testrun.sh): Replace
61575 $(run-program-prefix) with $(test-program-prefix).
61576 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61577 $(rtld-LDFLAGS).
61578 ($(common-objpfx)shlib.lds): Likewise.
61579 (build-module-helper): Likewise.
61580 ($(common-objpfx)format.lds): Likewise.
61581 * Rules (binaries-pie-tests): New.
61582 (binaries-pie-notests): Likewise.
61583 (binaries-pie): Rewritten.
61584 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61585 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61586 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61587 (make-test-out): Replace $(host-built-program-cmd) with
61588 $(host-test-program-cmd).
61589 * config.make.in (build-hardcoded-path-in-tests): New variable.
61590 * configure.in (--enable-hardcoded-path-in-tests): New configure
61591 option.
61592 (hardcoded_path_in_tests): New AC_SUBST.
61593 * configure: Regenerated.
61594 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61595 $(built-program-cmd) with $(test-program-cmd).
61596 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61597 (test_program_cmd): This.
61598 * elf/Makefile ($(objpfx)order.out): Run test with
61599 $(test-program-prefix).
61600 ($(objpfx)order2.out): Likewise.
61601 ($(objpfx)tst-initorder.out): Likewise.
61602 ($(objpfx)tst-initorder2.out): Likewise.
61603 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61604 $(test-program-cmd).
61605 ($(objpfx)tst-array1-static.out): Likewise.
61606 ($(objpfx)tst-array2.out): Likewise.
61607 ($(objpfx)tst-array3.out): Likewise.
61608 ($(objpfx)tst-array4.out): Likewise.
61609 ($(objpfx)tst-array5.out): Likewise.
61610 ($(objpfx)tst-array5-static.out): Likewise.
61611 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61612 $(test-program-cmd).
61613 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61614 $(run-program-prefix) with $(test-program-prefix).
61615 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61616 (test_program_prefix): This.
61617 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61618 $(run-program-prefix) with $(test-program-prefix).
61619 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61620 (test_program_prefix): This.
61621 * iconvdata/tst-tables.sh: Likewise.
61622 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61623 $(run-program-prefix) with $(test-program-prefix).
61624 ($(objpfx)tst-translit.out): Likewise.
61625 ($(objpfx)tst-gettext2.out): Likewise.
61626 ($(objpfx)tst-gettext4.out): Likewise.
61627 ($(objpfx)tst-gettext6.out): Likewise.
61628 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61629 (test_program_prefix): This.
61630 * intl/tst-gettext2.sh: Likewise.
61631 * intl/tst-gettext4.sh Likewise.
61632 * intl/tst-gettext6.sh: Likewise.
61633 * intl/tst-translit.sh: Likewise.
61634 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61635 with $(test-program-cmd).
61636 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61637 $(run-program-prefix) with $(test-program-prefix).
61638 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61639 (test_program_prefix): This.
61640 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61641 $(run-program-prefix) with $(test-program-prefix).
61642 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61643 (test_program_prefix): This.
61644 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61645 * posix/Makefile ($(objpfx)globtest.out): Replace
61646 $(run-via-rtld-prefix) and $(test-wrapper) with
61647 $(test-program-prefix) and $(test-via-rtld-prefix).
61648 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61649 $(test-program-prefix).
61650 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61651 $(host-test-program-cmd).
61652 (tst-spawn-ARGS): Likewise.
61653 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61654 $(test-program-prefix).
61655 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61656 (test_via_rtld_prefix): This.
61657 (test_wrapper): Renamed to ...
61658 (test_program_prefix): This.
61659 (run_program_prefix): Replaced by test_program_prefix.
61660 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61661 (test_program_prefix): This.
61662 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61663 with $(host-test-program-cmd).
61664 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61665 $(run-program-prefix) with $(test-program-prefix).
61666 ($(objpfx)tst-printf.out): Likewise.
61667 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61668 $(test-program-cmd).
61669 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61670 (test_program_prefix): This.
61671 * stdio-common/tst-unbputc.sh: Likewise.
61672 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61673 $(run-program-prefix) with $(test-program-prefix).
61674 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61675 (test_program_prefix): This.
61676 * string/Makefile ($(objpfx)tst-svc.out): Replace
61677 $(built-program-cmd) with $(test-program-cmd).
61678
61679 2013-01-11 Andreas Jaeger <aj@suse.de>
61680
61681 [BZ #15003]
61682 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61683 value. Sync with Linux 3.7.
61684
61685 2013-01-10 David S. Miller <davem@davemloft.net>
61686
61687 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61688 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61689 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61690
61691 2013-01-10 Roland McGrath <roland@hack.frob.com>
61692
61693 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61694 never set.
61695 * configure: Regenerated.
61696
61697 2013-01-10 David S. Miller <davem@davemloft.net>
61698
61699 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61700 sparc V9 rather than using V8 code.
61701 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61702 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61703
61704 2013-01-10 Roland McGrath <roland@hack.frob.com>
61705
61706 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61707 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61708 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61709 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61710 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61711 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61712 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61713 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61714 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61715 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61716 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61717 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61718 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61719 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61720 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61721 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61722 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61723 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61724 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61725 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61726 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61727 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61728 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61729 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61730 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61731 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61732 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61733
61734 2013-01-10 David S. Miller <davem@davemloft.net>
61735
61736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61737
61738 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61739
61740 * posix/Makefile (tests-static): New variable.
61741 (tests): Add $(tests-static).
61742 (tst-exec-static-ARGS): New variable.
61743 (tst-spawn-static-ARGS): Likewise.
61744 * posix/tst-exec-static.c: New file.
61745 * posix/tst-spawn-static.c: Likewise.
61746 * posix/tst-exec.c: Support run directly.
61747 * posix/tst-spawn.c: Likewise.
61748
61749 2013-01-10 Joseph Myers <joseph@codesourcery.com>
61750
61751 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61752 long.
61753 * math/bits/mathcalls.h (llrint): Likewise.
61754 (llround): Likewise.
61755 * stdlib/stdlib.h (struct drand48_data): Likewise.
61756 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61757 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61758 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61759 Likewise.
61760 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61761 Likewise.
61762 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61763 (elf_greg_t): Likewise.
61764 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61765 (__jmp_buf): Likewise.
61766 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61767 definitions.
61768 (llrint): Likewise, for all definitions.
61769 (llrintl): Likewise.
61770
61771 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61772 Remove [__GNUC__] condition.
61773 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61774 condition to just [__USE_ISOC99].
61775 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61776
61777 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61778
61779 [BZ #14200]
61780 * sysdeps/unix/sysv/linux/x86/bits/environments.h
61781 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61782 defined.
61783 (_POSIX_V6_ILP32_OFF32): Likewise.
61784 (_XBS5_ILP32_OFF32): Likewise.
61785 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61786 (__ILP32_OFFBIG_LDFLAGS): Likewise.
61787
61788 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61789
61790 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61791
61792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61793 doubles __mpexp_twomm1. Adjust usage.
61794 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61795 Remove.
61796
61797 2013-01-10 Andreas Schwab <schwab@suse.de>
61798
61799 [BZ #14964]
61800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61801 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61802
61803 2013-01-09 David S. Miller <davem@davemloft.net>
61804
61805 [BZ #15003]
61806 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61807 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61808 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61809 (TCP_FASTOPEN): Define.
61810 (tcp_repair_opt): New structure.
61811 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61812 enum values.
61813 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61814 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61815 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61816 (tcp_cookie_transactions): New structure.
61817
61818 2013-01-09 Anton Blanchard <anton@samba.org>
61819
61820 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61821 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61822 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61823 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61824
61825 2013-01-09 Joseph Myers <joseph@codesourcery.com>
61826
61827 * include/features.h (__USE_ANSI): Remove.
61828
61829 2013-01-09 Roland McGrath <roland@hack.frob.com>
61830
61831 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61832
61833 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61834
61835 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
61836
61837 * sysdeps/s390/fpu/libm-test-ulps: Update.
61838
61839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61840
61841 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61842 (__acr): Likewise.
61843 (__cpy): Likewise.
61844 (norm): Likewise.
61845 (denorm): Likewise.
61846 (__mp_dbl): Likewise.
61847 (__dbl_mp): Likewise.
61848 (add_magnitudes): Likewise.
61849 (sub_magnitudes): Likewise.
61850 (__add): Likewise.
61851 (__sub): Likewise.
61852 (__mul): Likewise.
61853 (__inv): Likewise.
61854 (__dvd): Likewise.
61855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61856 (__acr): Likewise.
61857 (__cpy): Likewise.
61858 (norm): Likewise.
61859 (denorm): Likewise.
61860 (__mp_dbl): Likewise.
61861 (__dbl_mp): Likewise.
61862 (add_magnitudes): Likewise.
61863 (sub_magnitudes): Likewise.
61864 (__add): Likewise.
61865 (__sub): Likewise.
61866 (__mul): Likewise.
61867 (__inv): Likewise.
61868 (__dvd): Likewise.
61869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61870 (__acr): Likewise.
61871 (__cpy): Likewise.
61872 (norm): Likewise.
61873 (denorm): Likewise.
61874 (__mp_dbl): Likewise.
61875 (__dbl_mp): Likewise.
61876 (add_magnitudes): Likewise.
61877 (sub_magnitudes): Likewise.
61878 (__add): Likewise.
61879 (__sub): Likewise.
61880 (__mul): Likewise.
61881 (__inv): Likewise.
61882 (__dvd): Likewise.
61883
61884 2013-01-08 Joseph Myers <joseph@codesourcery.com>
61885
61886 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61887 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61888 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61889 2 && __USE_EXTERN_INLINES]: Likewise.
61890
61891 2013-01-08 Andreas Jaeger <aj@suse.de>
61892
61893 [BZ# 14985]
61894 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61895 Remove.
61896 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61897 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61898
61899 2013-01-07 Anton Blanchard <anton@samba.org>
61900
61901 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61902 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61903 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61904 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61905 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61906 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61907 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61908 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61910 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61911 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61912 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61913 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61914 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61915 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61917 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61918 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61919 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61920 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61921 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61922 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61923 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61924 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61925 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61926 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61927 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61928 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61930 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61931 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61933 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61934 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61935 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61936 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61937 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61938 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61939 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61940 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61941 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61942 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61943 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61944
61945 2013-01-07 Joseph Myers <joseph@codesourcery.com>
61946
61947 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61948 (__MALLOC_PMT): Likewise.
61949 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61950 [__GNUC__], only on [_LIBC].
61951 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61952 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61953 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61954 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61955 forward declaration.
61956 (realloc_hook_ini): Likewise.
61957 (memalign_hook_ini): Likewise.
61958 (__libc_memalign): Do not use __MALLOC_PMT in variable
61959 declaration.
61960 (__libc_valloc): Likewise.
61961 (__libc_pvalloc): Likewise.
61962 (__libc_calloc): Likewise.
61963 (__posix_memalign): Likewise.
61964
61965 [BZ #14996]
61966 * math/s_casinh.c: Include <float.h>.
61967 (__casinh): Do not do computation with squaring and square root
61968 for large arguments.
61969 * math/s_casinhf.c: Include <float.h>.
61970 (__casinhf): Do not do computation with squaring and square root
61971 for large arguments.
61972 * math/s_casinhl.c: Include <float.h>.
61973 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61974 (__casinhl): Do not do computation with squaring and square root
61975 for large arguments.
61976 * math/libm-test.inc (casin_test): Add more tests.
61977 (casinh_test): Likewise.
61978 * sysdeps/i386/fpu/libm-test-ulps: Update.
61979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61980
61981 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
61982
61983 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61984 (__x86_64_raw_data_cache_size): Likewise.
61985 (__x86_64_data_cache_size_half): Likewise.
61986 (__x86_64_raw_data_cache_size_half): Likewise.
61987 (__x86_64_shared_cache_size): Likewise.
61988 (__x86_64_raw_shared_cache_size): Likewise.
61989 (__x86_64_shared_cache_size_half): Likewise.
61990 (__x86_64_raw_shared_cache_size_half): Likewise.
61991 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61992 to ...
61993 (__x86_data_cache_size): This.
61994 (__x86_64_raw_data_cache_size): Renamed to ...
61995 (__x86_raw_data_cache_size): This.
61996 (__x86_64_data_cache_size_half): Renamed to ...
61997 (__x86_data_cache_size_half): This.
61998 (__x86_64_raw_data_cache_size_half): Renamed to ...
61999 (__x86_raw_data_cache_size_half): This.
62000 (__x86_64_shared_cache_size): Renamed to ...
62001 (__x86_shared_cache_size): This.
62002 (__x86_64_raw_shared_cache_size): Renamed to ...
62003 (__x86_raw_shared_cache_size): This.
62004 (__x86_64_shared_cache_size_half): Renamed to ...
62005 (__x86_shared_cache_size_half): This.
62006 (__x86_64_raw_shared_cache_size_half): Renamed to ...
62007 (__x86_raw_shared_cache_size_half): This.
62008 * sysdeps/x86_64/memcpy.S: Updated.
62009 * sysdeps/x86_64/memset.S: Likewise.
62010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62011 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62012 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62013
62014 2013-01-04 David S. Miller <davem@davemloft.net>
62015
62016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62017
62018 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
62019
62020 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62021 1 to avoid redefinition warning.
62022 (__USE_GNU): Don't define.
62023 (init_signaling_nan): Protoize.
62024
62025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62026
62027 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62028
62029 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62031 (__cpymn): Likewise.
62032 (norm): Remove commented code.
62033 (denorm): Likewise.
62034 (__mp_dbl): Likewise.
62035 (__inv): Likewise.
62036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62037 (__cpymn): Likewise.
62038 (norm): Remove commented code.
62039 (denorm): Likewise.
62040 (__mp_dbl): Likewise.
62041 (__inv): Likewise.
62042
62043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62044 mp_no value for 1.0 and 2.0.
62045 (norm): Use RADIXI instead of radixi.d.
62046 (denorm): Likewise.
62047 (__mul): Use 0.0 instead of zero.d.
62048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62049 mp_no value for 1.0 and 2.0.
62050 (norm): Use RADIXI instead of radixi.d.
62051 (denorm): Likewise.
62052 (__mul): Use 0.0 instead of zero.d.
62053
62054 2013-01-04 Joseph Myers <joseph@codesourcery.com>
62055
62056 [BZ #14994]
62057 * math/s_casinh.c (__casinh): Reduce finite argument to first
62058 quadrant then set signs of results at the end.
62059 * math/s_casinhf.c (__casinhf): Likewise.
62060 * math/s_casinhl.c (__casinhl): Likewise.
62061 * math/libm-test.inc (casin_test): Add more tests.
62062 (casinh_test): Likewise.
62063 * sysdeps/i386/fpu/libm-test-ulps: Update.
62064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62065
62066 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62067
62068 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62069
62070 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62071
62072 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62073 declarations.
62074 (denorm): Likewise.
62075 (__mp_dbl): Likewise.
62076 (__inv): Likewise.
62077
62078 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62079 and adjust the header comment.
62080
62081 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62082 variable name from declaration.
62083
62084 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
62085
62086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62087 Initialize COMMON_CPUID_INDEX_7 element.
62088 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62089 (CPUID_RTM): Likewise.
62090 (HAS_RTM): Likewise.
62091 (COMMON_CPUID_INDEX_7): New enum.
62092
62093 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
62094
62095 [BZ #14981]
62096 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62097 size is zero, record memory as freed.
62098
62099 2013-01-03 Andreas Jaeger <aj@suse.de>
62100
62101 * po/ia.po: Add new Interlingua translation.
62102
62103 2012-01-03 Allan McRae <allan@archlinux.org>
62104
62105 * locale/programs/localedef.c: Fix description of '--posix' flag.
62106
62107 2013-01-02 Joseph Myers <joseph@codesourcery.com>
62108
62109 * NEWS: Update dates in second copyright notice.
62110 * README: Update copyright dates in example.
62111 * manual/libc.texinfo: Update copyright dates.
62112 * scripts/test-installation.pl: Update copyright date in --version
62113 output.
62114
62115 * hurd/ctty-input.c: Fix copyright notice formatting.
62116 * hurd/ctty-output.c: Likewise.
62117 * hurd/dtable.c: Likewise.
62118 * hurd/hurd-raise.c: Likewise.
62119 * hurd/hurdprio.c: Likewise.
62120 * hurd/msgportdemux.c: Likewise.
62121 * misc/sys/file.h: Likewise.
62122 * misc/sys/ioctl.h: Likewise.
62123 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62124 * sysdeps/mach/hurd/chdir.c: Likewise.
62125 * sysdeps/mach/hurd/fchdir.c: Likewise.
62126 * sysdeps/mach/hurd/rename.c: Likewise.
62127 * sysdeps/mach/hurd/rmdir.c: Likewise.
62128 * sysdeps/mach/hurd/seekdir.c: Likewise.
62129 * sysdeps/mach/hurd/setsid.c: Likewise.
62130 * sysdeps/posix/wait3.c: Likewise.
62131
62132 * All files with FSF copyright notices: Update copyright dates
62133 using scripts/update-copyrights.
62134 * intl/plural.c: Regenerated.
62135 * locale/programs/charmap-kw.h: Likewise.
62136 * locale/programs/locfile-kw.h: Likewise.
62137
62138 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
62139
62140 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62141 four values.
62142
62143 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62144 calculation loop and add branch prediction.
62145
62146 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62147 check access beyond bounds of m1np.
62148
62149 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62150 MPTWO.
62151 (__inv): Remove local variable MPTWO to use the global
62152 constant.
62153 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62154 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62155 variable MPTWO.
62156 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62157 MP3HALFS static const.
62158
62159 2013-01-01 David S. Miller <davem@davemloft.net>
62160
62161 * po/ca.po: Update from translation team.
62162
62163 2013-01-01 Joseph Myers <joseph@codesourcery.com>
62164
62165 * scripts/update-copyrights: New file.
62166 * Makeconfig: Reformat copyright notice.
62167 * ctype/ctype.h: Likewise.
62168 * debug/swprintf_chk.c: Likewise.
62169 * elf/dl-cache.c: Likewise.
62170 * elf/dl-debug.c: Likewise.
62171 * elf/dl-object.c: Likewise.
62172 * grp/initgroups.c: Likewise.
62173 * hurd/Makefile: Likewise.
62174 * hurd/hurd/signal.h: Likewise.
62175 * hurd/hurdfault.c: Likewise.
62176 * hurd/hurdioctl.c: Likewise.
62177 * hurd/hurdlookup.c: Likewise.
62178 * hurd/intr-msg.c: Likewise.
62179 * iconv/gconv_open.c: Likewise.
62180 * libio/swprintf.c: Likewise.
62181 * locale/lc-ctype.c: Likewise.
62182 * locale/nl_langinfo.c: Likewise.
62183 * mach/Machrules: Likewise.
62184 * mach/Makefile: Likewise.
62185 * malloc/obstack.h: Likewise.
62186 * manual/Makefile: Likewise.
62187 * manual/tsort.awk: Likewise.
62188 * misc/bits/stab.def: Likewise.
62189 * nis/nis_print_group_entry.c: Likewise.
62190 * nis/nis_table.c: Likewise.
62191 * nis/nss_compat/compat-pwd.c: Likewise.
62192 * nis/nss_compat/compat-spwd.c: Likewise.
62193 * po/Makefile: Likewise.
62194 * posix/fnmatch.c: Likewise.
62195 * posix/regex.h: Likewise.
62196 * resolv/Makefile: Likewise.
62197 * resolv/nss_dns/dns-network.c: Likewise.
62198 * resolv/res_hconf.c: Likewise.
62199 * scripts/gen-sorted.awk: Likewise.
62200 * soft-fp/soft-fp.h: Likewise.
62201 * stdio-common/printf.h: Likewise.
62202 * stdlib/monetary.h: Likewise.
62203 * stdlib/random.c: Likewise.
62204 * stdlib/random_r.c: Likewise.
62205 * sysdeps/generic/Makefile: Likewise.
62206 * sysdeps/gnu/Makefile: Likewise.
62207 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62208 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62209 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62210 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62214 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62215 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62216 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62217 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62218 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62219 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62220 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62221 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62222 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62223 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62225 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62226 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62227 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62228 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62229 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62230 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62231 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62232 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62233 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62234 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62235 * sysdeps/mach/hurd/errnos.awk: Likewise.
62236 * sysdeps/mach/hurd/fork.c: Likewise.
62237 * sysdeps/mach/hurd/getcwd.c: Likewise.
62238 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62239 * sysdeps/mach/hurd/mmap.c: Likewise.
62240 * sysdeps/mach/hurd/utimes.c: Likewise.
62241 * sysdeps/mach/hurd/xmknod.c: Likewise.
62242 * sysdeps/posix/profil.c: Likewise.
62243 * sysdeps/posix/readdir_r.c: Likewise.
62244 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62245 * sysdeps/powerpc/bits/setjmp.h: Likewise.
62246 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62247 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62249 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62251 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62253 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62254 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62255 * sysdeps/pthread/lio_listio.c: Likewise.
62256 * sysdeps/sparc/dl-procinfo.h: Likewise.
62257 * sysdeps/unix/i386/sysdep.S: Likewise.
62258 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62259 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62260 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62261 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62263 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62264 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62265 * sysdeps/unix/sysv/linux/speed.c: Likewise.
62266 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62267 * sysdeps/wordsize-32/divdi3.c: Likewise.
62268 * time/sys/time.h: Likewise.
62269 * wcsmbs/Makefile: Likewise.
62270
62271 2013-01-01 David S. Miller <davem@davemloft.net>
62272
62273 * po/fr.po: Update from translation team.
62274
62275 * catgets/gencat.c: Update copyright year.
62276 * csu/version.c: Likewise.
62277 * debug/catchsegv.sh: Likewise.
62278 * debug/pcprofiledump.c: Likewise.
62279 * debug/xtrace.sh: Likewise.
62280 * elf/ldconfig.c: Likewise.
62281 * elf/ldd.bash.in: Likewise.
62282 * elf/pldd.c: Likewise.
62283 * elf/sotruss.ksh: Likewise.
62284 * elf/sprof.c: Likewise.
62285 * iconv/iconv_prog.c: Likewise.
62286 * iconv/iconvconfig.c: Likewise.
62287 * locale/programs/locale.c: Likewise.
62288 * locale/programs/localedef.c: Likewise.
62289 * login/programs/pt_chown.c: Likewise.
62290 * malloc/memusage.sh: Likewise.
62291 * malloc/memusagestat.c: Likewise.
62292 * malloc/mtrace.pl: Likewise.
62293 * nscd/nscd.c: Likewise.
62294 * nss/getent.c: Likewise.
62295 * nss/makedb.c: Likewise.
62296 * posix/getconf.c: Likewise.
62297
62298 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62299
62300 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62301 numbers.
62302
62303 2012-12-30 Mike Frysinger <vapier@gentoo.org>
62304
62305 * math/bits/mathcalls.h (modf): Use __nonnull.
62306
62307 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62308
62309 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62310 (split): Use macro CN instead of the bare value.
62311 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62312 could be used.
62313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62314 instead of the bare value.
62315 (power1): Likewise.
62316
62317 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62318
62319 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62320 __ATAN_TWOM.
62321 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62322
62323 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62324 their values.
62325 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62326 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62327 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62328 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62329
62330 2012-12-28 Andreas Jaeger <aj@suse.de>
62331
62332 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
62333 values are from Linux 3.7.
62334
62335 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62336 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
62337
62338 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62339
62340 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62341 TRUE case.
62342
62343 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62344 (norm): Likewise.
62345 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62346 variables with preprocessor constants.
62347 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62348 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62349 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62350
62351 2012-12-27 Bruno Haible <bruno@clisp.org>
62352
62353 [BZ #14317]
62354 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62355 only if needed.
62356
62357 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62358
62359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62360 and use variable directly.
62361 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62362
62363 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62364 MPONE.
62365 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62366 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62367 variable MPONE.
62368 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62370 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62371 include directive. Remove local variable MPONE.
62372 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62373 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62374 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62375
62376 2012-12-25 David S. Miller <davem@davemloft.net>
62377
62378 * version.h (RELEASE): Set to "development".
62379 (VERSION): Set to "2.17.90".
62380 * NEWS: Add 2.18 section.
62381
62382 2012-12-21 David S. Miller <davem@davemloft.net>
62383
62384 * po/hr.po: Update from translation team.
62385
62386 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62387
62388 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62389
62390 2012-12-19 Steve Ellcey <sellcey@mips.com>
62391
62392 * NEWS: Mention new memcpy for MIPS.
62393
62394 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62395
62396 * manual/contrib.texi (Contributors): Spelling correction.
62397
62398 2012-12-15 David S. Miller <davem@davemloft.net>
62399
62400 * po/ru.po: Update from translation team.
62401
62402 2012-12-13 David S. Miller <davem@davemloft.net>
62403
62404 * NEWS: Mention IFUNC testsuite enhancements.
62405
62406 * po/pl.po: Update from translation team.
62407 * po/bg.po: Likewise.
62408
62409 * manual/contrib.texi (Contributors): Update entries for Hongjiu
62410 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
62411
62412 2012-12-11 David S. Miller <davem@davemloft.net>
62413
62414 * po/sv.po: Update from translation team.
62415
62416 * po/vi.po: Update from translation team.
62417
62418 * po/cs.po: Update from translation team.
62419
62420 * po/de.po: Update from translation team.
62421 * po/eo.po: Likewise.
62422 * po/nl.po: Likewise.
62423
62424 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62425
62426 [BZ #14246]
62427 * manual/argp.texi (Argp Helper Functions): Move node to follow
62428 Argp Parsing State.
62429
62430 [BZ #14872]
62431 * manual/conf.texi (Limits on File System Capacity): Mention if
62432 terminating null is included in the max size.
62433
62434 2012-12-10 Andreas Jaeger <aj@suse.de>
62435
62436 * po/cs.po: Update from translation team.
62437
62438 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62439
62440 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62441 void pointer and cast to uintptr_t.
62442 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62443 path.
62444 * sysdeps/s390/s390-64/memcpy.S: Likewise.
62445 * sysdeps/s390/s390-64/memset.S: Likewise.
62446
62447 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
62448
62449 [BZ #14833]
62450 * menual/message.texi (Message Translation): Fix typos.
62451 (Helper programs for gettext): Likewise.
62452
62453 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
62454
62455 [BZ #14898]
62456 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62457 Change to -1.
62458
62459 2012-12-07 David S. Miller <davem@davemloft.net>
62460
62461 * po/libc.pot: Update.
62462
62463 2012-12-07 Richard Henderson <rth@redhat.com>
62464
62465 [BZ #10114]
62466 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62467 normal/normal case to before the switch.
62468 (_FP_DIV): Likewise.
62469
62470 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
62471 Mike Frysinger <vapier@gentoo.org>
62472
62473 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62474 check for __NR_fadvise64_64.
62475
62476 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
62477
62478 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62479 0, not just to plain "0" as a statement.
62480 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62481 with cw.
62482
62483 2012-12-06 Joseph Myers <joseph@codesourcery.com>
62484
62485 * NEWS: Use sourceware.org in Bugzilla URL.
62486
62487 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62488
62489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62490 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62491
62492 * stdio-common/tst-put-error.c (do_test): Add newline to the
62493 padded test to ensure flush.
62494
62495 2012-12-05 Jeff Law <law@redhat.com>
62496
62497 * sunrpc/etc.rpc (fedfs_admin): Add entry.
62498
62499 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62500
62501 * README: Don't refer to ports add-on as distributed separately.
62502 Mention AArch64 in list of systems supported in the ports add-on.
62503
62504 * LICENSES: Add more non-FSF copyright and license notices.
62505
62506 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62507 ((unused)).
62508
62509 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62510
62511 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62512 10000 as width of padded output.
62513
62514 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62515
62516 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62517
62518 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62519 variable LX with __attribute__ ((unused)).
62520 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62521 Likewise.
62522 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62524 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62525 with __attribute__ ((unused)).
62526
62527 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62528
62529 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62530
62531 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62532
62533 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62534 (CFLAGS-nldbl-acos.c): New variable.
62535 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62536 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62537 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62538 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62539 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62540 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62541 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62542 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62543 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62544 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62545 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62546 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62547 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62548 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62549 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62550 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62551 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62552 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62553 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62554 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62555 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62556 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62557 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62558 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62559 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62560 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62561 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62562 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62563 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62564 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62565 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62566 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62567 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62568 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62569 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62570 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62571 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62572 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62573 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62574 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62575 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62576 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62577 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62578 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62579 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62580 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62581 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62582 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62583 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62584 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62585 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62586 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62587 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62588 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62589 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62590 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62591 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62592 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62593 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62594 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62595 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62596 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62597 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62598 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62599 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62600 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62601 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62602 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62603 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62604 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62605 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62606 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62607 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62608 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62609 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62610 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62611 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62612 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62613 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62614 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62615 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62616 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62617 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62618 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62619 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62620 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62621 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62622 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62623 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62624 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62625 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62626 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62627 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62628 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62629 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62630 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62631 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62632
62633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62634 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62635
62636 [BZ #14914]
62637 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62638 whole low double instead of just low 47 bits when splitting values
62639 into two parts.
62640
62641 2012-12-03 Allan McRae <allan@archlinux.org>
62642
62643 * manual/stdio.texi (Predefined Printf Handlers): Remove
62644 @hsep and @vsep usage.
62645
62646 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62647
62648 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62649 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62650
62651 2012-12-03 Jeff Law <law@redhat.com>
62652
62653 * time/sys/time.h (settimeofday): Do not mark TV argument
62654 as __nonnull.
62655
62656 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62657
62658 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62659 when currently writing and seek to current position when not.
62660 * libio/Makefile (tests): Remove bug-fclose1.
62661 * libio/bug-fclose1.c: Delete.
62662
62663 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62664
62665 * manual/arith.texi (feenableexcept): Fix typo.
62666 (fedisableexcept): Likewise.
62667
62668 2012-11-30 Roland McGrath <roland@hack.frob.com>
62669
62670 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62671 second, differently-typed declaration, rather than a cast.
62672
62673 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62674
62675 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62676 * include/rpc/svc.h: ... here.
62677
62678 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62679
62680 [BZ #13013]
62681 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62682 depending n and resplen2 to catch cases where answer
62683 equals answerp2.
62684
62685 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62686
62687 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62688 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62689
62690 2012-11-29 Mike Frysinger <vapier@gentoo.org>
62691
62692 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62693
62694 2012-11-29 Roland McGrath <roland@hack.frob.com>
62695
62696 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62697
62698 2012-11-28 Jeff Law <law@redhat.com>
62699
62700 [BZ #13761]
62701 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62702 dataset_temporary. Track alloca usage into alloca_used.
62703 If dataset is large allocate and release it via malloc/free.
62704
62705 2012-06-04 Florian Weimer <fweimer@redhat.com>
62706
62707 [BZ #14197]
62708 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62709
62710 2012-11-28 David S. Miller <davem@davemloft.net>
62711
62712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62713
62714 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62715
62716 [BZ #14803]
62717 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62718 of pi/2 rounded to nearest to 64 bits.
62719 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62720 nearest to 64 bits.
62721 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62722 bits.
62723
62724 2012-11-28 Jeff Law <law@redhat.com>
62725 Martin Osvald <mosvald@redhat.com>
62726
62727 [BZ #14889]
62728 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62729 * sunrpc/svc.c: Include time.h.
62730 (__svc_accept_failed): New function.
62731 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62732 any reason other than EINTR, call __svc_accept_failed.
62733 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62734 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62735
62736 2012-11-28 Andreas Schwab <schwab@suse.de>
62737
62738 * scripts/abilist.awk: Also handle indirect functions in .opd
62739 section.
62740
62741 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62742
62743 [BZ #13881]
62744 * sysdeps/x86/fpu/powl_helper.c: New file.
62745 * sysdeps/x86/fpu/Makefile: Likewise.
62746 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62747 (p3): New object.
62748 (__ieee754_powl): Use __powl_helper for finite arguments except
62749 integer exponents below 8.
62750 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62751 (p3): New object.
62752 (__ieee754_powl): Use __powl_helper for finite arguments except
62753 integer exponents below 8.
62754 * math/libm-test.inc (pow_test): Add more tests and enable some
62755 previously disabled tests.
62756 * sysdeps/i386/fpu/libm-test-ulps: Update.
62757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62758
62759 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62760 Carlos O'Donell <carlos_odonell@mentor.com>
62761
62762 * nss/makedb.c (is_prime): Assert that input is odd and greater
62763 than 4. Note that fact in a comment too.
62764 (next_prime): Add 4 to input.
62765
62766 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62767
62768 [BZ #11741]
62769 * libio/Makefile (tests): Add test case tst-fwrite-error.
62770 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62771 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62772 * libio/tst-fwrite-error.c: New test case.
62773
62774 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
62775
62776 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62777 before casting to void *.
62778 * include/libc-internal.h (__pointer_type): New macro.
62779 (__integer_if_pointer_type_sub): Likewise.
62780 (__integer_if_pointer_type): Likewise.
62781 (cast_to_integer): Likewise.
62782 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62783 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62784 before casting to atomic64_t.
62785 (atomic_exchange_acq): Likewise.
62786 (__arch_exchange_and_add_body): Likewise.
62787 (__arch_add_body): Likewise.
62788 (atomic_add_negative): Likewise.
62789 (atomic_add_zero): Likewise.
62790
62791 2012-11-26 Joseph Myers <joseph@codesourcery.com>
62792
62793 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62794 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62795 (add_fdes): Likewise.
62796 (linear_search_fdes): Likewise.
62797 (binary_search_unencoded_fdes): Likewise.
62798
62799 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
62800
62801 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62802
62803 2012-11-24 Adam Conrad <adconrad@0c3.net>
62804
62805 * configure.in: Autodetect C++ header directories.
62806 * configure: Regenerated.
62807
62808 2012-11-23 Mike Frysinger <vapier@gentoo.org>
62809
62810 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62811
62812 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
62813
62814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62815
62816 2012-11-22 Joseph Myers <joseph@codesourcery.com>
62817
62818 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62819 LDBL_MANT_DIG == 106]: Disable some tests.
62820 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62821 Likewise.
62822 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62823 Likewise.
62824
62825 [BZ #14871]
62826 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62827 input for small inputs. Return +/- pi/2 for large inputs.
62828 * math/libm-test.inc (atan_test): Add more tests.
62829
62830 * sysdeps/generic/unwind-dw2-fde-glibc.c
62831 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62832 __attribute__ ((unused)).
62833
62834 [BZ #14645]
62835 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62836 x * y if x and y are nonzero and z is zero.
62837
62838 [BZ #14811]
62839 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62840 nonzero exponents with absolute value below 0x1p-117 to +/-
62841 0x1p-117.
62842
62843 [BZ #14869]
62844 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62845 up arguments below 2**-450, not just those below 2**-500.
62846 * math/libm-test.inc (hypot_test): Add another test.
62847
62848 [BZ #14868]
62849 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62850 Return a+b for ratio over 2**120, not 2**60.
62851 * math/libm-test.inc (hypot_test): Add another test.
62852
62853 * math/libm-test.inc (clog_test): Use
62854 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62855 (clog10_test): Likewise.
62856
62857 [BZ #6778]
62858 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62859
62860 2012-11-22 Andreas Schwab <schwab@suse.de>
62861
62862 * sysdeps/i386/fpu/libm-test-ulps: Update.
62863
62864 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
62865
62866 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62867 printf output with newline.
62868
62869 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
62870
62871 [BZ #14865]
62872 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62873 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62874 -z nodlopen, -z initfirst and -z execstack support.
62875 * configure: Regenerated.
62876
62877 * elf/elf.h (DF_1_NODIRECT): New macro.
62878 (DF_1_IGNMULDEF): Likewise.
62879 (DF_1_NOKSYMS): Likewise.
62880 (DF_1_NOHDR): Likewise.
62881 (DF_1_EDITED): Likewise.
62882 (DF_1_NORELOC): Likewise.
62883 (DF_1_SYMINTPOSE): Likewise.
62884 (DF_1_GLOBAUDIT): Likewise.
62885 (DF_1_SINGLETON): Likewise.
62886 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62887 DT_1_SUPPORTED_MASK bits.
62888 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62889
62890 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
62891
62892 * sysdeps/unix/make-syscalls.sh: Document prefixes.
62893
62894 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
62895
62896 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62897 macro.
62898
62899 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62900 (sendmmsg): Move declarations...
62901 * socket/sys/socket.h: ... here.
62902 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62903 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62904 include it from...
62905 * socket/recvmmsg.c: ... this new file.
62906 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62907 (sendmmsg): Rename to __sendmmsg, create weak alias and make
62908 definition of __sendmmsg hidden.
62909 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62910 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62911 Move ENOSYS stub into and include it from...
62912 * socket/sendmmsg.c: ... this new file.
62913 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62914 (sysdep_routines): Move recvmmsg and sendmmsg...
62915 * socket/Makefile (routines): ... here.
62916 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62917 (GLIBC_PRIVATE): Add __sendmmsg.
62918 * include/sys/socket.h (__sendmmsg): Add declarations.
62919 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62920 sendmmsg.
62921
62922 2012-11-20 Joseph Myers <joseph@codesourcery.com>
62923
62924 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62925 variable I1 with __attribute__ ((unused)).
62926 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62927
62928 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62929
62930 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62931 DUMMY variables with __attribute__ ((unused)).
62932
62933 * bits/byteswap.h: Include <bits/types.h>.
62934 (__bswap_64): Use __uint64_t instead of unsigned long long int.
62935
62936 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62937
62938 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62939 string_t. Do not manually set errno.
62940 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62941 length with __strnlen. Make sure to both set errno and return it on
62942 failure.
62943
62944 2012-11-19 David S. Miller <davem@davemloft.net>
62945
62946 With help from Joseph Myers.
62947 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62948 very large arguments properly.
62949 * math/libm-test.inc (atan_test): New tests.
62950 (atan2_test): New tests.
62951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62953
62954 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62955
62956 [BZ #14856]
62957 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62958 Define to 3.
62959
62960 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62961 [POSIX] (EADDRNOTAVAIL): Likewise.
62962 [POSIX] (EAFNOSUPPORT): Likewise.
62963 [POSIX] (EALREADY): Likewise.
62964 [POSIX] (ECONNABORTED): Likewise.
62965 [POSIX] (ECONNREFUSED): Likewise.
62966 [POSIX] (ECONNRESET): Likewise.
62967 [POSIX] (EDESTADDRREQ): Likewise.
62968 [POSIX] (EDQUOT): Likewise.
62969 [POSIX] (EHOSTUNREACH): Likewise.
62970 [POSIX] (EIDRM): Likewise.
62971 [POSIX] (EISCONN): Likewise.
62972 [POSIX] (ELOOP): Likewise.
62973 [POSIX] (EMULTIHOP): Likewise.
62974 [POSIX] (ENETDOWN): Likewise.
62975 [POSIX] (ENETUNREACH): Likewise.
62976 [POSIX] (ENOBUFS): Likewise.
62977 [POSIX] (ENODATA): Likewise.
62978 [POSIX] (ENOLINK): Likewise.
62979 [POSIX] (ENOMSG): Likewise.
62980 [POSIX] (ENOPROTOOPT): Likewise.
62981 [POSIX] (ENOSR): Likewise.
62982 [POSIX] (ENOSTR): Likewise.
62983 [POSIX] (ENOTCONN): Likewise.
62984 [POSIX] (ENOTSOCK): Likewise.
62985 [POSIX] (EOPNOTSUPP): Likewise.
62986 [POSIX] (EOVERFLOW): Likewise.
62987 [POSIX] (EPROTO): Likewise.
62988 [POSIX] (EPROTONOSUPPORT): Likewise.
62989 [POSIX] (EPROTOTYPE): Likewise.
62990 [POSIX] (ESTALE): Likewise.
62991 [POSIX] (ETIME): Likewise.
62992 [POSIX] (ETXTBSY): Likewise.
62993 [POSIX] (EWOULDBLOCK): Likewise.
62994 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62995 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62996 [POSIX] (SEEK_CUR): Likewise.
62997 [POSIX] (SEEK_END): Likewise.
62998 [POSIX || UNIX98] (mode_t): Do not require.
62999 [POSIX] (off_t): Likewise.
63000 [POSIX] (pid_t): Likewise.
63001 [POSIX] (sys/stat.h): Do not allow header.
63002 [POSIX] (unistd.h): Likewise.
63003 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63004 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63005 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63006 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63007 require.
63008 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63009 sigevent): Specify elements.
63010 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63011 entry.
63012 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63013 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63014
63015 * conform/data/cpio.h-data [POSIX]: Disable whole file.
63016 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63017 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63018 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63019 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63020 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63021 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63022 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63023 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63024 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63025 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63026 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63027 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63028 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63029 Likewise.
63030 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63031 Likewise.
63032 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63033 Likewise.
63034 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63035 Likewise.
63036 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63037 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63038 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63039 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63040 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63041 Specify lower bound on value.
63042 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63043 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63044 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63045 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63046 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63047 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63048 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63049 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63050 value.
63051 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63052 as optional.
63053 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63054 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63055 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63056 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63057 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63058 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63059 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63060 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63061 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63062 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63063 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63064 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63065 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63066 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63067 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63068 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63069 entry.
63070 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63071 optional.
63072 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63073 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63074 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63075 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63076 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63077 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63078 Likewise.
63079 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63080 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63081 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63082 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63083 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
63084 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63085 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63086 as optional.
63087 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63088 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63089 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63090 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63091 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63092 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63093 specify as optional.
63094 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63095 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63096 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63097 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63098 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63099 [XPG3] (NL_LANGMAX): Likewise.
63100 [POSIX || XPG3] (NL_MSGMAX): Likewise.
63101 [POSIX || XPG3] (NL_NMAX): Likewise.
63102 [POSIX || XPG3] (NL_SETMAX): Likewise.
63103 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63104 [XPG3] (NZERO): Likewise.
63105 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63106 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63107 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63108 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63109 (REG_ERANGE): Expect.
63110 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63111 optional-constant.
63112 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63113 Use (void) in prototype.
63114 [POSIX] (*_t): Allow.
63115 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63116 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63117 (WRDE_BADVAL): Expect.
63118
63119 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63120 expect.
63121 [XPG3 || XPG4] (O_RSYNC): Likewise.
63122 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63123 Likewise.
63124 [XPG3 || XPG4] (pthread_sigmask): Likewise.
63125 [XPG3 || XPG4] (sigqueue): Likewise.
63126 [XPG3 || XPG4] (sigtimedwait): Likewise.
63127 [XPG3 || XPG4] (sigwaitinfo): Likewise.
63128 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63129 [XPG3 || XPG4] (vsnprintf): Likewise.
63130 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63131 Likewise.
63132 [XPG3 || XPG4] (blksize_t): Likewise.
63133 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63134 Likewise.
63135 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63136 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63137 [XPG3 || XPG4] (struct itimerspec): Likewise.
63138 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63139 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63140 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63141 [XPG3 || XPG4] (clockid_t): Likewise.
63142 [XPG3 || XPG4] (timer_t): Likewise.
63143 [XPG3 || XPG4] (clock_getres): Likewise.
63144 [XPG3 || XPG4] (clock_gettime): Likewise.
63145 [XPG3 || XPG4] (clock_settime): Likewise.
63146 [XPG3 || XPG4] (nanosleep): Likewise.
63147 [XPG3 || XPG4] (timer_create): Likewise.
63148 [XPG3 || XPG4] (timer_delete): Likewise.
63149 [XPG3 || XPG4] (timer_gettime): Likewise.
63150 [XPG3 || XPG4] (timer_getoverrun): Likewise.
63151 [XPG3 || XPG4] (timer_settime): Likewise.
63152 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63153 [XPG3 || XPG4] (getlogin_r): Likewise.
63154 [XPG3 || XPG4] (pread): Likewise.
63155 [XPG3 || XPG4] (pthread_atfork): Likewise.
63156 [XPG3 || XPG4] (pwrite): Likewise.
63157
63158 [BZ #14835]
63159 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63160 <bits/siginfo.h>.
63161
63162 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63163
63164 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63165 finalizing MALLSTREAM.
63166
63167 * sysdeps/mach/hurd/syncfs.c: New file.
63168
63169 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63170
63171 [BZ #14719]
63172 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63173 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63174 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63175 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63176 (_nss_dns_gethostbyname4_r): Likewise.
63177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63178 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63179
63180 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
63181
63182 [BZ #13763]
63183 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63184
63185 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
63186
63187 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63188 * elf/cache.c (print_entry): Print ",AArch64" for
63189 FLAG_AARCH64_LIB64
63190
63191 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63192 * elf/cache.c (print_entry): Print ",hard-float" for
63193 FLAG_ARM_LIBHF.
63194
63195 2012-11-18 David S. Miller <davem@davemloft.net>
63196
63197 With help from Joseph Myers.
63198 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63199 cutoff to 2**-13.
63200 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63201 cutoff to 2**-25.
63202 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63203 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63204 small.
63205 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63206 * math/libm-test.inc (y0_test): New tests.
63207 (y1_test): New tests.
63208 * sysdeps/i386/fpu/libm-test-ulps: Update.
63209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63211
63212 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
63213
63214 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63215 64-bit targets.
63216 * configure: Regenerated.
63217
63218 2012-11-17 David S. Miller <davem@davemloft.net>
63219
63220 [BZ #14811]
63221 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63222 nonzero exponents with absolute value below 0x1p-128 to +/-
63223 0x1p-128.
63224
63225 2012-11-17 Joseph Myers <joseph@codesourcery.com>
63226
63227 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63228
63229 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63230
63231 * posix/getconf-speclist.c: New file.
63232 * posix/posix-envs.def: Likewise.
63233 * posix/confstr.c (START_ENV_GROUP): New macro.
63234 (END_ENV_GROUP): Likewise.
63235 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63236 (KNOWN_PRESENT_ENV_STRING): Likewise.
63237 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63238 (UNKNOWN_ENVIRONMENT): Likewise.
63239 (confstr): Include posix-envs.def instead of handling
63240 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63241 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63242 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63243 (END_ENV_GROUP): Likewise.
63244 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63245 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63246 (UNKNOWN_ENVIRONMENT): Likewise.
63247 (__sysconf): Include posix-envs.def instead of handling associated
63248 cases directly here.
63249 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63250 preprocessing getconf-speclist.c rather than running getconf or
63251 generating empty file.
63252
63253 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
63254
63255 * scripts/check-local-headers.sh: Ignore 'mach' headers.
63256
63257 2012-11-16 Andrej Lajovic <natrij@gmail.com>
63258
63259 [BZ #14672]
63260 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63261
63262 2012-11-16 David S. Miller <davem@davemloft.net>
63263
63264 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63265 smaller than LDBL_EPSILON/2.0L, just return xm1.
63266
63267 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
63268
63269 * elf/tst-array1.c (init): Set constructor priority to 1000.
63270 (fini): Set destructor priority to 1000.
63271 * elf/tst-array2dep.c: Likewise.
63272
63273 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63274
63275 [BZ #11741]
63276 * libio/fileops.c (_IO_new_file_write): Correctly return error.
63277 (_IO_new_file_xsputn): Also return EOF if none of the input
63278 data was written when overflow failed.
63279 * libio/iopadn.c (_IO_padn): Likewise.
63280 * libio/iowpadn.c (_IO_wpadn): Likewise.
63281 * stdio-common/tst-put-error.c: Add copyright notice.
63282 (do_test): Add case for printing padded string.
63283 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63284 _IO_padn returned error.
63285 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63286 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63287 return EOF.
63288
63289 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63290
63291 * libio/libioP.h: Add comment note that the references to C++
63292 bits are now obsolete.
63293
63294 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63295
63296 * math/libm-test.inc (check_complex): Use asprintf.
63297
63298 2012-11-14 Joseph Myers <joseph@codesourcery.com>
63299
63300 * debug/pcprofiledump.c (print_version): Update copyright year.
63301 * malloc/memusagestat.c (print_version): Likewise.
63302
63303 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
63304
63305 [BZ #14831]
63306 * elf/Makefile (tests): Add tst-audit8.
63307 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63308 ($(objpfx)tst-audit8.out): New target.
63309 (tst-audit8-ENV): New variable.
63310 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63311 audit if l_reloc_result is NULL.
63312 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63313 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63314 * elf/tst-audit8.c: New file.
63315
63316 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63317
63318 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63319 * misc/Makefile (CFLAGS-select.c): Define.
63320 * posix/Makefile (CFLAGS-pause.c): Define.
63321
63322 2012-11-13 David S. Miller <davem@davemloft.net>
63323
63324 * crypt/Makefile: Move test targets after toplevel Rules
63325 inclusion. Grab any necessary sysdep routines when linking.
63326 * crypt/md5.c (md5_process_block): Remove define, we will always
63327 name it __md5_process_block.
63328 (md5_finish_ctx): Update md5_process_block call.
63329 (md5_stream): Likewise.
63330 (md5_process_bytes): Likewise.
63331 (md5_process_block): Rename to __md5_process_block and move to ...
63332 * crypt/md5-block.c: ... here.
63333 * crypt/sha256.c (sha256_process_block): Move to ...
63334 * crypt/sha256-block.c: ... here.
63335 * crypt/sha512.c (sha512_process_block): Move to ...
63336 * crypt/sha512-block.c: ... here.
63337 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63338 path.
63339 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63340 * sysdeps/sparc/sparc64/multiarch/Makefile
63341 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63342 crypt subdir.
63343 (localedef-aux): Add md5 crypto assembler when in locale subdir.
63344 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63345 multiarch changes.
63346 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63347 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63348 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63349 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63350 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63351 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63352 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63353 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63354 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63355 file.
63356 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63357 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63358 file.
63359 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63360
63361 2012-11-13 Joseph Myers <joseph@codesourcery.com>
63362
63363 * timezone/tzselect.ksh: Update from tzcode git revision
63364 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63365 * timezone/zdump.c: Likewise.
63366 * timezone/zic.c: Likewise.
63367 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63368 in TZVERSION setting, not $(PKGVERSION).
63369 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
63370 REPORT_BUGS_TO settings.
63371
63372 [BZ #14838]
63373 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63374 macro.
63375
63376 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63377
63378 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63379 detection to immediately after _FP_ROUND().
63380 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63381 bits are 0.
63382
63383 2012-11-11 David S. Miller <davem@davemloft.net>
63384
63385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63386 inttypes.h
63387 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63388 __close rather than their public counterparts.
63389
63390 2012-11-10 Joseph Myers <joseph@codesourcery.com>
63391
63392 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63393 file.
63394 [UNIX98] (sem_timedwait): Do not expect.
63395 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63396 [XPG4 || UNIX98] (sockatmark): Do not expect.
63397 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63398 (clock_getcpuclockid): Do not expect.
63399 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63400 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63401 Do not expect.
63402 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63403 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63404 [UNIX98] (vwscanf): Likewise.
63405 [UNIX98] (vswscanf): Likewise.
63406
63407 2012-11-09 Joseph Myers <joseph@codesourcery.com>
63408
63409 * timezone/version.h: Remove file.
63410 * timezone/README: Do not refer to version.h.
63411 * timezone/Makefile ($(objpfx)zic.o): New dependency on
63412 $(objpfx)version.h.
63413 ($(objpfx)zdump.o): Likewise.
63414 ($(objpfx)version.h): New target.
63415
63416 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63417 2012i.
63418 * timezone/README: Don't mention modification to tzselect.ksh.
63419 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63420 work on unmodified tzselect.ksh. Substitute version numbers in
63421 tzselect.ksh.
63422
63423 * Makefile (format-me): Remove.
63424 (INSTALL): Adjust indentation. Use commands directly instead of
63425 using $(format-me).
63426
63427 * aclocal.m4 (ACX_PKGVERSION): New macro.
63428 (ACX_BUGURL): Likewise.
63429 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63430 (PKGVERSION): New AC_DEFINE_UNQUOTED.
63431 (REPORT_BUGS_TO): Likewise.
63432 * configure: Regenerated.
63433 * config.h.in (PKGVERSION): New macro.
63434 (REPORT_BUGS_TO): Likewise.
63435 * config.make.in (PKGVERSION): New variable.
63436 (PKGVERSION_TEXI): Likewise.
63437 (REPORT_BUGS_TO): Likewise.
63438 (REPORT_BUGS_TEXI): Likewise.
63439 * Makefile (format-me): Use -I$(common-objpfx)manual.
63440 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63441 ($(common-objpfx)manual/%): New target.
63442 (manual/%): Remove target.
63443 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63444 (print_version): Use PKGVERSION.
63445 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63446 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63447 and REPORT_BUGS_TO.
63448 ($(objpfx)xtrace): Likewise.
63449 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63450 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63451 (print_version): Use PKGVERSION.
63452 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63453 (do_version): Use PKGVERSION.
63454 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63455 REPORT_BUGS_TO.
63456 (common-ldd-rewrite): Likewise.
63457 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63458 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63459 (print_version): Use PKGVERSION.
63460 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63461 * elf/pldd.c (argp_program_bug_address): Remove variable.
63462 (more_help): New function.
63463 (argp): Use more_help.
63464 (print_version): Use PKGVERSION.
63465 * elf/sln.c (main): Use PKGVERSION.
63466 (usage): Use REPORT_BUGS_TO.
63467 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63468 (top level): Use PKGVERSION.
63469 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63470 (print_version): Use PKGVERSION.
63471 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63472 (print_version): Use PKGVERSION.
63473 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63474 (print_version): Use PKGVERSION.
63475 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63476 (print_version): Use PKGVERSION.
63477 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63478 (print_version): Use PKGVERSION.
63479 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63480 (print_version): Use PKGVERSION.
63481 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63482 and BUGURL.
63483 ($(objpfx)memusage): Likewise.
63484 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63485 (do_version): Use PKGVERSION.
63486 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63487 (print_version): Use PKGVERSION.
63488 * malloc/mtrace.pl ($PACKAGE): Remove variable.
63489 ($PKGVERSION): New variable.
63490 ($REPORT_BUGS_TO): Likewise.
63491 (usage): Use $REPORT_BUGS_TO.
63492 (top level): Use $PKGVERSION.
63493 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63494 ($(objpfx)pkgvers.texi): New rule.
63495 ($(objpfx)stamp-pkgvers): Likewise.
63496 * manual/install.texi: Include pkgvers.texi.
63497 (--with-pkgversion): Document new configure option.
63498 (--with-bugurl): Likewise.
63499 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63500 than necessarily for this particular distribution. Use
63501 REPORT_BUGS_TO for where to report bugs.
63502 * INSTALL: Regenerated.
63503 * manual/libc.texinfo: Include pkgvers.texi.
63504 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63505 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63506 (print_version): Use PKGVERSION.
63507 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63508 (print_version): Use PKGVERSION.
63509 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63510 (print_version): Use PKGVERSION.
63511 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63512 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63513 macro.
63514 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63515 (print_version): Use PKGVERSION.
63516 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63517 (print_version): Use PKGVERSION.
63518 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63519 and PKGVERSION.
63520
63521 * timezone/checktab.awk: Update from tzcode 2012i.
63522 * timezone/ialloc.c: Likewise.
63523 * timezone/private.h: Likewise.
63524 * timezone/scheck.c: Likewise.
63525 * timezone/tzfile.h: Likewise.
63526 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63527 (TZVERSION): Hardcode tzcode version number.
63528 * timezone/zdump.c: Update from tzcode 2012i.
63529 * timezone/zic.c: Likewise.
63530 * timezone/version.h: New file.
63531 * timezone/README: Describe version.h. Update upstream location.
63532
63533 [BZ #14824]
63534 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63535 (mktemp): Enable declaration.
63536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63540 Likewise.
63541 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63542 Likewise.
63543 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63544 Likewise.
63545 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63546 Likewise.
63547 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63548 Likewise.
63549 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63550 Likewise.
63551
63552 [BZ #14821]
63553 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63554 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63555 for copies of such integer values.
63556 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63557 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63558
63559 2012-11-09 Andreas Jaeger <aj@suse.de>
63560
63561 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63562 definitions and declarations that are provided by
63563 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63564
63565 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63566
63567 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63568 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63569 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63570 definition.
63571
63572 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63573
63574 * elf/elf.h: Update comment before AArch64 relocations.
63575
63576 2012-11-07 David S. Miller <davem@davemloft.net>
63577
63578 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63579 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63580 (__start_context): Declare.
63581 (__makecontext_ret): Delete.
63582 (__makecontext): Hook up __start_context instead of
63583 __makecontext_ret.
63584 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63585 (sysdep_routines): Add __start_context when in stdlib.
63586
63587 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63588
63589 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63590 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63591 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63592 hardcoded "nm".
63593 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63594 (READELF): New variable. Use it instead of hardcoded "readelf".
63595
63596 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63597
63598 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63599 * sysdeps/x86/Makefile: Here.
63600 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63601 * sysdeps/x86/tst-xmmymm.sh: This.
63602
63603 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63604
63605 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63606 expectations.
63607 [UNIX98] (pthread_barrier_t): Do not expect.
63608 [UNIX98] (pthread_barrierattr_t): Likewise.
63609 [UNIX98] (pthread_spinlock_t): Likewise.
63610 [UNIX98] (pthread_barrier_destroy): Likewise.
63611 [UNIX98] (pthread_barrier_init): Likewise.
63612 [UNIX98] (pthread_barrier_wait): Likewise.
63613 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63614 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63615 [UNIX98] (pthread_barrierattr_init): Likewise.
63616 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63617 [UNIX98] (pthread_getcpuclockid): Likewise.
63618 [UNIX98] (pthread_mutex_timedlock): Likewise.
63619 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63620 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63621 [UNIX98] (pthread_sigmask): Likewise.
63622 [UNIX98] (pthread_spin_destroy): Likewise.
63623 [UNIX98] (pthread_spin_init): Likewise.
63624 [UNIX98] (pthread_spin_lock): Likewise.
63625 [UNIX98] (pthread_spin_trylock): Likewise.
63626 [UNIX98] (pthread_spin_unlock): Likewise.
63627 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63628 Do not expect.
63629 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63630 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63631 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63632 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63633 [XPG3 || XPG4] (pthread_key_t): Likewise.
63634 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63635 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63636 [XPG3 || XPG4] (pthread_once_t): Likewise.
63637 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63638 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63639 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63640 [XPG3 || XPG4] (pthread_t): Likewise.
63641
63642 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63643 not expect.
63644 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63645
63646 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63647 Change function return type to int.
63648
63649 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63650 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63651 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63652 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63653 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63654 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63655 [!POSIX] (posix_madvise): Likewise.
63656 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63657 && !UNIX98].
63658 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63659 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63660 (mode_t): Likewise.
63661 (posix_mem_offset): Likewise.
63662 (posix_typed_mem_get_info): Likewise.
63663 (posix_typed_mem_open): Likewise.
63664
63665 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63666 Change condition to [XOPEN2K8].
63667
63668 * conform/conformtest.pl: Preprocess allow-header data with -x c
63669 instead of from stdin.
63670 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63671 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63672 [C99-based standards] (cerfc): Likewise.
63673 [C99-based standards] (cexp2): Likewise.
63674 [C99-based standards] (cexpm1): Likewise.
63675 [C99-based standards] (clog10): Likewise.
63676 [C99-based standards] (clog1p): Likewise.
63677 [C99-based standards] (clog2): Likewise.
63678 [C99-based standards] (clgamma): Likewise.
63679 [C99-based standards] (ctgamma): Likewise.
63680 [C99-based standards] (cerff): Likewise.
63681 [C99-based standards] (cerfcf): Likewise.
63682 [C99-based standards] (cexp2f): Likewise.
63683 [C99-based standards] (cexpm1f): Likewise.
63684 [C99-based standards] (clog10f): Likewise.
63685 [C99-based standards] (clog1pf): Likewise.
63686 [C99-based standards] (clog2f): Likewise.
63687 [C99-based standards] (clgammaf): Likewise.
63688 [C99-based standards] (ctgammaf): Likewise.
63689 [C99-based standards] (cerfl): Likewise.
63690 [C99-based standards] (cerfcl): Likewise.
63691 [C99-based standards] (cexp2l): Likewise.
63692 [C99-based standards] (cexpm1l): Likewise.
63693 [C99-based standards] (clog10l): Likewise.
63694 [C99-based standards] (clog1pl): Likewise.
63695 [C99-based standards] (clog2l): Likewise.
63696 [C99-based standards] (clgammal): Likewise.
63697 [C99-based standards] (ctgammal): Likewise.
63698 * conform/data/inttypes.h-data [C99-based standards]: Include
63699 stdint.h-data. Remove all expectations for stdint.h contents.
63700 [C99-based standards] (PRI*): Do not allow.
63701 [C99-based standards] (SCN*): Likewise.
63702 [C99-based standards] (*_t): Likewise.
63703 [C99-based-standards] (PRId8): Expect macro.
63704 [C99-based-standards] (PRIi8): Likewise.
63705 [C99-based-standards] (PRIo8): Likewise.
63706 [C99-based-standards] (PRIu8): Likewise.
63707 [C99-based-standards] (PRIx8): Likewise.
63708 [C99-based-standards] (PRIX8): Likewise.
63709 [C99-based-standards] (SCNd8): Likewise.
63710 [C99-based-standards] (SCNi8): Likewise.
63711 [C99-based-standards] (SCNo8): Likewise.
63712 [C99-based-standards] (SCNu8): Likewise.
63713 [C99-based-standards] (SCNx8): Likewise.
63714 [C99-based-standards] (PRIdLEAST8): Likewise.
63715 [C99-based-standards] (PRIiLEAST8): Likewise.
63716 [C99-based-standards] (PRIoLEAST8): Likewise.
63717 [C99-based-standards] (PRIuLEAST8): Likewise.
63718 [C99-based-standards] (PRIxLEAST8): Likewise.
63719 [C99-based-standards] (PRIXLEAST8): Likewise.
63720 [C99-based-standards] (SCNdLEAST8): Likewise.
63721 [C99-based-standards] (SCNiLEAST8): Likewise.
63722 [C99-based-standards] (SCNoLEAST8): Likewise.
63723 [C99-based-standards] (SCNuLEAST8): Likewise.
63724 [C99-based-standards] (SCNxLEAST8): Likewise.
63725 [C99-based-standards] (PRIdFAST8): Likewise.
63726 [C99-based-standards] (PRIiFAST8): Likewise.
63727 [C99-based-standards] (PRIoFAST8): Likewise.
63728 [C99-based-standards] (PRIuFAST8): Likewise.
63729 [C99-based-standards] (PRIxFAST8): Likewise.
63730 [C99-based-standards] (PRIXFAST8): Likewise.
63731 [C99-based-standards] (SCNdFAST8): Likewise.
63732 [C99-based-standards] (SCNiFAST8): Likewise.
63733 [C99-based-standards] (SCNoFAST8): Likewise.
63734 [C99-based-standards] (SCNuFAST8): Likewise.
63735 [C99-based-standards] (SCNxFAST8): Likewise.
63736 [C99-based-standards] (PRId16): Likewise.
63737 [C99-based-standards] (PRIi16): Likewise.
63738 [C99-based-standards] (PRIo16): Likewise.
63739 [C99-based-standards] (PRIu16): Likewise.
63740 [C99-based-standards] (PRIx16): Likewise.
63741 [C99-based-standards] (PRIX16): Likewise.
63742 [C99-based-standards] (SCNd16): Likewise.
63743 [C99-based-standards] (SCNi16): Likewise.
63744 [C99-based-standards] (SCNo16): Likewise.
63745 [C99-based-standards] (SCNu16): Likewise.
63746 [C99-based-standards] (SCNx16): Likewise.
63747 [C99-based-standards] (PRIdLEAST16): Likewise.
63748 [C99-based-standards] (PRIiLEAST16): Likewise.
63749 [C99-based-standards] (PRIoLEAST16): Likewise.
63750 [C99-based-standards] (PRIuLEAST16): Likewise.
63751 [C99-based-standards] (PRIxLEAST16): Likewise.
63752 [C99-based-standards] (PRIXLEAST16): Likewise.
63753 [C99-based-standards] (SCNdLEAST16): Likewise.
63754 [C99-based-standards] (SCNiLEAST16): Likewise.
63755 [C99-based-standards] (SCNoLEAST16): Likewise.
63756 [C99-based-standards] (SCNuLEAST16): Likewise.
63757 [C99-based-standards] (SCNxLEAST16): Likewise.
63758 [C99-based-standards] (PRIdFAST16): Likewise.
63759 [C99-based-standards] (PRIiFAST16): Likewise.
63760 [C99-based-standards] (PRIoFAST16): Likewise.
63761 [C99-based-standards] (PRIuFAST16): Likewise.
63762 [C99-based-standards] (PRIxFAST16): Likewise.
63763 [C99-based-standards] (PRIXFAST16): Likewise.
63764 [C99-based-standards] (SCNdFAST16): Likewise.
63765 [C99-based-standards] (SCNiFAST16): Likewise.
63766 [C99-based-standards] (SCNoFAST16): Likewise.
63767 [C99-based-standards] (SCNuFAST16): Likewise.
63768 [C99-based-standards] (SCNxFAST16): Likewise.
63769 [C99-based-standards] (PRId32): Likewise.
63770 [C99-based-standards] (PRIi32): Likewise.
63771 [C99-based-standards] (PRIo32): Likewise.
63772 [C99-based-standards] (PRIu32): Likewise.
63773 [C99-based-standards] (PRIx32): Likewise.
63774 [C99-based-standards] (PRIX32): Likewise.
63775 [C99-based-standards] (SCNd32): Likewise.
63776 [C99-based-standards] (SCNi32): Likewise.
63777 [C99-based-standards] (SCNo32): Likewise.
63778 [C99-based-standards] (SCNu32): Likewise.
63779 [C99-based-standards] (SCNx32): Likewise.
63780 [C99-based-standards] (PRIdLEAST32): Likewise.
63781 [C99-based-standards] (PRIiLEAST32): Likewise.
63782 [C99-based-standards] (PRIoLEAST32): Likewise.
63783 [C99-based-standards] (PRIuLEAST32): Likewise.
63784 [C99-based-standards] (PRIxLEAST32): Likewise.
63785 [C99-based-standards] (PRIXLEAST32): Likewise.
63786 [C99-based-standards] (SCNdLEAST32): Likewise.
63787 [C99-based-standards] (SCNiLEAST32): Likewise.
63788 [C99-based-standards] (SCNoLEAST32): Likewise.
63789 [C99-based-standards] (SCNuLEAST32): Likewise.
63790 [C99-based-standards] (SCNxLEAST32): Likewise.
63791 [C99-based-standards] (PRIdFAST32): Likewise.
63792 [C99-based-standards] (PRIiFAST32): Likewise.
63793 [C99-based-standards] (PRIoFAST32): Likewise.
63794 [C99-based-standards] (PRIuFAST32): Likewise.
63795 [C99-based-standards] (PRIxFAST32): Likewise.
63796 [C99-based-standards] (PRIXFAST32): Likewise.
63797 [C99-based-standards] (SCNdFAST32): Likewise.
63798 [C99-based-standards] (SCNiFAST32): Likewise.
63799 [C99-based-standards] (SCNoFAST32): Likewise.
63800 [C99-based-standards] (SCNuFAST32): Likewise.
63801 [C99-based-standards] (SCNxFAST32): Likewise.
63802 [C99-based-standards] (PRId64): Likewise.
63803 [C99-based-standards] (PRIi64): Likewise.
63804 [C99-based-standards] (PRIo64): Likewise.
63805 [C99-based-standards] (PRIu64): Likewise.
63806 [C99-based-standards] (PRIx64): Likewise.
63807 [C99-based-standards] (PRIX64): Likewise.
63808 [C99-based-standards] (SCNd64): Likewise.
63809 [C99-based-standards] (SCNi64): Likewise.
63810 [C99-based-standards] (SCNo64): Likewise.
63811 [C99-based-standards] (SCNu64): Likewise.
63812 [C99-based-standards] (SCNx64): Likewise.
63813 [C99-based-standards] (PRIdLEAST64): Likewise.
63814 [C99-based-standards] (PRIiLEAST64): Likewise.
63815 [C99-based-standards] (PRIoLEAST64): Likewise.
63816 [C99-based-standards] (PRIuLEAST64): Likewise.
63817 [C99-based-standards] (PRIxLEAST64): Likewise.
63818 [C99-based-standards] (PRIXLEAST64): Likewise.
63819 [C99-based-standards] (SCNdLEAST64): Likewise.
63820 [C99-based-standards] (SCNiLEAST64): Likewise.
63821 [C99-based-standards] (SCNoLEAST64): Likewise.
63822 [C99-based-standards] (SCNuLEAST64): Likewise.
63823 [C99-based-standards] (SCNxLEAST64): Likewise.
63824 [C99-based-standards] (PRIdFAST64): Likewise.
63825 [C99-based-standards] (PRIiFAST64): Likewise.
63826 [C99-based-standards] (PRIoFAST64): Likewise.
63827 [C99-based-standards] (PRIuFAST64): Likewise.
63828 [C99-based-standards] (PRIxFAST64): Likewise.
63829 [C99-based-standards] (PRIXFAST64): Likewise.
63830 [C99-based-standards] (SCNdFAST64): Likewise.
63831 [C99-based-standards] (SCNiFAST64): Likewise.
63832 [C99-based-standards] (SCNoFAST64): Likewise.
63833 [C99-based-standards] (SCNuFAST64): Likewise.
63834 [C99-based-standards] (SCNxFAST64): Likewise.
63835 [C99-based-standards] (PRIdMAX): Likewise.
63836 [C99-based-standards] (PRIiMAX): Likewise.
63837 [C99-based-standards] (PRIoMAX): Likewise.
63838 [C99-based-standards] (PRIuMAX): Likewise.
63839 [C99-based-standards] (PRIxMAX): Likewise.
63840 [C99-based-standards] (PRIXMAX): Likewise.
63841 [C99-based-standards] (SCNdMAX): Likewise.
63842 [C99-based-standards] (SCNiMAX): Likewise.
63843 [C99-based-standards] (SCNoMAX): Likewise.
63844 [C99-based-standards] (SCNuMAX): Likewise.
63845 [C99-based-standards] (SCNxMAX): Likewise.
63846 [C99-based-standards] (PRIdPTR): Likewise.
63847 [C99-based-standards] (PRIiPTR): Likewise.
63848 [C99-based-standards] (PRIoPTR): Likewise.
63849 [C99-based-standards] (PRIuPTR): Likewise.
63850 [C99-based-standards] (PRIxPTR): Likewise.
63851 [C99-based-standards] (PRIXPTR): Likewise.
63852 [C99-based-standards] (SCNdPTR): Likewise.
63853 [C99-based-standards] (SCNiPTR): Likewise.
63854 [C99-based-standards] (SCNoPTR): Likewise.
63855 [C99-based-standards] (SCNuPTR): Likewise.
63856 [C99-based-standards] (SCNxPTR): Likewise.
63857 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63858 allow.
63859 * conform/data/stdint.h-data: Update comments to clarify
63860 requirements.
63861 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
63862 type.
63863 [C99-based standards] (INT8_MAX): Likewise.
63864 [C99-based standards] (INT16_MIN): Likewise.
63865 [C99-based standards] (INT16_MAX): Likewise.
63866 [C99-based standards] (INT32_MIN): Likewise.
63867 [C99-based standards] (INT32_MAX): Likewise.
63868 [C99-based standards] (INT64_MIN): Likewise.
63869 [C99-based standards] (INT64_MAX): Likewise.
63870 [C99-based standards] (UINT8_MAX): Likewise.
63871 [C99-based standards] (UINT16_MAX): Likewise.
63872 [C99-based standards] (UINT32_MAX): Likewise.
63873 [C99-based standards] (UINT64_MAX): Likewise.
63874 [C99-based standards] (INT_LEAST8_MIN): Likewise.
63875 [C99-based standards] (INT_LEAST8_MAX): Likewise.
63876 [C99-based standards] (INT_LEAST16_MIN): Likewise.
63877 [C99-based standards] (INT_LEAST16_MAX): Likewise.
63878 [C99-based standards] (INT_LEAST32_MIN): Likewise.
63879 [C99-based standards] (INT_LEAST32_MAX): Likewise.
63880 [C99-based standards] (INT_LEAST64_MIN): Likewise.
63881 [C99-based standards] (INT_LEAST64_MAX): Likewise.
63882 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63883 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63884 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63885 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63886 [C99-based standards] (INT_FAST8_MIN): Likewise.
63887 [C99-based standards] (INT_FAST8_MAX): Likewise.
63888 [C99-based standards] (INT_FAST16_MIN): Likewise.
63889 [C99-based standards] (INT_FAST16_MAX): Likewise.
63890 [C99-based standards] (INT_FAST32_MIN): Likewise.
63891 [C99-based standards] (INT_FAST32_MAX): Likewise.
63892 [C99-based standards] (INT_FAST64_MIN): Likewise.
63893 [C99-based standards] (INT_FAST64_MAX): Likewise.
63894 [C99-based standards] (UINT_FAST8_MAX): Likewise.
63895 [C99-based standards] (UINT_FAST16_MAX): Likewise.
63896 [C99-based standards] (UINT_FAST32_MAX): Likewise.
63897 [C99-based standards] (UINT_FAST64_MAX): Likewise.
63898 [C99-based standards] (INTPTR_MIN): Likewise.
63899 [C99-based standards] (INTPTR_MAX): Likewise.
63900 [C99-based standards] (UINTPTR_MAX): Likewise.
63901 [C99-based standards] (INTMAX_MIN): Likewise.
63902 [C99-based standards] (INTMAX_MAX): Likewise.
63903 [C99-based standards] (UINTMAX_MAX): Likewise.
63904 [C99-based standards] (PTRDIFF_MIN): Likewise.
63905 [C99-based standards] (PTRDIFF_MAX): Likewise.
63906 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63907 [C99-based standards] (SIZE_MAX): Likewise.
63908 [C99-based standards] (WCHAR_MAX): Likewise.
63909 [C99-based standards] (WINT_MAX): Likewise.
63910 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
63911 constraint on value.
63912 [C99-based standards] (WCHAR_MIN): Likewise.
63913 [C99-based standards] (WINT_MIN): Likewise.
63914 [C99-based standards] (*_t): Allow.
63915 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63916 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63917 Include math.h-data and complex.h-data. Remove all expectations
63918 of math.h and complex.h contents.
63919 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63920 at end of line.
63921 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63922 (struct tm): Expect tag.
63923 [C99-based-standards] (wcstof): Expect function.
63924 [C99-based-standards] (wcstold): Likewise.
63925 [C99-based-standards] (wcstoll): Likewise.
63926 [C99-based-standards] (wcstoull): Likewise.
63927 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63928 macro-int-constant. Specify type.
63929 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
63930 constraint on value.
63931 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63932 Specify type.
63933 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63934 Specify value.
63935 [ISO C standards]: Do not allow headers.
63936 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63937 wcs[abcdefghijklmnopqrstuvwxyz]*.
63938 [ISO C standards] (*_t): Do not allow.
63939 * conform/data/wctype.h-data [C99-based standards] (iswblank):
63940 Expect function.
63941 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63942 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63943 Specify type.
63944 [ISO C standards]: Do not allow headers.
63945 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63946 is[abcdefghijklmnopqrstuvwxyz]*.
63947 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63948 to[abcdefghijklmnopqrstuvwxyz]*.
63949 [ISO C standards] (*_t): Do not allow.
63950 * conform/data/stdalign.h-data: New file.
63951 * conform/data/stdbool.h-data: Likewise.
63952 * conform/data/stdnoreturn.h-data: Likewise.
63953
63954 2012-11-07 Roland McGrath <roland@hack.frob.com>
63955
63956 [BZ #14815]
63957 * manual/filesys.texi (Directory Entries): Typo fix.
63958 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63959
63960 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63961
63962 * elf/elf.h (EM_AARCH64): New macro.
63963 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63964 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63965 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63966 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63967 (R_AARCH64_TLSDESC): Likewise.
63968 (NT_ARM_TLS): Likewise.
63969 (NT_ARM_HW_BREAK): Likewise.
63970 (NT_ARM_HW_WATCH): Likewise.
63971
63972 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63973
63974 [BZ #14811]
63975 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63976 (__ieee754_powl): Saturate nonzero exponents with absolute value
63977 below 0x1p-79 to +/- 0x1p-79.
63978 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63979 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63980 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63981 nonzero exponents with absolute value below 0x1p-32 to +/-
63982 0x1p-32.
63983 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63984 (__ieee754_powl): Saturate nonzero exponents with absolute value
63985 below 0x1p-79 to +/- 0x1p-79.
63986 * math/libm-test.inc (pow_test): Add more tests.
63987
63988 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63989
63990 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63991 _dl_s390_cap_flags with kernel. Increase string length.
63992 (_dl_s390_platforms): Add z196 and zEC12.
63993
63994 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63995
63996 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63997 Change XOPEN21K to XOPEN2K.
63998
63999 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
64000
64001 * string/memmove.c: Use memcpy when possible.
64002
64003 2012-11-06 Andreas Jaeger <aj@suse.de>
64004
64005 * po/eo.po: Update from translation team.
64006
64007 2012-11-06 Joseph Myers <joseph@codesourcery.com>
64008
64009 [BZ #14793]
64010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64011 exponent and small x and y exponents, scale x or y up. Increase
64012 by 2 the exponent used in scaling up.
64013 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64014 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64015 * math/libm-test.inc (fma_test): Add more tests.
64016 (fma_test_towardzero): Likewise.
64017 (fma_test_downward): Likewise.
64018 (fma_test_upward): Likewise.
64019
64020 2012-11-05 Joseph Myers <joseph@codesourcery.com>
64021
64022 [BZ #14805]
64023 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64024 fenv_t *.
64025
64026 [BZ #14801]
64027 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64028 namespace for names of struct fields.
64029 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64030 fenv_t fields.
64031 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64032 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64033
64034 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
64035
64036 [BZ #3665]
64037 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64038
64039 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64040
64041 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64042 PTR_DEMANGLE.
64043
64044 [BZ #5246]
64045 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64046 PTR_DEMANGLE.
64047
64048 2012-11-04 Joseph Myers <joseph@codesourcery.com>
64049
64050 [BZ #14797]
64051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64052 definitely overflow as x * y not x * y + z.
64053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64055 * math/libm-test.inc (fma_test): Add more tests.
64056 (fma_test_towardzero): Likewise.
64057 (fma_test_downward): Likewise.
64058 (fma_test_upward): Likewise.
64059
64060 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64061
64062 [BZ #157]
64063
64064 * include/stub-tag.h: Remove file.
64065 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64066 '#include' of it.
64067 * manual/maint.texi (Porting): Don't reference it.
64068 * Makerules ($(objpfx)stubs): Likewise.
64069 * dirent/closedir.c: Don't include <stub-tag.h>.
64070 * dirent/dirfd.c: Likewise.
64071 * dirent/fdopendir.c: Likewise.
64072 * dirent/getdents.c: Likewise.
64073 * dirent/getdents64.c: Likewise.
64074 * dirent/opendir.c: Likewise.
64075 * dirent/readdir.c: Likewise.
64076 * dirent/readdir64.c: Likewise.
64077 * dirent/readdir64_r.c: Likewise.
64078 * dirent/readdir_r.c: Likewise.
64079 * dirent/rewinddir.c: Likewise.
64080 * dirent/seekdir.c: Likewise.
64081 * dirent/telldir.c: Likewise.
64082 * gmon/profil.c: Likewise.
64083 * grp/setgroups.c: Likewise.
64084 * inet/if_index.c: Likewise.
64085 * io/access.c: Likewise.
64086 * io/chdir.c: Likewise.
64087 * io/chmod.c: Likewise.
64088 * io/chown.c: Likewise.
64089 * io/close.c: Likewise.
64090 * io/dup.c: Likewise.
64091 * io/dup2.c: Likewise.
64092 * io/dup3.c: Likewise.
64093 * io/euidaccess.c: Likewise.
64094 * io/faccessat.c: Likewise.
64095 * io/fchdir.c: Likewise.
64096 * io/fchmod.c: Likewise.
64097 * io/fchmodat.c: Likewise.
64098 * io/fchown.c: Likewise.
64099 * io/fchownat.c: Likewise.
64100 * io/fcntl.c: Likewise.
64101 * io/flock.c: Likewise.
64102 * io/fstatfs.c: Likewise.
64103 * io/fstatfs64.c: Likewise.
64104 * io/fstatvfs.c: Likewise.
64105 * io/fstatvfs64.c: Likewise.
64106 * io/futimens.c: Likewise.
64107 * io/fxstat.c: Likewise.
64108 * io/fxstat64.c: Likewise.
64109 * io/fxstatat.c: Likewise.
64110 * io/fxstatat64.c: Likewise.
64111 * io/getcwd.c: Likewise.
64112 * io/isatty.c: Likewise.
64113 * io/lchmod.c: Likewise.
64114 * io/lchown.c: Likewise.
64115 * io/link.c: Likewise.
64116 * io/linkat.c: Likewise.
64117 * io/lseek.c: Likewise.
64118 * io/lseek64.c: Likewise.
64119 * io/lxstat64.c: Likewise.
64120 * io/mkdir.c: Likewise.
64121 * io/mkdirat.c: Likewise.
64122 * io/mkfifo.c: Likewise.
64123 * io/mkfifoat.c: Likewise.
64124 * io/open.c: Likewise.
64125 * io/open64.c: Likewise.
64126 * io/openat.c: Likewise.
64127 * io/openat64.c: Likewise.
64128 * io/pipe.c: Likewise.
64129 * io/pipe2.c: Likewise.
64130 * io/poll.c: Likewise.
64131 * io/posix_fadvise.c: Likewise.
64132 * io/posix_fadvise64.c: Likewise.
64133 * io/posix_fallocate.c: Likewise.
64134 * io/posix_fallocate64.c: Likewise.
64135 * io/read.c: Likewise.
64136 * io/readlink.c: Likewise.
64137 * io/readlinkat.c: Likewise.
64138 * io/rmdir.c: Likewise.
64139 * io/sendfile.c: Likewise.
64140 * io/sendfile64.c: Likewise.
64141 * io/statfs.c: Likewise.
64142 * io/statfs64.c: Likewise.
64143 * io/statvfs.c: Likewise.
64144 * io/statvfs64.c: Likewise.
64145 * io/symlink.c: Likewise.
64146 * io/symlinkat.c: Likewise.
64147 * io/ttyname.c: Likewise.
64148 * io/ttyname_r.c: Likewise.
64149 * io/umask.c: Likewise.
64150 * io/unlink.c: Likewise.
64151 * io/unlinkat.c: Likewise.
64152 * io/utime.c: Likewise.
64153 * io/utimensat.c: Likewise.
64154 * io/write.c: Likewise.
64155 * io/xmknod.c: Likewise.
64156 * io/xmknodat.c: Likewise.
64157 * io/xstat.c: Likewise.
64158 * io/xstat64.c: Likewise.
64159 * login/getpt.c: Likewise.
64160 * login/grantpt.c: Likewise.
64161 * login/unlockpt.c: Likewise.
64162 * math/e_acoshl.c: Likewise.
64163 * math/e_acosl.c: Likewise.
64164 * math/e_asinl.c: Likewise.
64165 * math/e_atan2l.c: Likewise.
64166 * math/e_atanhl.c: Likewise.
64167 * math/e_coshl.c: Likewise.
64168 * math/e_expl.c: Likewise.
64169 * math/e_fmodl.c: Likewise.
64170 * math/e_gammal_r.c: Likewise.
64171 * math/e_hypotl.c: Likewise.
64172 * math/e_j0l.c: Likewise.
64173 * math/e_j1l.c: Likewise.
64174 * math/e_jnl.c: Likewise.
64175 * math/e_lgammal_r.c: Likewise.
64176 * math/e_log10l.c: Likewise.
64177 * math/e_log2l.c: Likewise.
64178 * math/e_logl.c: Likewise.
64179 * math/e_powl.c: Likewise.
64180 * math/e_rem_pio2l.c: Likewise.
64181 * math/e_sinhl.c: Likewise.
64182 * math/e_sqrtl.c: Likewise.
64183 * math/fclrexcpt.c: Likewise.
64184 * math/fedisblxcpt.c: Likewise.
64185 * math/feenablxcpt.c: Likewise.
64186 * math/fegetenv.c: Likewise.
64187 * math/fegetexcept.c: Likewise.
64188 * math/fegetround.c: Likewise.
64189 * math/feholdexcpt.c: Likewise.
64190 * math/fesetenv.c: Likewise.
64191 * math/fesetround.c: Likewise.
64192 * math/feupdateenv.c: Likewise.
64193 * math/fgetexcptflg.c: Likewise.
64194 * math/fraiseexcpt.c: Likewise.
64195 * math/fsetexcptflg.c: Likewise.
64196 * math/ftestexcept.c: Likewise.
64197 * math/k_cosl.c: Likewise.
64198 * math/k_rem_pio2l.c: Likewise.
64199 * math/k_sinl.c: Likewise.
64200 * math/k_tanl.c: Likewise.
64201 * math/s_asinhl.c: Likewise.
64202 * math/s_atanl.c: Likewise.
64203 * math/s_cbrtl.c: Likewise.
64204 * math/s_erfl.c: Likewise.
64205 * math/s_expm1l.c: Likewise.
64206 * math/s_log1pl.c: Likewise.
64207 * math/s_tanhl.c: Likewise.
64208 * misc/acct.c: Likewise.
64209 * misc/brk.c: Likewise.
64210 * misc/chflags.c: Likewise.
64211 * misc/chroot.c: Likewise.
64212 * misc/fchflags.c: Likewise.
64213 * misc/fgetxattr.c: Likewise.
64214 * misc/flistxattr.c: Likewise.
64215 * misc/fremovexattr.c: Likewise.
64216 * misc/fsetxattr.c: Likewise.
64217 * misc/fsync.c: Likewise.
64218 * misc/ftruncate.c: Likewise.
64219 * misc/futimes.c: Likewise.
64220 * misc/futimesat.c: Likewise.
64221 * misc/getdomain.c: Likewise.
64222 * misc/getdtsz.c: Likewise.
64223 * misc/gethostid.c: Likewise.
64224 * misc/gethostname.c: Likewise.
64225 * misc/getloadavg.c: Likewise.
64226 * misc/getpagesize.c: Likewise.
64227 * misc/getsysstats.c: Likewise.
64228 * misc/getxattr.c: Likewise.
64229 * misc/gtty.c: Likewise.
64230 * misc/ioctl.c: Likewise.
64231 * misc/lgetxattr.c: Likewise.
64232 * misc/listxattr.c: Likewise.
64233 * misc/llistxattr.c: Likewise.
64234 * misc/lremovexattr.c: Likewise.
64235 * misc/lsetxattr.c: Likewise.
64236 * misc/lutimes.c: Likewise.
64237 * misc/madvise.c: Likewise.
64238 * misc/mincore.c: Likewise.
64239 * misc/mlock.c: Likewise.
64240 * misc/mlockall.c: Likewise.
64241 * misc/mmap.c: Likewise.
64242 * misc/mprotect.c: Likewise.
64243 * misc/msync.c: Likewise.
64244 * misc/munlock.c: Likewise.
64245 * misc/munlockall.c: Likewise.
64246 * misc/munmap.c: Likewise.
64247 * misc/preadv.c: Likewise.
64248 * misc/preadv64.c: Likewise.
64249 * misc/ptrace.c: Likewise.
64250 * misc/pwritev.c: Likewise.
64251 * misc/pwritev64.c: Likewise.
64252 * misc/readv.c: Likewise.
64253 * misc/reboot.c: Likewise.
64254 * misc/remap_file_pages.c: Likewise.
64255 * misc/removexattr.c: Likewise.
64256 * misc/revoke.c: Likewise.
64257 * misc/select.c: Likewise.
64258 * misc/setdomain.c: Likewise.
64259 * misc/setegid.c: Likewise.
64260 * misc/seteuid.c: Likewise.
64261 * misc/sethostid.c: Likewise.
64262 * misc/sethostname.c: Likewise.
64263 * misc/setregid.c: Likewise.
64264 * misc/setreuid.c: Likewise.
64265 * misc/setxattr.c: Likewise.
64266 * misc/sstk.c: Likewise.
64267 * misc/stty.c: Likewise.
64268 * misc/swapoff.c: Likewise.
64269 * misc/swapon.c: Likewise.
64270 * misc/sync.c: Likewise.
64271 * misc/syncfs.c: Likewise.
64272 * misc/syscall.c: Likewise.
64273 * misc/truncate.c: Likewise.
64274 * misc/ualarm.c: Likewise.
64275 * misc/usleep.c: Likewise.
64276 * misc/ustat.c: Likewise.
64277 * misc/utimes.c: Likewise.
64278 * misc/vhangup.c: Likewise.
64279 * misc/writev.c: Likewise.
64280 * posix/_exit.c: Likewise.
64281 * posix/alarm.c: Likewise.
64282 * posix/execve.c: Likewise.
64283 * posix/fexecve.c: Likewise.
64284 * posix/fork.c: Likewise.
64285 * posix/fpathconf.c: Likewise.
64286 * posix/getaddrinfo.c: Likewise.
64287 * posix/getegid.c: Likewise.
64288 * posix/geteuid.c: Likewise.
64289 * posix/getgid.c: Likewise.
64290 * posix/getgroups.c: Likewise.
64291 * posix/getlogin.c: Likewise.
64292 * posix/getlogin_r.c: Likewise.
64293 * posix/getpgid.c: Likewise.
64294 * posix/getpid.c: Likewise.
64295 * posix/getppid.c: Likewise.
64296 * posix/getresgid.c: Likewise.
64297 * posix/getresuid.c: Likewise.
64298 * posix/getsid.c: Likewise.
64299 * posix/getuid.c: Likewise.
64300 * posix/glob64.c: Likewise.
64301 * posix/nanosleep.c: Likewise.
64302 * posix/pathconf.c: Likewise.
64303 * posix/pause.c: Likewise.
64304 * posix/posix_madvise.c: Likewise.
64305 * posix/pread.c: Likewise.
64306 * posix/pread64.c: Likewise.
64307 * posix/pwrite.c: Likewise.
64308 * posix/pwrite64.c: Likewise.
64309 * posix/sched_getaffinity.c: Likewise.
64310 * posix/sched_getp.c: Likewise.
64311 * posix/sched_gets.c: Likewise.
64312 * posix/sched_primax.c: Likewise.
64313 * posix/sched_primin.c: Likewise.
64314 * posix/sched_rr_gi.c: Likewise.
64315 * posix/sched_setaffinity.c: Likewise.
64316 * posix/sched_setp.c: Likewise.
64317 * posix/sched_sets.c: Likewise.
64318 * posix/sched_yield.c: Likewise.
64319 * posix/setgid.c: Likewise.
64320 * posix/setlogin.c: Likewise.
64321 * posix/setpgid.c: Likewise.
64322 * posix/setresgid.c: Likewise.
64323 * posix/setresuid.c: Likewise.
64324 * posix/setsid.c: Likewise.
64325 * posix/setuid.c: Likewise.
64326 * posix/sleep.c: Likewise.
64327 * posix/spawni.c: Likewise.
64328 * posix/sysconf.c: Likewise.
64329 * posix/times.c: Likewise.
64330 * posix/wait.c: Likewise.
64331 * posix/wait3.c: Likewise.
64332 * posix/wait4.c: Likewise.
64333 * posix/waitpid.c: Likewise.
64334 * resolv/gai_sigqueue.c: Likewise.
64335 * resource/getpriority.c: Likewise.
64336 * resource/getrlimit.c: Likewise.
64337 * resource/getrusage.c: Likewise.
64338 * resource/nice.c: Likewise.
64339 * resource/setpriority.c: Likewise.
64340 * resource/setrlimit.c: Likewise.
64341 * resource/ulimit.c: Likewise.
64342 * rt/aio_cancel.c: Likewise.
64343 * rt/aio_fsync.c: Likewise.
64344 * rt/aio_read.c: Likewise.
64345 * rt/aio_sigqueue.c: Likewise.
64346 * rt/aio_suspend.c: Likewise.
64347 * rt/aio_write.c: Likewise.
64348 * rt/clock_getres.c: Likewise.
64349 * rt/clock_gettime.c: Likewise.
64350 * rt/clock_nanosleep.c: Likewise.
64351 * rt/clock_settime.c: Likewise.
64352 * rt/lio_listio.c: Likewise.
64353 * rt/mq_close.c: Likewise.
64354 * rt/mq_getattr.c: Likewise.
64355 * rt/mq_notify.c: Likewise.
64356 * rt/mq_open.c: Likewise.
64357 * rt/mq_receive.c: Likewise.
64358 * rt/mq_send.c: Likewise.
64359 * rt/mq_setattr.c: Likewise.
64360 * rt/mq_timedreceive.c: Likewise.
64361 * rt/mq_timedsend.c: Likewise.
64362 * rt/mq_unlink.c: Likewise.
64363 * rt/shm_open.c: Likewise.
64364 * rt/shm_unlink.c: Likewise.
64365 * rt/timer_create.c: Likewise.
64366 * rt/timer_delete.c: Likewise.
64367 * rt/timer_getoverr.c: Likewise.
64368 * rt/timer_gettime.c: Likewise.
64369 * rt/timer_settime.c: Likewise.
64370 * setjmp/__longjmp.c: Likewise.
64371 * setjmp/setjmp.c: Likewise.
64372 * signal/kill.c: Likewise.
64373 * signal/killpg.c: Likewise.
64374 * signal/raise.c: Likewise.
64375 * signal/sigaction.c: Likewise.
64376 * signal/sigaltstack.c: Likewise.
64377 * signal/sigblock.c: Likewise.
64378 * signal/sigignore.c: Likewise.
64379 * signal/sigintr.c: Likewise.
64380 * signal/signal.c: Likewise.
64381 * signal/sigpause.c: Likewise.
64382 * signal/sigpending.c: Likewise.
64383 * signal/sigqueue.c: Likewise.
64384 * signal/sigreturn.c: Likewise.
64385 * signal/sigset.c: Likewise.
64386 * signal/sigsetmask.c: Likewise.
64387 * signal/sigstack.c: Likewise.
64388 * signal/sigsuspend.c: Likewise.
64389 * signal/sigtimedwait.c: Likewise.
64390 * signal/sigvec.c: Likewise.
64391 * signal/sigwait.c: Likewise.
64392 * signal/sigwaitinfo.c: Likewise.
64393 * signal/sysv_signal.c: Likewise.
64394 * socket/accept.c: Likewise.
64395 * socket/accept4.c: Likewise.
64396 * socket/bind.c: Likewise.
64397 * socket/connect.c: Likewise.
64398 * socket/getpeername.c: Likewise.
64399 * socket/getsockname.c: Likewise.
64400 * socket/getsockopt.c: Likewise.
64401 * socket/isfdtype.c: Likewise.
64402 * socket/listen.c: Likewise.
64403 * socket/recv.c: Likewise.
64404 * socket/recvfrom.c: Likewise.
64405 * socket/recvmsg.c: Likewise.
64406 * socket/send.c: Likewise.
64407 * socket/sendmsg.c: Likewise.
64408 * socket/sendto.c: Likewise.
64409 * socket/setsockopt.c: Likewise.
64410 * socket/shutdown.c: Likewise.
64411 * socket/sockatmark.c: Likewise.
64412 * socket/socket.c: Likewise.
64413 * socket/socketpair.c: Likewise.
64414 * stdio-common/ctermid.c: Likewise.
64415 * stdio-common/cuserid.c: Likewise.
64416 * stdio-common/remove.c: Likewise.
64417 * stdio-common/rename.c: Likewise.
64418 * stdio-common/renameat.c: Likewise.
64419 * stdio-common/tempname.c: Likewise.
64420 * stdlib/getcontext.c: Likewise.
64421 * stdlib/makecontext.c: Likewise.
64422 * stdlib/setcontext.c: Likewise.
64423 * stdlib/swapcontext.c: Likewise.
64424 * stdlib/system.c: Likewise.
64425 * streams/fattach.c: Likewise.
64426 * streams/fdetach.c: Likewise.
64427 * streams/getmsg.c: Likewise.
64428 * streams/getpmsg.c: Likewise.
64429 * streams/putmsg.c: Likewise.
64430 * streams/putpmsg.c: Likewise.
64431 * sysdeps/unix/bsd/getpt.c: Likewise.
64432 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64433 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64434 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64436 Likewise.
64437 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64438 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64439 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64440 * sysvipc/msgctl.c: Likewise.
64441 * sysvipc/msgget.c: Likewise.
64442 * sysvipc/msgrcv.c: Likewise.
64443 * sysvipc/msgsnd.c: Likewise.
64444 * sysvipc/semctl.c: Likewise.
64445 * sysvipc/semget.c: Likewise.
64446 * sysvipc/semop.c: Likewise.
64447 * sysvipc/semtimedop.c: Likewise.
64448 * sysvipc/shmat.c: Likewise.
64449 * sysvipc/shmctl.c: Likewise.
64450 * sysvipc/shmdt.c: Likewise.
64451 * sysvipc/shmget.c: Likewise.
64452 * termios/tcdrain.c: Likewise.
64453 * termios/tcflow.c: Likewise.
64454 * termios/tcflush.c: Likewise.
64455 * termios/tcgetattr.c: Likewise.
64456 * termios/tcgetpgrp.c: Likewise.
64457 * termios/tcsendbrk.c: Likewise.
64458 * termios/tcsetattr.c: Likewise.
64459 * termios/tcsetpgrp.c: Likewise.
64460 * time/adjtime.c: Likewise.
64461 * time/clock.c: Likewise.
64462 * time/getitimer.c: Likewise.
64463 * time/gettimeofday.c: Likewise.
64464 * time/setitimer.c: Likewise.
64465 * time/settimeofday.c: Likewise.
64466 * time/stime.c: Likewise.
64467 * time/time.c: Likewise.
64468
64469 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
64470
64471 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64472 /usr/old/bin.
64473
64474 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64475 instead of spaces.
64476 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64477
64478 2012-11-03 Joseph Myers <joseph@codesourcery.com>
64479
64480 [BZ #14796]
64481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64482 FE_TONEAREST before applying Dekker multiplication and Knuth
64483 addition. Clear inexact exceptions and check for exact zero
64484 results afterwards.
64485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64486 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64488 * math/libm-test.inc (fma_test): Add more tests.
64489 (fma_test_towardzero): Likewise.
64490 (fma_test_downward): Likewise.
64491 (fma_test_upward): Likewise.
64492 * sysdeps/generic/math_private.h (default_libc_fesetround): New
64493 function.
64494 (libc_fesetround): New macro.
64495 (libc_fesetroundf): Likewise.
64496 (libc_fesetroundl): Likewise.
64497 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64498 function.
64499 (libc_fesetround_387): Likewise.
64500 (libc_fesetroundf): New macro.
64501 (libc_fesetround): Likewise.
64502 (libc_fesetroundl): Likewise.
64503 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64504 function.
64505 (libc_fesetroundf): New macro.
64506 (libc_fesetround): Likewise.
64507 (libc_fesetroundl): Likewise.
64508 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64509 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64510 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64511 libm_hidden_ver.
64512 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64513 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64514 libm_hidden_def.
64515 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64516 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64517 libm_hidden_ver.
64518 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64519 libm_hidden_def.
64520
64521 [BZ #3439]
64522 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64523 integer constant usable in #if and use that to give value to enum
64524 constant.
64525 (FE_DIVBYZERO): Likewise.
64526 (FE_UNDERFLOW): Likewise.
64527 (FE_OVERFLOW): Likewise.
64528 (FE_INVALID): Likewise.
64529 (FE_INVALID_SNAN): Likewise.
64530 (FE_INVALID_ISI): Likewise.
64531 (FE_INVALID_IDI): Likewise.
64532 (FE_INVALID_ZDZ): Likewise.
64533 (FE_INVALID_IMZ): Likewise.
64534 (FE_INVALID_COMPARE): Likewise.
64535 (FE_INVALID_SOFTWARE): Likewise.
64536 (FE_INVALID_SQRT): Likewise.
64537 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64538 (FE_TONEAREST): Likewise.
64539 (FE_TOWARDZERO): Likewise.
64540 (FE_UPWARD): Likewise.
64541 (FE_DOWNWARD): Likewise.
64542 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64543 (FE_DIVBYZERO): Likewise.
64544 (FE_OVERFLOW): Likewise.
64545 (FE_UNDERFLOW): Likewise.
64546 (FE_INEXACT): Likewise.
64547 (FE_TONEAREST): Likewise.
64548 (FE_DOWNWARD): Likewise.
64549 (FE_UPWARD): Likewise.
64550 (FE_TOWARDZERO): Likewise.
64551 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64552 (FE_UNDERFLOW): Likewise.
64553 (FE_OVERFLOW): Likewise.
64554 (FE_DIVBYZERO): Likewise.
64555 (FE_INVALID): Likewise.
64556 (FE_TONEAREST): Likewise.
64557 (FE_TOWARDZERO): Likewise.
64558 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64559 (FE_OVERFLOW): Likewise.
64560 (FE_UNDERFLOW): Likewise.
64561 (FE_DIVBYZERO): Likewise.
64562 (FE_INEXACT): Likewise.
64563 (FE_TONEAREST): Likewise.
64564 (FE_TOWARDZERO): Likewise.
64565 (FE_UPWARD): Likewise.
64566 (FE_DOWNWARD): Likewise.
64567 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64568 (FE_DIVBYZERO): Likewise.
64569 (FE_OVERFLOW): Likewise.
64570 (FE_UNDERFLOW): Likewise.
64571 (FE_INEXACT): Likewise.
64572 (FE_TONEAREST): Likewise.
64573 (FE_DOWNWARD): Likewise.
64574 (FE_UPWARD): Likewise.
64575 (FE_TOWARDZERO): Likewise.
64576
64577 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64578
64579 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64580
64581 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64582
64583 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64584 commands. Quote $PWD.
64585 (blacklist_exports): Don't use remove_newlines. Replace "declare
64586 -x" by "export".
64587 (remove_newlines): Remove.
64588
64589 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64590
64591 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64592 * stdlib/stdlib.h (atof): Moved to ...
64593 * include/bits/stdlib-float.h: Here. New file.
64594 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64595 * stdlib/bits/stdlib-float.h: New file.
64596 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64597 -mno-sse -mno-mmx.
64598 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64599 <xmmintrin.h>.
64600
64601 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64602
64603 * conform/conformtest.pl (@headers): Add fenv.h.
64604 * conform/data/fenv.h-data: New file.
64605 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64606 include of <math/fenv.h>.
64607
64608 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64609 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64610 && !UNIX98]. Enables tests for XOPEN2K8.
64611 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64612 POSIX2008]: Likewise.
64613
64614 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64615 (struct rusage): Do not expect type or its members.
64616
64617 [BZ #3439]
64618 * math/math.h (FP_NAN): Define macro to integer constant usable in
64619 #if and use that to give value to enum constant.
64620 (FP_INFINITE): Likewise.
64621 (FP_ZERO): Likewise.
64622 (FP_SUBNORMAL): Likewise.
64623 (FP_NORMAL): Likewise.
64624
64625 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64626
64627 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64628 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64629 arguments.
64630
64631 2012-11-02 Roland McGrath <roland@hack.frob.com>
64632
64633 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64634 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64635 autoconf-time if not.
64636 * configure.in: Remove AC_PREREQ.
64637
64638 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64639
64640 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64641 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64642 of the internal implementation.
64643
64644 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64645
64646 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64647 except include of <misc/sys/syslog.h>.
64648
64649 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64650
64651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64652 function returns with a NULL context exit with zero.
64653
64654 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64655
64656 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64657
64658 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64659
64660 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64661 (run_program_cmd): This.
64662 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64663 (tst_langinfo): New variable. Use it.
64664
64665 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64666
64667 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64668 floating point opcodes.
64669
64670 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64671
64672 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64673 variable.
64674
64675 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64676
64677 * sysdeps/mach/hurd/powerpc: Remove directory.
64678 * sysdeps/mach/powerpc: Likewise.
64679
64680 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64681
64682 * scripts/check-local-headers.sh: Ignore c++ headers.
64683
64684 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64685
64686 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64687 __libc_cleanup_region_start argument.
64688
64689 2012-11-01 Joseph Myers <joseph@codesourcery.com>
64690
64691 [BZ #14784]
64692 [BZ #14785]
64693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64694 x * y using scaling, not as x * y + z.
64695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64696 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64697 * math/libm-test.inc (fma_test): Add more tests.
64698 (fma_test_towardzero): Likewise.
64699 (fma_test_downward): Likewise.
64700 (fma_test_upward): Likewise.
64701
64702 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64703
64704 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64705
64706 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64707
64708 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64709 New variable.
64710
64711 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64712
64713 * rt/tst-shm.c (worker): Correct checking for mmap failure.
64714
64715 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64716
64717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64718 Fix sort order.
64719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64720 Likewise.
64721
64722 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64723
64724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64725 Fix the order of the list for glibc 2.17.
64726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64727 Likewise.
64728
64729 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64730
64731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64732
64733 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64734
64735 [BZ #14610]
64736 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64737 for low part of x being zero before using __atanl (y).
64738 * math/libm-test.inc (atan2_test): Add another test.
64739
64740 * manual/install.texi (Configuring and compiling): Document
64741 general use of test-wrapper and test-wrapper-env.
64742 * INSTALL: Regenerated.
64743
64744 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64745 (__fma): Do not extract and scale down low bits on after-rounding
64746 systems when result rounded to normal precision would have normal
64747 exponent.
64748 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64749 (__fmal): Do not extract and scale down low bits on after-rounding
64750 systems when result rounded to normal precision would have normal
64751 exponent.
64752 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64753 (__fmal): Do not extract and scale down low bits on after-rounding
64754 systems when result rounded to normal precision would have normal
64755 exponent.
64756 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64757 macro.
64758 (fma_test): Add more tests.
64759 (fma_test_towardzero): Likewise.
64760 (fma_test_downward): Likewise.
64761 (fma_test_upward): Likewise.
64762
64763 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
64764
64765 * sysdeps/i386/tininess.h: Renamed to ...
64766 * sysdeps/x86/tininess.h: This.
64767 * sysdeps/x86_64/tininess.h: Removed.
64768
64769 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64770
64771 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64772 input. Use $(build-program-cmd).
64773 ($(objpfx)tst-array1-static.out): Likewise.
64774 ($(objpfx)tst-array2.out): Likewise.
64775 ($(objpfx)tst-array3.out): Likewise.
64776 ($(objpfx)tst-array4.out): Likewise.
64777 ($(objpfx)tst-array5.out): Likewise.
64778 ($(objpfx)tst-array5-static.out): Likewise.
64779
64780 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
64781
64782 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64783 if defined.
64784
64785 * nss/nsswitch.h (nss_interface_function): Provide new
64786 macro for use with NSS functions.
64787 * grp/initgroups.c: Use new macro.
64788 * nss/getXXbyYY.c: Likewise.
64789 * nss/getXXbyYY_r.c: Likewise.
64790 * nss/getXXent.c: Likewise.
64791 * nss/getXXent_r.c: Likewise.
64792 * sysdeps/posix/getaddrinfo.c: Likewise.
64793
64794 2012-10-30 Andreas Jaeger <aj@suse.de>
64795
64796 * po/ru.po: Update Russion translation from translation project.
64797
64798 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64799
64800 [BZ #14152]
64801 [BZ #14783]
64802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64803 result and shift together with sticky bit instead of replicating
64804 round-to-nearest rounding.
64805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64806 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64807 * math/libm-test.inc (fma_test): Add more tests. Do not permit
64808 missing underflow exceptions.
64809 (fma_test_towardzero): Add more tests.
64810 (fma_test_downward): Likewise.
64811 (fma_test_upward): Likewise.
64812
64813 [BZ #14047]
64814 * sysdeps/generic/tininess.h: New file.
64815 * sysdeps/i386/tininess.h: Likewise.
64816 * sysdeps/sh/tininess.h: Likewise.
64817 * sysdeps/x86_64/tininess.h: Likewise.
64818 * stdlib/tst-strtod-underflow.c: Likewise.
64819 * stdlib/tst-tininess.c: Likewise.
64820 * stdlib/strtod_l.c: Include <tininess.h>.
64821 (round_and_return): Do not set errno for exact underflow cases.
64822 Force an underflow exception when setting errno for underflow.
64823 Determine underflow based on rounding to normal precision if
64824 TININESS_AFTER_ROUNDING.
64825 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64826 ERANGE for exact underflow cases.
64827 * stdlib/Makefile (tests): Add tst-tininess and
64828 tst-strtod-underflow.
64829 ($(objpfx)tst-tininess): Use $(link-libm).
64830 ($(objpfx)tst-strtod-underflow): Likewise.
64831
64832 2012-10-30 Andreas Jaeger <aj@suse.de>
64833
64834 [BZ#14767]
64835 * elf/Makefile (tests): Remove conditional for have-initfini-array
64836 since this is now always required and the variable does not exist
64837 anymore.
64838 (tests-static): Likewise.
64839 (modules-names): Likewise.
64840
64841 * po/eo.po: Add Esperanto translation from translation project.
64842
64843 * elf/tst-array1.c (fini_array): Make writeable so that it can be
64844 merged with constructor/destructor.
64845 (init_array): Likewise.
64846 * elf/tst-array2dep.c (fini_array): Likewise.
64847 (init_array): Likewise.
64848
64849 2012-10-29 Mike Frysinger <vapier@gentoo.org>
64850
64851 * manual/message.texi: Delete @cartouche tags.
64852
64853 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
64854
64855 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64856 EOPNOTSUPP.
64857 * sysdeps/mach/hurd/fsync.c: Likewise.
64858
64859 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64860 [_POSIX_REALTIME_SIGNALS]: Change condition to
64861 [_POSIX_REALTIME_SIGNALS > 0].
64862
64863 2012-10-27 Andreas Jaeger <aj@suse.de>
64864
64865 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64866 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64868 [__WORDSIZE != 64]: Likewise.
64869
64870 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
64871
64872 * iconvdata/tst-table.sh: Remove ${SHELL}.
64873 * iconvdata/tst-tables.sh: Likewise.
64874
64875 2012-10-25 David S. Miller <davem@davemloft.net>
64876
64877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64878 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64879 of strtoull.
64880
64881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64882 ifunc-impl-list.c
64883 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64884 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64885 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64886 file.
64887
64888 2012-10-25 Roland McGrath <roland@hack.frob.com>
64889
64890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64891 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64892 __getdirentries.
64893
64894 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64895 Jim Blandy <jimb@codesourcery.com>
64896
64897 * scripts/cross-test-ssh.sh: New file.
64898 * manual/install.texi (Configuring and compiling): Document use of
64899 cross-test-ssh.sh.
64900 * INSTALL: Regenerated.
64901
64902 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
64903
64904 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64905 EOPNOTSUPP.
64906
64907 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64908
64909 * Makeconfig (run-program-prefix): Fix comment.
64910
64911 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64912 Jim Blandy <jimb@codesourcery.com>
64913
64914 * Makeconfig (test-wrapper): New variable,
64915 (test-wrapper-env): Likewise.
64916 [$(cross-compiling) = yes && $(test-wrapper) != ""]
64917 (run-built-tests): Define to yes.
64918 (run-program-prefix): Use $(test-wrapper).
64919 (built-program-cmd): Likewise.
64920 * Rules (make-test-out): Use $(test-wrapper-env) and
64921 $(host-built-program-cmd).
64922 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64923 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64924 tst-pathopt.sh.
64925 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64926 $(test-wrapper-env) to tst-rtld-load-self.sh.
64927 ($(objpfx)order2.out): Use $(test-wrapper).
64928 ($(objpfx)tst-initorder.out): Likewise.
64929 ($(objpfx)tst-initorder2.out): Likewise.
64930 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64931 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64932 (test_wrapper_env): New variable. Use it to run ld.so.
64933 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64934 Use it to run ld.so.
64935 (test_wrapper_env): Likewise.
64936 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64937 $(test-wrapper) to run-iconv-test.sh.
64938 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64939 (ICONV): Use $test_wrapper.
64940 * posix/Makefile ($(objpfx)globtest.out): Pass
64941 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64942 globtest.sh, not $(run-program-prefix).
64943 * posix/globtest.sh (run_via_rtld_prefix): New variable.
64944 (test_wrapper): Likewise.
64945 (test_wrapper_env): Likewise. Use it to run globtest with HOME
64946 set together with run_via_rtld_prefix.
64947 (run_program_prefix): Define in terms of test_wrapper and
64948 run_via_rtld_prefix.
64949
64950 2012-10-24 Roland McGrath <roland@hack.frob.com>
64951
64952 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64953 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64954 Targets removed.
64955
64956 [BZ #14743]
64957 * include/time.h: Remove librt_hidden_proto (clock_gettime).
64958 Declare __clock_getres, __clock_gettime, __clock_settime,
64959 __clock_nanosleep, and __clock_getcpuclockid.
64960 * rt/clock_gettime.c: Define __clock_gettime as an alias.
64961 Remove librt_hidden_def (clock_gettime).
64962 * sysdeps/unix/clock_gettime.c: Likewise.
64963 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64964 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64965 * rt/clock_getres.c: Define __clock_getres as an alias.
64966 * sysdeps/posix/clock_getres.c: Likewise.
64967 * rt/clock_settime.c: Define __clock_settime as an alias.
64968 * sysdeps/unix/clock_settime.c: Likewise.
64969 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64970 * sysdeps/unix/clock_nanosleep.c: Likewise.
64971 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64972 * rt/clock-compat.c: New file.
64973 * rt/Makefile (librt-routines): Add clock-compat and move
64974 $(clock-routines) to ...
64975 (routines): ... here, new variable.
64976 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64977 Don't add get_clockfreq here.
64978 * rt/Versions (libc: GLIBC_2.17): New version set.
64979 Add clock_* symbols here.
64980 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
64981 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64982 (GLIBC_2.17): Add clock_* symbols.
64983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64985 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64987 Likewise.
64988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64989 Likewise.
64990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64994 * NEWS: Mention the move.
64995
64996 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64997 Use __open, __read, __close rather than their public counterparts.
64998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64999 (__get_clockfreq_via_cpuinfo): Likewise.
65000 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65001 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65002
65003 * config.h.in (HAVE_IFUNC): New #undef.
65004 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65005 was successful.
65006 * configure: Regenerated.
65007
65008 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65009
65010 * configure.in: Move READELF check to start of file.
65011 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65012 libc_cv_asm_gnu_indirect_function in the process.
65013 * configure: Regenerated.
65014
65015 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65016
65017 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65018 send the output to /dev/null.
65019 (libc_cv_cc_with_libunwind): Likewise.
65020 (libc_cv_as_noexecstack): Likewise.
65021 * configure: Regenerate.
65022
65023 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65024
65025 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65026
65027 * posix/globtest.sh (TMPDIR): Do not set.
65028 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65029 (testout): Likewise.
65030
65031 2012-10-24 Andreas Jaeger <aj@suse.de>
65032
65033 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65034 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65035 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65036 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65037 posix_fadvise64, posix_fallocate64.
65038
65039 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65040 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65041 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65042 Likewise.
65043 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65044 Likewise.
65045 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65046
65047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65048 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65049 <bits/fcntl-linux.h>.
65050 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65051
65052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65053 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65054 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65055 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65056 [__WORDSIZE != 64]: Likewise.
65057
65058 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65059
65060 * Makeconfig (run-built-tests): New variable.
65061 * Rules [$(cross-compiling) = yes]: Change condition to
65062 [$(run-built-tests) = no].
65063 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65064 to [$(run-built-tests) = yes].
65065 * elf/Makefile [$(cross-compiling) = no]: Likewise.
65066 * grp/Makefile [$(cross-compiling) = no]: Likewise.
65067 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65068 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65069 * intl/Makefile [$(cross-compiling) = no]: Likewise.
65070 * io/Makefile [$(cross-compiling) = no]: Likewise.
65071 * libio/Makefile [$(cross-compiling) = no]: Likewise.
65072 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65073 * misc/Makefile [$(cross-compiling) = no]: Likewise.
65074 * posix/Makefile [$(cross-compiling) = no]: Likewise.
65075 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65076 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65077 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65078 * string/Makefile [$(cross-compiling) = no]: Likewise.
65079
65080 * posix/Makefile ($(objpfx)globtest.out): Pass
65081 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65082 $(rtld-installed-name).
65083 * posix/globtest.sh (elf_objpfx): Remove variable.
65084 (rtld_installed_name): Likewise.
65085 (library_path): Likewise.
65086 (run_program_prefix): New variable. Use for running globtest
65087 binary.
65088
65089 2012-10-23 Jim Blandy <jimb@codesourcery.com>
65090 Joseph Myers <joseph@codesourcery.com>
65091
65092 * Makeconfig (host-built-program-cmd): New variable.
65093 * elf/Makefile (tst-stackguard1-ARGS): Use
65094 $(host-built-program-cmd).
65095 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65096 (tst-spawn-ARGS): Likewise.
65097 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65098
65099 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65100 Jim Blandy <jimb@codesourcery.com>
65101
65102 * Makeconfig (run-via-rtld-prefix): New variable.
65103 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65104 (built-program-cmd): Likewise.
65105
65106 2012-10-22 Andreas Jaeger <aj@suse.de>
65107
65108 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65109 __O_RSYNC if it exists, otherwise to O_SYNC.
65110
65111 2012-10-22 Jim Blandy <jimb@codesourcery.com>
65112 Joseph Myers <joseph@codesourcery.com>
65113
65114 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65115 /dev/null.
65116 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65117 from /dev/null
65118 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65119 /dev/null.
65120
65121 2012-10-22 Andreas Jaeger <aj@suse.de>
65122
65123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65124 Define always.
65125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65126
65127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65128 bits/fcntl-linux.h.
65129
65130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65131 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65132
65133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65134 to __O_LARGEFILE.
65135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65136 to __O_LARGEFILE.
65137
65138 2012-10-21 Jim Blandy <jimb@codesourcery.com>
65139 Joseph Myers <joseph@codesourcery.com>
65140
65141 * config.make.in (NM): New variable.
65142
65143 2012-10-21 Andreas Jaeger <aj@suse.de>
65144
65145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65146 definitions and declarations that are provided by
65147 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65148
65149 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65150
65151 [BZ #14683]
65152 * elf/Makefile (tests-static): Add tst-leaks1-static.
65153 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65154 ($(objpfx)tst-leaks1-static): New rule.
65155 ($(objpfx)tst-leaks1-static-mem): Likewise.
65156 (tst-leaks1-static-ENV): New macro.
65157 * elf/dl-open.c (dl_open_worker): Check the main application
65158 only if SHARED is defined.
65159 * elf/tst-leaks1-static.c: New file.
65160
65161 2012-10-20 Andreas Jaeger <aj@suse.de>
65162
65163 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65164 generic values for Linux.
65165 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65166 and declarations that are provided by <bits/fcntl-linux.h> and
65167 include <bits/fcntl-linux.h>.
65168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65170
65171 2012-10-20 Roland McGrath <roland@hack.frob.com>
65172
65173 * io/fcntl.h: Move include of <bits/types.h> to the top and
65174 include it unconditionally.
65175
65176 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65177
65178 * wcsmbs/Makefile (tests-ifunc): New variable.
65179 (tests): Add $(tests-ifunc).
65180 * wcsmbs/test-wcschr-ifunc.c: New file.
65181 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65182 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65183 * wcsmbs/test-wcslen-ifunc.c: Likewise.
65184 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65185 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65186
65187 * string/Makefile (tests-ifunc): New variable.
65188 (tests): Add $(tests-ifunc).
65189 * string/test-memccpy.c (TEST_NAME): New macro.
65190 * string/test-memchr.c (TEST_NAME): Likewise.
65191 * string/test-memcmp.c (TEST_NAME): Likewise.
65192 * string/test-memcpy.c (TEST_NAME): Likewise.
65193 * string/test-memmem.c (TEST_NAME): Likewise.
65194 * string/test-memmove.c (TEST_NAME): Likewise.
65195 * string/test-memset.c (TEST_NAME): Likewise.
65196 * string/test-rawmemchr.c (TEST_NAME): Likewise.
65197 * string/test-stpcpy.c (TEST_NAME): Likewise.
65198 * string/test-stpncpy.c (TEST_NAME): Likewise.
65199 * string/test-strcasecmp.c (TEST_NAME): Likewise.
65200 * string/test-strcasestr.c (TEST_NAME): Likewise.
65201 * string/test-strcat.c (TEST_NAME): Likewise.
65202 * string/test-strchr.c (TEST_NAME): Likewise.
65203 * string/test-strcmp.c(TEST_NAME): Likewise.
65204 * string/test-strcpy.c (TEST_NAME): Likewise.
65205 * string/test-strcspn.c (TEST_NAME): Likewise.
65206 * string/test-strlen.c (TEST_NAME): Likewise.
65207 * string/test-strncasecmp.c (TEST_NAME): Likewise.
65208 * string/test-strncmp.c (TEST_NAME): Likewise.
65209 * string/test-strncpy.c (TEST_NAME): Likewise.
65210 * string/test-strnlen.c (TEST_NAME): Likewise.
65211 * string/test-strpbrk.c (TEST_NAME): Likewise.
65212 * string/test-strrchr.c (TEST_NAME): Likewise.
65213 * string/test-strspn.c (TEST_NAME): Likewise.
65214 * string/test-strstr.c (TEST_NAME): Likewise.
65215 * string/test-bcopy-ifunc.c: New file.
65216 * string/test-bzero-ifunc.c: Likewise.
65217 * string/test-memccpy-ifunc.c: Likewise.
65218 * string/test-memchr-ifunc.c: Likewise.
65219 * string/test-memcmp-ifunc.c: Likewise.
65220 * string/test-memcpy-ifunc.c: Likewise.
65221 * string/test-memmem-ifunc.c: Likewise.
65222 * string/test-memmove-ifunc.c: Likewise.
65223 * string/test-mempcpy-ifunc.c: Likewise.
65224 * string/test-memset-ifunc.c: Likewise.
65225 * string/test-rawmemchr-ifunc.c: Likewise.
65226 * string/test-stpcpy-ifunc.c: Likewise.
65227 * string/test-stpncpy-ifunc.c: Likewise.
65228 * string/test-strcasecmp-ifunc.c: Likewise.
65229 * string/test-strcasestr-ifunc.c: Likewise.
65230 * string/test-strcat-ifunc.c: Likewise.
65231 * string/test-strchr-ifunc.c: Likewise.
65232 * string/test-strchrnul-ifunc.c: Likewise.
65233 * string/test-strcmp-ifunc.c: Likewise.
65234 * string/test-strcpy-ifunc.c: Likewise.
65235 * string/test-strcspn-ifunc.c: Likewise.
65236 * string/test-strlen-ifunc.c: Likewise.
65237 * string/test-strncasecmp-ifunc.c: Likewise.
65238 * string/test-strncat-ifunc.c: Likewise.
65239 * string/test-strncmp-ifunc.c: Likewise.
65240 * string/test-strncpy-ifunc.c: Likewise.
65241 * string/test-strnlen-ifunc.c: Likewise.
65242 * string/test-strpbrk-ifunc.c: Likewise.
65243 * string/test-strrchr-ifunc.c: Likewise.
65244 * string/test-strspn-ifunc.c: Likewise.
65245 * string/test-strstr-ifunc.c: Likewise.
65246
65247 * debug/Makefile (tests-ifunc): New variable.
65248 (tests): Add $(tests-ifunc).
65249 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65250 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65251 * debug/test-stpcpy_chk-ifunc.c: New file.
65252 * debug/test-strcpy_chk-ifunc.c: Likewise.
65253
65254 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
65255
65256 [BZ #13601]
65257 * elf/dl-load.c (open_verify): Retry read if the entire ELF
65258 header is not read in.
65259
65260 2012-10-19 Joseph Myers <joseph@codesourcery.com>
65261
65262 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
65263 script to $(SHELL) as $<. Pass $(common-objpfx) to script
65264 directly. Pass built executable to script as
65265 $(built-program-cmd).
65266 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
65267 $testprogram without using LD_LIBRARY_PATH and $ldso.
65268
65269 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65270 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65271 $(rtld-installed-name).
65272 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65273 (rtld_installed_name): Likewise.
65274 (library_path): Likewise.
65275 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
65276 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65277 $(run-program-prefix) to tst-tables.sh.
65278 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
65279 it to run tst-table-from and tst-table-to.
65280 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65281 Pass it to tst-table.sh.
65282 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65283 $(run-program-prefix) to tst-gettext.sh.
65284 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65285 tst-translit.sh.
65286 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65287 tst-gettext2.sh.
65288 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
65289 to run tst-gettext.
65290 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
65291 to run tst-gettext2.
65292 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
65293 to run tst-translit.
65294 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65295 $(run-program-prefix) to tst-mtrace.sh.
65296 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
65297 to run tst-mtrace.
65298 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65299 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65300 $(rtld-installed-name).
65301 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65302 (rtld_installed_name): Likewise.
65303 (run_program_prefix): New variable. Use it to run wordexp-test.
65304
65305 * Makeconfig (ARCH): Remove all definitions.
65306 (machine): Likewise.
65307 [ARCH]: Remove conditional code.
65308 [!objdir]: Give error.
65309 [!objdir] (objpfx): Remove.
65310 [!objdir] (common-objpfx): Likewise.
65311 [!objdir] (common-objdir): Likewise.
65312 * configure.in (config_makefile): Remove. Hardcode Makefile in
65313 AC_CONFIG_FILES call.
65314 * configure: Regenerated.
65315
65316 [BZ #13888]
65317 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65318 or TMPDIR.
65319 (testout): Likewise.
65320
65321 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65322 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65323 $(rtld-installed-name).
65324 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65325 (rtld_installed_name): Likewise.
65326 (runit): Remove function.
65327 (run_getconf): New variable, Use it for running getconf binary.
65328
65329 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
65330
65331 [BZ #14716]
65332 * string/test-memmem.c (check_result): New function.
65333 (do_one_test): Use it.
65334 (check1): New function.
65335 (test_main): Use it.
65336
65337 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
65338
65339 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65340
65341 2012-10-18 Joseph Myers <joseph@codesourcery.com>
65342
65343 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65344 (_G_LSEEK64): Likewise.
65345 (_G_MMAP64): Likewise.
65346 (_G_FSTAT64): Likewise.
65347 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65348 (_G_LSEEK64): Likewise.
65349 (_G_MMAP64): Likewise.
65350 (_G_FSTAT64): Likewise.
65351 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65352 unconditional. Call __mmap64 directly.
65353 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65354 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
65355 __lseek64 directly.
65356 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65357 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
65358 __mmap64 directly.
65359 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65360 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
65361 __lseek64 directly.
65362 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65363 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
65364 __lseek64 directly.
65365 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65366 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
65367 __lseek64 directly.
65368 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65369 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
65370 __fxstat64 directly.
65371 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65372 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65373 unconditional.
65374 (freopen64) [!_G_OPEN64]: Remove conditional code.
65375 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65376 unconditional.
65377 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65378 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65379 unconditional.
65380 (ftello64) [!_G_LSEEK64]: Remove conditional code.
65381 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65382 unconditional.
65383 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65384 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65385 unconditional.
65386 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65387 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65388 unconditional.
65389 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65390 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65391 unconditional.
65392 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65393 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65394 unconditional.
65395 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65396
65397 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
65398
65399 [BZ #12140]
65400 * manual/memory.texi (Malloc Tunable Parameters): Add note
65401 about free list pointers overwriting some perturb bytes.
65402 Wording suggested by Roland McGrath.
65403
65404 2012-10-17 Joseph Myers <joseph@codesourcery.com>
65405
65406 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65407 (lgamma_test): Likewise.
65408 (tgamma_test): Likewise.
65409
65410 2012-10-16 Florian Weimer <fweimer@redhat.com>
65411
65412 [BZ #14700]
65413 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65414 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65415
65416 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
65417
65418 * NEWS: Mention BZ #14716.
65419 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65420 when removing AVAILABLE1_USES_J macro.
65421
65422 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
65423
65424 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65425 (__bswap_64): __uint64_t for unsigned 64-bit int.
65426
65427 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
65428
65429 * include/string.h (memmem): Declare libc hidden alias.
65430 * string/memmem.c (memmem): Define libc hidden alias.
65431 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65432 __read, __close instead of open, read, close.
65433
65434 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
65435
65436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65437 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65438 global and hidden.
65439 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65440 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65441 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65442 Likewise.
65443 (__rawmemchr_sse2): Likewise.
65444 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65445 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65446 (__strchr_sse2): Likewise.
65447 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65448 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65449 (__strcasecmp_sse2): Likewise.
65450 (__strncasecmp_sse2): Likewise.
65451 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65452 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65453 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65454 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65455 (__strrchr_sse2): Likewise.
65456 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65457 ifunc-impl-list.c.
65458 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65459 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65460 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65461 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65462 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65463 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65464 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65465 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65466 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65467 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65468 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65469 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65470 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65471 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65472 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65473 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65474 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65475 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65476 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65477 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65478 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65479 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65480 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65481 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65482 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65483 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65484 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65485 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65486 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65487 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65488
65489 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65490 global and hidden.
65491 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65492 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65493 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65494 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65495 Likewise.
65496 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65497 Likewise.
65498 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65499 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65500 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65501 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65502 ifunc-impl-list.c.
65503 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65504 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65505 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65506 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65507 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65508 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65509 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65510 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65511 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65512 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65513 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65514 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65515 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65516 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65517 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65518 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65519 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65520 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65521 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65522 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65524 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65525 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65526 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65527 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65528 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65529 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65530 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65531 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65532 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65533 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65534 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65535 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65536 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65537 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65538 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65539 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65540 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65541 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65542 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65543 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65544
65545 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65546 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65547 * include/ifunc-impl-list.h: New file.
65548 * misc/ifunc-impl-list.c: Likewise.
65549 * misc/Makefile (routines): Add ifunc-impl-list.
65550 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65551 * string/test-string.h: Include <ifunc-impl-list.h>.
65552 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65553 TEST_NAME]: New variables.
65554 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65555 are defined.
65556 (test_init): Call __libc_ifunc_impl_list to initialize
65557 func_list if TEST_IFUNC and TEST_NAME are defined.
65558
65559 * string/Makefile (strop-tests): Add bcopy and bzero.
65560 * string/test-bcopy.c: New file.
65561 * string/test-bzero.c: Likewise.
65562 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65563 defined.
65564 * string/test-memset.c: Support bzero test if TEST_BZERO is
65565 defined.
65566 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65567 __libc_memmove.
65568 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65569 __libc_memset.
65570 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65571 of memset.
65572
65573 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65574
65575 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65576 * configure: Regenerated.
65577
65578 * Makeconfig (+link-static-before-libc): Don't include
65579 $(link-static-libc).
65580
65581 * libio/libio.h (_IO_pos_t): Remove.
65582
65583 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65584
65585 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65586 McGrath.
65587
65588 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65589
65590 * crypt/crypt-entry.c: Include fips-private.h.
65591 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65592 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65593 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65594 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65595
65596 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65597
65598 * crypt/crypt-private.h: Include stdbool.h.
65599 (_ufc_setup_salt_r): Return bool.
65600 * crypt/crypt-entry.c: Include errno.h.
65601 (__crypt_r): Return NULL with EINVAL for bad salt.
65602 * crypt/crypt_util.c (bad_for_salt): New.
65603 (_ufc_setup_salt_r): Check that salt is long enough and within
65604 the specified alphabet.
65605 * crypt/badsalttest.c: New file.
65606 * crypt/Makefile (tests): Add it.
65607 ($(objpfx)badsalttest): New.
65608
65609 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65610
65611 * NEWS: Add entry for BZ #14602.
65612
65613 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65614
65615 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65616 type-generic.
65617 * math/libm-test.inc: Update comment listing what functions and
65618 macros are tested.
65619 (isgreater_test): New function.
65620 (isgreaterequal_test): Likewise.
65621 (isless_test): Likewise.
65622 (islessequal_test): Likewise.
65623 (islessgreater_test): Likewise.
65624 (isunordered_test): Likewise.
65625 (main): Call the new functions.
65626
65627 2012-10-09 Roland McGrath <roland@hack.frob.com>
65628
65629 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65630 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65631 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65632 * sysdeps/i386/configure: Regenerated.
65633 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65634 * sysdeps/mach/configure: Regenerated.
65635 * sysdeps/mach/hurd/configure: Regenerated.
65636 * sysdeps/powerpc/configure: Regenerated.
65637 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65638 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65639 * sysdeps/s390/s390-32/configure: Regenerated.
65640 * sysdeps/s390/s390-64/configure: Regenerated.
65641 * sysdeps/sh/configure: Regenerated.
65642 * sysdeps/sparc/configure: Regenerated.
65643 * sysdeps/unix/sysv/linux/configure: Regenerated.
65644 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65645 * sysdeps/x86_64/configure: Regenerated.
65646
65647 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65648 defined. Don't check if MAP is NULL.
65649
65650 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65651
65652 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65653 (_G_stat64): Likewise.
65654 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65655 (_G_stat64): Likewise.
65656 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65657 instead of struct _G_stat64.
65658 * libio/fileops.c (mmap_remap_check): Likewise.
65659 (decide_maybe_mmap): Likewise.
65660 (_IO_new_file_seekoff): Likewise.
65661 (_IO_file_stat): Likewise.
65662 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65663 _G_off64_t.
65664 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65665 instead of struct _G_stat64.
65666 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65667
65668 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65669
65670 [BZ #14602]
65671 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65672 Replace with ...
65673 (CHECK_EOL): New macro.
65674 (two_way_short_needle): Check beginning of haystack for EOL. Use
65675 CHECK_EOL.
65676 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65677 Replace with CHECK_EOL.
65678 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65679 Replace with CHECK_EOL.
65680
65681 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65682
65683 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65684 type-generic.
65685 * math/libm-test.inc: Update comment listing what functions and
65686 macros are tested.
65687 (finite_test): New function.
65688 (isinf_test): Likewise.
65689 (isnan_test): Likewise.
65690 (fpclassify_test): Test subnormal input.
65691 (isfinite_test): Likewise.
65692 (isnormal_test): Likewise.
65693 (main): Call the new functions.
65694
65695 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
65696
65697 [BZ #14660]
65698 * Makerules (%.dynsym): Force C locale when running
65699 $(OBJDUMP) --dynamic-syms.
65700
65701 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
65702
65703 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65704 <stdint.h>.
65705
65706 2012-10-06 David S. Miller <davem@davemloft.net>
65707
65708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65709 upper 32-bits of the length value in %o2 since we use branch-on-register
65710 tests which consider the entire 64-bit register.
65711
65712 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
65713
65714 * string/test-strstr.c (check2): Add a test for page boundary.
65715
65716 2012-10-05 David S. Miller <davem@davemloft.net>
65717
65718 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65719 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65720 file.
65721 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65722 sysdep_routines.
65723 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65724 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65725 and bzero when HWCAP_SPARC_CRYPTO is present.
65726
65727 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
65728
65729 [BZ #14602]
65730 * string/test-strstr.c (check2): New function.
65731 (test_main): Call check2.
65732
65733 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65734 and bug-strchr1.
65735 * string/bug-strcasestr1.c (do_test): Moved to ...
65736 * string/test-strcasestr.c (check1): Here. New function.
65737 (do_one_test): Break out result checking code into ...
65738 (check_result): This. New function.
65739 (do_one_test): Call check_result.
65740 (test_main): Call check1.
65741 * string/bug-strchr1.c (do_test): Moved to ...
65742 * string/test-strchr.c (check1): Here. New function.
65743 (do_one_test): Break out result checking code into ...
65744 (check_result): This. New function.
65745 (do_one_test): Call check_result.
65746 (test_main): Call check1.
65747 * string/bug-strstr1.c (main): Moved to ...
65748 * string/test-strstr.c (check1): Here. New function.
65749 (do_one_test): Break out result checking code into ...
65750 (check_result): This. New function.
65751 (do_one_test): Call check_result.
65752 (test_main): Call check1.
65753 * string/bug-strcasestr1.c: Removed.
65754 * string/bug-strchr1.c: Likewise.
65755 * string/bug-strstr1.c: Likewise.
65756
65757 * elf/Makefile (dl-routines): Add hwcaps.
65758 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65759 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65760 (_dl_important_hwcaps): Moved to ...
65761 * elf/dl-hwcaps.c: Here. New file.
65762 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65763
65764 [BZ #14557]
65765 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65766 if IS_IN_rtld isn't defined.
65767
65768 * elf/dl-support.c (_dl_sysinfo_map): New.
65769 Include "get-dynamic-info.h" and "setup-vdso.h".
65770 (_dl_non_dynamic_init): Call setup_vdso.
65771 * elf/dynamic-link.h: Don't include <assert.h>.
65772 (elf_get_dynamic_info): Moved to ...
65773 * elf/get-dynamic-info.h: Here. New file.
65774 * elf/dynamic-link.h: Include "get-dynamic-info.h".
65775 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65776 * elf/setup-vdso.h: Here. New file.
65777 * elf/rtld.c: Include "setup-vdso.h".
65778 (dl_main): Call setup_vdso.
65779
65780 2012-10-05 Joseph Myers <joseph@codesourcery.com>
65781
65782 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65783 creal in comment listing functions tested. List finite, isinf,
65784 isnan, isless, islessequal, isgreater, isgreaterequal,
65785 islessgreater, isunordered, lgamma_r and pow10 as functions and
65786 macros not tested. Mention which functions not tested are aliases
65787 for other functions. Fix typo. Note that signs of NaNs are not
65788 tested.
65789
65790 * scripts/config.guess: Update from config.git.
65791 * scripts/config.sub: Likewise.
65792
65793 2012-10-04 Roland McGrath <roland@hack.frob.com>
65794
65795 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65796 * misc/madvise.c (madvise): Renamed to __madvise.
65797 Make madvise a weak alias.
65798 * include/sys/mman.h: Declare __madvise.
65799 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65800 * sysdeps/unix/syscalls.list
65801 (madvise): Make __madvise the strong name, and madvise a weak alias.
65802 * sysdeps/unix/sysv/linux/syscalls.list
65803 (madvise, mmap): Remove redundant entries.
65804 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65805 * malloc/malloc.c (mtrim): Likewise.
65806 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65807
65808 2012-10-03 Roland McGrath <roland@hack.frob.com>
65809
65810 * sysdeps/mach/hurd/dl-cache.c: File removed.
65811 * config.h.in (USE_LDCONFIG): New #undef.
65812 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65813 * configure: Regenerated.
65814 * elf/Makefile (dl-routines): Add dl-cache only under
65815 [$(use-ldconfig) = yes].
65816 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65817 cache on [USE_LDCONFIG].
65818 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65819 [USE_LDCONFIG].
65820 * elf/rtld.c (dl_main): Likewise.
65821
65822 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
65823
65824 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65825 _SC_LEVEL4_CACHE_LINESIZE.
65826
65827 2012-10-03 Roland McGrath <roland@hack.frob.com>
65828
65829 * sysdeps/unix/bsd/confstr.h: File removed.
65830
65831 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
65832
65833 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65834 sys/sdt-config.h.
65835
65836 2012-10-02 Roland McGrath <roland@hack.frob.com>
65837
65838 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65839 Make 'mapoff' field ElfW(Off) rather than off_t.
65840
65841 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
65842
65843 * nscd/Makefile: Remove nscd-cflags and all its users.
65844 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65845 (CFLAGS-nonlib): Add compiler flags for nscd modules.
65846
65847 [BZ #10631]
65848 * malloc.c (malloc_printerr): Clarify error message.
65849
65850 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
65851
65852 [BZ #14648]
65853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65854 Set bit_FMA_Usable if FMA is supported.
65855 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65856 macro.
65857 (bit_FMA4_Usable): Updated.
65858 (index_FMA_Usable): New macro.
65859 (CPUID_FMA): Likewise.
65860 (HAS_FMA): Defined with bit_FMA_Usable.
65861
65862 2012-10-01 Roland McGrath <roland@hack.frob.com>
65863
65864 * bits/types.h (__swblk_t): Type removed.
65865 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65866 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65868 (__SWBLK_T_TYPE): Likewise.
65869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65870 (__SWBLK_T_TYPE): Likewise.
65871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65872 (__SWBLK_T_TYPE): Likewise.
65873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65874 (__SWBLK_T_TYPE): Likewise.
65875
65876 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
65877 Honza Horak <hhorak@redhat.com>
65878
65879 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65880 (xdr_mapname): Use YPMAXMAP as maxsize.
65881 (xdr_peername): Use YPMAXPEER as maxsize.
65882 (xdr_keydat): Use YPAXRECORD as maxsize.
65883 (xdr_valdat): Use YPMAXRECORD as maxsize.
65884
65885 2012-10-01 Roland McGrath <roland@hack.frob.com>
65886
65887 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65888
65889 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65890 * csu/init-first.c: ... here.
65891 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65892 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65893 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65894 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65895 * sysdeps/i386/init-first.c: File removed.
65896 * sysdeps/sh/init-first.c: File removed.
65897
65898 2012-10-01 Joseph Myers <joseph@codesourcery.com>
65899
65900 [BZ #14645]
65901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65902 if x * y might underflow to zero and z is zero.
65903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65904 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65905 * math/libm-test.inc (min_subnorm_value): New variable.
65906 (fma_test): Add more tests.
65907 (fma_test_towardzero): Likewise.
65908 (fma_test_downward): Likewise.
65909 (fma_test_upward): Likewise.
65910 (initialize): Set min_subnorm_value.
65911
65912 2012-09-29 Joseph Myers <joseph@codesourcery.com>
65913
65914 [BZ #14638]
65915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65916 0 + 0.
65917 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65918 mode for addition resulting in exact zero.
65919 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65921 exact 0 + 0.
65922 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65924 * math/libm-test.inc (fma_test): Add more tests.
65925 (fma_test_towardzero): New function.
65926 (fma_test_downward): Likewise.
65927 (fma_test_upward): Likewise.
65928 (main): Call the new functions.
65929
65930 2012-09-28 David S. Miller <davem@davemloft.net>
65931
65932 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65933
65934 2012-09-28 Roland McGrath <roland@hack.frob.com>
65935
65936 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65937 instead of SIGALRM.
65938
65939 * sysdeps/gnu/_G_config.h: Moved to ...
65940 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65941 * sysdeps/mach/hurd/_G_config.h: Moved to ...
65942 * sysdeps/generic/_G_config.h: ... here.
65943
65944 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
65945
65946 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65947
65948 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65949 Conditionalize target on [libnss_test1.so-version].
65950
65951 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65952
65953 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65954 (elfobjdir): Move out of conditionals.
65955
65956 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65957 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65958 (__nss_lookup_function): Conditionalize label remove_from_tree on
65959 [!DO_STATIC_NSS || SHARED], matching its only use.
65960
65961 2012-09-28 David S. Miller <davem@davemloft.net>
65962
65963 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65964 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65965 file.
65966 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65967 sysdep_routines.
65968 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65970 when HWCAP_SPARC_CRYPTO is present.
65971
65972 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65973
65974 * io/tst-mknodat.c: Create a FIFO instead of a socket.
65975
65976 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
65977
65978 [BZ #6530]
65979 * stdio-common/vfprintf.c (process_string_arg): Revert
65980 2000-07-22 change.
65981
65982 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
65983
65984 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65985 for testcase.
65986 * stdio-common/tst-sprintf.c: Include <locale.h>
65987 (main): Test sprintf's handling of incomplete multibyte
65988 characters.
65989
65990 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
65991
65992 * elf/dl-runtime.c (VERSYMIDX): Removed.
65993 * elf/dl-version.c (VERSYMIDX): Likewise.
65994 * elf/do-rel.h (VERSYMIDX): Likewise.
65995 (VALIDX): Likewise.
65996 * elf/dynamic-link.h (VERSYMIDX): Likewise.
65997 * elf/rtld.c (VALIDX): Likewise.
65998 (ADDRIDX): Likewise.
65999 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66000 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66001 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66002 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66003 (VALIDX): Likewise.
66004 (ADDRIDX): Likewise.
66005
66006 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66007
66008 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66009
66010 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
66011
66012 [BZ #11438]
66013 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66014 to global scope.
66015 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66016 addresses are in the same scope as 192.0.2/24.
66017 * posix/gai.conf: Document new scope table defaults.
66018
66019 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66020
66021 [BZ #5298]
66022 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66023 for ftell. Compute offsets from write pointers instead.
66024 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66025
66026 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66027
66028 [BZ #14543]
66029 * libio/Makefile (tests): New test case tst-fseek.
66030 * libio/tst-fseek.c: New test case to verify that fseek/ftell
66031 combination works in wide mode.
66032 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66033 state when the external buffer state changes.
66034
66035 2012-09-27 David S. Miller <davem@davemloft.net>
66036
66037 [BZ #14376]
66038 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66039 pass reloc->r_addend in as the 'high' argument to
66040 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66041
66042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66043
66044 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66045
66046 * rt/tst-aio2.c: Include <pthread.h>.
66047 * rt/tst-aio3.c: Likewise.
66048
66049 2012-09-27 Steve Ellcey <sellcey@mips.com>
66050
66051 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66052
66053 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
66054
66055 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66056 contents on [SHARED].
66057
66058 2012-09-26 Marek Polacek <polacek@redhat.com>
66059
66060 [BZ #14530]
66061 [BZ #13741]
66062 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66063 for C++ and GCC <4.3 as well as for non GCC compilers.
66064
66065 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66066
66067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66068
66069 2012-09-25 Roland McGrath <roland@hack.frob.com>
66070
66071 * Makefile.in (all, install): Declare with .PHONY.
66072 Reported by Michael Hope <michael.hope@linaro.org>.
66073
66074 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66075
66076 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66077 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66078 system header.
66079 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66080 Likewise.
66081 (sydep_routines): Add the new and the internal functions.
66082 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66083 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66085 (GLIBC_2.17): Add the new function.
66086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66087 (GLIBC_2.17): Likewise.
66088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66089 (GLIBC_2.17): Likewise.
66090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66091 (GLIBC_2.17): Likewise.
66092 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66093
66094 2012-09-25 Alan Modra <amodra@gmail.com>
66095
66096 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66097 Add release barrier before setting once_control to say
66098 initialisation is done. Add hints on lwarx. Use macro in
66099 place of isync.
66100 (clear_once_control): Add release barrier.
66101
66102 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66103
66104 [BZ #13629]
66105 * math/s_clog.c (__clog): Handle more values close to |z| = 1
66106 specially.
66107 * math/s_clog10.c (__clog10): Likewise.
66108 * math/s_clog10f.c (__clog10f): Likewise.
66109 * math/s_clog10l.c (__clog10l): Likewise.
66110 * math/s_clogf.c (__clogf): Likewise.
66111 * math/s_clogl.c (__clogl): Likewise.
66112 * math/Makefile (libm-calls): Add x2y2m1.
66113 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66114 (__x2y2m1): Likewise.
66115 (__x2y2m1l): Likewise.
66116 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66117 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66118 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66119 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66120 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66121 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66122 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66123 * sysdeps/i386/fpu/libm-test-ulps: Update.
66124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66125
66126 [BZ #14621]
66127 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66128 int as type of variable DEPTH.
66129 (glob): Use size_t instead of int as type of variables NEWCOUNT
66130 and OLD_PATHC.
66131
66132 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66133
66134 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66135 Add s_sincosf-sse2.
66136 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66137 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66138 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66139 macros for using routine as __sincosf_ia32.
66140 Use macro for function declaration and weak_alias.
66141 * sysdeps/i386/fpu/libm-test-ulps: Update.
66142
66143 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66145
66146 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66147 subnormal argument.
66148 * math/s_cexpf.c (__cexpf): Likewise.
66149 * math/s_csinf.c (__csinf): Likewise.
66150 * math/s_csinhf.c (__csinhf): Likewise.
66151 * math/s_ctanf.c (__ctanf): Likewise.
66152 * math/s_ctanhf.c (__ctanhf): Likewise.
66153 * math/s_ccosh.c (__ccoshf): Likewise.
66154 * math/s_cexp.c (__cexpl): Likewise.
66155 * math/s_csin.c (__csin): Likewise.
66156 * math/s_csinh.c (__csinh): Likewise.
66157 * math/s_ctan.c (__ctan): Likewise.
66158 * math/s_ctanh.c (ctanh): Likewise.
66159 * math/s_ccoshl.c (__ccoshl): Likewise.
66160 * math/s_cexpl.c (__cexpl): Likewise.
66161 * math/s_csinl.c (__csinl): Likewise.
66162 * math/s_csinhl.c (__csinhl): Likewise.
66163 * math/s_ctanl.c (__ctanl): Likewise.
66164 * math/s_ctanhl.c (__ctanhl): Likewise.
66165
66166 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66167
66168 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66169 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66170 (_IO_off_t): Define to __off_t, not _G_off_t.
66171 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66172 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66173 (_IO_wint_t): Define to wint_t, not _G_wint_t.
66174 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66175 type of __dummy and __dummy2 fields.
66176 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66177 (_G_ssize_t): Likewise.
66178 (_G_off_t): Likewise.
66179 (_G_pid_t): Likewise.
66180 (_G_uid_t): Likewise.
66181 (_G_wchar_t): Likewise.
66182 (_G_wint_t): Likewise.
66183 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66184 (_G_ssize_t): Likewise.
66185 (_G_off_t): Likewise.
66186 (_G_pid_t): Likewise.
66187 (_G_uid_t): Likewise.
66188 (_G_wchar_t): Likewise.
66189 (_G_wint_t): Likewise.
66190 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66191 (_G_ssize_t): Likewise.
66192 (_G_off_t): Likewise.
66193 (_G_pid_t): Likewise.
66194 (_G_uid_t): Likewise.
66195 (_G_wchar_t): Likewise.
66196 (_G_wint_t): Likewise.
66197
66198 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66199
66200 * malloc/arena.c: Include malloc-sysdep.h.
66201 (shrink_heap): Use check_may_shrink_heap to decide if madvise
66202 is sufficient to shrink the heap or an unmap is needed.
66203 * sysdeps/generic/malloc-sysdep.h: New file. Define
66204 new function check_may_shrink_heap.
66205 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
66206 new function check_may_shrink_heap.
66207
66208 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66209
66210 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66211 comments.
66212
66213 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
66214
66215 * catgets/test-gencat.sh: Add "set -e".
66216 * elf/tst-pathopt.sh: Likewise.
66217 * grp/tst_fgetgrent.sh: Likewise.
66218 * iconvdata/run-iconv-test.sh: Likewise.
66219 * intl/tst-gettext.sh: Likewise.
66220 * intl/tst-gettext2.sh: Likewise.
66221 * intl/tst-gettext4.sh: Likewise.
66222 * intl/tst-gettext6.sh: Likewise.
66223 * intl/tst-translit.sh: Likewise.
66224 * io/ftwtest-sh: Likewise.
66225 * libio/test-freopen.sh: Likewise.
66226 * malloc/tst-mtrace.sh: Likewise.
66227 * posix/globtest.sh: Likewise.
66228 * posix/tst-getconf.sh: Likewise.
66229 * posix/wordexp-tst.sh: Likewise.
66230 * stdio-common/tst-printf.sh: Likewise.
66231 * stdio-common/tst-unbputc.sh: Likewise.
66232 * stdlib/tst-fmtmsg.sh: Likewise.
66233 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66234 * catgets/Makefile: Do not specify -e option when running
66235 testsuite shell scripts.
66236 * elf/Makefile: Likewise.
66237 * grp/Makefile: Likewise.
66238 * iconvdata/Makefile: Likewise.
66239 * intl/Makefile: Likewise.
66240 * io/Makefile: Likewise.
66241 * libio/Makefile: Likewise.
66242 * malloc/Makefile: Likewise.
66243 * posix/Makefile: Likewise.
66244 * stdio-common/Makefile: Likewise.
66245 * stdlib/Makefile: Likewise.
66246 * sysdeps/x86_64/Makefile: Likewise.
66247
66248 * io/ftwtest-sh: Add copyright header.
66249 * posix/globtest.sh: Likewise.
66250 * posix/tst-getconf.sh: Likewise.
66251 * posix/wordexp-tst.sh: Likewise.
66252 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66253
66254 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
66255
66256 [BZ #13679]
66257 * Makeconfig (+link): Defined as $(+link-static) if
66258 $(build-shared) isn't yes.
66259 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66260 isn't yes.
66261 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66262
66263 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66264
66265 [BZ #14562]
66266 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66267 new chunk size with MALLOC_ALIGN_MASK.
66268
66269 2012-09-24 Joseph Myers <joseph@codesourcery.com>
66270
66271 [BZ #5044]
66272 * stdio-common/printf_fphex.c: Include <stdbool.h> and
66273 <rounding-mode.h>.
66274 (__printf_fphex): Determine rounding using get_rounding_mode and
66275 round_away.
66276 * stdio-common/tst-printf-round.c (struct hex_test): New
66277 structure.
66278 (hex_tests): New variable.
66279 (test_hex_in_one_mode): New function.
66280 (do_test): Also run tests for hex float output.
66281
66282 2012-09-21 Joseph Myers <joseph@codesourcery.com>
66283
66284 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66285 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66286 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66287 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66288 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66289 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66290 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66291 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66292
66293 2012-09-20 Joseph Myers <joseph@codesourcery.com>
66294
66295 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66296 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66297 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66298 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66299
66300 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
66301
66302 [BZ #14579]
66303 * elf/rtld.c (dl_main): Limit the check for self loading to normal
66304 mode only.
66305 * elf/tst-rtld-load-self.sh: New test.
66306 * elf/Makefile: Run it.
66307
66308 2012-09-18 Joseph Myers <joseph@codesourcery.com>
66309
66310 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66311 (tst-writev-ENV): Remove.
66312 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66313
66314 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
66315
66316 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66317
66318 2012-09-17 Joseph Myers <joseph@codesourcery.com>
66319
66320 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66321 unconditional.
66322 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66323 Likewise.
66324 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66325 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66326 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66327 Likewise.
66328
66329 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
66330
66331 [BZ #14587]
66332 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66333 * config.make.in (have-cpp-asm-debuginfo): Removed.
66334 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66335 * configure: Regenerated.
66336
66337 2012-09-14 Joseph Myers <joseph@codesourcery.com>
66338
66339 [BZ #5044]
66340 * stdio-common/printf_fp.c: Include <stdbool.h> and
66341 <rounding-mode.h>.
66342 (___printf_fp): Determine rounding using get_rounding_mode and
66343 round_away.
66344 * stdio-common/tst-printf-round.c: New file.
66345 * stdio-common/Makefile (tests): Add tst-printf-round.
66346 (link-libm): New variable.
66347 ($(objpfx)tst-printf-round): Depend in $(link-libm).
66348
66349 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
66350
66351 [BZ #14576]
66352 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66353 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66354 Likewise.
66355 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66356 Likewise.
66357
66358 2012-09-13 Joseph Myers <joseph@codesourcery.com>
66359
66360 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66361 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66362 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66363 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66364
66365 2012-09-12 Joseph Myers <joseph@codesourcery.com>
66366
66367 [BZ #14518]
66368 * include/rounding-mode.h: New file.
66369 * sysdeps/generic/get-rounding-mode.h: Likewise.
66370 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66371 * stdlib/strtod_l.c: Include <rounding-mode.h>.
66372 (MAX_VALUE): New macro.
66373 (MIN_VALUE): Likewise.
66374 (overflow_value): New function.
66375 (underflow_value): Likewise.
66376 (round_and_return): Use overflow_value and underflow_value to
66377 determine return values in overflow and underflow cases. Use
66378 round_away to determine rounding depending on rounding mode.
66379 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66380 determine return values in overflow and underflow cases.
66381 * stdlib/tst-strtod-round.c: Include <fenv.h>.
66382 (struct test_results): New structure.
66383 (struct test): Use struct test_results to store expected results
66384 for all rounding modes.
66385 (TEST): Include expected results for all rounding modes.
66386 (test_in_one_mode): New function.
66387 (do_test): Use test_in_one_mode to compute and check results.
66388 Check results for all rounding modes.
66389 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66390 $(link-libm).
66391
66392 2012-12-09 Allan McRae <allan@archlinux.org>
66393
66394 * sysdeps/i386/fpu/libm-test-ulps: Update
66395
66396 2012-09-11 Joseph Myers <joseph@codesourcery.com>
66397
66398 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66399 (_G_int32_t): Likewise.
66400 (_G_uint16_t): Likewise.
66401 (_G_uint32_t): Likewise.
66402 (_G_HAVE_BOOL): Likewise.
66403 (_G_HAVE_ATEXIT): Likewise.
66404 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66405 (_G_HAVE_IO_FILE_OPEN): Likewise.
66406 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66407 (_G_int32_t): Likewise.
66408 (_G_uint16_t): Likewise.
66409 (_G_uint32_t): Likewise.
66410 (_G_HAVE_BOOL): Likewise.
66411 (_G_HAVE_ATEXIT): Likewise.
66412 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66413 (_G_HAVE_IO_FILE_OPEN): Likewise.
66414 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66415 (_G_int32_t): Likewise.
66416 (_G_uint16_t): Likewise.
66417 (_G_uint32_t): Likewise.
66418 (_G_HAVE_BOOL): Likewise.
66419 (_G_HAVE_ATEXIT): Likewise.
66420 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66421 (_G_HAVE_IO_FILE_OPEN): Likewise.
66422
66423 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
66424
66425 * csu/libc-tls.c: Update copyright years.
66426
66427 2012-09-10 Joseph Myers <joseph@codesourcery.com>
66428
66429 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66430 [!_G_USING_THUNKS]: Remove conditional code.
66431 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66432 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66433
66434 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66435 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66436 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66437 (_G_VTABLE_LABEL_PREFIX): Likewise.
66438 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66439 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66440 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66441 (_G_VTABLE_LABEL_PREFIX): Likewise.
66442 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66443 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66444 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66445 (_G_VTABLE_LABEL_PREFIX): Likewise.
66446 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66447
66448 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
66449
66450 * libio/Makefile: Include ../Makeconfig before tests.
66451 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66452 only if $(build-shared) is yes.
66453
66454 * iconv/gconv_db.c: Update copyright years.
66455
66456 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66457
66458 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66459 unwind info if defined PIC. Fix special cases description.
66460 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66461
66462 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66463 DP_HI_MASK entry.
66464 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66465
66466 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
66467
66468 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66469
66470 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66471 is NULL.
66472
66473 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66474 (LDLIBS-tst-chk4): This.
66475 (LDFLAGS-tst-chk5): Renamed to ...
66476 (LDLIBS-tst-chk5): This.
66477 (LDFLAGS-tst-chk6): Renamed to ...
66478 (LDLIBS-tst-chk6): This.
66479 (LDFLAGS-tst-lfschk4): Renamed to ...
66480 (LDLIBS-tst-lfschk4): This.
66481 (LDFLAGS-tst-lfschk5): Renamed to ...
66482 (LDLIBS-tst-lfschk5): This.
66483 (LDFLAGS-tst-lfschk6): Renamed to ...
66484 (LDLIBS-tst-lfschk6): This.
66485
66486 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66487 on $(common-objpfx)soversions.mk.
66488
66489 2012-09-07 Joseph Myers <joseph@codesourcery.com>
66490
66491 [BZ #10014]
66492 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66493 example host name.
66494
66495 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66496
66497 * malloc/arena.c (arena_get_retry): New function that gets
66498 another arena for the caller to try its request on.
66499 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66500 current arena cannot fulfill the request.
66501 (__libc_memalign): Likewise.
66502 (__libc_memalign): Likewise.
66503 (__libc_pvalloc): Likewise.
66504 (__libc_calloc): Likewise.
66505
66506 2012-09-05 John Tobey <john.tobey@gmail.com>
66507
66508 [BZ #13542]
66509 * manual/arith.texi (Operations on Complex): Fix description
66510 of carg branch cut.
66511
66512 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66513
66514 [BZ #10014]
66515 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66516 host name.
66517
66518 [BZ #10038]
66519 * manual/memory.texi (Memory): Make order of menu items match
66520 order of sections.
66521
66522 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66523
66524 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66525 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66526 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66527
66528 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66529
66530 * csu/libc-tls.c (static_dtv): Renamed to ...
66531 (_dl_static_dtv): This. Make it global.
66532 (_dl_initial_dtv): Removed.
66533 (__libc_setup_tls): Updated.
66534 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66535 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66536 DL_INITIAL_DTV.
66537
66538 2012-09-06 Petr Machata <pmachata@redhat.com>
66539
66540 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66541 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66542 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66543 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66544
66545 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66546
66547 [BZ #14545]
66548 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66549 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66550 freeing dtv[-1].
66551
66552 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66553
66554 [BZ #14544]
66555 * Makeconfig (link-static-before-libc): Replace $(+prector)
66556 with $(+prectorT).
66557 (link-static-after-libc): Replace $(+postctor) with
66558 $(+postctorT).
66559 (link-bounded): Replace $(+prector)/$(+postctor) with
66560 $(+prectorT)/$(+postctorT).
66561 (+prectorT): New macro.
66562 (+postctorT): Likewise.
66563
66564 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66565
66566 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66567 (round_str): Handle values above the maximum for IBM long double
66568 as inexact.
66569 * stdlib/tst-strtod-round.c (tests): Regenerated.
66570
66571 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66572
66573 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66574 assembler flag.
66575 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66576 zarch_nohighgprs around the zarch optimized routines.
66577 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66578 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66579 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66580 for zarch.
66581
66582 2012-09-05 David S. Miller <davem@davemloft.net>
66583
66584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66585
66586 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66587 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66588 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66589 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66590 entries.
66591
66592 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66593
66594 * malloc/arena.c: Fold copyright years.
66595 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66596
66597 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66598
66599 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66600
66601 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66602
66603 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66604
66605 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66606
66607 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66608 change internal state upon failure.
66609
66610 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66611
66612 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66613 * malloc/memusage.c (mmap): Likewise.
66614 (mmap64, mremap): Likewise. Adjust name in comment.
66615
66616 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66617
66618 * libio/fileops.c: Fix typos in comments.
66619 * libio/oldfileops.c: Likewise.
66620 * libio/wfileops.c: Likewise.
66621
66622 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66623
66624 [BZ #1349]
66625 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66626 (tst-malloc-usable-ENV): Set environment for test case.
66627 * malloc/hooks.c (malloc_check_get_size): New function to get
66628 requested size.
66629 * malloc/malloc.c (musable): Use malloc_check_get_size.
66630 * malloc/tst-malloc-usable.c: New test case.
66631
66632 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66633
66634 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66635
66636 2012-09-05 Allan McRae <allan@archlinux.org>
66637
66638 [BZ #13966]
66639 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66640 determine header location.
66641 * configure: Regenerated.
66642
66643 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66644
66645 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66646 float format.
66647 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66648 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66649 format.
66650 (test): Regenerate.
66651
66652 2012-09-04 David S. Miller <davem@davemloft.net>
66653
66654 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66655 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66656 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66657
66658 2012-09-04 Florian Weimer <fweimer@redhat.com>
66659
66660 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66661 failures.
66662
66663 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66664
66665 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66666
66667 [BZ #9914]
66668 * libio/iogetdelim.c: Include <limits.h>.
66669 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66670 + len + 1 would overflow.
66671
66672 2012-09-03 Andreas Jaeger <aj@suse.de>
66673
66674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66675 * sysdeps/i386/fpu/libm-test-ulps: Update.
66676
66677 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66678
66679 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66680 Add s_sinf-sse2, s_conf-sse2.
66681
66682 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66683 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66684 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66685 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66686
66687 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66688 for using routine as __sinf_ia32.
66689 Use macro for function declaration and weak_alias.
66690 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66691 for using routine as __cosf_ia32.
66692 Use macro for function declaration and weak_alias.
66693
66694 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66695 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66696
66697 * sysdeps/x86_64/fpu/s_sinf.S: New file.
66698 * sysdeps/x86_64/fpu/s_cosf.S: New file.
66699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66700
66701 * math/libm-test.inc (cos_test): Add more test cases.
66702 (sin_test): Likewise.
66703 (sincos_test): Likewise.
66704
66705 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66706
66707 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66708 (IFUNC_RESOLVE): Make pointers to the specialized implementations
66709 hidden.
66710 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66711
66712 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
66713
66714 [BZ #14538]
66715 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66716 first element of the GOT.
66717 (elf_machine_load_address): Return the difference between
66718 the runtime address of _DYNAMIC and elf_machine_dynamic ().
66719
66720 2012-09-01 Allan McRae <allan@archlinux.org>
66721
66722 [BZ #13412]
66723 * configure.in (AWK): Require gawk version 3.0 or later.
66724 * configure: Regenerated.
66725
66726 2012-09-01 Joseph Myers <joseph@codesourcery.com>
66727
66728 * sysdeps/unix/sysv/linux/kernel-features.h
66729 (__ASSUME_POSIX_CPU_TIMERS): Remove.
66730 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66731 [__NR_clock_getres]: Make code unconditional.
66732 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66733 (clock_getcpuclockid): Remove code left unreachable by removal of
66734 conditionals.
66735 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66736 code unconditional.
66737 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66738 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66739 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66740 Make code unconditional.
66741 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66742 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66743 * sysdeps/unix/sysv/linux/clock_settime.c
66744 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66745 conditional code.
66746 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66747 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66748
66749 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
66750
66751 [BZ #14476]
66752 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66753 scripts/test-installation.pl.
66754
66755 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66756 and $ld_so_version if it is set.
66757
66758 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66759
66760 [BZ #14516]
66761 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66762 failure if reading from procfs failed.
66763 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66764
66765 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66766
66767 * sysdeps/unix/sysv/linux/kernel-features.h
66768 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66769 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66770 Remove conditional code.
66771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66772 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66773 Remove conditional code.
66774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66775 * sysdeps/unix/sysv/linux/i386/fxstat.c
66776 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66778 * sysdeps/unix/sysv/linux/i386/fxstatat.c
66779 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66780 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66781 * sysdeps/unix/sysv/linux/i386/lxstat.c
66782 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66784 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66785 Remove conditional code.
66786 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66787 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66788 Remove conditional code.
66789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66790 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66791 <kernel-features.h>.
66792 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66793 Remove.
66794 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66795 Remove conditional code.
66796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66797 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66798 Remove conditional.
66799
66800 2012-08-27 Mike Frysinger <vapier@gentoo.org>
66801
66802 [BZ #5400]
66803 * NEWS: Add fixed bug number.
66804
66805 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66806
66807 [BZ #14519]
66808 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66809 underflowing exponent in case of negative sign.
66810 * stdlib/tst-strtod-round-data: Add more tests.
66811 * stdlib/tst-strtod-round.c (tests): Regenerated.
66812
66813 [BZ #3479]
66814 * stdlib/strtod_l.c (NDIG): Remove.
66815 (HEXNDIG): Likewise.
66816 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66817 smallest representable value.
66818 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66819 lie within an exact representation of 1/2 ulp of the result.
66820 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66821 unconditionally.
66822 (TENS_P9_IDX): Define unconditionally.
66823 (TENS_P9_SIZE): Likewise.
66824 (TENS_P10_IDX): Likewise.
66825 (TENS_P10_SIZE): Likewise.
66826 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66827 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66828 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66829 entries for 10^2^13 and 10^2^14.
66830 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66831 (TENS_P13_IDX): Define.
66832 (TENS_P13_SIZE): Likewise.
66833 (TENS_P14_IDX): Likewise.
66834 (TENS_P14_SIZE): Likewise.
66835 (_fpioconst_pow10): Change array size to
66836 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
66837 unconditional.
66838 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66839 1024]: Add entries for 10^2^13 and 10^2^14.
66840 [LAST_POW10 > _LAST_POW10]: Remove #error.
66841 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66842 (_fpioconst_pow10): Change array size to
66843 FPIOCONST_POW10_ARRAY_SIZE.
66844 * stdlib/gen-fpioconst.c: New file.
66845 * stdlib/gen-tst-strtod-round.c: Likewise.
66846 * stdlib/tst-strtod-round-data: Likewise.
66847 * stdlib/tst-strtod-round.c: Likewise.
66848 * stdlib/Makefile (tests): Add tst-strtod-round.
66849
66850 [BZ #14459]
66851 * stdlib/strtod_l.c: Include <stdint.h>.
66852 (NDEBUG): Do not define.
66853 (round_and_return): Change EXPONENT parameter to type intmax_t.
66854 Rearrange calculations to avoid internal overflow possibilities.
66855 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66856 Rearrange calculations to avoid internal overflow possibilities.
66857 Assert that number fits inside MPNSIZE limbs.
66858 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66859 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
66860 calculations and add assertions to avoid internal overflow
66861 possibilities. Add casts to avoid signed/unsigned operations.
66862 * stdlib/tst-strtod-overflow.c: New file.
66863 * stdlib/Makefile (tests): Add tst-strtod-overflow.
66864
66865 2012-08-25 Marek Polacek <polacek@redhat.com>
66866
66867 * time/time.h: Fix some typos in comments.
66868
66869 2012-08-23 Roland McGrath <roland@hack.frob.com>
66870
66871 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66872 * posix/tst-rfc3484-2.c: Likewise.
66873 * posix/tst-rfc3484-3.c: Likewise.
66874
66875 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
66876
66877 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66878 (EF_ARM_ABI_FLOAT_HARD): Likewise.
66879
66880 2012-08-23 Joseph Myers <joseph@codesourcery.com>
66881
66882 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66883 #include of fxstatat64.c.
66884
66885 2012-08-22 Roland McGrath <roland@hack.frob.com>
66886
66887 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66888 * shadow/getspent_r.c: Likewise.
66889 * shadow/getspnam.c: Likewise.
66890 * shadow/getspnam_r.c: Likewise.
66891 * gshadow/getsgent.c: Likewise.
66892 * gshadow/getsgent_r.c: Likewise.
66893 * gshadow/getsgnam.c: Likewise.
66894 * gshadow/getsgnam_r.c: Likewise.
66895 * inet/getnetbyad.c: Likewise.
66896 * inet/getnetbyad_r.c: Likewise.
66897 * inet/getnetbynm.c: Likewise.
66898 * inet/getnetbynm_r.c: Likewise.
66899 * inet/getnetent.c: Likewise.
66900 * inet/getnetent_r.c: Likewise.
66901 * inet/getproto.c: Likewise.
66902 * inet/getproto_r.c: Likewise.
66903 * inet/getprtent.c: Likewise.
66904 * inet/getprtent_r.c: Likewise.
66905 * inet/getprtname.c: Likewise.
66906 * inet/getprtname_r.c: Likewise.
66907 * inet/getrpcbyname.c: Likewise.
66908 * inet/getrpcbyname_r.c: Likewise.
66909 * inet/getrpcbynumber.c: Likewise.
66910 * inet/getrpcbynumber_r.c: Likewise.
66911 * inet/getrpcent.c: Likewise.
66912 * inet/getrpcent_r.c: Likewise.
66913 * inet/getaliasent.c: Likewise.
66914 * inet/getaliasent_r.c: Likewise.
66915 * inet/getaliasname.c: Likewise.
66916 * inet/getaliasname_r.c: Likewise.
66917 * nscd/getgrgid_r.c: Likewise.
66918 * nscd/getgrnam_r.c: Likewise.
66919 * nscd/gethstbyad_r.c: Likewise.
66920 * nscd/gethstbynm3_r.c: Likewise.
66921 * nscd/getpwnam_r.c: Likewise.
66922 * nscd/getpwuid_r.c: Likewise.
66923 * nscd/getsrvbynm_r.c: Likewise.
66924 * nscd/getsrvbypt_r.c: Likewise.
66925 * nscd/gai.c: Likewise.
66926
66927 * configure.in (build_nscd): New substituted variable, set
66928 by --disable-build-nscd and defaults to $use_nscd.
66929 * configure: Regenerated.
66930 * config.make.in (build-nscd): New substituted variable.
66931 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66932 Change conditional to require [$(build-nscd) = yes] as well.
66933 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66934
66935 [BZ# 13696]
66936 * configure.in (use_nscd): New substituted variable, set by
66937 --disable-nscd. If enabled, define USE_NSCD.
66938 * configure: Regenerated.
66939 * config.h.in: Add USE_NSCD.
66940 * config.make.in (use-nscd): New substituted variable.
66941 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66942 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66943 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66944 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66945 (CFLAGS-getgrnam_r.c): Likewise.
66946 (CFLAGS-initgroups.c): Likewise.
66947 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66948 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66949 Variables removed.
66950 * inet/getnetgrent_r.c
66951 (nscd_setnetgrent): New function, broken out of ...
66952 (setnetgrent): ... here. Call it.
66953 (innetgr): Conditionalize nscd bits on [USE_NSCD].
66954 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66955 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66956 * nscd/Makefile (routines, aux): Move definitions after include of
66957 Makeconfig. Conditionalize on [$(use-nscd) != no].
66958 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66959 Conditionalize on [USE_NSCD].
66960 (is_nscd, nscd_init_cb): Likewise.
66961 (nss_load_library): Conditionalize init callback on [USE_NSCD].
66962 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66963 * nss/nss_db/db-init.c: Likewise.
66964 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66965 [USE_NSCD].
66966 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66967 (make_request): Use it.
66968 (cache_valid_p): New function.
66969 (__check_pf): Use it.
66970 * NEWS: Add item for --disable-nscd.
66971
66972 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
66973
66974 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66975 to support sed >= 4.2.1-20-ga9bf076.
66976 * configure: Regenerated.
66977
66978 2012-08-22 Roland McGrath <roland@hack.frob.com>
66979
66980 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66981 Conditionalize whole body on [IREL].
66982
66983 2012-08-22 Jeff Law <law@redhat.com>
66984
66985 [BZ #14505]
66986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66987 if the family is PF_UNSPEC.
66988
66989 2012-08-22 Mike Frysinger <vapier@gentoo.org>
66990
66991 * Makerules (lib-version): Rename from V.
66992 (install-lib-nosubdir): Change V to lib-version.
66993
66994 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
66995
66996 [BZ #14252]
66997 * powerpc32/power6/wcschr.c: New file.
66998 * powerpc32/power6/wcscpy.c: New file.
66999 * powerpc32/power6/wcsrchr.c: New file.
67000 * powerpc64/power6/wcschr.c: New file.
67001 * powerpc64/power6/wcscpy.c: New file.
67002 * powerpc64/power6/wcsrchr.c: New file.
67003
67004 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67005
67006 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67007 (two_way_short_needle): Use it.
67008 * string/strstr.c (AVAILABLE1_USES_J): Define.
67009 * string/strcasestr.c: Likewise.
67010
67011 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67012 array references.
67013 * string/strcasestr.c (TOLOWER): Make side-effect safe.
67014
67015 [BZ #11607]
67016 * NEWS: Add an entry.
67017 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67018 define their defaults.
67019 (two_way_short_needle): Detect end-of-string on-the-fly.
67020 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67021 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67022 * string/bug-strcasestr1.c: New test.
67023 * string/Makefile: Run it.
67024
67025 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67026
67027 [BZ #11607]
67028 * string/str-two-way.h (two_way_short_needle): Optimize matching of
67029 the first character.
67030
67031 2012-08-21 Roland McGrath <roland@hack.frob.com>
67032
67033 * csu/elf-init.c (__libc_csu_irel): Function removed.
67034 * csu/libc-start.c (apply_irel): New function.
67035 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67036
67037 2012-08-21 Joseph Myers <joseph@codesourcery.com>
67038
67039 * sysdeps/unix/sysv/linux/kernel-features.h
67040 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67041 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67042 <kernel-features.h>.
67043 [__NR_fadvise64_64]: Make code unconditional.
67044 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67045 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67046 !__NR_fadvise64_64)]: Likewise.
67047 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67048 !__NR_fadvise64_64))]: Likewise.
67049 [__NR_fadvise64]: Make code unconditional.
67050 [!__NR_fadvise64]: Remove conditional code.
67051 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67052 <kernel-features.h>.
67053 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67054 unconditional.
67055 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67056 conditional code.
67057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67058 not include <kernel-features.h>.
67059 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67060 unconditional.
67061 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67062 conditional code.
67063 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67064 include <kernel-features.h>.
67065 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67066 unconditional.
67067 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67068 conditional code.
67069
67070 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
67071
67072 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67073 slight instruction rearrangements per scrollpipe analysis.
67074 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67075
67076 2012-08-20 Roland McGrath <roland@hack.frob.com>
67077
67078 * manual/syslog.texi (syslog; vsyslog, closelog):
67079 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67080 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67081
67082 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67083 DSOCAPS to match condition on defining it.
67084
67085 2012-08-20 Joseph Myers <joseph@codesourcery.com>
67086
67087 * sysdeps/unix/sysv/linux/kernel-features.h
67088 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67090 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67091 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67093 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67094 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67096 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67097 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67098
67099 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67100 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67101
67102 * sysdeps/unix/sysv/linux/kernel-features.h
67103 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67104 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67105 unconditional.
67106 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67107 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67108 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67109 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67110 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67111 Make code unconditional.
67112 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67113 (__mmap64) [!__NR_mmap2]: Likewise.
67114 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67115 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67116 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67117 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67118 [__NR_mmap2]: Make code unconditional.
67119 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67120 (__mmap64) [!__NR_mmap2]: Likewise.
67121
67122 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67123
67124 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67125
67126 2012-08-18 Andreas Jaeger <aj@suse.de>
67127
67128 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67129
67130 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67131
67132 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67133 * include/unistd.h (__have_sock_cloexec): Likewise.
67134 (__have_pipe2): Likewise.
67135 (__have_dup3): Likewise.
67136
67137 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67138
67139 [BZ #9685]
67140 * include/unistd.h (__have_pipe2): Change define into an extern int.
67141 (__have_dup3): Likewise.
67142 * socket/have_sock_cloexec.c: Include fcntl.h.
67143 (__have_pipe2): New variable.
67144 (__have_dup3): Likewise.
67145
67146 2012-08-17 Mike Frysinger <vapier@gentoo.org>
67147
67148 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67149
67150 2012-08-17 Marek Polacek <polacek@redhat.com>
67151
67152 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67153 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67154
67155 2012-08-17 Roland McGrath <roland@hack.frob.com>
67156
67157 * configure.in: Add AC_SUBST for sysheaders.
67158 * configure: Regenerated.
67159 * config.make.in (sysheaders): New substituted variable.
67160
67161 * sysdeps/unix/mkfifo.c: Moved ...
67162 * sysdeps/posix/mkfifo.c: ... here.
67163 * sysdeps/unix/mkfifoat.c: Moved ...
67164 * sysdeps/posix/mkfifoat.c: ... here.
67165
67166 * sysdeps/unix/utime.c: Moved ...
67167 * sysdeps/posix/utime.c: ... here.
67168
67169 * sysdeps/unix/time.c: Moved ...
67170 * sysdeps/posix/time.c: ... here.
67171 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67172 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67173
67174 * sysdeps/unix/nice.c: Moved ...
67175 * sysdeps/posix/nice.c: ... here.
67176
67177 * sysdeps/unix/alarm.c: Moved ...
67178 * sysdeps/posix/alarm.c: ... here.
67179
67180 * intl/Makefile ($(codeset_mo)): Depend on the input file.
67181
67182 2012-08-17 Jeff Law <law@redhat.com>
67183
67184 * intl/Makefile (codeset_mo): New variable.
67185 ($(codeset_mo)): New target.
67186 (tst-codeset.out): Depend on that. Remove explicit rule.
67187 (tst-gettext3.out, tst-gettext5.out): Likewise.
67188 (LOCPATH-ENV, tst-codeset-ENV): New variables.
67189 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67190 * intl/tst-codeset.sh: Remove.
67191 * intl/tst-gettext3.sh: Likewise.
67192 * intl/tst-gettext5.sh: Likewise.
67193
67194 2012-08-17 Roland McGrath <roland@hack.frob.com>
67195
67196 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
67197 * sysdeps/unix/syscalls.list: ... here.
67198
67199 * sysdeps/posix/getaddrinfo.c
67200 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67201 (gaiconf_init, gaiconf_reload): Use them.
67202 [!_STATBUF_ST_NSEC]
67203 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67204 Define using time_t rather than struct timespec.
67205
67206 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67207 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67208 Macros removed.
67209 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67210 [!NO_THREADS].
67211 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67212 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67213 Likewise.
67214
67215 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67216 __libc_cleanup_push argument.
67217
67218 * bits/param.h: New file.
67219 * misc/sys/param.h: New file.
67220 * include/sys/param.h: New file.
67221 * misc/Makefile (headers): Add bits/param.h.
67222 * sysdeps/generic/sys/param.h: File removed.
67223 * sysdeps/unix/sysv/linux/bits/param.h: New file.
67224 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67225 * sysdeps/mach/hurd/bits/param.h: New file.
67226 * sysdeps/mach/hurd/sys/param.h: File removed.
67227
67228 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67229 last change.
67230
67231 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67232 [_IO_MTSAFE_IO].
67233 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67234 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67235 New macros.
67236
67237 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67238 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67239 rather than -D_IO_MTSAFE_IO conditionally.
67240 * stdio-common/Makefile (CPPFLAGS): Likewise.
67241 * wcsmbs/Makefile (CPPFLAGS): Likewise.
67242 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67243 Use $(libio-mtsafe).
67244 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67245 of -D_IO_MTSAFE_IO.
67246 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67247 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67248 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67249 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67250 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67251 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67252 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67253 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67254 (CFLAGS-fread_u_chk.c): Likewise.
67255 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67256 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67257 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67258 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67259 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67260 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67261 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67262 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67263 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67264
67265 * libio/Makefile: Test [$(libc-reentrant) = yes]
67266 instead of [$(filter %REENTRANT, $(defines)) nonempty].
67267
67268 * Makeconfig
67269 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67270 * sysdeps/pthread/configure: File removed.
67271 * sysdeps/pthread/Makeconfig: New file.
67272 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67273 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67274
67275 2012-08-16 Gary Benson <gbenson@redhat.com>
67276
67277 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67278 unmapping the first object in a namespace.
67279
67280 2012-08-16 Roland McGrath <roland@hack.frob.com>
67281
67282 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67283 (__internal_setnetgrent): ... this. Add internal_function to
67284 definition. Add libc_hidden_def.
67285 (setnetgrent): Update caller.
67286 (internal_endnetgrent): Renamed to ...
67287 (__internal_endnetgrent): ... this. Add internal_function to
67288 definition. Add libc_hidden_def.
67289 (endnetgrent): Update caller.
67290 (internal_getnetgrent_r): Renamed to ...
67291 (__internal_getnetgrent_r): ... this. Add internal_function to
67292 definition. Add libc_hidden_def.
67293 (__getnetgrent_r): Update caller.
67294 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
67295
67296 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67297
67298 * stdlib/longlong.h: Update from GCC.
67299
67300 2012-08-16 Roland McGrath <roland@hack.frob.com>
67301
67302 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67303 on _QL, which is set by umul_ppmm but never used.
67304 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67305 variables, which are set by GMP macros but never used.
67306 * stdio-common/_itowa.c (_itowa): Likewise.
67307 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67308 * stdlib/mod_1.c (mpn_mod_1): Likewise.
67309
67310 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
67311
67312 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67313 struct La_sh_regs is not constant.
67314 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67315 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67316 and struct La_sparc64_regs are not constant.
67317
67318 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67319
67320 * sysdeps/unix/sysv/linux/kernel-features.h
67321 (__ASSUME_POSIX_TIMERS): Remove.
67322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67323 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67324 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67325 Make code unconditional.
67326 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67327 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67328 Make code unconditional.
67329 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67330 * sysdeps/unix/sysv/linux/clock_nanosleep.c
67331 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67332 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67333 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67334 Make code unconditional.
67335 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67336 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67337 (__libc_missing_posix_timers): Remove.
67338
67339 2012-08-15 Roland McGrath <roland@hack.frob.com>
67340
67341 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67342 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67343
67344 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67345
67346 * elf/dl-sym.c: Include <stdlib.h>.
67347
67348 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67349 constants, which avoids warnings in 32-bit builds.
67350
67351 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67352 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67353
67354 * misc/lseek.c: File moved to ...
67355 * io/lseek.c: ... here.
67356
67357 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67358
67359 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67360 shifting LEN more than 31 bits at once.
67361
67362 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67363
67364 [BZ #14195]
67365 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67366 segmentation fault for a case of two empty input strings.
67367 * string/test-strncasecmp.c (check1): Renamed to...
67368 (bz12205): ...this.
67369 (bz14195): Add new testcase for two empty input strings and N > 0.
67370 (test_main): Call new testcase, adapt for renamed function.
67371
67372 2012-08-15 Andreas Jaeger <aj@suse.de>
67373
67374 [BZ #14090]
67375 * crypt/md5test2.c: New test, based on test supplied by Serge
67376 Belyshev <belyshev@depni.sinp.msu.ru>.
67377 * crypt/Makefile (xtests): Add md5test-giant..
67378 * crypt/Makefile ($(objpfx)md5test-giant): Add.
67379
67380 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
67381
67382 [BZ #14090]
67383 * crypt/md5.c (md5_process_block): Don't assume the buffer
67384 length is less than 2**32.
67385 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67386 length is less than 2**64.
67387
67388 2012-08-15 Roland McGrath <roland@hack.frob.com>
67389
67390 * string/str-two-way.h: Include <sys/param.h>.
67391 (MAX): Macro removed.
67392
67393 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67394 Move #define and #undef of memmove to just before and after
67395 including <string.h>.
67396
67397 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67398 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67399 and after including <string.h>. Move declarations of
67400 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67401 to before #include "string/memmove.c".
67402
67403 * include/dirent.h: Declare __getdirentries.
67404
67405 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67406 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67407
67408 2012-08-14 Mike Frysinger <vapier@gentoo.org>
67409
67410 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67411 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67412 * sysdeps/i386/configure: Regenerated.
67413 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67414 STABS_CURRENT_FILE, and STABS_FUN.
67415 (END): Remove call to STABS_FUN_END.
67416 (STABS_CURRENT_FILE1): Delete.
67417 (STABS_CURRENT_FILE): Likewise.
67418 (STABS_FUN): Likewise.
67419 (STABS_FUN_END): Likewise.
67420 (STABS_FUN2): Likewise.
67421 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67422 * sysdeps/x86_64/configure: Regenerated.
67423
67424 2012-08-14 Roland McGrath <roland@hack.frob.com>
67425
67426 * elf/dl-open.c: Include <atomic.h>.
67427 * elf/dl-lookup.c: Likewise.
67428
67429 2012-08-14 Joseph Myers <joseph@codesourcery.com>
67430
67431 * sysdeps/unix/sysv/linux/kernel-features.h
67432 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67433 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67434 unconditionally.
67435 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67436 unconditionally.
67437 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67438 condition on __ASSUME_CLONE_THREAD_FLAGS.
67439
67440 2012-08-14 Andreas Jaeger <aj@suse.de>
67441
67442 * sysdeps/i386/fpu/libm-test-ulps: Update.
67443
67444 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
67445
67446 * include/atomic.h (atomic_exchange_and_add): Split into ...
67447 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67448 New atomic macros.
67449
67450 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
67451
67452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67453
67454 2012-08-13 Jeff Law <law@redhat.com>
67455
67456 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67457 null byte in the output string.
67458
67459 2012-08-10 Joseph Myers <joseph@codesourcery.com>
67460
67461 * sysdeps/unix/sysv/linux/kernel-features.h
67462 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67463 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67464 (__ASSUME_ARG_MAX_STACK_BASED): Define.
67465 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67466 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67467 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
67468 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67469
67470 2012-08-09 Jeff Law <law@redhat.com>
67471
67472 [BZ #13939]
67473 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67474 When avoid_arena is set, don't retry in the that arena. Pick the
67475 next one, whatever it might be.
67476 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67477 (arena_lock): Pass in new parameter to arena_get2.
67478 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67479 arena_get2.
67480 (__libc_malloc): Unify retrying after main arena failure with
67481 __libc_memalign version.
67482 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67483
67484 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
67485
67486 [BZ #14166]
67487 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67488 to __redirect_strstr.
67489 (__strstr_sse42): Use typeof __redirect_strstr.
67490 (__strstr_ia32): Likewise.
67491 (__libc_strstr): New prototype.
67492 (strstr): Renamed to ...
67493 (__libc_strstr): This.
67494 (strstr): New strong alias of __libc_strstr.
67495 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67496 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67497 __redirect_time.
67498 Include <time.h>.
67499 (__libc_time): New prototype.
67500 (time_ifunc): Replace time with __libc_time.
67501 (time): New strong alias and hidden definition of __libc_time.
67502 (__GI_time): Remove strong alias.
67503 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67504 Include <stddef.h>.
67505 (memmove): Redefined to __redirect_memmove.
67506 (__memmove_sse2): Use typeof __redirect_memmove.
67507 (__memmove_ssse3): Likewise.
67508 (__memmove_ssse3_back): Likewise.
67509 (__libc_memmove): New prototype.
67510 (memmove): Renamed to ...
67511 (__libc_memmove): This.
67512 (memmove): New strong alias of __libc_memmove.
67513
67514 2012-08-08 Mark Salter <msalter@redhat.com>
67515
67516 * elf/elf.h
67517 (R_MN10300_TLS_GD): Define.
67518 (R_MN10300_TLS_LD): Likewise.
67519 (R_MN10300_TLS_LDO): Likewise.
67520 (R_MN10300_TLS_GOTIE): Likewise.
67521 (R_MN10300_TLS_IE): Likewise.
67522 (R_MN10300_TLS_LE): Likewise.
67523 (R_MN10300_TLS_DTPMOD): Likewise.
67524 (R_MN10300_TLS_DTPOFF): Likewise.
67525 (R_MN10300_TLS_TPOFF): Likewise.
67526 (R_MN10300_SYM_DIFF): Likewise.
67527 (R_MN10300_ALIGN): Likewise.
67528 (R_MN10300_NUM): Update.
67529
67530 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67531
67532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67533 Remove.
67534
67535 2012-08-08 Roland McGrath <roland@hack.frob.com>
67536
67537 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67538
67539 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67540 sysdeps/unix -> sysdeps/posix move.
67541 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67542
67543 2012-08-07 Allan McRae <allan@archlinux.org>
67544
67545 [BZ #14303]
67546 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67547 (SUNOS_CPP): Likewise.
67548 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67549 not found.
67550 (open_input): Call CPP using execvp.
67551
67552 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67553
67554 * sysdeps/unix/sysv/linux/kernel-features.h
67555 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67556 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67557 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67558 (__ASSUME_WAITID_SYSCALL): Likewise.
67559 * sysdeps/unix/sysv/linux/dl-execstack.c
67560 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67561 code unconditional.
67562 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67563 conditional code.
67564 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67565 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67566 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67567 code.
67568 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67569 unconditional.
67570 [__ASSUME_WAITID_SYSCALL]: Likewise.
67571 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67572
67573 2012-08-07 Roland McGrath <roland@hack.frob.com>
67574
67575 * sysdeps/unix/closedir.c: Renamed to ...
67576 * sysdeps/posix/closedir.c: ... here.
67577 * sysdeps/unix/dirfd.c: Renamed to ...
67578 * sysdeps/posix/dirfd.c: ... here.
67579 * sysdeps/unix/dirstream.h: Renamed to ...
67580 * sysdeps/posix/dirstream.h: ... here.
67581 * sysdeps/unix/fdopendir.c: Renamed to ...
67582 * sysdeps/posix/fdopendir.c: ... here.
67583 * sysdeps/unix/opendir.c: Renamed to ...
67584 * sysdeps/posix/opendir.c: ... here.
67585 * sysdeps/unix/readdir.c: Renamed to ...
67586 * sysdeps/posix/readdir.c: ... here.
67587 * sysdeps/unix/readdir_r.c: Renamed to ...
67588 * sysdeps/posix/readdir_r.c: ... here.
67589 * sysdeps/unix/rewinddir.c: Renamed to ...
67590 * sysdeps/posix/rewinddir.c: ... here.
67591 * sysdeps/unix/seekdir.c: Renamed to ...
67592 * sysdeps/posix/seekdir.c: ... here.
67593 * sysdeps/unix/telldir.c: Renamed to ...
67594 * sysdeps/posix/telldir.c: ... here.
67595 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67596 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67597 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67598 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67599
67600 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67601 * bits/fcntl.h: ... here.
67602
67603 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67604 not 0.
67605 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67606 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67607 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67608 (struct flock): Move l_start, l_len to the beginning.
67609 Use __pid_t for l_pid.
67610 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67611 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67612 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67613 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67614 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67615 [__USE_LARGEFILE64] (struct flock64): New type.
67616 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67617
67618 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67619 * bits/dirent.h: ... here.
67620
67621 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67622 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67623
67624 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67625
67626 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67627 Change from 2.6.0 to 2.6.16.
67628 * sysdeps/unix/sysv/linux/configure: Regenerated.
67629 * sysdeps/unix/sysv/linux/kernel-features.h
67630 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67631 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67632 version.
67633 (__ASSUME_UTIMES): Likewise.
67634 (__ASSUME_CLONE_STOPPED): Remove.
67635 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67636 architectures, not kernel version.
67637 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67638 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67639 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67640 (__ASSUME_WAITID_SYSCALL): Likewise.
67641 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67642 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67643 * README: State 2.6.16 as minimum Linux kernel version. Do not
67644 refer to older versions.
67645
67646 2012-08-06 Roland McGrath <roland@hack.frob.com>
67647
67648 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67649 Define alphasort64 as an alias.
67650 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67651 Define versionsort64 as an alias.
67652 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67653 Define scandir64 as an alias.
67654 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67655 Define scandirat64 as an alias.
67656 * dirent/alphasort64.c (alphasort64):
67657 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67658 * dirent/versionsort64.c: Likewise.
67659 * dirent/scandir64.c: Likewise.
67660 * dirent/scandirat64.c: Likewise.
67661 * sysdeps/wordsize-64/alphasort.c: File removed.
67662 * sysdeps/wordsize-64/alphasort64.c: File removed.
67663 * sysdeps/wordsize-64/scandir.c: File removed.
67664 * sysdeps/wordsize-64/scandir64.c: File removed.
67665 * sysdeps/wordsize-64/scandirat.c: File removed.
67666 * sysdeps/wordsize-64/scandirat64.c: File removed.
67667 * sysdeps/wordsize-64/versionsort.c: File removed.
67668 * sysdeps/wordsize-64/versionsort64.c: File removed.
67669 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67670 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67671 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67672 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67673 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67674 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67677
67678 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67680 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67682 [defined __arch64__ || defined __sparcv9]
67683 (__INO_T_MATCHES_INO64_T): New macro.
67684 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67685 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67686 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67687 * sysdeps/unix/sysv/linux/bits/dirent.h
67688 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67689 (_DIRENT_MATCHES_DIRENT64): New macro.
67690
67691 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67692 Define lockf64 as an alias.
67693 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67694 Define fseeko64 as an alias.
67695 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67696 Define ftello64 as an alias.
67697 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67698 Define _IO_fgetpos64 and fgetpos64 as aliases.
67699 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67700 Define _IO_fsetpos64 and fsetpos64 as aliases.
67701 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67702 Conditionalize body on this.
67703 * libio/fseeko64.c: Likewise.
67704 * libio/ftello64.c: Likewise.
67705 * libio/iofgetpos64.c: Likewise.
67706 * libio/iofsetpos64.c: Likewise.
67707 * sysdeps/wordsize-64/lockf.c: File removed.
67708 * sysdeps/wordsize-64/lockf64.c: File removed.
67709 * sysdeps/wordsize-64/fseeko.c: File removed.
67710 * sysdeps/wordsize-64/fseeko64.c: File removed.
67711 * sysdeps/wordsize-64/ftello.c: File removed.
67712 * sysdeps/wordsize-64/ftello64.c: File removed.
67713 * sysdeps/wordsize-64/iofgetpos.c: File removed.
67714 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67715 * sysdeps/wordsize-64/iofsetpos.c: File removed.
67716 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67717 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67718 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67719 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67720 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67721 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67722 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67723 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67724 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67725 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67726 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67727
67728 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67730 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67732 [defined __arch64__ || defined __sparcv9]
67733 (__OFF_T_MATCHES_OFF64_T): New macro.
67734 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67735 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67737 (__OFF_T_MATCHES_OFF64_T): New macro.
67738
67739 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67740
67741 * stdlib/secure-getenv.c (__secure_getenv): Replace
67742 GLIBC_2_16 with GLIBC_2_17.
67743
67744 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67745
67746 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67747 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67748
67749 2012-08-03 David S. Miller <davem@davemloft.net>
67750
67751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67752
67753 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67754
67755 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67756 Remove.
67757 (__ASSUME_CORRECT_SI_PID): Likewise.
67758 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67759 (__ASSUME_TMPFS_NAME): Likewise.
67760 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67761 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67762 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67763 (HAVE_AUX_SECURE): Make definition unconditional.
67764 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67765 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67766
67767 2012-08-03 Roland McGrath <roland@hack.frob.com>
67768
67769 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67770 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67771 * sysdeps/mach/hurd/eloop-threshold.h: New file.
67772 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67773 __eloop_threshold instead of SYMLOOP_MAX.
67774
67775 * sysdeps/generic/eloop-threshold.h: New file.
67776 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67777 of MAXSYMLINKS.
67778 * elf/chroot_canon.c (chroot_canon): Likewise.
67779
67780 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67781
67782 [BZ #13717]
67783 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67784 Change to 2.6.0 everywhere.
67785 * sysdeps/unix/sysv/linux/configure: Regenerated.
67786 * sysdeps/unix/sysv/linux/kernel-features.h
67787 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67788 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67789 kernel versions.
67790 (__ASSUME_POSIX_TIMERS): Define unconditionally.
67791 (__ASSUME_FUTEX_REQUEUE): Remove.
67792 (__ASSUME_STATFS64): Define unconditionally.
67793 (__ASSUME_AT_SECURE): Likewise.
67794 (__ASSUME_CORRECT_SI_PID): Likewise.
67795 (__ASSUME_TGKILL): Define without depending on kernel version for
67796 i386.
67797 (__ASSUME_UTIMES): Likewise.
67798 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67799 kernel version.
67800 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67801 (__ASSUME_TMPFS_NAME): Likewise.
67802 * README: Update reference to Linux kernel versions.
67803
67804 2012-08-02 Marek Polacek <polacek@redhat.com>
67805
67806 [BZ# 14150]
67807 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
67808 libc_cv_asm_type_prefix with %.
67809 * configure: Regenerated.
67810 * include/libc-symbols.h: Remove comment about
67811 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67812 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67813 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67814 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67815 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67816 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67817 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67818 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67819 * elf/tst-unique2mod1.c: Likewise.
67820 * elf/tst-unique1mod2.c: Likewise.
67821 * elf/tst-unique1mod1.c: Likewise.
67822 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67823 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67824 Replace ASM_TYPE_DIRECTIVE with .type.
67825 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67826 * sysdeps/i386/sysdep.h: Likewise.
67827 * sysdeps/x86_64/sysdep.h: Likewise.
67828 * sysdeps/sh/sysdep.h: Likewise.
67829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67830 Do not define ASM_TYPE_DIRECTIVE.
67831 * sysdeps/powerpc/sysdep.h: Likewise.
67832 * sysdeps/powerpc/powerpc32/sysdep.h:
67833 Replace ASM_TYPE_DIRECTIVE with .type.
67834 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67835 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67836 * sysdeps/i386/fpu/e_powf.S: Likewise.
67837 * sysdeps/i386/fpu/e_expl.S: Likewise.
67838 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67839 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67840 * sysdeps/i386/fpu/e_pow.S: Likewise.
67841 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67842 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67843 * sysdeps/i386/fpu/s_expm1.S: Likewise.
67844 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67845 * sysdeps/i386/fpu/e_log2.S: Likewise.
67846 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67847 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67848 * sysdeps/i386/fpu/e_powl.S: Likewise.
67849 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67850 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67851 * sysdeps/i386/fpu/e_logl.S: Likewise.
67852 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67853 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67854 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67855 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67856 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67857 * sysdeps/i386/fpu/e_log.S: Likewise.
67858 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67859 * sysdeps/i386/fpu/e_logf.S: Likewise.
67860 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67861 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67862 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67863 * sysdeps/i386/fpu/e_log10.S: Likewise.
67864 * sysdeps/i386/fpu/s_frexp.S: Likewise.
67865 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67866 * sysdeps/i386/fpu/s_asinh.S: Likewise.
67867 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67868 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67869 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67870 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67871 * sysdeps/i386/i686/strtok.S: Likewise.
67872 * sysdeps/i386/i386-mcount.S: Likewise.
67873 * sysdeps/i386/strtok.S: Likewise.
67874 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67875 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67876 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67877 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67878 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67879 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67880 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67881 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67883 * sysdeps/x86_64/_mcount.S: Likewise.
67884 * sysdeps/x86_64/strtok.S: Likewise.
67885 * sysdeps/sh/_mcount.S: Likewise.
67886
67887 2012-08-01 Roland McGrath <roland@hack.frob.com>
67888
67889 * libio/iofopen.c: Include <fcntl.h>.
67890 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67891 (_IO_fopen64, fopen64): Define as aliases.
67892 * libio/iofopen64.c: Include <fcntl.h>.
67893 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67894 Conditionalize body on this.
67895 * sysdeps/wordsize-64/iofopen.c: File removed.
67896 * sysdeps/wordsize-64/iofopen64.c: File removed.
67897
67898 2012-08-01 Marek Polacek <polacek@redhat.com>
67899
67900 * libc/Makeconfig: Use elf in place of binfmt-subdir.
67901 Use dlfcn directly instead of a variable.
67902 (binfmt-subdir): Do not define.
67903 (dlfcn): Likewise.
67904
67905 2012-08-01 Joseph Myers <joseph@codesourcery.com>
67906
67907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67908 Remove all definitions.
67909 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67910 <kernel-features.h>.
67911 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67912 (miss_F_GETOWN_EX): Remove all definitions.
67913 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67914 macro definition.
67915 [!__ASSUME_FCNTL64]: Remove conditional code.
67916 [__ASSUME_FCNTL64]: Make code unconditional.
67917 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67918 <kernel-features.h>.
67919 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67920 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67921 (lockf64) [__NR_fcntl64]: Make code unconditional.
67922 (lockf64) [__ASSUME_FCNTL64]: Likewise.
67923
67924 * sysdeps/unix/sysv/linux/kernel-features.h
67925 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67926 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67927 Make code unconditional.
67928 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67929 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67931 [__NR_vfork]: Make code unconditional.
67932 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67933 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67935 [__NR_vfork]: Make code unconditional.
67936 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67937 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67938
67939 2012-08-01 Roland McGrath <roland@hack.frob.com>
67940
67941 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67942 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67943
67944 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67945 Define mkstemp64 as an alias.
67946 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67947 Define mkstemps64 as an alias.
67948 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67949 Define mkostemp64 as an alias.
67950 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67951 Define mkostemps64 as an alias.
67952 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67953 Conditionalize body on this.
67954 * misc/mkostemp64.c: Likewise.
67955 * misc/mkostemps64.c: Likewise.
67956 * misc/mkstemps64.c: Likewise.
67957 * sysdeps/wordsize-64/mkstemp64.c: File removed.
67958 * sysdeps/wordsize-64/mkostemp64.c: File removed.
67959 * sysdeps/wordsize-64/mkostemp.c: File removed.
67960 * sysdeps/wordsize-64/mkstemp.c: File removed.
67961 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67962 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67963 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67964 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67965
67966 [BZ #14138]
67967 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67968 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67969 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67970 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67971
67972 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67973 compat_symbol macros from <shlib-compat.h> rather than the underlying
67974 default_symbol_version and symbol_version macros, so that DEFAULT
67975 lines in shlib-versions are respected.
67976 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67977
67978 2012-08-01 Florian Weimer <fweimer@redhat.com>
67979
67980 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67981 Declare with warn_unused_result.
67982 (setgid, setregid, setegid, setresgid): Likewise.
67983 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67984 Likewise.
67985 * WUR-REPORT: Remove set*id functions.
67986
67987 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
67988
67989 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67990
67991 2012-07-31 Roland McGrath <roland@hack.frob.com>
67992
67993 [BZ #10191]
67994 * include/sys/socket.h (__libc_accept, __libc_accept4):
67995 Add attribute_hidden.
67996 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67997
67998 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67999 use of PTR_MANGLE.
68000 * inet/getnetgrent_r.c (setup): Likewise.
68001
68002 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68003
68004 2012-07-31 David S. Miller <davem@davemloft.net>
68005
68006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68007
68008 2012-07-31 Joseph Myers <joseph@codesourcery.com>
68009
68010 [BZ #13629]
68011 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68012 value between 1.0 and 2.0 and smaller part has absolute value less
68013 than 1.0.
68014 * math/s_clog10.c (__clog10): Likewise.
68015 * math/s_clog10f.c (__clog10f): Likewise.
68016 * math/s_clog10l.c (__clog10l): Likewise.
68017 * math/s_clogf.c (__clogf): Likewise.
68018 * math/s_clogl.c (__clogl): Likewise.
68019 * math/libm-test.inc (clog_test): Add more tests.
68020 (clog10_test): Likewise.
68021 * sysdeps/i386/fpu/libm-test-ulps: Update.
68022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68023
68024 2012-07-31 Florian Weimer <fweimer@redhat.com>
68025
68026 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68027 Exit with zero in case no suitable GID is found, and write a
68028 message to standard error.
68029
68030 2012-07-30 Roland McGrath <roland@hack.frob.com>
68031
68032 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68033 rather than to 1.
68034 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68035 (MAXPATHLEN): Removed.
68036 (NOGROUP, NODEV): New macros.
68037 (setbit, clrbit, isset, isclr): New macros.
68038 (howmany, roundup, powerof2): New macros.
68039 (DEV_BSIZE): New macro.
68040
68041 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68042 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68043
68044 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68045 definition on [!__NO_LONG_DOUBLE_MATH].
68046
68047 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68048 PTR_MANGLE and PTR_DEMANGLE.
68049
68050 * socket/accept4.c (accept4): Rename to __libc_accept4.
68051 Define accept4 as a weak alias.
68052
68053 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68054 on [_DIRENT_HAVE_D_TYPE].
68055 * io/ftw.c (ftw_dir): Likewise.
68056
68057 * io/xmknod.c (__xmknod): Don't check PATH for being null.
68058
68059 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68060
68061 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68062 Use the BSD numbers rather than the arbitrary ones we had.
68063 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68064 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68065 (SIGXCPU, SIGXFSZ): New macros.
68066 (_NSIG): Now 32.
68067
68068 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68069 initializer on [_LIBC_REENTRANT].
68070
68071 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68072 definitions inside [_POSIX_MAPPED_FILES].
68073
68074 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68075
68076 * dirent/opendir.c: Include <fcntl.h>.
68077
68078 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68079 (__libc_getspecific): Likewise.
68080 (__libc_key_create): Likewise.
68081
68082 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68083 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68084 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68085 (tmpfile64): Define as alias.
68086 * sysdeps/wordsize-64/tmpfile.c: File removed.
68087 * sysdeps/wordsize-64/tmpfile64.c: File removed.
68088 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68089 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68090
68091 * stdio-common/vfscanf.c: Include <stdbool.h>.
68092 * nss/makedb.c: Likewise.
68093 * stdio-common/_i18n_number.h: Likewise.
68094 * argp/argp-help.c: Likewise.
68095 * posix/wordexp.c: Likewise.
68096 * sysdeps/posix/spawni.c: Likewise.
68097 * nss/nss_files/files-initgroups.c: Likewise.
68098 * stdio-common/reg-modifier.c: Include <stdlib.h>.
68099 * nss/nss_files/files-initgroups.c: Likewise.
68100 * nss/nss_db/db-netgrp.c: Likewise.
68101 * nss/nss_db/db-initgroups.c: Likewise.
68102 * io/fchmodat.c: Include <sys/stat.h>.
68103
68104 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68105 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68106
68107 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68108 [HAVE_MMAP].
68109
68110 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68111 Add multiple inclusion protection.
68112
68113 2012-07-27 David S. Miller <davem@davemloft.net>
68114
68115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68116
68117 2012-07-27 Gary Benson <gbenson@redhat.com>
68118
68119 [BZ #14298]
68120 * elf/rtld.c: Include <stap-probe.h>.
68121 (dl_main): Added static probes "init_start" and "init_complete".
68122 * elf/dl-load.c: Include <stap-probe.h>.
68123 (lose): Take new parameter "nsid".
68124 Added static probe "map_failed".
68125 (_dl_map_object_from_fd): Pass namespace id to lose.
68126 Added static probe "map_start".
68127 (open_verify): Pass namespace id to lose.
68128 * elf/dl-open.c: Include <stap-probe.h>.
68129 (dl_open_worker) Added static probes "map_complete", "reloc_start"
68130 and "reloc_complete".
68131 * elf/dl-close.c: Include <stap-probe.h>.
68132 (_dl_close_worker): Added static probes "unmap_start" and
68133 "unmap_complete".
68134 * elf/rtld-debugger-interface.txt: New file documenting the above.
68135
68136 2012-07-26 Roland McGrath <roland@hack.frob.com>
68137
68138 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68139 rather than a string variable.
68140 * sunrpc/rpc_main.c (h_output): Likewise.
68141 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68142
68143 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
68144
68145 * inet/check_native.c: New file.
68146
68147 2012-07-26 Joseph Myers <joseph@codesourcery.com>
68148
68149 [BZ #13629]
68150 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68151 if larger part has absolute value 1.0.
68152 * math/s_clog10.c (__clog10): Likewise.
68153 * math/s_clog10f.c (__clog10f): Likewise.
68154 * math/s_clog10l.c (__clog10l): Likewise.
68155 * math/s_clogf.c (__clogf): Likewise.
68156 * math/s_clogl.c (__clogl): Likewise.
68157 * math/libm-test.inc (clog_test): Add more tests.
68158 (clog10_test): Likewise.
68159 * sysdeps/i386/fpu/libm-test-ulps: Update.
68160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68161
68162 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68163 (pltexit): Likewise.
68164 (La_regs): Likewise.
68165 (La_retval): Likewise.
68166 (int_retval): Likewise.
68167 Update #error for removed macros to refer only to definitions in
68168 tst-audit.h.
68169 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68170 macro.
68171 (pltexit): Likewise.
68172 (La_regs): Likewise.
68173 (La_retval): Likewise.
68174 (int_retval): Likewise.
68175 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68176 macro.
68177 (pltexit): Likewise.
68178 (La_regs): Likewise.
68179 (La_retval): Likewise.
68180 (int_retval): Likewise.
68181 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68182 macro.
68183 (pltexit): Likewise.
68184 (La_regs): Likewise.
68185 (La_retval): Likewise.
68186 (int_retval): Likewise.
68187 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68188 macro.
68189 (pltexit): Likewise.
68190 (La_regs): Likewise.
68191 (La_retval): Likewise.
68192 (int_retval): Likewise.
68193 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68194 macro.
68195 (pltexit): Likewise.
68196 (La_regs): Likewise.
68197 (La_retval): Likewise.
68198 (int_retval): Likewise.
68199 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68200 macro.
68201 (pltexit): Likewise.
68202 (La_regs): Likewise.
68203 (La_retval): Likewise.
68204 (int_retval): Likewise.
68205 * sysdeps/generic/tst-audit.h: Update comment to refer only to
68206 macro definitions in tst-audit.h.
68207 * sysdeps/i386/tst-audit.h: New file.
68208 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68209 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68210 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68211 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68212 * sysdeps/sh/tst-audit.h: Likewise.
68213 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68214 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68215 * sysdeps/x86_64/tst-audit.h: Likewise.
68216
68217 2012-07-26 Andreas Jaeger <aj@suse.de>
68218
68219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68220 ptrace.
68221
68222 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68223 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68224 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68225 PTRACE_O_MASK.
68226 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68227 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68228 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68229
68230 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68231 value.
68232
68233 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68234 _sigsys.
68235 (si_call_addr, si_syscall, si_arch): Define new macro.
68236 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68237 _sigsys.
68238 (si_call_addr, si_syscall, si_arch): Define new marcro.
68239 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68240 _sigsys.
68241 (si_call_addr, si_syscall, si_arch): Define new macro.
68242 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68243 _sigsys.
68244 (si_call_addr, si_syscall, si_arch): Define new macro.
68245
68246 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68247
68248 [BZ #13717]
68249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68250 Change to 2.4.21 where previously 2.4.1.
68251 * sysdeps/unix/sysv/linux/configure: Regenerated.
68252 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68253 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68254 Linux kernel version.
68255 (__ASSUME_STD_AUXV): Remove.
68256 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68257 kernel version.
68258 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68259 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68260 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68261 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68262 (__ASSUME_NETLINK_SUPPORT): Likewise.
68263 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68264 (__no_netlink_support): Remove conditional definition.
68265 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68266 Remove.
68267 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68268 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68269 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68270 (if_nameindex_ioctl): Remove.
68271 (if_nameindex_netlink): Do not handle __no_netlink_support.
68272 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68273 code.
68274 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68275 Remove conditional code.
68276 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68277 code.
68278 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68279 unconditional.
68280 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68281 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68282 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68283 Remove.
68284 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68285 [!__ASSUME_STD_AUXV]: Remove conditional code.
68286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68287 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68288 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68290 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68291 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68292 code.
68293 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68295 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68296 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68297 conditional code.
68298 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68300 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68301 code.
68302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68303 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68304 conditional code.
68305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68306 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68307 code unconditional.
68308 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68309 conditional code.
68310 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68311 unconditional.
68312 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68313 conditional code.
68314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68315 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68316 unconditional.
68317 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68318 conditional code.
68319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68320 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68321 code unconditional.
68322 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68323 conditional code.
68324 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68325 unconditional.
68326 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68327 conditional code.
68328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68329 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68330 code unconditional.
68331 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68332 conditional code.
68333 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68334 unconditional.
68335 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68336 conditional code.
68337
68338 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
68339
68340 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68341 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68342 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68343 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68344 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68345 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68346 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68347 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68348 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68349 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68350 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68351 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68352 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68353 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68354 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68355 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68356 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68357 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68358 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68360 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68361 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68362 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68363
68364 2012-07-25 Florian Weimer <fweimer@redhat.com>
68365
68366 * Versions.def: Add GLIBC_2.17.
68367 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68368 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68369 Introduce __libc_secure_getenv.
68370 * stdlib/Versions (2.17): Add secure_getenv
68371 (GLIBC_PRIVATE): Add __libc_secure_getenv.
68372 * stdlib/secure-getenv.c: Rename __secure_getenv to
68373 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
68374 symbol __secure_getenv for GLIBC_2.0.
68375 * stdlib/tst-secure-getenv.c: New.
68376 * stdlib/Makefile (tests): Add testcase.
68377 * manual/startup.texi (Environment Access): Document
68378 secure_getenv.
68379 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68380 __libc_secure_getenv.
68381 * inet/ruserpass.c (ruserpass): Likewise.
68382 * malloc/mtrace.c (mtrace): Likewise.
68383 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68384 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68385 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68386 * sysdeps/posix/tempname.c: Likewise. Evaluate
68387 HAVE_SECURE_GETENV.
68388 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68389 __secure_getenv to __libc_secure_getenv.
68390 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68392 Likewise.
68393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68394 Likewise.
68395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68402
68403 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68404
68405 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68406 (struct La_i86_retval): Likewise.
68407 (struct La_x86_64_regs): Likewise.
68408 (struct La_x86_64_retval): Likewise.
68409 (struct La_x32_regs): Likewise.
68410 (struct La_x32_retval): Likewise.
68411 (struct La_ppc32_regs): Likewise.
68412 (struct La_ppc32_retval): Likewise.
68413 (struct La_ppc64_regs): Likewise.
68414 (struct La_ppc64_retval): Likewise.
68415 (struct La_sh_regs): Likewise.
68416 (struct La_sh_retval): Likewise.
68417 (struct La_s390_32_regs): Likewise.
68418 (struct La_s390_32_retval): Likewise.
68419 (struct La_s390_64_regs): Likewise.
68420 (struct La_s390_64_retval): Likewise.
68421 (struct La_sparc32_regs): Likewise.
68422 (struct La_sparc32_retval): Likewise.
68423 (struct La_sparc64_regs): Likewise.
68424 (struct La_sparc64_retval): Likewise.
68425 (struct audit_ifaces): Remove architecture-specific pltenter and
68426 pltexit members.
68427 * sysdeps/i386/ldsodefs.h: New file.
68428 * sysdeps/powerpc/ldsodefs.h: Likewise.
68429 * sysdeps/s390/ldsodefs.h: Likewise.
68430 * sysdeps/sh/ldsodefs.h: Likewise.
68431 * sysdeps/sparc/ldsodefs.h: Likewise.
68432 * sysdeps/x86_64/ldsodefs.h: Likewise.
68433
68434 2012-07-25 Marek Polacek <polacek@redhat.com>
68435
68436 [BZ #6808]
68437 * math/libm-test.inc (yn_test): Add another test.
68438 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68439 to ERANGE when the result is +-Inf.
68440 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68441 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68442 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68443 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68444
68445 2012-07-24 Joseph Myers <joseph@codesourcery.com>
68446
68447 * conform/data/time.h-data (NULL): Use macro-constant. Require
68448 equal to 0.
68449 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
68450 clock_t.
68451 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
68452
68453 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
68454
68455 * configure.in <sysdeps resolving>: Correct printing
68456 Implies_before.
68457 * configure: Regenerate.
68458
68459 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
68460
68461 * math/w_ilogb.c: Include <limits.h>.
68462 * math/w_ilogbl.c: Likewise.
68463
68464 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68465
68466 * manual/lang.texi (__va_copy): Document primarily as ISO C99
68467 va_copy. Document allowing for unavailable va_copy only as
68468 pre-C99 compatibility.
68469 * manual/string.texi (Copying and Concatenation): Use va_copy
68470 instead of __va_copy in concat example.
68471
68472 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
68473
68474 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68475 (__sendto): Use create_address_port. Initialize APORT and deallocate
68476 it if not null.
68477
68478 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68479 with O_NOLINK passed to __file_name_lookup.
68480
68481 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68482 with O_NOLINK passed to __file_name_lookup.
68483
68484 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68485 negative N or less than NGIDS.
68486
68487 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68488 type to string_t. Set ERANGE as errno and return it if NAME is not big
68489 enough. Use memcpy instead of strncpy.
68490
68491 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68492
68493 * elf/Makefile (check-data): Remove.
68494 (localplt.data): New vpath directive.
68495 ($(objpfx)check-localplt.out): Use localplt.data from vpath
68496 instead of $(check-data).
68497 * scripts/data/localplt-generic.data: Move to ...
68498 * sysdeps/generic/localplt.data: ... here.
68499 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68500 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68501 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68503 ... here.
68504 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68506 ... here.
68507 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68509 ... here.
68510 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68512 ... here.
68513 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68515 ... here.
68516 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68518 ... here.
68519
68520 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68521
68522 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68523 PPC32 and PPC64 files.
68524 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68525 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68526
68527 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68528
68529 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68530 __makecontext_ret to ...
68531 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68532 ... here and call exit if uc_link is NULL. New file.
68533 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68534 __makecontext_ret.S.
68535 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68536 __makecontext_ret to ...
68537 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68538 ... here and call exit if uc_link is NULL. New file.
68539 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68540 __makecontext_ret.S.
68541
68542 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68543
68544 * elf/elf.h (R_390_IRELATIVE): New definition.
68545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68546 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68547 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68548 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68549 (elf_machine_lazy_rel): Likewise.
68550 * sysdeps/s390/dl-irel.h: New file.
68551 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68552 * sysdeps/s390/s390-64/memset.S: New asm code.
68553 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68554 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68555 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68556 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68557 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68558 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68559 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68560 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68561 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68562 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68563 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68564 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68565 * sysdeps/s390/s390-32/memset.S: New asm code.
68566 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68567
68568 2012-07-17 Marek Polacek <polacek@redhat.com>
68569
68570 [BZ #14349]
68571 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68572 * sysdeps/s390/s390-64/configure.in: Likewise.
68573 * sysdeps/sparc/configure.in: Likewise.
68574 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68575 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68576 * sysdeps/i386/configure.in: Likewise.
68577 * sysdeps/x86_64/configure.in: Likewise.
68578 * sysdeps/sh/configure.in: Likewise.
68579 * sysdeps/s390/s390-32/configure: Regenerated.
68580 * sysdeps/s390/s390-64/configure: Likewise.
68581 * sysdeps/x86_64/configure: Likewise.
68582 * sysdeps/sh/configure: Likewise.
68583 * sysdeps/powerpc/powerpc64/configure: Likewise.
68584 * sysdeps/powerpc/powerpc32/configure: Likewise.
68585 * sysdeps/sparc/configure: Likewise.
68586 * sysdeps/i386/configure: Likewise.
68587
68588 * elf/dl-open.c: Comment fixes.
68589
68590 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68591
68592 * Makefile [CXX] (check-data): Remove.
68593 [CXX] (c++-types.data): New vpath directive.
68594 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68595 vpath. Do not allow for C++ type data being missing.
68596 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68597 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68598 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68599 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68600 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68601 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68602 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68604 ... here.
68605 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68607 ... here.
68608 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68610 ... here.
68611 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68613 ... here.
68614 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68616 ... here.
68617 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68619 ... here.
68620 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68622 ... here.
68623 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68625
68626 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68627 definitions to architecture-specific files.
68628 (TLS_IE): Likewise.
68629 (TLS_LD): Likewise.
68630 (TLS_GD): Likewise.
68631 * sysdeps/i386/tls-macros.h: New file.
68632 * sysdeps/powerpc/tls-macros.h: Likewise.
68633 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68634 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68635 * sysdeps/sh/tls-macros.h: Likewise.
68636 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68637 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68638 * sysdeps/x86_64/tls-macros.h: Likewise.
68639
68640 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68641
68642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68643 zero value for regular exit case.
68644
68645 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68646 (__start_context): Preserve zero value for regular exit case.
68647
68648 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68649 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68650
68651 * manual/setjmp.texi (setcontext): Clarify normal process
68652 termination when uc_link is the null pointer.
68653 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68654 exit call.
68655
68656 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68657
68658 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68659 preprocessor. Test for each exception mask separately.
68660
68661 2012-07-16 Andreas Jaeger <aj@suse.de>
68662
68663 * po/ru.po: Update from translation team.
68664
68665 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68666
68667 * conform/data/string.h-data (NULL): Use macro-constant. Require
68668 equal to 0.
68669 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68670 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68671 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68672 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68674
68675 2012-07-13 Andreas Jaeger <aj@suse.de>
68676
68677 * po/fr.po: Update from translation team.
68678
68679 2012-07-12 Marek Polacek <polacek@redhat.com>
68680
68681 [BZ #14173]
68682 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68683 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68684 loop condition.
68685
68686 2012-07-12 Joseph Myers <joseph@codesourcery.com>
68687
68688 [BZ #13717]
68689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68690 Change to 2.4.1 where previously 2.4.0.
68691 * sysdeps/unix/sysv/linux/configure: Regenerated.
68692 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68693 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68694 version.
68695 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68696 (__ASSUME_AT_CLKTCK): Remove.
68697 (__ASSUME_AT_PAGESIZE): Likewise.
68698 (__ASSUME_AT_XID): Likewise.
68699 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68700 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68701 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68702 unconditionally.
68703 (HAVE_AUX_PAGESIZE): Likewise.
68704 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68705 [__ASSUME_AT_CLKTCK]: Make code unconditional.
68706 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68707
68708 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
68709
68710 [BZ #14307]
68711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68712 the temporary buffer used to invoke __gethostbyname2_r,
68713 __gethostbyaddr_r and gethostbyname4_r to make room for struct
68714 host_data / struct gaih_addrtuple.
68715 * resolv/nss_dns/dns-host.c (global scope): Move definition of
68716 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68717 header file nss/nsswitch.h.
68718 * nss/nsswitch.h (global scope): Add definition of implementation
68719 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68720 resolv/nss_dns/dns-host.c).
68721
68722 2012-07-11 Andreas Jaeger <aj@suse.de>
68723
68724 * po/fr.po: Update from translation team.
68725
68726 * po/sv.po: Update from translation team
68727 * po/fr.po: Another update from translation team.
68728
68729 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68730
68731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68732 for subnormals or multiply small sinh result by itself.
68733 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68735
68736 2012-07-11 David S. Miller <davem@davemloft.net>
68737
68738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68739
68740 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
68741
68742 [BZ #14347]
68743 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68744 (INTERNAL_MARK): Shift it here.
68745
68746 2012-07-10 Marek Polacek <polacek@redhat.com>
68747
68748 [BZ #14151]
68749 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
68750 libc_cv_asm_global_directive with .globl.
68751 * configure: Regenerated.
68752 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68753 with .globl.
68754 * sysdeps/i386/configure: Regenerated.
68755 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68756 with .globl.
68757 * sysdeps/x86_64/configure: Regenerated.
68758 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68759 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68760 * elf/tst-unique2mod2.c: Likewise.
68761 * elf/tst-unique2mod1.c: Likewise.
68762 * elf/tst-unique1mod2.c: Likewise.
68763 * elf/tst-unique1mod1.c: Likewise.
68764 * sysdeps/s390/s390-32/sysdep.h: Likewise.
68765 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68766 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68767 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68768 * sysdeps/mach/sysdep.h: Likewise.
68769 * sysdeps/i386/sysdep.h: Likewise.
68770 * sysdeps/i386/i386-mcount.S: Likewise.
68771 * sysdeps/x86_64/_mcount.S: Likewise.
68772 * sysdeps/x86_64/sysdep.h: Likewise.
68773 * sysdeps/sh/_mcount.S: Likewise.
68774 * sysdeps/sh/sysdep.h: Likewise.
68775 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68776 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68777 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68778 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68779 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68780 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68781 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68782 * locale/localeinfo.h: Likewise.
68783 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68784 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68785
68786 2012-07-09 Roland McGrath <roland@hack.frob.com>
68787
68788 [BZ #14336]
68789 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68790 system".
68791 * manual/message.texi (The Uniforum approach): Likewise.
68792 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68793 (glibc iconv Implementation): Likewise.
68794
68795 2012-07-09 Joseph Myers <joseph@codesourcery.com>
68796
68797 [BZ #14337]
68798 * math/s_clog.c (__clog): Avoid scaling a value down where that
68799 could result in underflow.
68800 * math/s_clog10.c (__clog10): Likewise.
68801 * math/s_clog10f.c (__clog10f): Likewise.
68802 * math/s_clog10l.c (__clog10l): Likewise.
68803 * math/s_clogf.c (__clogf): Likewise.
68804 * math/s_clogl.c (__clogl): Likewise.
68805 * math/libm-test.inc (clog_test): Add more tests.
68806 (clog10_test): Likewise.
68807 * sysdeps/i386/fpu/libm-test-ulps: Update.
68808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68809
68810 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
68811
68812 [BZ #14283]
68813 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68814 by 7 not 8 to examine high bit of fractional part.
68815
68816 [BZ #14042]
68817 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68818 for call to __mcount_internal.
68819 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68820 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68821 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68822
68823 2012-07-06 Joseph Myers <joseph@codesourcery.com>
68824
68825 [BZ #14154]
68826 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68827 approximation for values within 0x1p-13f of an odd multiple of
68828 pi/4.
68829 * math/libm-test.inc (tan_test): Do not allow spurious underflow
68830 exception. Add more tests.
68831 * sysdeps/i386/fpu/libm-test-ulps: Update.
68832
68833 [BZ #6778]
68834 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68835 inputs and return -1 for them. Do not check for +Inf in case not
68836 reachable for +Inf.
68837 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68838 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68839 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68840 and return -1 for them. Do not check for +Inf in case not
68841 reachable for +Inf.
68842 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68843 define.
68844 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68845 and return -1 for them. Do not check for +Inf in case not
68846 reachable for +Inf.
68847 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
68848 spurious underflow.
68849 * sysdeps/i386/fpu/libm-test-ulps: Update.
68850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68851
68852 2012-07-06 Mike Frysinger <vapier@gentoo.org>
68853
68854 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68855
68856 2012-07-05 Joseph Myers <joseph@codesourcery.com>
68857
68858 [BZ #14157]
68859 [BZ #14331]
68860 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68861 could result in spurious underflow. Scale down values above
68862 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68863 * math/s_csqrtf.c (__csqrtf): Likewise.
68864 * math/s_csqrtl.c (__csqrtl): Likewise.
68865 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
68866 spurious underflow.
68867 * sysdeps/i386/fpu/libm-test-ulps: Update.
68868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68869
68870 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
68871
68872 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68873 xopen-msg.sed.
68874 * catgets/xopen-msg.awk: New file.
68875 * catgets/xopen-msg.sed: Removed.
68876
68877 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68878 po2text.sed.
68879 * intl/po2test.awk: New file.
68880 * intl/po2test.sed: Removed.
68881
68882 2012-07-04 Joseph Myers <joseph@codesourcery.com>
68883
68884 [BZ #14328]
68885 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68886 or multiply small sinh result by itself.
68887 * math/s_ctanf.c (__ctanf): Likewise.
68888 * math/s_ctanh.c (__ctanh): Likewise.
68889 * math/s_ctanhf.c (__ctanhf): Likewise.
68890 * math/s_ctanhl.c (__ctanhl): Likewise.
68891 * math/s_ctanl.c (__ctanl): Likewise.
68892 * math/libm-test.inc (ctan_test_tonearest): New function.
68893 (ctan_test_towardzero): Likewise.
68894 (ctan_test_downward): Likewise.
68895 (ctan_test_upward): Likewise.
68896 (ctanh_test_tonearest): Likewise.
68897 (ctanh_test_towardzero): Likewise.
68898 (ctanh_test_downward): Likewise.
68899 (ctanh_test_upward): Likewise.
68900 (main): Call these new functions.
68901 * sysdeps/i386/fpu/libm-test-ulps: Update.
68902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68903
68904 2012-07-03 Mike Frysinger <vapier@gentoo.org>
68905
68906 * .gitignore: Delete /ports entry.
68907
68908 2012-07-03 Andreas Jaeger <aj@suse.de>
68909
68910 * po/bg.po: Update from translation team.
68911 * po/cs.po: Likewise.
68912 * po/de.po: Likewise.
68913 * po/hr.po: Likewise.
68914 * po/nl.pl: Likewise.
68915 * po/pl.po: Likewise.
68916 * po/vi.po: Likewise.
68917
68918 2012-07-03 Joseph Myers <joseph@codesourcery.com>
68919
68920 * Makeconfig [!+link] (+link-before-libc): New variable.
68921 [!+link] (+link-after-libc): Likewise.
68922 [!+link] (+link-tests): Likewise.
68923 [!+link] (+link): Define in terms of $(+link-before-libc) and
68924 $(+link-after-libc).
68925 [!+link-static] (+link-static-before-libc): New variable.
68926 [!+link-static] (+link-static-after-libc): Likewise.
68927 [!+link-static] (+link-static-tests): Likewise.
68928 [!+link-static] (+link-static): Define in terms of
68929 $(+link-static-before-libc) and $(+link-static-after-libc).
68930 [build-shared] (link-libc-before-gnulib): New variable.
68931 [build-shared] (link-libc-tests): Likewise.
68932 [build-shared] (link-libc): Define in terms of
68933 $(link-libc-before-gnulib).
68934 [!build-shared] (link-libc-tests): New variable.
68935 (link-libc-static-tests): New variable.
68936 [!gnulib] (gnulib-arch): New variable.
68937 [!gnulib] (gnulib-tests): Likewise.
68938 [!gnulib] (static-gnulib-arch): Likewise.
68939 [!gnulib] (static-gnulib-tests): Likewise.
68940 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
68941 Define with "=" instead of ":=".
68942 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
68943 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
68944 * Rules (binaries-all-notests): New variable.
68945 (binaries-all-tests): Likewise.
68946 (binaries-static-notests): Likewise.
68947 (binaries-static-tests): Likewise.
68948 (binaries-all): Define using $(binaries-all-notests) and
68949 $(binaries-all-tests).
68950 (binaries-static): Define using $(binaries-static-notests) and
68951 $(binaries-static-tests).
68952 (binaries-shared-tests): New variable.
68953 (binaries-shared-notests): Likewise.
68954 (binaries-shared): Remove variable.
68955 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68956 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68957 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68958 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68959 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68960 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68961 * elf/Makefile (sln-modules): New variable.
68962 (extra-objs): Add $(sln-modules:=.o).
68963 (ldconfig-modules): Add static-stubs.
68964 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68965 * elf/static-stubs.c: New file.
68966
68967 [BZ #14283]
68968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68969 by 7 not 8 to examine high bit of fractional part. Use volatile
68970 variables when splitting into final array of floats if
68971 __FLT_EVAL_METHOD__ != 0.
68972 * math/libm-test.inc (cos_test): Add another test.
68973 (sin_test): Likewise.
68974 * sysdeps/i386/fpu/libm-test-ulps: Update.
68975
68976 [BZ #14273]
68977 * math/libm-test.inc (cosh_test): Add more tests.
68978
68979 * version.h (RELEASE): Set to "development".
68980 (VERSION): Set to "2.16.90".
68981
68982 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
68983
68984 * NEWS: Update copyright. Remove last-updated date.
68985 Mention math library bug fixes and timezone data changes.
68986 * README: Mention GNU/Hurd, x32, and HPPA support status.
68987
68988 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
68989
68990 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68991
68992 2012-06-27 Andreas Jaeger <aj@suse.de>
68993
68994 * manual/contrib.texi (Contributors): Add Samuel Thibault.
68995
68996 2012-06-25 Andreas Jaeger <aj@suse.de>
68997
68998 * sysdeps/s390/fpu/libm-test-ulps: Update.
68999
69000 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
69001 Thomas Schwinge <thomas@codesourcery.com>
69002
69003 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69004 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69006 fanotify_mark.
69007
69008 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
69009
69010 * sysdeps/mach/start.c: Remove file.
69011 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69012 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69013 * sysdeps/sh/init-first.c: Likewise.
69014
69015 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69016 registers for frame unwinding purposes, add CFI directives.
69017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69018 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69019 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69020 Likewise.
69021
69022 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69023 __fortify_fail returning.
69024 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69025
69026 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69027 sysdeps/sh/____longjmp_chk.S.
69028 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69029 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69030 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69031 (gen-as-const-headers): Append sigaltstack-offsets.sym.
69032
69033 * sysdeps/sh/abort-instr.h: New file.
69034 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69035 process in case exit returns.
69036
69037 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69038 initialize the GOT register before use.
69039
69040 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69041 calculation of ARGC > 4.
69042
69043 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69044 meaningful names to some local labels.
69045
69046 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69047 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69048
69049 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69050 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69051 (__arch_compare_and_exchange_val_16_acq): Likewise.
69052 (__arch_compare_and_exchange_val_32_acq): Likewise.
69053 (atomic_exchange_and_add): Fix gUSA sequence.
69054 (atomic_add): Likewise.
69055 (atomic_add_negative): Likewise.
69056 (atomic_add_zero): Likewise.
69057 (atomic_bit_test_set): Likewise.
69058
69059 2012-06-22 Andreas Schwab <schwab@redhat.com>
69060
69061 [BZ #13579]
69062 * include/link.h (struct link_map): Add l_free_initfini.
69063 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69064 l_initfini.
69065 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69066 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69067 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69068 set.
69069
69070 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
69071
69072 * configure.in: Use AC_LANG_SOURCE.
69073 * configure: Regenerate.
69074
69075 2012-06-22 Roland McGrath <roland@hack.frob.com>
69076
69077 * configure.in (libc_cv_localstatedir): New substituted variable.
69078 * configure: Regenerated.
69079 * config.make.in (localstatedir): New variable, substituted from
69080 libc_cv_localstatedir.
69081 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69082 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69083 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69084 * sysdeps/gnu/configure: Regenerated.
69085
69086 2012-06-21 Jeff Law <law@redhat.com>
69087
69088 [BZ #14277]
69089 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69090 free. Simplify list management for _LIBC case.
69091
69092 2012-06-21 Joseph Myers <joseph@codesourcery.com>
69093
69094 [BZ #14273]
69095 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69096 Clear sign bit of 64-bit integer value before comparing against
69097 overflow value.
69098
69099 * sysdeps/mach/configure: Regenerated.
69100
69101 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
69102
69103 [BZ #14278]
69104 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69105
69106 2012-06-21 Jeff Law <law@redhat.com>
69107
69108 [BZ #13882]
69109 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
69110 uint16_t for elements in the "seen" array to avoid char overflows.
69111 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69112 * elf/dl-open.c (dl_open_worker): Likewise.
69113
69114 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
69115
69116 * scripts/list-sources.sh: Scan PORTS for translations.
69117 * po/libc.pot: Regenerated.
69118
69119 2012-06-21 Andreas Jaeger <aj@suse.de>
69120
69121 [BZ #12194]
69122 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69123 warning.
69124 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69125 * bits/byteswap-16.h (__bswap_16): Likewise.
69126 * bits/byteswap.h (__bswap_constant_16): Likewise.
69127
69128 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
69129
69130 [BZ #14117]
69131 * sysdeps/i386/fpu_control.h: Removed.
69132 * sysdeps/x86_64/fpu_control.h: Moved to ...
69133 * sysdeps/x86/fpu_control.h: Here.
69134
69135 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69136 (_FPU_SETCW): Likewise.
69137
69138 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
69139
69140 [BZ #14117]
69141 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69142 * sysdeps/x86/fpu/bits/mathinline.h: This.
69143 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69144
69145 [BZ #14050]
69146 [BZ #14117]
69147 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69148 functions if __x86_64__ is defined.
69149
69150 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
69151
69152 * string/endian.h: Add !__ASSEMBLER__ condition for including
69153 conversion interfaces.
69154
69155 2012-06-15 Joseph Myers <joseph@codesourcery.com>
69156
69157 [BZ #14241]
69158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69159 of ABS(x) in calculating zero to negative powers other than odd
69160 integers.
69161 * math/libm-test.inc (pow_test): Add more tests.
69162
69163 2012-06-15 Andreas Jaeger <aj@suse.de>
69164
69165 * manual/contrib.texi (Contributors): Update entry of Liubov
69166 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69167 Machado Filho.
69168
69169 2012-06-15 Cyril Hrubis <metan@ucw.cz>
69170
69171 * string/string.h: Add __wur to GNU version of strerror_r.
69172
69173 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
69174
69175 [BZ #14229]
69176 * string/Makefile (tests): Add tst-strtok_r.
69177 * string/tst-strtok_r.c: New file.
69178 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69179 RAX_LP/RDX_LP on SAVE_PTR.
69180
69181 2012-06-14 Roland McGrath <roland@hack.frob.com>
69182
69183 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69184
69185 2012-06-14 Joseph Myers <joseph@codesourcery.com>
69186
69187 * libm_test.inc (csqrt_test): Allow more spurious underflow
69188 exceptions.
69189 (j0_test): Likewise.
69190 (j1_test): Likewise.
69191 (y0_test): Likewise.
69192 (y1_test): Likewise.
69193
69194 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
69195
69196 * po/Makefile (libc.pot): Use UTF-8 charset.
69197
69198 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
69199
69200 [BZ #14210]
69201 Suppress sign-conversion warning from FD_SET.
69202 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69203 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69204 not unsigned long int.
69205 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69206
69207 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
69208
69209 [BZ #14050]
69210 [BZ #14117]
69211 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69212 __extern_always_inline instead of __extern_inline.
69213 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69214 (__signbit): Likewise.
69215 (__signbitl): Support C++ namespace.
69216 (lrintf): New inline function.
69217 (lrint): Likewise.
69218 (llrintf): Likewise.
69219 (llrint): Likewise.
69220 (fmaxf): Likewise.
69221 (fmax): Likewise.
69222 (fminf): Likewise.
69223 (fmin): Likewise.
69224 (rint): Likewise.
69225 (rintf): Likewise.
69226 (ceil): Likewise.
69227 (ceilf): Likewise.
69228 (floor): Likewise.
69229 (floorf): Likewise.
69230 (nearbyint): Likewise.
69231 (nearbyintf): Likewise.
69232
69233 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
69234
69235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69236 non-default versions.
69237
69238 2012-06-11 Roland McGrath <roland@hack.frob.com>
69239
69240 [BZ #14218]
69241 * manual/argp.texi (Argp): Reword argp_parse description slightly.
69242
69243 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
69244
69245 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69246 (FE_UPWARD, FE_DOWNWARD): Don't define.
69247 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69248 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69249
69250 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69251 reading it.
69252 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69253 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69254
69255 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69256
69257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69258 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69259 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69260 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69261
69262 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
69263
69264 [BZ #14117]
69265 * sysdeps/i386/fpu/bits/fenv.h: Removed.
69266 * sysdeps/i386/fpu/Implies: New file.
69267 * sysdeps/x86_64/fpu/Implies: Likewise.
69268 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69269 * sysdeps/x86/fpu/bits/fenv.h: This.
69270
69271 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69272 __SSE_MATH__.
69273
69274 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
69275
69276 [BZ #14134]
69277 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69278 character 0xffff that matches the last element of the
69279 conversion table.
69280
69281 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69282
69283 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69284 fmodl commit.
69285
69286 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69287
69288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69289 values higher than 25.6283.
69290
69291 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69292
69293 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69294 subnormal exponent extraction and add some __builtin_expect.
69295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69296 Fix for subnormal mantissa calculation.
69297
69298 2012-06-04 Mike Frysinger <vapier@gentoo.org>
69299
69300 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69301 cpu2 is -1 and errno is not ENOSYS.
69302
69303 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
69304
69305 [BZ #14117]
69306 * sysdeps/i386/i486/bits/string.h: Renamed to ...
69307 * sysdeps/x86/bits/string.h: This.
69308 * sysdeps/x86_64/bits/string.h: Removed.
69309
69310 * sysdeps/i386/i486/bits/string.h: Define inline functions only
69311 if not compiling for x86-64, but compiling for >= i486.
69312
69313 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69314 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69315
69316 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69317 New macro from Linux kernel 3.4.0.
69318 (FP_XSTATE_MAGIC2): Likewise.
69319 (FP_XSTATE_MAGIC2_SIZE): Likewise.
69320 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69321 (struct _fpx_sw_bytes): New struct.
69322 (struct _xsave_hdr): Likewise.
69323 (struct _ymmh_state): Likewise.
69324 (struct _xstate): Likewise.
69325
69326 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69327 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69328 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69329 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69330 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69331 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69332
69333 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69334 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69335 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69336 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69337 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69338 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69339
69340 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69341
69342 [BZ #13743]
69343 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69344 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69345 (sysdep_headers): Include sys/platform/ppc.h.
69346 * sysdeps/powerpc/test-gettimebase.c: Test for
69347 __ppc_get_timebase() to catch future ISA opcode/insn changes.
69348 * manual/Makefile (appendices): Include platform.texi.
69349 * manual/contrib.texi (Contributors): Update @node pointers.
69350 * manual/maint.texi (Maintenance): Likewise.
69351 (Platform): New node.
69352 * manual/platform.texi: New file. Document the new features.
69353
69354 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69355 Jakub Jelinek <jakub@redhat.com>
69356
69357 [BZ #14188]
69358 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69359 where __builtin_expect is unavailable.
69360
69361 2012-06-03 David S. Miller <davem@davemloft.net>
69362
69363 * stdlib/longlong.h: Updated from GCC.
69364
69365 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
69366
69367 [BZ #14042]
69368 * sysdeps/powerpc/powerpc32/mcount.c: New file.
69369 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69370 __mcount_internal.
69371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69372 (GLIBC_2.16): Likewise.
69373
69374 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69375
69376 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69377
69378 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69379
69380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69381 (default-abi): New variable.
69382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69383 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69384 variable.
69385 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69386 Likewise.
69387 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69388 Likewise.
69389 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69390 Likewise.
69391
69392 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69393 definition. Document in comment.
69394
69395 2012-06-01 David S. Miller <davem@davemloft.net>
69396
69397 * stdlib/longlong.h: Updated from GCC.
69398
69399 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69400
69401 [BZ #14117]
69402 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69403 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69404 sys/debugreg.h sys/io.h here.
69405 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69406 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69407 sys/io.h.
69408 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69409 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69410 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69411 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69412 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69413 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69414
69415 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69416 Define only if __x86_64__ is defined.
69417
69418 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69419
69420 [BZ #14048]
69421 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69422 Use int64_t for variable i.
69423 * math/libm-test.inc (fmod_test): Add more tests.
69424
69425 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69426 z computation is not scheduled after fetestexcept.
69427 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69428 Use math_force_eval instead of asm to ensure calculation scheduled
69429 before exception test.
69430 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69431 Ensure a1 + u.d computation is not scheduled after fetestexcept.
69432
69433 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
69434
69435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69436 computation is not scheduled after fetestexcept.
69437
69438 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69439
69440 [BZ #14117]
69441 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69442 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69443
69444 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69445
69446 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69447 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69448
69449 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69450
69451 [BZ #14117]
69452 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69453 <bits/wordsize.h>.
69454 (__WCHAR_MIN): Support __WORDSIZE == 64.
69455 (__WCHAR_MAX): Likewise.
69456
69457 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69458 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69459
69460 [BZ #14183]
69461 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69462 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69463
69464 [BZ #14117]
69465 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69466 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69467
69468 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69469 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69470
69471 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69472 Defined to 1 if __x86_64__ isn't defined.
69473 (_STAT_VER_LINUX_OLD): New.
69474 (st_atime): Remove duplicate.
69475 (st_mtime): Likewise.
69476 (st_ctime): Likewise.
69477
69478 2012-05-31 David S. Miller <davem@davemloft.net>
69479
69480 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69481 entries.
69482
69483 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
69484
69485 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69486 gen-libm-test.pl.
69487
69488 [BZ #14132]
69489 * elf/dl-reloc.c: Include <_itoa.h>.
69490 (_dl_reloc_bad_type): Remove use of INTUSE.
69491 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69492 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69493 * stdio-common/psiginfo.c (psiginfo): Likewise.
69494 * stdio-common/psignal.c (psignal): Likewise.
69495 * string/strsignal.c (strsignal): Likewise.
69496 * include/signal.h (_sys_siglist): Declare hidden proto.
69497 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
69498 INTVARDEF with libc_hidden_data_def.
69499 * stdio-common/itoa-udigits.c: Likewise.
69500 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69501 (_itoa_lower_digits_internal): Remove declaration.
69502 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69503 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69504 (_sys_sigabbrev_internal): Remove aliases.
69505 (_sys_siglist): Define hidden alias.
69506
69507 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69508
69509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69510 bits/sysctl.h.
69511
69512 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69513
69514 [BZ #14117]
69515 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69516 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69517
69518 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69519 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69520 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69521 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69522 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69523 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69524
69525 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69526 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69527 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69528
69529 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69530 with __addr.
69531 (insw): Likewise.
69532 (insl): Likewise.
69533 (outsb): Likewise.
69534 (outsw): Likewise.
69535 (outsl): Likewise.
69536
69537 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69538 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69539 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69540
69541 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69542 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69543 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69544 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69545 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69546 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69547
69548 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69549 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69550
69551 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69552 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69553
69554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69555 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69556 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69557
69558 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69559 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69560 to ...
69561 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69562
69563 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69564 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69565 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69566
69567 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69568 for x86-64.
69569 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69570
69571 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69572
69573 * math/math.h (M_El): Use two more decimal places.
69574 (M_LOG2El): Likewise.
69575 (M_LOG10El): Likewise.
69576 (M_LN2l): Likewise.
69577 (M_LN10l): Likewise.
69578 (M_PIl): Likewise.
69579 (M_PI_2l): Likewise.
69580 (M_PI_4l): Likewise.
69581 (M_1_PIl): Likewise.
69582 (M_2_PIl): Likewise.
69583 (M_2_SQRTPIl): Likewise.
69584 (M_SQRT2l): Likewise.
69585 (M_SQRT1_2l): Likewise.
69586
69587 2012-05-31 David S. Miller <davem@davemloft.net>
69588
69589 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69590 values between float registers.
69591 * sysdeps/sparc/sparc64/memset.S: Likewise.
69592 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69593
69594 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69595
69596 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69597 -D_FORTIFY_SOURCE=1.
69598 (CPPFLAGS-tst-longjmp_chk.c): Define.
69599 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69600 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69601 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69602 CFLAGS-tst-wchar-h.c.
69603
69604 2012-05-31 Marek Polacek <polacek@redhat.com>
69605
69606 [BZ #14132]
69607 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69608 __endmntent_internal): Remove declaration.
69609 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69610 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69611 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69612
69613 2012-05-30 David S. Miller <davem@davemloft.net>
69614
69615 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69616 (___Q_simulate_exceptions): Use real FP ops rather than writing
69617 into the %fsr.
69618 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69619 Likewise.
69620
69621 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69622
69623 [BZ #14117]
69624 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69625 * sysdeps/x86/bits/xtitypes.h: This.
69626
69627 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69628 * sysdeps/x86/bits/wordsize.h: This.
69629
69630 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69631 * sysdeps/x86/bits/huge_vall.h: This.
69632
69633 * sysdeps/i386/bits/select.h: Removed.
69634 * sysdeps/x86_64/bits/select.h: Renamed to ...
69635 * sysdeps/x86/bits/select.h: This.
69636
69637 * sysdeps/i386/bits/setjmp.h: Removed.
69638 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69639 * sysdeps/x86/bits/setjmp.h: This.
69640
69641 * sysdeps/i386/bits/mathdef.h: Removed.
69642 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69643 * sysdeps/x86/bits/mathdef.h: This.
69644
69645 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69646
69647 [BZ #14132]
69648 * include/sys/socket.h (__connect_internal)
69649 (__libc_sa_len_internal): Remove declaration.
69650 (__connect, __libc_sa_len): Declare hidden_proto.
69651 (SA_LEN): Remove use of INTUSE.
69652 * socket/connect.c: Add libc_hidden_def.
69653 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69654 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69655 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69656 alias.
69657 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69658 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69659 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69660 of adding _internal alias.
69661
69662 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69663
69664 [BZ #14117]
69665 * sysdeps/i386/bits/link.h: Removed.
69666 * sysdeps/i386/bits/linkmap.h: Likewise.
69667 * sysdeps/x86_64/bits/link.h: Renamed to ...
69668 * sysdeps/x86/bits/link.h: This.
69669 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69670 * sysdeps/x86/bits/linkmap.h: This.
69671
69672 * sysdeps/i386/bits/endian.h: Removed.
69673 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69674 * sysdeps/x86/bits/endian.h: This.
69675
69676 * sysdeps/i386/bits/byteswap.h: Removed.
69677 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69678 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69679 * sysdeps/x86/bits/byteswap.h: This.
69680 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69681 * sysdeps/x86/bits/byteswap-16.h: This.
69682 * sysdeps/i386/Implies: Add x86.
69683 * sysdeps/x86_64/Implies: Likewise.
69684
69685 2012-05-30 David S. Miller <davem@davemloft.net>
69686
69687 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69688 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69689 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69690 (FP_TRAPPING_EXCEPTIONS): Define.
69691 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69692 (FP_TRAPPING_EXCEPTIONS): Define.
69693 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69694 subnormals only when inexact has been signalled or underflow
69695 exceptions are enabled.
69696 (_FP_PACK_CANONICAL): Likewise.
69697
69698 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69699
69700 [BZ #14183]
69701 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69702 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69703
69704 2012-05-30 Richard Henderson <rth@twiddle.net>
69705
69706 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69707 with #ifndef NOT_IN_libc.
69708
69709 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
69710 marked to avoid plt entry.
69711
69712 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69713
69714 [BZ #14112]
69715 * Makeconfig (default-abi): New macro.
69716 (abi-includes): Likewise.
69717 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
69718 $(abi-$(default-abi)-lib-soname) for soname if defined.
69719 ($(common-objpfx)gnu/lib-names.stmp): Generate from
69720 abi-variants.
69721 * Makefile (installed-stubs): Likewise.
69722 * include/stubs-biarch.h: Removed.
69723 * scripts/lib-names.awk: Only handle one library at a time.
69724 * scripts/soversions.awk: Remove WORDSIZE support.
69725 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69726 entries.
69727 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69728 Removed.
69729 (syscall-list-default-condition): Likewise.
69730 (syscall-list-default-condition): Likewise.
69731 (syscall-list-includes): Likewise.
69732 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69733 syscall-list-* with abi-*. Handle undefined abi-variants.
69734 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69735 * sysdeps/unix/sysv/linux/i386/Implies: New file.
69736 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69737 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69738 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69739 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69740 Removed.
69741 (syscall-list-32-options): Likewise.
69742 (syscall-list-32-condition): Likewise.
69743 (syscall-list-64-options): Likewise.
69744 (syscall-list-64-condition): Likewise.
69745 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69746 macro.
69747 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69748 Renamed to ...
69749 (abi-*): This.
69750 (abi-64-ld-soname): New macro.
69751 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69752 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69753 Renamed to ...
69754 (abi-*): This.
69755 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69756 * sysdeps/x86_64/x32/shlib-versions: Likewise.
69757
69758 2012-05-30 Joseph Myers <joseph@codesourcery.com>
69759
69760 * sysdeps/unix/sysv/linux/kernel-features.h
69761 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69762 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69763 include <kernel-features.h>.
69764 [!__NR_ftruncate64]: Remove conditional code.
69765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69766 [__NR_ftruncate64]: Make code unconditional.
69767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69768 * sysdeps/unix/sysv/linux/truncate64.c: Do not
69769 include <kernel-features.h>.
69770 [!__NR_ftruncate64]: Remove conditional code.
69771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69772 [__NR_ftruncate64]: Make code unconditional.
69773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69775 include <kernel-features.h>.
69776 [!__NR_ftruncate64]: Remove conditional code.
69777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69778 [__NR_ftruncate64]: Make code unconditional.
69779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69781 include <kernel-features.h>.
69782 [!__NR_ftruncate64]: Remove conditional code.
69783 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69784 [__NR_ftruncate64]: Make code unconditional.
69785 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69786
69787 * configure.in (libc_cv_fpie): Weaken to a compile test using
69788 LIBC_TRY_CC_OPTION.
69789 * configure: Regenerated.
69790
69791 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69792
69793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69797 Refreshed.
69798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69804 Refreshed.
69805
69806 2012-05-27 David S. Miller <davem@davemloft.net>
69807
69808 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69809 (___Q_zero): New.
69810 (__Q_simulate_exceptions): Return void. Change to simulate
69811 exceptions by writing into the %fsr.
69812 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69813 (__Qp_handle_exceptions): Likewise.
69814 (numbers): Delete.
69815 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69816 __Qp_handle_exceptions.
69817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69818 __Qp_handle_exceptions.
69819 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69820 as unused and give dummy FP_RND_NEAREST initializer.
69821 (FP_INHIBIT_RESULTS): Define.
69822 (___Q_simulate_exceptions): Update declaration.
69823 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69824 formatting.
69825 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69826 as unused and give dummy FP_RND_NEAREST initializer.
69827 (__Qp_handle_exceptions): Update declaration.
69828 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69829 formatting.
69830
69831 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
69832
69833 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69834 the temporary FPU control word.
69835 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69836 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69837 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69838 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69839 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69840 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69841 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69842 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69843 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69844 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69845 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69846
69847 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69848
69849 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69850 fields.
69851
69852 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
69853
69854 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69855 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69856 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69857 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69858 Likewise.
69859 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69860 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69861 Likewise.
69862
69863 2012-05-27 Ulrich Drepper <drepper@gmail.com>
69864
69865 * po/h.po: Update from translation team.
69866
69867 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
69868
69869 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69870
69871 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69872 handling of denormals.
69873 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69874 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69875 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69876 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69880 Likewise.
69881
69882 2012-05-26 Marek Polacek <polacek@redhat.com>
69883
69884 [BZ #14152]
69885 * math/libm-test.inc (fma_test): Don't always expect underflow
69886 exception.
69887
69888 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69889
69890 [BZ #12416]
69891 * elf/tst-execstack.c: Include stackinfo.h.
69892 (do_test): Adjust test case to ensure that pthread_getattr_np
69893 behaviour remains the same after marking stack executable.
69894
69895 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69896
69897 * sysdeps/unix/sysv/linux/kernel-features.h
69898 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69899 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69900 kernel-features.h.
69901 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69902 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69903 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69904 kernel-features.h.
69905 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69906 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69907
69908 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
69909
69910 * configure.in: Define the default includes to being none.
69911 * configure: Regenerated.
69912
69913 2012-05-25 Roland McGrath <roland@hack.frob.com>
69914
69915 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69916 * sysdeps/x86_64/setjmp.S: Likewise.
69917 * sysdeps/i386/bsd-setjmp.S: Likewise.
69918 * sysdeps/i386/bsd-_setjmp.S: Likewise.
69919 * sysdeps/i386/setjmp.S: Likewise.
69920 * sysdeps/i386/__longjmp.S: Likewise.
69921 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69922 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69923
69924 * include/stap-probe.h: New file.
69925 * configure.in: Handle --enable-systemtap.
69926 * configure: Regenerated.
69927 * config.h.in (USE_STAP_PROBE): New #undef.
69928 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69929 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69930 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69931
69932 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69933
69934 [BZ #13717]
69935 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69936 to 2.4.0 where earlier.
69937 * sysdeps/unix/sysv/linux/configure: Regenerated.
69938 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69939 <kernel-features.h>.
69940 [__ASSUME_32BITUIDS]: Make code unconditional.
69941 [!__ASSUME_32BITUIDS]: Remove conditional code.
69942 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69943 <kernel-features.h>.
69944 [__ASSUME_32BITUIDS]: Make code unconditional.
69945 [!__ASSUME_32BITUIDS]: Remove conditional code.
69946 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69947 [__ASSUME_32BITUIDS]: Make code unconditional.
69948 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69949 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69950 <kernel-features.h>.
69951 [__ASSUME_32BITUIDS]: Make code unconditional.
69952 [!__ASSUME_32BITUIDS]: Remove conditional code.
69953 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69954 <kernel-features.h>.
69955 [__ASSUME_32BITUIDS]: Make code unconditional.
69956 [!__ASSUME_32BITUIDS]: Remove conditional code.
69957 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69958 <kernel-features.h>.
69959 [__ASSUME_32BITUIDS]: Make code unconditional.
69960 [!__ASSUME_32BITUIDS]: Remove conditional code.
69961 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69962 <kernel-features.h>.
69963 [__ASSUME_32BITUIDS]: Make code unconditional.
69964 [!__ASSUME_32BITUIDS]: Remove conditional code.
69965 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69966 <kernel-features.h>.
69967 [__ASSUME_32BITUIDS]: Make code unconditional.
69968 [!__ASSUME_32BITUIDS]: Remove conditional code.
69969 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69970 <kernel-features.h>.
69971 [__ASSUME_32BITUIDS]: Make code unconditional.
69972 [!__ASSUME_32BITUIDS]: Remove conditional code.
69973 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69974 <kernel-features.h>.
69975 [__ASSUME_32BITUIDS]: Make code unconditional.
69976 [!__ASSUME_32BITUIDS]: Remove conditional code.
69977 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69978 <kernel-features.h>.
69979 [__ASSUME_32BITUIDS]: Make code unconditional.
69980 [!__ASSUME_32BITUIDS]: Remove conditional code.
69981 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69982 <kernel-features.h>.
69983 [__ASSUME_32BITUIDS]: Make code unconditional.
69984 [!__ASSUME_32BITUIDS]: Remove conditional code.
69985 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69986 <kernel-features.h>.
69987 [__ASSUME_32BITUIDS]: Make code unconditional.
69988 [!__ASSUME_32BITUIDS]: Remove conditional code.
69989 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69990 <kernel-features.h>.
69991 [__NR_setresgid] (__setresgid): Do not declare.
69992 [__ASSUME_32BITUIDS]: Make code unconditional.
69993 [!__ASSUME_32BITUIDS]: Remove conditional code.
69994 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69995 <kernel-features.h>.
69996 [__NR_setresuid] (__setresuid): Do not declare.
69997 [__ASSUME_32BITUIDS]: Make code unconditional.
69998 [!__ASSUME_32BITUIDS]: Remove conditional code.
69999 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70000 <kernel-features.h>.
70001 [__ASSUME_32BITUIDS]: Make code unconditional.
70002 [!__ASSUME_32BITUIDS]: Remove conditional code.
70003 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70004 <kernel-features.h>.
70005 [__ASSUME_32BITUIDS]: Make code unconditional.
70006 [!__ASSUME_32BITUIDS]: Remove conditional code.
70007 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70008 <kernel-features.h>.
70009 [__ASSUME_32BITUIDS]: Make code unconditional.
70010 [!__ASSUME_32BITUIDS]: Remove conditional code.
70011 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70012 <kernel-features.h>.
70013 [__ASSUME_32BITUIDS]: Make code unconditional.
70014 [!__ASSUME_32BITUIDS]: Remove conditional code.
70015 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70016 <kernel-features.h>.
70017 [__ASSUME_32BITUIDS]: Make code unconditional.
70018 [!__ASSUME_32BITUIDS]: Remove conditional code.
70019 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70020 <kernel-features.h>.
70021 [__ASSUME_32BITUIDS]: Make code unconditional.
70022 [!__ASSUME_32BITUIDS]: Remove conditional code.
70023 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70024 <kernel-features.h>.
70025 [__ASSUME_32BITUIDS]: Make code unconditional.
70026 [!__ASSUME_32BITUIDS]: Remove conditional code.
70027 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70028 <kernel-features.h>.
70029 [__ASSUME_32BITUIDS]: Make code unconditional.
70030 [!__ASSUME_32BITUIDS]: Remove conditional code.
70031 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70032 <kernel-features.h>.
70033 [__ASSUME_32BITUIDS]: Make code unconditional.
70034 [!__ASSUME_32BITUIDS]: Remove conditional code.
70035 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70036 <kernel-features.h>.
70037 [__ASSUME_32BITUIDS]: Make code unconditional.
70038 [!__ASSUME_32BITUIDS]: Remove conditional code.
70039 * sysdeps/unix/sysv/linux/kernel-features.h
70040 (__ASSUME_SETRESUID_SYSCALL): Remove.
70041 (__ASSUME_SETRESGID_SYSCALL): Likewise.
70042 (__ASSUME_32BITUIDS): Likewise.
70043 (__ASSUME_LDT_WORKS): Likewise.
70044 (__ASSUME_O_DIRECTORY): Likewise.
70045 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70046 architecture but not kernel version.
70047 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70048 (__ASSUME_MMAP2_SYSCALL): Likewise.
70049 (__ASSUME_STAT64_SYSCALL): Likewise.
70050 (__ASSUME_IPC64): Likewise.
70051 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70052 <kernel-features.h>.
70053 [__ASSUME_32BITUIDS]: Make code unconditional.
70054 [!__ASSUME_32BITUIDS]: Remove conditional code.
70055 * sysdeps/unix/sysv/linux/opendir.c: Do not include
70056 <kernel-features.h>.
70057 [__ASSUME_O_DIRECTORY]: Make code unconditional.
70058 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70059 132096]: Remove conditional code.
70060 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70061 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70062 <kernel-features.h>.
70063 [__ASSUME_32BITUIDS]: Make code unconditional.
70064 [!__ASSUME_32BITUIDS]: Remove conditional code.
70065 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70066 <kernel-features.h>.
70067 [__ASSUME_32BITUIDS]: Make code unconditional.
70068 [!__ASSUME_32BITUIDS]: Remove conditional code.
70069 * sysdeps/unix/sysv/linux/setegid.c: Do not include
70070 <kernel-features.h>.
70071 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70072 unconditional.
70073 (__setresgid): Do not declare.
70074 [__ASSUME_32BITUIDS]: Make code unconditional.
70075 [!__ASSUME_32BITUIDS]: Remove conditional code.
70076 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70077 <kernel-features.h>.
70078 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70079 unconditional.
70080 (__setresuid): Do not declare.
70081 [__ASSUME_32BITUIDS]: Make code unconditional.
70082 [!__ASSUME_32BITUIDS]: Remove conditional code.
70083 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70084 <kernel-features.h>.
70085 [__ASSUME_32BITUIDS]: Make code unconditional.
70086 [!__ASSUME_32BITUIDS]: Remove conditional code.
70087 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70088 <kernel-features.h>.
70089 [__ASSUME_32BITUIDS]: Make code unconditional.
70090 [!__ASSUME_32BITUIDS]: Remove conditional code.
70091
70092 2012-05-25 Richard Henderson <rth@twiddle.net>
70093
70094 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70095 dl_hwcap to ifunc resolver.
70096 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70097 elf_ifunc_invoke.
70098 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70099 dl_hwcap to ifunc resolver.
70100 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70101
70102 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70103
70104 [BZ #14153]
70105 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70106 for |x| <= 2**-26, not 2**-57.
70107 * math/libm-test.inc (acos_test): Do not allow spurious underflow
70108 exception.
70109
70110 2012-05-24 Jeff Law <law@redhat.com>
70111
70112 * stdio-common/Makefile (tests): Add bug25.
70113 * stdio-common/bug25.c: New test.
70114
70115 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70116
70117 [BZ #13576]
70118 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70119 multiple of MALLOC_ALIGNMENT in size.
70120 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70121
70122 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70123
70124 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70125 Require >= 256.
70126 (FILENAME_MAX): Use macro-int-constant.
70127 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
70128 (_IOFBF): Use macro-int-constant.
70129 (_IOLBF): Likewise.
70130 (_IONBF): Likewise.
70131 (SEEK_CUR): Likewise.
70132 (SEEK_END): Likewise.
70133 (SEEK_SET): Likewise.
70134 (TMP_MAX): Likewise.
70135 (EOF): Use macro-int-constant. Require < 0.
70136 (NULL): Use macro-constant. Require == 0.
70137 (stdin): Require type to be FILE *.
70138 (stdout): Likewise.
70139 (stderr): Likewise.
70140 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70141 macro-int-constant.
70142 (EXIT_SUCCESS): Likewise.
70143 (NULL): Use macro-constant. Require == 0.
70144 (RAND_MAX): Use macro-int-constant.
70145 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70146 [C99-based standards] (strtof): Require function.
70147 [C99-based standards] (strtold): Likewise.
70148 [C99-based standards] (strtoll): Likewise.
70149 [C99-based standards] (strtoull): Likewise.
70150 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70151 [ISO || ISO99 || ISO11] (limits.h): Likewise.
70152 [ISO || ISO99 || ISO11] (math.h): Likewise.
70153 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70154 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70156
70157 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
70158
70159 [BZ #14132]
70160 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70161 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70162 * intl/dgettext.c (DCGETTEXT): Likewise.
70163 * intl/gettext.c (DCGETTEXT): Likewise.
70164 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70165 * posix/regex_internal.h (gettext): Likewise.
70166 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70167 Remove declaration.
70168 * include/argz.h (__argz_count_internal)
70169 (__argz_stringify_internal): Remove declaration.
70170 (__argz_count, __argz_stringify): Declare hidden proto.
70171 * intl/dcgettext.c: Remove use of INTDEF.
70172 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70173 * string/argz-stringify.c: Likewise.
70174 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70175 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70176 Declare hidden proto.
70177 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70178 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70179 Declare hidden proto.
70180 * include/stdio.h (__asprintf_internal): Don't declare.
70181 (__asprintf): Don't define as macro. Declare hidden proto.
70182 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70183 (__fsetlocking): Declare hidden proto.
70184 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70185 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70186 hidden proto.
70187 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70188 (_IO_setlinebuf): Remove use of INTUSE.
70189 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70190 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70191 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70192 Remove declaration.
70193 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70194 (_IO_do_flush): Remove use of INTUSE.
70195 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70196 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70197 (_IO_adjust_column, _IO_least_wmarker)
70198 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70199 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70200 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70201 (_IO_default_doallocate, _IO_wdefault_doallocate)
70202 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70203 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70204 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70205 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70206 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70207 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70208 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70209 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70210 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70211 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70212 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70213 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70214 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70215 proto.
70216 (_IO_flush_all_internal, _IO_adjust_column_internal)
70217 (_IO_default_uflow_internal, _IO_default_finish_internal)
70218 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70219 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70220 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70221 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70222 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70223 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70224 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70225 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70226 (_IO_file_close_internal, _IO_file_close_it_internal)
70227 (_IO_file_underflow_internal, _IO_file_overflow_internal)
70228 (_IO_file_init_internal, _IO_file_attach_internal)
70229 (_IO_file_fopen_internal, _IO_file_read_internal)
70230 (_IO_file_sync_internal, _IO_file_seek_internal)
70231 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70232 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70233 (_IO_str_underflow_internal, _IO_str_overflow_internal)
70234 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70235 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70236 (_IO_list_all_internal, _IO_link_in_internal)
70237 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70238 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70239 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70240 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70241 (_IO_do_write_internal, _IO_padn_internal)
70242 (_IO_getline_info_internal, _IO_getline_internal)
70243 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70244 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70245 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70246 (_IO_vfscanf_internal, _IO_vfprintf_internal)
70247 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70248 (_IO_init_internal, _IO_un_link_internal): Don't declare.
70249 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70250 with libc_hidden_ver, remove use of INTUSE.
70251 * libio/genops.c: Likewise.
70252 * libio/freopen.c: Likewise.
70253 * libio/freopen64.c: Likewise.
70254 * libio/iofclose.c: Likewise.
70255 * libio/iofdopen.c: Likewise.
70256 * libio/iofflush.c: Likewise.
70257 * libio/iofflush_u.c: Likewise.
70258 * libio/iofgets.c: Likewise.
70259 * libio/iofgets_u.c: Likewise.
70260 * libio/iofopen.c: Likewise.
70261 * libio/iofopncook.c: Likewise.
70262 * libio/iofread.c: Likewise.
70263 * libio/iofread_u.c: Likewise.
70264 * libio/ioftell.c: Likewise.
70265 * libio/iofwrite.c: Likewise.
70266 * libio/iogetline.c: Likewise.
70267 * libio/iogets.c: Likewise.
70268 * libio/iogetwline.c: Likewise.
70269 * libio/iopadn.c: Likewise.
70270 * libio/iopopen.c: Likewise.
70271 * libio/ioseekoff.c: Likewise.
70272 * libio/ioseekpos.c: Likewise.
70273 * libio/iosetbuffer.c: Likewise.
70274 * libio/iosetvbuf.c: Likewise.
70275 * libio/ioungetc.c: Likewise.
70276 * libio/ioungetwc.c: Likewise.
70277 * libio/iovdprintf.c: Likewise.
70278 * libio/iovsprintf.c: Likewise.
70279 * libio/iovsscanf.c: Likewise.
70280 * libio/memstream.c: Likewise.
70281 * libio/obprintf.c: Likewise.
70282 * libio/oldfileops.c: Likewise.
70283 * libio/oldiofclose.c: Likewise.
70284 * libio/oldiofdopen.c: Likewise.
70285 * libio/oldiofopen.c: Likewise.
70286 * libio/oldiopopen.c: Likewise.
70287 * libio/oldstdfiles.c: Likewise.
70288 * libio/putc.c: Likewise.
70289 * libio/setbuf.c: Likewise.
70290 * libio/setlinebuf.c: Likewise.
70291 * libio/stdfiles.c: Likewise.
70292 * libio/strops.c: Likewise.
70293 * libio/vasprintf.c: Likewise.
70294 * libio/vscanf.c: Likewise.
70295 * libio/vsnprintf.c: Likewise.
70296 * libio/vswprintf.c: Likewise.
70297 * libio/wfiledoalloc.c: Likewise.
70298 * libio/wfileops.c: Likewise.
70299 * libio/wgenops.c: Likewise.
70300 * libio/wmemstream.c: Likewise.
70301 * libio/wstrops.c: Likewise.
70302 * libio/__fpurge.c: Likewise.
70303 * libio/__fsetlocking.c: Likewise.
70304 * assert/assert.c: Likewise.
70305 * debug/fgets_chk.c: Likewise.
70306 * debug/fgets_u_chk.c: Likewise.
70307 * debug/fread_chk.c: Likewise.
70308 * debug/fread_u_chk.c: Likewise.
70309 * debug/gets_chk.c: Likewise.
70310 * debug/obprintf_chk.c: Likewise.
70311 * debug/vasprintf_chk.c: Likewise.
70312 * debug/vdprintf_chk.c: Likewise.
70313 * debug/vsnprintf_chk.c: Likewise.
70314 * debug/vsprintf_chk.c: Likewise.
70315 * malloc/mtrace.c: Likewise.
70316 * misc/error.c: Likewise.
70317 * misc/syslog.c: Likewise.
70318 * stdio-common/asprintf.c: Likewise.
70319 * stdio-common/fxprintf.c: Likewise.
70320 * stdio-common/getw.c: Likewise.
70321 * stdio-common/isoc99_fscanf.c: Likewise.
70322 * stdio-common/isoc99_scanf.c: Likewise.
70323 * stdio-common/isoc99_vfscanf.c: Likewise.
70324 * stdio-common/isoc99_vscanf.c: Likewise.
70325 * stdio-common/isoc99_vsscanf.c: Likewise.
70326 * stdio-common/printf-prs.c: Likewise.
70327 * stdio-common/printf_fp.c: Likewise.
70328 * stdio-common/printf_fphex.c: Likewise.
70329 * stdio-common/printf_size.c: Likewise.
70330 * stdio-common/putw.c: Likewise.
70331 * stdio-common/scanf.c: Likewise.
70332 * stdio-common/sprintf.c: Likewise.
70333 * stdio-common/tmpfile.c: Likewise.
70334 * stdio-common/vfprintf.c: Likewise.
70335 * stdio-common/vfscanf.c: Likewise.
70336 * stdlib/strfmon_l.c: Likewise.
70337 * sunrpc/openchild.c: Likewise.
70338 * sunrpc/xdr_stdio.c: Likewise.
70339 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70340 * sysdeps/mach/hurd/tmpfile.c: Likewise.
70341
70342 2012-05-24 Roland McGrath <roland@hack.frob.com>
70343
70344 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70345
70346 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70347 in the third column, to generate for the shared library an IFUNC
70348 that uses _dl_vdso_vsym.
70349 * Makerules (COMPILE.c, compile-stdin.c): New variables.
70350 * Makeconfig (object-suffixes-noshared): New variable.
70351
70352 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70353 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70354 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70355 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70356
70357 [BZ #14132]
70358 * include/sys/time.h (__gettimeofday): Remove macro.
70359 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70360 * time/gettimeofday.c (__gettimeofday): Remove #undef.
70361 Remove INTDEF.
70362 (__gettimeofday): Add libc_hidden_def.
70363 (gettimeofday): Add libc_hidden_weak.
70364 * sysdeps/mach/gettimeofday.c: Likewise.
70365 * sysdeps/posix/gettimeofday.c: Likewise.
70366 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70367 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70369 (__gettimeofday_internal): Remove strong_alias.
70370 (__gettimeofday): Add libc_hidden_def.
70371 (gettimeofday): Add libc_hidden_weak.
70372 * sysdeps/unix/syscalls.list (gettimeofday):
70373 Remove __gettimeofday_internal alias.
70374
70375 2012-05-24 Daniel Jacobowitz <drow@false.org>
70376 H.J. Lu <hongjiu.lu@intel.com>
70377
70378 [BZ #12495]
70379 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70380 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70381 (largebin_index_32_big): New.
70382 (largebin_index): Use it for 16-byte alignment.
70383 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
70384 correction with front_misalign.
70385
70386 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70387
70388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70390 Likewise.
70391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70392 Likewise.
70393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70394 Likewise.
70395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70396 Likewise.
70397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70398 Likewise.
70399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70400 Likewise.
70401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70402 Likewise.
70403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70404 Likewise.
70405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70406 Likewise.
70407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70408 Likewise.
70409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70410 Likewise.
70411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70412 Likewise.
70413
70414 * scripts/data/c++-types-x32-linux-gnu.data: New file.
70415 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70416
70417 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70418
70419 [BZ #10846]
70420 [BZ #14036]
70421 * math/libm-test.inc (exp_test): Add test from bug 14036.
70422 (pow_test): Add test from bug 10846.
70423
70424 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70425 and other flags.
70426 (special_function): Do not include flags in test name.
70427 (parse_args): Likewise.
70428 * sysdeps/i386/fpu/libm-test-ulps: Update.
70429 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70430 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70431 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70433
70434 * math/gen-libm-test.pl (%beautify): Add entries for underflow
70435 exceptions.
70436 * math/libm-test.inc ("Philosophy"): Update comment about
70437 exception testing.
70438 (UNDERFLOW_EXCEPTION): New macro.
70439 (UNDERFLOW_EXCEPTION_OK): Likewise.
70440 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70441 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70442 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70443 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70444 (INVALID_EXCEPTION_OK): Update value.
70445 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70446 (OVERFLOW_EXCEPTION_OK): Likewise.
70447 (IGNORE_ZERO_INF_SIGN): Likewise.
70448 (test_exceptions): Handle underflow exceptions.
70449 (acos_test): Update for underflow exception expectations.
70450 (cexp_test): Likewise.
70451 (clog_test): Likewise.
70452 (clog10_test): Likewise.
70453 (csqrt_test): Likewise.
70454 (ctan_test): Likewise.
70455 (ctanh_test): Likewise.
70456 (exp_test): Likewise.
70457 (exp10_test): Likewise.
70458 (exp2_test): Likewise.
70459 (expm1_test): Likewise.
70460 (fma_test): Likewise.
70461 (j0_test): Likewise.
70462 (jn_test): Likewise.
70463 (nexttoward_test): Likewise.
70464 (pow_test): Likewise.
70465 (scalbn_test): Likewise.
70466 (scalbln_test): Likewise.
70467 (tan_test): Likewise.
70468 (y1_test): Likewise.
70469 * sysdeps/i386/fpu/libm-test-ulps: Update.
70470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70471
70472 2012-05-23 David S. Miller <davem@davemloft.net>
70473
70474 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70475 (__libc_sigaction): Remove unused local variables.
70476
70477 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70478
70479 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70480
70481 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
70482
70483 mktime: avoid signed integer overflow
70484 * time/mktime.c (__mktime_internal): Do not mishandle the case
70485 where diff == INT_MIN.
70486
70487 mktime: simplify computation of average
70488 * time/mktime.c (ranged_convert): Use new time_t_avg function
70489 instead of rolling our own (probably-slower) code.
70490
70491 mktime: do not assume signed right shift propagates sign bit
70492 * time/mktime.c (isdst_differ): New static function.
70493 (__mktime_internal): No need to normalize tm_isdst now.
70494 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70495 tm_isdst values.
70496
70497 mktime: merge another wrapv change from gnulib
70498 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70499 from some compilers.
70500
70501 mktime: remove incorrect attempt at unusual arithmetics
70502 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70503 The code didn't really work on such machines anyway.
70504 (TYPE_MINIMUM): Assume two's complement.
70505 (twos_complement_arithmetic): Verify that long_int and time_t
70506 are two's complement (or unsigned, in the latter case).
70507
70508 mktime: check signed shifts on long_int and time_t, too
70509 * time/mktime.c (SHR): Check that shifts work as desired
70510 on the types long_int and time_t too, as SHR is used on
70511 such types.
70512
70513 mktime: do not assume 'long' is wide enough
70514 * time/mktime.c (verify): Move decl up.
70515 (long_int): New type.
70516 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70517 to remove assumption in the code that 'long' is wide enough to
70518 store year values. This assumption is not true on x32 and on
70519 some non-glibc platforms.
70520
70521 mktime: merge wrapv change from gnulib
70522 * time/mktime.c (WRAPV): New macro.
70523 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70524 (guess_time_tm, __mktime_internal): Do not assume that signed
70525 integer overflow wraps around; modern compilers generate code
70526 where this assumption is no longer valid.
70527
70528 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70529
70530 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70531 Replace "jmp L(pseudo_end)" with "ret".
70532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70533 Likewise.
70534
70535 2012-05-23 Andreas Jaeger <aj@suse.de>
70536
70537 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70538 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70539
70540 2012-05-23 Andreas Jaeger <aj@suse.de>
70541 Maximilian Attems <max@stro.at>
70542
70543 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70544 New macros.
70545
70546 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70547
70548 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70549 code so that pseudo_end is just ret and the stack pointer is
70550 correct also for static library in error case.
70551
70552 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70553
70554 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70555 move to syscalls.list.
70556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70560
70561 * manual/install.texi (Running make install): Do not mention Linux
70562 kernel version for which pt_chown is not needed.
70563 (Linux): Do not mention problems with nscd with 2.0 kernels.
70564 * INSTALL: Regenerated.
70565
70566 2012-05-23 Andreas Jaeger <aj@suse.de>
70567
70568 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70569 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70570 macro.
70571 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70573 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70575 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70576 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70578 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70579 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70580 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70581 * sysdeps/unix/sysv/linux/bits/in.h
70582 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70583
70584 2012-05-22 Roland McGrath <roland@hack.frob.com>
70585
70586 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70587 (PREPARE_VERSION): Just use assert instead, it will be elided
70588 under [NDEBUG] anyway.
70589
70590 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70591
70592 * sysdeps/unix/sysv/linux/Makefile: Include
70593 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70594 (sysdep_routines): Remove sysctl.
70595 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70596 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70597 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70598 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70599 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70600
70601 2012-05-22 Andreas Jaeger <aj@suse.de>
70602
70603 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70604 that pseudo_end is just ret and the stack pointer is correct also
70605 for static library in error case.
70606
70607 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70608
70609 [BZ #14122]
70610 * nss/nsswitch.c (defconfig_entries): New variable.
70611 (__nss_database_lookup): Don't leak defconfig entries.
70612 (nss_parse_service_list): Don't leak on error paths.
70613 (free_database_entries): New function.
70614 (free_defconfig): New function.
70615 (free_mem): Move common code to free_database_entries.
70616
70617 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70618
70619 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70620 Add arch_prctl.
70621 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70622
70623 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70624 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70626 New macro.
70627 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70628 (INTERNAL_SYSCALL_TYPES): Likewise.
70629 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70630 (LOAD_REGS_TYPES_[1-6]): Likewise.
70631 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70632 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70633
70634 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70635
70636 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70637 copysignl for GLIBC_2_0.
70638 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70639 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70640 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70641 logbl for GLIBC_2_0.
70642 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70643 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70644
70645 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70646
70647 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70648 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70649
70650 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70651 Use "neg %eax".
70652
70653 * time/mktime.c: Update copyright years.
70654
70655 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70656
70657 mktime: merge comment-quoting-style change from gnulib
70658 * time/mktime.c: Quote 'like this' in comments.
70659 The GNU coding standards suggest that we no longer quote `like this',
70660 as "`" and "'" are typically rendered asymmetrically nowadays.
70661 The typical gnulib style is to quote 'like this' when quoting
70662 code, and "like this" when quoting English.
70663
70664 * time/mktime.c (compile-command): Add "-I.".
70665
70666 mktime: merge mktime-internal.h change from gnulib
70667 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70668
70669 mktime: merge time_r change from gnulib
70670 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70671
70672 mktime: merge DEBUG change from gnulib
70673 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70674 case system <time.h> has a #define.
70675
70676 mktime: merge <sys/types.h> change from gnulib
70677 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70678 since <time.t> is now guaranteed to define time_t.
70679
70680 mktime: merge HAVE_CONFIG_H change from gnulib
70681 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70682
70683 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70684
70685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70686 Use "neg %eax".
70687
70688 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70689 __rlim_t cast.
70690 (struct rusage): Use anonymous union to pad each field to
70691 __syscall_slong_t.
70692
70693 2012-05-21 David S. Miller <davem@davemloft.net>
70694
70695 * Makefules (o-iterator): Remove .s cases.
70696 (compile-command.s): Delete.
70697 (COMPILE.s): Delete.
70698 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70699
70700 2012-05-21 Joseph Myers <joseph@codesourcery.com>
70701
70702 * configure.in (libc_cv_predef_stack_protector): Only consider
70703 "foobar" and "__stack_chk_fail" lines in libc_undefs.
70704 * configure: Regenerated.
70705
70706 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70707
70708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70709 New macro. Use R*LP on int and pointer.
70710 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70711 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70712 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70713 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70714
70715 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70716 [__WORDSIZE_TIME64_COMPAT32] instead of
70717 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70718 (struct utmp): Likewise.
70719 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70720 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70721 Renamed to ...
70722 (__WORDSIZE_TIME64_COMPAT32): This.
70723 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70724 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70725 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70726 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70727 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70728 (__WORDSIZE_TIME64_COMPAT32): New macro.
70729
70730 2012-05-21 Andreas Jaeger <aj@suse.de>
70731
70732 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70733 only if [SHARED]. Add prototype for __wcschr_ia32.
70734
70735 2012-05-21 Roland McGrath <roland@hack.frob.com>
70736
70737 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70738 of %rbp unmolested in the jmp_buf while mangling the low bits.
70739 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70740 unmolested high bits of %rbp while demangling the low bits.
70741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70742
70743 2012-05-21 Andreas Jaeger <aj@suse.de>
70744
70745 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70746 * sunrpc/svc_simple.c: Use it for registerrpc.
70747 * sunrpc/xcrypt.c: Use it for passwd2des.
70748
70749 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70750
70751 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70752
70753 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70754 Don't define if [__SYSCALL_WORDSIZE != 32].
70755 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70756 New macro.
70757
70758 2012-05-21 Bruno Haible <bruno@clisp.org>
70759 Andreas Jaeger <aj@suse.de>
70760
70761 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70762 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70763 inptr and inend for must_buffer_ch.
70764 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70765 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70766 * stdio-common/Makefile (tests): Remove bug15.
70767 (bug15-ENV): Remove macro.
70768 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70769 anymore.
70770
70771 2012-05-19 Andreas Jaeger <aj@suse.de>
70772 Roland McGrath <roland@hack.frob.com>
70773
70774 * manual/contrib.texi: Completely rewritten. It contains now an
70775 alphabetical list of contributors and their contributions.
70776
70777 2012-05-21 Richard Henderson <rth@twiddle.net>
70778
70779 * misc/getauxval.c (__getauxval): Use unsigned long int.
70780 * misc/sys/auxv.h: Include <sys/cdefs.h>.
70781 (getauxval): Use unsigned long int.
70782
70783 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70784
70785 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70786
70787 2012-05-21 Roland McGrath <roland@hack.frob.com>
70788
70789 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70790 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70791 __alignof__ (long double).
70792
70793 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70794
70795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70796
70797 2012-05-20 Richard Henderson <rth@twiddle.net>
70798
70799 * misc/getauxval.c: New file.
70800 * misc/sys/auxv.h: New file.
70801 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70802 (routines): Add getauxval.
70803 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70804 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70805 * elf/dl-sysdep.c (_dl_auxv): Remove.
70806 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70807 * elf/dl-support.c (_dl_auxv): New variable.
70808 (_dl_aux_init): Initialize it.
70809 * manual/startup.texi (Auxiliary Vector): New node.
70810 * sysdeps/generic/bits/hwcap.h: New file.
70811 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70812 * sysdeps/powerpc/sysdep.h: ... here. Include it.
70813 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70814 * sysdeps/sparc/sysdep.h: ... here. Include it.
70815 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70818 Update.
70819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70822 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70827
70828 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70829
70830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70831
70832 2012-05-19 David S. Miller <davem@davemloft.net>
70833
70834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70835
70836 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70837
70838 [BZ #14123]
70839 * math/s_ccosh.c: Include <float.h>
70840 (__ccosh): Avoid internal overflow calculating sinh and cosh
70841 values before multiplying by sin and cos values.
70842 * math/s_ccoshf.c: Likewise.
70843 * math/s_ccoshl.c: Likewise.
70844 * math/s_csin.c: Likewise.
70845 * math/s_csinf.c: Likewise.
70846 * math/s_csinl.c: Likewise.
70847 * math/s_csinh.c: Likewise.
70848 * math/s_csinhf.c: Likewise.
70849 * math/s_csinhl.c: Likewise.
70850 * math/libm-test.inc (ccos_test): Add more tests.
70851 (ccosh_test): Likewise.
70852 (csin_test): Likewise.
70853 (csinh_test): Likewise.
70854 * sysdeps/i386/fpu/libm-test-ulps: Update.
70855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70856
70857 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
70858
70859 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70860 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70861
70862 * sysdeps/x86_64/x32/_itoa.h: Add comment.
70863
70864 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70865
70866 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70867 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70868 * sysdeps/powerpc/soft-fp/Versions: Likewise.
70869 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70870 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70871 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70872 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70873 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70874 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70875 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70876 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70877 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70878 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70879 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70880 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70881 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70882 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70883 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70884 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70885 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70886 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70887 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70888 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70889 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70890 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70891 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70892 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70893 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70894 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70895 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70896 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70897
70898 2012-05-18 Andreas Jaeger <aj@suse.de>
70899
70900 * csu/.gitignore: Delete.
70901
70902 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70903
70904 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70905 (timex): Use __syscall_slong_t.
70906
70907 2012-05-18 Andreas Jaeger <aj@suse.de>
70908 Carlos O'Donell <carlos_odonell@mentor.com>
70909
70910 * manual/install.texi (Configuring and compiling): Update
70911 description about files modified in the source directory.
70912 * INSTALL: Regenerated.
70913
70914 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70915
70916 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70917 value. Use "or" to set return value to -1.
70918 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70919 negate return value.
70920
70921 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70922
70923 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70924 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70925 failure if the compiler has Graphite support disabled.
70926 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70927 Likewise.
70928 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70929 (CFLAGS-memmove.c): Likewise.
70930 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70931 Likewise.
70932
70933 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70934
70935 * sysdeps/x86_64/x32/_itoa.h: New file.
70936
70937 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70938 getdents system call only if kernel and user dirents have the
70939 same d_ino and d_off.
70940
70941 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70942 LLONG_MAX != LONG_MAX.
70943 (_itoa_word): Use _ITOA_WORD_TYPE on value.
70944 (_fitoa_word): Likewise.
70945
70946 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70947 years.
70948 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70949 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70950 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70951
70952 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70953 include <bits/wordsize.h>. Check __x86_64__ instead of
70954 __WORDSIZE.
70955 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70956 if __x86_64__ is defined. Use anonymous union on fpstate.
70957
70958 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70959 anonymous union.
70960
70961 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
70962
70963 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70964 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70965 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70966 Refer to _rtld_local_ro instead of _rtld_global_ro.
70967 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70968 Likewise.
70969 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70970 Likewise.
70971 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70972 Likewise.
70973 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70974 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70975 of _rtld_global, and rtld_progname instead of _dl_argv[0].
70976
70977 [BZ #10882]
70978 * sysdeps/powerpc/powerpc32/dl-machine.c
70979 (__elf_machine_runtime_setup) [PROF]: Don't reference
70980 _dl_prof_resolve.
70981
70982 2012-05-18 Andreas Jaeger <aj@suse.de>
70983
70984 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70985 function only available for GCCs before 3.4 since GCC 3.4
70986 introduced a builtin.
70987 (lrint): Likewise.
70988 (llrintf): Likewise.
70989 (llrint): Likewise.
70990 (fmaxf): Likewise.
70991 (fmax): Likewise.
70992 (fminf): Likewise.
70993 (fmin): Likewise.
70994 (rint): Likewise.
70995 (rintf): Likewise.
70996 (nearbyint): Likewise.
70997 (nearbyintf): Likewise.
70998 (ceil): Likewise.
70999 (ceilf): Likewise.
71000 (floor): Likewise.
71001 (floorf): Likewise.
71002
71003 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71004
71005 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71006 on both fields and cast pointer to __syscall_ulong_t.
71007
71008 * bits/types.h (__fsword_t): New type.
71009 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71010 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71011 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71012 (__FSWORD_T_TYPE): Likewise.
71013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71014 (__FSWORD_T_TYPE): Likewise.
71015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71016 (__FSWORD_T_TYPE): Likewise.
71017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71018 (__FSWORD_T_TYPE): Likewise.
71019 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71020 __SWORD_TYPE with __fsword_t.
71021 (statfs64): Likewise.
71022
71023 2012-05-17 David S. Miller <davem@davemloft.net>
71024
71025 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71026
71027 2012-05-17 Andreas Jaeger <aj@suse.de>
71028
71029 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71030 warning.
71031
71032 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71033
71034 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71035
71036 2012-05-17 Andreas Jaeger <aj@suse.de>
71037
71038 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71039 when it is used.
71040
71041 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71042
71043 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71044
71045 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71046
71047 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71048 * sysdeps/x86_64/tst-mallocalign1.c: New file.
71049
71050 2012-05-17 Andreas Jaeger <aj@suse.de>
71051 Carlos O'Donell <carlos_odonell@mentor.com>
71052
71053 [BZ #14059]
71054 * sysdeps/x86_64/multiarch/init-arch.h
71055 (bit_YMM_Usable): Rename to...
71056 (bit_AVX_Usable): ... this.
71057 (bit_FMA4_Usable): New macro.
71058 (bit_XMM_state): New macro.
71059 (bit_YMM_state): New macro.
71060 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71061 [__ASSEMBLER__] (index_AVX_Usable): ... this.
71062 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71063 (CPUID_OSXSAVE): New macro.
71064 (CPUID_AVX): New macro.
71065 (CPUID_FMA4): New macro.
71066 (index_YMM_Usable): Rename to...
71067 (index_AVX_Usable): ... this.
71068 (HAS_AVX): Use HAS_ARCH_FEATURE.
71069 (HAS_FMA4): Likewise.
71070 (HAS_YMM_USABLE): Remove.
71071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71072 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71073 are present.
71074 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71075 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71076 * sysdeps/x86_64/multiarch/Makefile: Likewise.
71077 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71078 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71079
71080 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71081
71082 * math/libm-test.c: Support platforms without multiple rounding modes.
71083 * math/bug-nextafter.c: Support platforms without FP exceptions.
71084 * math/bug-nexttoward.c: Likewise.
71085 * math/test-fenv.c: Likewise.
71086 * math/test-misc.c: Likewise.
71087 * stdlib/bug-getcontext.c: Likewise.
71088
71089 2012-05-17 Andreas Jaeger <aj@suse.de>
71090
71091 * manual/examples/search.c (critter_cmp): Change signature to
71092 avoid warnings.
71093 * manual/string.texi (Collation Functions): Likewise.
71094
71095 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71096
71097 * bits/types.h: Fold copyright years.
71098 * bits/typesizes.h: Likewise.
71099 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71100 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71103 * time/time.h: Likewise.
71104
71105 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
71106
71107 [BZ #208]
71108 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71109 in instead of returning them. Return void.
71110 (__libc_mallinfo): Accumulate over all arenas.
71111 (__malloc_stats): Adjust for change in int_mallinfo interface.
71112
71113 2012-05-16 Roland McGrath <roland@hack.frob.com>
71114
71115 [BZ #10375]
71116 * configure.in (NM): Add AC_CHECK_TOOL for it.
71117 (libc_extra_cflags): New substituted variable.
71118 Check for -fstack-protector being used implicitly.
71119 * configure: Regenerated.
71120 * config.make.in (config-extra-cflags): New variable,
71121 gets @libc_extra_cflags@.
71122 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71123
71124 [BZ #10375]
71125 * configure.in: Check for _FORTIFY_SOURCE being predefined.
71126 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71127 * configure: Regenerated.
71128 * config.make.in (CPPUNDEFS): New substituted variable.
71129 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71130 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71131 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71132
71133 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71134
71135 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71136 (mq_attr): Use __syscall_slong_t.
71137
71138 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71139
71140 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71141 Check __x86_64__ instead of __WORDSIZE.
71142 (_STAT_VER_LINUX): Likewise.
71143 (stat): Check __x86_64__ instead of __WORDSIZE. Use
71144 __syscall_ulong_t and __syscall_slong_t.
71145 (stat64): Likewise.
71146
71147 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71148
71149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71150
71151 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71152
71153 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71154
71155 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71156
71157 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71158 __syscall_ulong_t.
71159
71160 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71161 include <bits/wordsize.h>. Check __x86_64__ instead of
71162 __WORDSIZE.
71163 (greg_t): Use "__extension__ long long int" if __x86_64__ is
71164 defined.
71165 (mcontext_t): Replace "unsigned long" with "unsigned long long".
71166
71167 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71168 include <bits/wordsize.h>. Check __x86_64__ instead of
71169 __WORDSIZE.
71170 (user_regs_struct): Use "__extension__ unsigned long long"
71171 instead of "unsigned long" if __x86_64__ is defined.
71172 (user): Likewise. Pad after pointer field if __ILP32__ is
71173 defined.
71174
71175 2012-05-16 Joseph Myers <joseph@codesourcery.com>
71176
71177 * configure.in (makeinfo): Require version 4.5 or later. Allow
71178 versions 5 to 9.
71179 * configure: Regenerated.
71180 * manual/install.texi (texinfo): Increase version requirement to
71181 4.5 or later.
71182 * INSTALL: Regenerated.
71183
71184 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71185
71186 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71187
71188 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71189
71190 * sysdeps/x86_64/x32/ffs.c: New file.
71191
71192 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71193 __syscall_ulong_t.
71194 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71195 defined. Use __syscall_ulong_t.
71196 (shminfo): Use __syscall_ulong_t.
71197 (shm_info): Likewise.
71198
71199 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71200 __syscall_ulong_t.
71201
71202 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71203 <bits/wordsize.h>.
71204 (msgqnum_t): Use __syscall_ulong_t.
71205 (msglen_t): Likewise.
71206 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
71207 __syscall_ulong_t.
71208
71209 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71210 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71211
71212 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71213
71214 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71215 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71216
71217 * sysvipc/sys/msg.h (msgbuf): Replace long int with
71218 __syscall_slong_t.
71219
71220 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71221 include <bits/wordsize.h>. Check __x86_64__ instead of
71222 __WORDSIZE.
71223
71224 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71225 "unsigned long long int" if __x86_64__ is defined.
71226 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71227
71228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71229 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71230 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71231
71232 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71233 <stdint.h>.
71234 (GET_PC): Cast to uintptr_t first.
71235 (GET_FRAME): Likewise.
71236 (GET_STACK): Likewise.
71237
71238 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71239 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71240 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71241 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71242 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71243 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71244 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71245 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71246 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71248 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71249 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71250 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71251 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71252 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71253 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71254 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71255 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71256 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71257 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71258 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71260 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71262 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71265 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71266 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71267
71268 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
71269
71270 * Makerules (+depfiles): Also collect depfiles from .oS in
71271 $(extra-objs).
71272 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71273 .oS, $(libnldbl-routines)).
71274
71275 * Makerules (native-compile-mkdep-flags): Define.
71276 * sunrpc/Makefile (extra-objs): Add $(addprefix
71277 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71278 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71279 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
71280 calling $(make-target-directory).
71281
71282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71283
71284 * bits/types.h (__snseconds_t): Removed.
71285 * time/time.h (struct timespec): Replace __snseconds_t with
71286 __syscall_slong_t.
71287 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71288 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71289 Likewise.
71290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71291 (__SNSECONDS_T_TYPE): Likewise.
71292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71293 (__SNSECONDS_T_TYPE): Likewise.
71294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71295 (__SNSECONDS_T_TYPE): Likewise.
71296
71297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71298
71299 * sysdeps/mach/hurd/bits/typesizes.h
71300 (__SYSCALL_SLONG_TYPE): New macro.
71301 (__SYSCALL_ULONG_TYPE): Likewise.
71302
71303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71304
71305 * bits/types.h (__syscall_slong_t): New type.
71306 (__syscall_ulong_t): Likewise.
71307
71308 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71309 (__SYSCALL_ULONG_TYPE): Likewise.
71310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71311 (__SYSCALL_SLONG_TYPE): Likewise.
71312 (__SYSCALL_ULONG_TYPE): Likewise.
71313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71314 (__SYSCALL_SLONG_TYPE): Likewise.
71315 (__SYSCALL_ULONG_TYPE): Likewise.
71316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71317 (__SYSCALL_SLONG_TYPE): Likewise.
71318 (__SYSCALL_ULONG_TYPE): Likewise.
71319
71320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71321
71322 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71323 Add sigaltstack-offsets.sym.
71324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71325 <sigaltstack-offsets.h>.
71326 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
71327 longjmp_msg pointer.
71328 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
71329 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71330 signal stack.
71331 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71332
71333 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71334
71335 * elf/stackguard-macros.h: Remove file.
71336 * sysdeps/generic/stackguard-macros.h: New file.
71337 * sysdeps/i386/stackguard-macros.h: Likewise.
71338 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71339 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71340 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71341 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71342 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71343 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71344 * sysdeps/x86_64/stackguard-macros.h: Likewise.
71345 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71346 <elf/stackguard-macros.h>.
71347
71348 [BZ #14109]
71349 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71350 __aligned__ in attribute.
71351 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71352 (gregset_t): Likewise.
71353
71354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71355
71356 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71357 * sysdeps/x86_64/64/Implies-after: Here. New file.
71358 * sysdeps/x86_64/x32/Implies-after: New file.
71359
71360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71361
71362 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71363 and access return value for _dl_profile_fixup. Use R10_LP to
71364 load frame size.
71365
71366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71367
71368 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71369
71370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71371
71372 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71373 * sysdeps/x86_64/x32/sysdep.h: New file.
71374
71375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71376
71377 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71378 * sysdeps/x86_64/setjmp.S: Likewise.
71379
71380 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71381
71382 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71384 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71385 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71386 remove unused global constant.
71387
71388 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
71389
71390 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71391 include of <not-cancel.h>.
71392
71393 2012-05-15 Roland McGrath <roland@hack.frob.com>
71394
71395 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71396
71397 2012-05-15 Jeff Law <law@redhat.com>
71398 Andreas Jaeger <aj@suse.de>
71399
71400 [BZ #13594]
71401 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71402 out from...
71403 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71404 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71405 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71406 code changing __hst_map_handle.map.
71407
71408 2012-05-15 Roland McGrath <roland@hack.frob.com>
71409
71410 * configure.in (sysnames): Look for Implies-before and Implies-after
71411 files.
71412 * configure: Regenerated.
71413
71414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71415
71416 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71417 8-byte data alignment with LP_SIZE alignment.
71418
71419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71420
71421 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71422 into R10_LP.
71423
71424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71425
71426 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71427
71428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71429
71430 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71431 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71432 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71433 Likewise.
71434 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71435
71436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71437
71438 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71439 (stackinfo_sub_sp): Likewise.
71440
71441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71442
71443 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71444 RAX_LP.
71445
71446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71447
71448 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71449 into R*_LP.
71450
71451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71452
71453 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71454 sizes into R*_LP.
71455
71456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71457
71458 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71459
71460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71461
71462 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71463 into R11_LP and load __x86_64_shared_cache_size_half into
71464 R8_LP.
71465
71466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71467
71468 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71469 R8_LP.
71470
71471 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71472
71473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71474 logb for POWER7.
71475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71476 logbf for POWER7.
71477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71478 logbl for POWER7.
71479 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71480 powerpc32/power7/fpu/s_logb.c via #include.
71481 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71482 powerpc32/power7/fpu/s_logbf.c via #include.
71483 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71484 powerpc32/power7/fpu/s_logbl.c via #include.
71485
71486 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71487
71488 * README.libm: Remove file.
71489
71490 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71491
71492 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71493 count for x32. Use R*_LP and omit operand-size suffix.
71494
71495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71496
71497 * shlib-versions: Move x86_64-.*-linux.* entries to ...
71498 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71499 * sysdeps/x86_64/x32/shlib-versions: New file.
71500
71501 2012-05-14 Roland McGrath <roland@hack.frob.com>
71502
71503 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71504 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71505 Use _dl_fatal_printf instead.
71506
71507 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71508
71509 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71510 set if not set by the user. Do not allow for being unset.
71511 * sysdeps/unix/sysv/linux/configure: Regenerated.
71512
71513 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71514
71515 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71516 the `q' suffix from lea and replace .quad with ASM_ADDR.
71517
71518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71519
71520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71521 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71522 instead of $17.
71523 (PTR_DEMANGLE): Likewise.
71524
71525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71526
71527 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71528 (LP_OP): Likewise.
71529 (ASM_ADDR): Likewise.
71530 (RAX_LP): Likewise.
71531 (RBP_LP): Likewise.
71532 (RBX_LP): Likewise.
71533 (RCX_LP): Likewise.
71534 (RDI_LP): Likewise.
71535 (RSI_LP): Likewise.
71536 (RSP_LP): Likewise.
71537 (R8_LP): Likewise.
71538 (R9_LP): Likewise.
71539 (R10_LP): Likewise.
71540 (R10_LP): Likewise.
71541 (R11_LP): Likewise.
71542 (R12_LP): Likewise.
71543 (R13_LP): Likewise.
71544 (R14_LP): Likewise.
71545 (R15_LP): Likewise.
71546
71547 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71548
71549 * sysdeps/x86_64/x32/dl-machine.h: New file.
71550
71551 2012-05-14 Andreas Jaeger <aj@suse.de>
71552
71553 * manual/Makefile (subdir): Remove export of subdir.
71554 (all): Remove target.
71555 (.PHONY): Remove all from list.
71556 (mkinstalldirs): Remove.
71557 (.PHONY): Remove installdirs from list.
71558 ($(inst_infodir)/libc.info): Use make-target-directory.
71559 (installdirs): Remove.
71560 (subdir_%): Remove.
71561 (glibc-targets): Remove.
71562 (lib): Remove.
71563 (stubs): Remove.
71564 ($(objpfx)stubs ../po/manual.pot): Remove.
71565 ($(objpfx)stamp%): Remove.
71566 (make-target-directory): Remove.
71567 (subdir_install): Remove.
71568 (routines): Remove.
71569 (aux): Remove.
71570 (sources): Remove.
71571 (objects): Remove.
71572 (headers): Remove.
71573
71574 [BZ #13750]
71575 * manual/.gitignore: Remove, it's not needed anymore.
71576 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71577 all files in it.
71578 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71579 directory.
71580 (texis): Renamed to $(objpfx)texis.
71581 (texis-path): New, contains path to generated files.
71582 (chapters.%): Use texis-path for complete path, add extra argument
71583 libc-texinfo.sh.
71584 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71585 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71586 (summary,texi, stamp-summary): Use complete path of
71587 files. Generate files in build dir.
71588 (dir-add.texi): Build in build dir.
71589 (libm-err.texi,stamp-libm-err): Likewise.
71590 (version.texi, stamp-version): Likewise.
71591 (.%c.texi): Likewise.
71592 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71593 (mostlyclean): Remove target.
71594 (realclean): Remove target.
71595 (generated): Add new variable with contents from mostlyclean and
71596 realclean, remove entries duplicated in common-mostlyclean, add
71597 stamp-libm-err and stamp-version.
71598 (generated-dirs): Add libc directory.
71599 ($(inst_infodir)/libc.info): Install files from build dir.
71600
71601 * manual/install.texi (Configuring and compiling): Adjust since
71602 the info files are not part of the tar ball anymore.
71603
71604 2012-05-14 Andreas Jaeger <aj@suse.de>
71605
71606 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71607 variable.
71608
71609 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71610
71611 [BZ #13717]
71612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71613 to 2.2.0 where earlier.
71614 * sysdeps/unix/sysv/linux/configure: Regenerated.
71615 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71616 Remove conditional code.
71617 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71618 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71619 Remove conditional code.
71620 [!__NR_lchown]: Likewise.
71621 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71622 [__NR_lchown]: Likewise.
71623 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71624 comment referencing __ASSUME_LCHOWN_SYSCALL.
71625 * sysdeps/unix/sysv/linux/i386/sigaction.c
71626 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71627 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71628 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71629 Remove conditional code.
71630 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71631 (__protocol_available): Remove #if 0 code.
71632 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71633 conditional code.
71634 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71635 * sysdeps/unix/sysv/linux/kernel-features.h
71636 (__ASSUME_GETCWD_SYSCALL): Don't define.
71637 (__ASSUME_REALTIME_SIGNALS): Likewise.
71638 (__ASSUME_PREAD_SYSCALL): Likewise.
71639 (__ASSUME_PWRITE_SYSCALL): Likewise.
71640 (__ASSUME_POLL_SYSCALL): Likewise.
71641 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71642 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71643 non-SPARC.
71644 (__ASSUME_SIOCGIFNAME): Don't define.
71645 (__ASSUME_MSG_NOSIGNAL): Likewise.
71646 (__ASSUME_SENDFILE): Define unconditionally.
71647 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71648 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71649 conditional code.
71650 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71651 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71652 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71653 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71654 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71655 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71656 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71658 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71661 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71664 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71670 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71676 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71681 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71682 Remove conditional code.
71683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71684 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71685 Remove conditional code.
71686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71687 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71688 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71689 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71690 Remove conditional code.
71691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71692 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71693 Remove conditional code.
71694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71695 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71696 Remove conditional code.
71697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71698 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71699 Remove conditional code.
71700 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71701 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71702 Remove conditional code.
71703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71704 * sysdeps/unix/sysv/linux/sh/pwrite64.c
71705 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71707 * sysdeps/unix/sysv/linux/sigaction.c
71708 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71709 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71710 * sysdeps/unix/sysv/linux/sigpending.c
71711 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71712 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71713 * sysdeps/unix/sysv/linux/sigprocmask.c
71714 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71715 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71716 * sysdeps/unix/sysv/linux/sigsuspend.c
71717 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71718 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71719 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71720 (__libc_missing_rt_sigs): Remove.
71721 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71722 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71723 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71724 Remove conditional code.
71725 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71726 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71727 return 1.
71728 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71729 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71730 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71731 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71732
71733 2012-05-14 Andreas Jaeger <aj@suse.de>
71734
71735 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71736 it's not used in glibc.
71737 (__coshm1): Likewise.
71738 (__acosh1p): Likewise.
71739 (__sgn): Likewise.
71740
71741 * manual/string.texi (Copying and Concatenation): Add missing
71742 variable in concat example.
71743 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71744
71745 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71746
71747 [BZ #14103]
71748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71749 __builtin_clzl with __builtin_clzll.
71750
71751 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71752
71753 [BZ #14104]
71754 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71755 libc_freeres_ptr.
71756
71757 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71758
71759 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71760 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71761 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71762 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71763
71764 2012-05-14 Mike Frysinger <vapier@gentoo.org>
71765
71766 * NEWS: Update ia64 info.
71767
71768 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
71769
71770 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71771 used as bcopy.
71772
71773 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
71774
71775 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71776 * sysdeps/unix/syscalls.list (dup3): Likewise.
71777 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71778 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71779
71780 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71781
71782 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71783 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71784
71785 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71786
71787 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71788 thread pointer.
71789 (TLS_IE): Use mov/add instead of movq/addq to load thread
71790 pointer.
71791 (TLS_GD_PREFIX): New.
71792 (TLS_GD): Use it.
71793
71794 2012-05-11 David S. Miller <davem@davemloft.net>
71795
71796 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71797 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71798 (_FPU_SETCW): Likewise.
71799
71800 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71801
71802 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71803 is 32-byte aligned.
71804
71805 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
71806
71807 [BZ #11837]
71808 * iconvdata/gb18030.c: Update tables.
71809 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71810 characters specially.
71811 (BODY for TO_LOOP): Add encoding of missing ranges.
71812
71813 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
71814
71815 [BZ #13673]
71816 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71817 * sysdeps/mach/hurd/dup3.c: Likewise.
71818 * sysdeps/mach/hurd/readlinkat.c: Likewise.
71819 * sysdeps/powerpc/memmove.c:: Likewise.
71820
71821 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71822
71823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71824 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71825
71826 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71827
71828 * elf/elf.h (R_X86_64_RELATIVE64): New.
71829 (R_X86_64_NUM): Updated.
71830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71831 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
71832 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71833 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71834 tst-quad1pie tst-quad2pie
71835 (modules-names): Add tst-quadmod1 tst-quadmod2.
71836 ($(objpfx)tst-quad1): New dependency.
71837 ($(objpfx)tst-quad2): Likewise.
71838 ($(objpfx)tst-quad1pie): Likewise.
71839 ($(objpfx)tst-quad2pie): Likewise.
71840 * sysdeps/x86_64/tst-quad1.c: New file.
71841 * sysdeps/x86_64/tst-quad1pie.c: New file.
71842 * sysdeps/x86_64/tst-quad2.c: Likewise.
71843 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71844 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71845 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71846 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71847 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71848
71849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71850
71851 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71852 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71853 * streams/stropts.h (t_scalar_t): Define type.
71854
71855 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71856 (_PATH_PRESERVE): Set to "/var/lib".
71857 (_PATH_RWHODIR): Set to "/var/spool/rwho".
71858
71859 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71860 instead of int.
71861
71862 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71863 if __dir_mkfile succeeded.
71864
71865 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71866 checking for _hurd_dtablesize. Unlock it right after having
71867 finished _hurd_dtable allocation.
71868
71869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71870
71871 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71872 * sysdeps/mach/hurd/configure: Regenerated.
71873 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71874 special-casing to...
71875 * sysdeps/gnu/configure.in: ... this new file.
71876 * sysdeps/unix/sysv/linux/configure: Regenerated.
71877 * sysdeps/gnu/configure: New generated file.
71878
71879 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71880 for Linux: use nsec instead of usec, as well as:
71881 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71882 members of type struct timespec.
71883 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71884 New macros.
71885 (struct stat64): Likewise.
71886 (_STATBUF_ST_NSEC): New macro.
71887 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71888
71889 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71890 __strtoul_internal rather than strtoul.
71891
71892 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71893
71894 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71895 and reject them.
71896
71897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71898
71899 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71900 which preserves existing values.
71901 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71902
71903 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71904
71905 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71906 TIMEOUT values. Return EINVAL for NFDS values either negative or
71907 greater than FD_SETSIZE.
71908
71909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71910
71911 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71912 allocated, call __vm_protect to finish enabling the existing space, and
71913 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71914 allocate the remainder.
71915
71916 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71917
71918 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71919 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
71920
71921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71922
71923 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71924 sysdeps/mach/hurd/readlink.c.
71925
71926 * posix/tst-sysconf.c (posix_options): Only use
71927 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71928 _POSIX_SYNCHRONIZED_IO when they are defined
71929 * sysdeps/mach/hurd/bits/posix_opt.h:
71930 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71931 (_XOPEN_REALTIME): Undefine macro.
71932 (_XOPEN_REALTIME_THREADS): Undefine macro.
71933 (_XOPEN_SHM): Undefine macro.
71934 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71935 macro to -1.
71936 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71937 macro to -1.
71938 (_POSIX_ASYNC_IO): Undefine macro.
71939 (_POSIX_PRIORITIZED_IO): Undefine macro.
71940 (_POSIX_SPIN_LOCKS): Define macro to -1.
71941
71942 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71943 SA_NODEFER, SA_RESETHAND.
71944 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71945 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71946 F_DUPFD_CLOEXEC.
71947
71948 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71949
71950 * elf/Makefile (pldd-modules): Define unconditionally.
71951
71952 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71953
71954 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71955
71956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71957
71958 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71959 Return ENOENT when name is empty.
71960 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71961
71962 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71963
71964 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71965
71966 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71967
71968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71969
71970 Fix mlock in all cases except non-readable pages.
71971 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71972 instead of VM_PROT_ALL as parameter to __vm_wire function.
71973
71974 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71975 (__mkdir): When path is `/', just fail with EEXIST.
71976 * sysdeps/mach/hurd/mkdirat.c: Likewise.
71977
71978 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71979
71980 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71981 <sys/uio.h> (for writev).
71982 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71983 and <sys/param.h> (for MIN).
71984
71985 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71986
71987 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71988 REQUESTED_TIME. Properly set the remaining time and return EINTR
71989 if interrupted.
71990
71991 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71992
71993 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71994 Depend on against $(link-rpcuserlibs).
71995
71996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71997
71998 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71999 (__libc_stack_end): Do not use attribute_relro.
72000 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72001 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72002 to libthread-provided value.
72003 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72004 attribute_relro.
72005
72006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72007
72008 [BZ #3748]
72009 * bits/libc-lock.h (__libc_once_get): New macro.
72010 * sysdeps/mach/bits/libc-lock.h: Likewise.
72011 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72012 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72013 instead of using implementation details.
72014
72015 * libio/fileops.c: Unconditionally include <kernel-features.h>.
72016 * libio/freopen.c: Likewise.
72017 * libio/freopen64.c: Likewise.
72018 * misc/syslog.c: Likewise.
72019 * nscd/connections.c: Likewise.
72020 * nscd/netgroupcache.c: Likewise.
72021 * sysdeps/posix/getcwd.c: Likewise.
72022
72023 2012-05-10 Roland McGrath <roland@hack.frob.com>
72024
72025 * math/w_ilogbf.c: Add #include <limits.h>.
72026
72027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72028
72029 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72030 path instead of returning without unlocking.
72031
72032 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72033 immediate-write ioctls.
72034 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72035
72036 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72037
72038 * sysdeps/mach/hurd/i386/init-first.c (init): Use
72039 __builtin_frame_address instead of making assumptions about the
72040 location of the return address relative to DATA. Force early load of
72041 the return address.
72042 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72043 __builtin_frame_address.
72044
72045 dup3 for GNU Hurd.
72046 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72047 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
72048 implement dup3 and do some further code clean-ups.
72049 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72050 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72051
72052 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72053
72054 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72055
72056 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72057 HURD_CRITICAL_END around holding _hurd_dtable_lock.
72058 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72059 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72060 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72061 d->port.lock.
72062
72063 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72064 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
72065 when handler == SIG_ERR, not when handler != SIG_ERR.
72066
72067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72068
72069 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72070 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72071 definitions.
72072
72073 accept4 for GNU Hurd.
72074 * include/sys/socket.h (__libc_accept4): New prototype.
72075 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
72076 to implement __libc_accept4.
72077 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72078 __libc_accept4.
72079 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72080
72081 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72082 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72083 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72084 signal-defines.sym.
72085
72086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72087
72088 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72089
72090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72091
72092 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72093 assertion on O_CLOEXEC flag.
72094 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72095 * hurd/intern-fd.c: Likewise.
72096 * hurd/port2fd.c: Likewise.
72097
72098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72099
72100 [BZ #3906]
72101 * bits/in.h (IPV6_PKTINFO): Define new macro.
72102 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72103
72104 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72105
72106 [BZ #13954]
72107 [BZ #13955]
72108 [BZ #13956]
72109 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72110 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72111 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72112 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72113 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72114 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72115 * math/libm-test.inc (logb_test) : Additional logb tests.
72116
72117 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
72118 Andreas Jaeger <aj@suse.de>
72119
72120 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72121 * configure: Regenerated.
72122 * config.h.in (LINK_OBSOLETE_RPC): New macro.
72123 * config.make.in (link-obsolete-rpc): New substituted variable.
72124 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72125 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72126 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72127 (shared-only-routines): Don't set it under [link-obsolete-rpc],
72128 so that libc.a contains the symbols.
72129 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72130 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72131 * sunrpc/auth_none.c: Likewise.
72132 * sunrpc/auth_unix.c: Likewise.
72133 * sunrpc/authdes_prot.c: Likewise.
72134 * sunrpc/authuxprot.c: Likewise.
72135 * sunrpc/clnt_gen.c: Likewise.
72136 * sunrpc/clnt_perr.c: Likewise.
72137 * sunrpc/clnt_raw.c: Likewise.
72138 * sunrpc/clnt_simp.c: Likewise.
72139 * sunrpc/clnt_tcp.c: Likewise.
72140 * sunrpc/clnt_udp.c: Likewise.
72141 * sunrpc/clnt_unix.c: Likewise.
72142 * sunrpc/des_crypt.c: Likewise.
72143 * sunrpc/des_soft.c: Likewise.
72144 * sunrpc/get_myaddr.c: Likewise.
72145 * sunrpc/key_call.c: Likewise.
72146 * sunrpc/key_prot.c: Likewise.
72147 * sunrpc/netname.c: Likewise.
72148 * sunrpc/pm_getmaps.c: Likewise.
72149 * sunrpc/pm_getport.c: Likewise.
72150 * sunrpc/pmap_clnt.c: Likewise.
72151 * sunrpc/pmap_prot.c: Likewise.
72152 * sunrpc/pmap_prot2.c: Likewise.
72153 * sunrpc/pmap_rmt.c: Likewise.
72154 * sunrpc/publickey.c: Likewise.
72155 * sunrpc/rpc_cmsg.c: Likewise.
72156 * sunrpc/rpc_common.c: Likewise.
72157 * sunrpc/rpc_dtable.c: Likewise.
72158 * sunrpc/rpc_prot.c: Likewise.
72159 * sunrpc/rpc_thread.c: Likewise.
72160 * sunrpc/rtime.c: Likewise.
72161 * sunrpc/svc.c: Likewise.
72162 * sunrpc/svc_auth.c: Likewise.
72163 * sunrpc/svc_raw.c: Likewise.
72164 * sunrpc/svc_run.c: Likewise.
72165 * sunrpc/svc_tcp.c: Likewise.
72166 * sunrpc/svc_udp.c: Likewise.
72167 * sunrpc/svc_unix.c: Likewise.
72168 * sunrpc/svcauth_des.c: Likewise.
72169 * sunrpc/xcrypt.c: Likewise.
72170 * sunrpc/xdr.c: Likewise.
72171 * sunrpc/xdr_array.c: Likewise.
72172 * sunrpc/xdr_float.c: Likewise.
72173 * sunrpc/xdr_intXX_t.c: Likewise.
72174 * sunrpc/xdr_mem.c: Likewise.
72175 * sunrpc/xdr_rec.c: Likewise.
72176 * sunrpc/xdr_ref.c: Likewise.
72177 * sunrpc/xdr_sizeof.c: Likewise.
72178 * sunrpc/xdr_stdio.c: Likewise.
72179
72180 2012-05-10 Roland McGrath <roland@hack.frob.com>
72181
72182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72183 change. Update copyright years.
72184
72185 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72186
72187 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72188
72189 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
72190 Joseph Myers <joseph@codesourcery.com>
72191 Paul Pluzhnikov <ppluzhnikov@google.com>
72192
72193 [BZ #14012]
72194 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72195 requiring rpcgen.
72196 [cross-compiling] (extra-libs): Likewise.
72197 [cross-compiling] (extra-libs-others): Likewise.
72198 [cross-compiling] (librpcsvc-routines): Likewise.
72199 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72200 [cross-compiling] (omit-deps): Likewise.
72201 (sunrpc-CPPFLAGS): New variable.
72202 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72203 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72204 (cross-rpcgen-objs): New variable.
72205 (extra-objs): Append $(cross-rpcgen-objs).
72206 ($(cross-rpcgen-objs)): New rule.
72207 ($(objpfx)cross-rpcgen): Likewise.
72208 (rpcgen-cmd): Define to use $(built-program-file). Expand
72209 comment.
72210 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72211 ($(objpfx)x%.stmp): Likewise.
72212 * sunrpc/proto.h [IS_IN_build] (_): Define.
72213 [IS_IN_build] (_libc_intl_domainname): Likewise.
72214
72215 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72216
72217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72218 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72219 and R_X86_64_TPOFF64.
72220
72221 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72222
72223 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72224 sysdeps/unix/sysv/syscalls.list.
72225 (stime): Likewise.
72226 (utime): Likewise.
72227 * sysdeps/unix/sysv/syscalls.list: Remove file.
72228
72229 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
72230
72231 [BZ #3440]
72232 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72233 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72234 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72235 (__LC_IDENTIFICATION): Make these macros useful in #if
72236 expressions, as required by C99.
72237
72238 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
72239
72240 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72241 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
72242 after this.
72243
72244 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
72245
72246 * stdlib/longlong.h: Updated from GCC.
72247
72248 2012-05-09 Andreas Jaeger <aj@suse.de>
72249
72250 * nscd/nscd.c (run_modes): Make named enum, reorder so that
72251 default is first entry.
72252 (run_mode): Set type.
72253 (main): Remove informal message about syslog.
72254 (options): Fix typo.
72255
72256 [BZ #14053]
72257 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72258 to asm.
72259 (lrint): Likewise.
72260 (llrintf): Likewise.
72261 (llrint): Likewise.
72262 (rint): Likewise.
72263 (rintf): Likewise.
72264 (nearbyint): Likewise.
72265 (nearbyintf): Likewise.
72266
72267 2012-05-09 Andreas Jaeger <aj@suse.de>
72268 Pedro Alves <palves@redhat.com>
72269
72270 * nscd/nscd.c (run_mode): Use enum.
72271 (main): Cleanup coding style issue.
72272
72273 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
72274 Andreas Jaeger <aj@suse.de>
72275
72276 * nscd/nscd.c (go_background): Replaced with...
72277 (run_mode): ... this.
72278 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72279 (options): Add -F --foreground.
72280 (main): Implement it.
72281 (parse_opt): Parse it.
72282
72283 2012-05-09 Andreas Jaeger <aj@suse.de>
72284
72285 [BZ #14083]
72286 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72287 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72288 -Wconversion warning.
72289 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72290 Likewise.
72291
72292 2012-05-09 Joseph Myers <joseph@codesourcery.com>
72293
72294 * conform/data/locale.h-data (NULL): Use macro-constant. Require
72295 == 0.
72296 (LC_ALL): Use macro-int-constant.
72297 (LC_COLLATE): Likewise.
72298 (LC_CTYPE): Likewise.
72299 (LC_MESSAGES): Likewise.
72300 (LC_MONETARY): Likewise.
72301 (LC_NUMERIC): Likewise.
72302 (LC_TIME): Likewise.
72303 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72304 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72305 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72306 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72307 Specify type.
72308 [C99-based standards] (float_t): Expect type.
72309 [C99-based standards] (double_t): Expect type.
72310 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
72311 type.
72312 [C99-based standards] (HUGE_VALL): Likewise.
72313 [C99-based standards] (INFINITY): Likewise.
72314 [C99-based standards] (NAN): Likewise.
72315 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72316 [C99-based standards] (FP_NAN): Likewise.
72317 [C99-based standards] (FP_NORMAL): Likewise.
72318 [C99-based standards] (FP_SUBNORMAL): Likewise.
72319 [C99-based standards] (FP_ZERO): Likewise.
72320 [C99-based standards] (FP_FAST_FMA): Use
72321 optional-macro-int-constant. Specify type. Require == 1.
72322 [C99-based standards] (FP_FAST_FMAF): Likewise.
72323 [C99-based standards] (FP_FAST_FMAL): Likewise.
72324 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72325 [C99-based standards] (FP_ILOGBNAN): Likewise.
72326 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72327 Specify type.
72328 [C99-based standards] (MATH_ERREXCEPT): Likewise.
72329 [C99-based standards] (math_errhandling): Specify type.
72330 [ISO99 || ISO11] (signgam): Do not allow.
72331 [non-C99-based standards] (copysignf): Do not allow.
72332 [non-C99-based standards] (exp2f): Likewise.
72333 [non-C99-based standards] (log2f): Likewise.
72334 [non-C99-based standards] (modff): Allow.
72335 [non-C99-based standards] (erff): Do not allow.
72336 [non-C99-based standards] (erfcf): Likewise.
72337 [non-C99-based standards] (gammaf): Likewise.
72338 [non-C99-based standards] (hypotf): Likewise.
72339 [non-C99-based standards] (j0f): Likewise.
72340 [non-C99-based standards] (j1f): Likewise.
72341 [non-C99-based standards] (jnf): Likewise.
72342 [non-C99-based standards] (lgammaf): Likewise.
72343 [non-C99-based standards] (tgammaf): Likewise.
72344 [non-C99-based standards] (y0f): Likewise.
72345 [non-C99-based standards] (y1f): Likewise.
72346 [non-C99-based standards] (ynf): Likewise.
72347 [non-C99-based standards] (isnanf): Likewise.
72348 [non-C99-based standards] (acoshf): Likewise.
72349 [non-C99-based standards] (asinhf): Likewise.
72350 [non-C99-based standards] (atanhf): Likewise.
72351 [non-C99-based standards] (cbrtf): Likewise.
72352 [non-C99-based standards] (expm1f): Likewise.
72353 [non-C99-based standards] (ilogbf): Likewise.
72354 [non-C99-based standards] (log1pf): Likewise.
72355 [non-C99-based standards] (logbf): Likewise.
72356 [non-C99-based standards] (nextafterf): Likewise.
72357 [non-C99-based standards] (remainderf): Likewise.
72358 [non-C99-based standards] (rintf): Likewise.
72359 [non-C99-based standards] (scalbf): Likewise.
72360 [non-C99-based standards] (copysignl): Likewise.
72361 [non-C99-based standards] (exp2l): Likewise.
72362 [non-C99-based standards] (log2l): Likewise.
72363 [non-C99-based standards] (modfl): Allow.
72364 [non-C99-based standards] (erfl): Do not allow.
72365 [non-C99-based standards] (erfcl): Likewise.
72366 [non-C99-based standards] (gammal): Likewise.
72367 [non-C99-based standards] (hypotl): Likewise.
72368 [non-C99-based standards] (j0l): Likewise.
72369 [non-C99-based standards] (j1l): Likewise.
72370 [non-C99-based standards] (jnl): Likewise.
72371 [non-C99-based standards] (lgammal): Likewise.
72372 [non-C99-based standards] (tgammal): Likewise.
72373 [non-C99-based standards] (y0l): Likewise.
72374 [non-C99-based standards] (y1l): Likewise.
72375 [non-C99-based standards] (ynl): Likewise.
72376 [non-C99-based standards] (isnanl): Likewise.
72377 [non-C99-based standards] (acoshl): Likewise.
72378 [non-C99-based standards] (asinhl): Likewise.
72379 [non-C99-based standards] (atanhl): Likewise.
72380 [non-C99-based standards] (cbrtl): Likewise.
72381 [non-C99-based standards] (expm1l): Likewise.
72382 [non-C99-based standards] (ilogbl): Likewise.
72383 [non-C99-based standards] (log1pl): Likewise.
72384 [non-C99-based standards] (logbl): Likewise.
72385 [non-C99-based standards] (nextafterl): Likewise.
72386 [non-C99-based standards] (remainderl): Likewise.
72387 [non-C99-based standards] (rintl): Likewise.
72388 [non-C99-based standards] (scalbl): Likewise.
72389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72390 [non-C99-based standards] (FP_*): Do not allow.
72391 [C99-based standards] (FP_*): Change to
72392 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72393 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72394 allow.
72395 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72396 (SIG_ERR): Likewise.
72397 [X/Open-based standards] (SIG_HOLD): Likewise.
72398 (SIG_IGN): Likewise.
72399 (SIGABRT): Use macro-int-constant. Specify type. Require
72400 positive value.
72401 (SIGFPE): Likewise.
72402 (SIGILL): Likewise.
72403 (SIGINT): Likewise.
72404 (SIGSEGV): Likewise.
72405 (SIGTER): Likewise.
72406 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72407 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72408 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72409 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72410 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72411 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72412 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72413 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72414 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72415 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72416 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72417 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72418 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72419 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72420 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72421 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72422 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72423 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72424 [X/Open-based standards] (SIGTRAP): Likewise.
72425 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72426 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72427 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72428 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72429 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72430 allow.
72431
72432 2012-05-08 Ian Wienand <ianw@vmware.com>
72433
72434 [BZ #14080]
72435 * time/tzset.c (__tzset_parse_tz): Update default rules for
72436 daylight time changes in the Energy Policy Act of 2005.
72437
72438 2012-05-09 Andreas Jaeger <aj@suse.de>
72439
72440 [BZ #13983]
72441 * elf/ldconfig.c (parse_conf): Change string to make clear that
72442 ldconfig only issued a warning if ld.so.conf does not exist.
72443
72444 2012-05-08 David S. Miller <davem@davemloft.net>
72445
72446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72447 movxtod instead of popping the value on the stack.
72448
72449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72450
72451 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
72452
72453 * config.h.in: Add HAVE_ARM_PCS_VFP.
72454
72455 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
72456
72457 [BZ #13979]
72458 * include/features.h: Warn if user requests __FORTIFY_SOURCE
72459 checking but the checks are disabled for any reason.
72460
72461 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
72462
72463 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72464 and ELF64_R_TYPE with ELFW(R_TYPE).
72465
72466 2012-05-08 Joseph Myers <joseph@codesourcery.com>
72467
72468 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72469 (ulimit): Likewise.
72470
72471 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72472 (settimeofday): Likewise.
72473
72474 2012-05-08 Mike Frysinger <vapier@gentoo.org>
72475
72476 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
72477 a struct th_u2 inside the union, and move tu_block/tu_code into
72478 a new th_u3 union of tu_block/tu_code inside of that. Move
72479 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
72480 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
72481 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72482 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72483 (th_stuff): Change to th_u1.tu_stuff.
72484 (th_data): Define.
72485 (th_msg): Change to th_u1.th_u2.tu_data.
72486
72487 2012-05-07 David S. Miller <davem@davemloft.net>
72488
72489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72490
72491 [BZ #14074]
72492 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72493 (SETUP_PIC_REG): Use it.
72494 (SETUP_PIC_REG_LEAF): Use it.
72495
72496 2012-05-07 Joseph Myers <joseph@codesourcery.com>
72497
72498 [BZ #13885]
72499 [BZ #13923]
72500 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72501 USE_AS_EXPM1L.
72502 (EXPL_FINITE): Likewise.
72503 (FLDLOG): Likewise.
72504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72505 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72506 e_expl.S.
72507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72508 USE_AS_EXPM1L.
72509 (EXPL_FINITE): Likewise.
72510 (FLDLOG): Likewise.
72511 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72512 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72513 e_expl.S.
72514 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72515 test of -max_value argument for long double.
72516 * sysdeps/i386/fpu/libm-test-ulps: Update.
72517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72518
72519 2012-05-06 David S. Miller <davem@davemloft.net>
72520
72521 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72522 quad soft-float symbols whose references which are compiler
72523 generated.
72524 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72525
72526 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72527
72528 [BZ #13884]
72529 [BZ #13914]
72530 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72531 USE_AS_EXP10L.
72532 (EXPL_FINITE): Likewise.
72533 (FLDLOG): Likewise.
72534 (c0): Likewise.
72535 (c1): Likewise.
72536 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72537 Adjust comments for base varying.
72538 (__expl_finite): Change alias to EXPL_FINITE.
72539 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72540 e_expl.S.
72541 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72542 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72543 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72544 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72545 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72546 USE_AS_EXP10L.
72547 (EXPL_FINITE): Likewise.
72548 (FLDLOG): Likewise.
72549 (c0): Likewise.
72550 (c1): Likewise.
72551 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72552 Adjust comments for base varying.
72553 (__expl_finite): Change alias to EXPL_FINITE.
72554 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72555 tests for bugs.
72556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72557
72558 [BZ #14064]
72559 * math/libm-test.inc (check_float_internal): Correct ulp
72560 calculation for subnormal expected results.
72561
72562 2012-05-06 Andreas Jaeger <aj@suse.de>
72563
72564 * Makeconfig (+math-flags): New, set to -frounding-math.
72565 (+cflags): Add +math-flags so that all of glibc gets compiled with
72566 it.
72567
72568 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72569
72570 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72571
72572 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72573 Disable one test.
72574
72575 [BZ #13787]
72576 [BZ #13922]
72577 [BZ #14036]
72578 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72579 (__ieee754_expl): Allow for and saturate large arguments.
72580 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72581 (u_threshold): Likewise.
72582 (__exp): Call __ieee754_exp before checking for overflow and
72583 underflow.
72584 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72585 (u_threshold): Likewise.
72586 (__expf): Call __ieee754_expf before checking for overflow and
72587 underflow.
72588 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72589 (u_threshold): Likewise.
72590 (__expl): Call __ieee754_expl before checking for overflow and
72591 underflow.
72592 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72593 (__ieee754_expl): Allow for and saturate large arguments.
72594 * math/libm-test.inc (exp_test): Add another test. Do not allow
72595 missing overflow exception on overflow.
72596 (expm1_test): Do not allow missing overflow exception on overflow.
72597
72598 * sysdeps/i386/fpu/e_expl.c: Move to ...
72599 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72600 rather than using inline asm.
72601 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72602 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72603 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72604
72605 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72606 (nice): Likewise.
72607 (poll): Likewise.
72608 (signal): Likewise.
72609 (time): Likewise.
72610 (times): Likewise.
72611
72612 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72613
72614 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72615 sysdeps/unix/common/syscalls.list.
72616 (fchmod): Likewise.
72617 (fchown): Likewise.
72618 (ftruncate): Likewise.
72619 (getrusage): Likewise.
72620 (gettimeofday): Likewise.
72621 (setpgid): Likewise.
72622 (setregid): Likewise.
72623 (setreuid): Likewise.
72624 (sigaction): Likewise.
72625 (truncate): Likewise.
72626 (vhangup): Likewise.
72627 * sysdeps/unix/common/syscalls.list: Remove file.
72628 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72629 * sysdeps/unix/sysv/linux/Implies: Likewise.
72630
72631 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72632
72633 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72635 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72636 Moved to ...
72637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72638 Here.
72639 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72640 to ...
72641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72642 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72643 to ...
72644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72645 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72646 to ...
72647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72648 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72649 to ...
72650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72651 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72652 to ...
72653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72654 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72655 to ...
72656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72657 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72658 to ...
72659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72660 Here.
72661 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72662 to ...
72663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72664 Here.
72665 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72666 to ...
72667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72668 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72669 Moved to ...
72670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72671 Here.
72672 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72673 to ...
72674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72675
72676 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72677
72678 * sysdeps/unix/common/bits/dirent.h: Remove file.
72679 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72680
72681 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72682 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72683 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72684 * sysdeps/unix/bsd/isatty.c: Likewise.
72685 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72686 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72687 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72688
72689 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72690
72691 [BZ #13563]
72692 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72693 long double comparison inaccuracies.
72694 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72696
72697 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
72698
72699 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72700 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72701
72702 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72703
72704 [BZ #14049]
72705 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72706 nonzero digits before rounding a hex value.
72707 * stdlib/tst-strtod.c (tests): Add another test.
72708
72709 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72710
72711 * sysdeps/s390/fpu/libm-test-ulps: Update.
72712
72713 2012-05-03 Andreas Jaeger <aj@suse.de>
72714
72715 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72716 does not get optimized out.
72717 (malloc_opt_barrier): New.
72718
72719 2012-05-03 Andreas Jaeger <aj@suse.de>
72720 Roland McGrath <roland@hack.frob.com>
72721
72722 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72723 intermediate file deletion.
72724 (generated): Add .symlist files.
72725
72726 2012-05-03 Joseph Myers <joseph@codesourcery.com>
72727
72728 [BZ #13775]
72729 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72730 Redirect under this condition.
72731 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72732 [__USE_GNU] (__dprintf_chk): Not under this condition.
72733 [__USE_GNU] (__vdprintf_chk): Likewise.
72734 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72735 under this condition.
72736 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72737 [__USE_XOPEN2K8] (dprintf): Define under this condition.
72738 [__USE_XOPEN2K8] (vdprintf): Likewise.
72739 [__USE_GNU] (__dprintf_chk): Not under this condition.
72740 [__USE_GNU] (__vdprintf_chk): Likewise.
72741 [__USE_GNU] (dprintf): Likewise.
72742 [__USE_GNU] (vdprintf): Likewise.
72743
72744 2012-05-03 Roland McGrath <roland@hack.frob.com>
72745
72746 * elf/Makefile (common-generated): Set this instead of generated for
72747 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
72748 $(all-built-dso)-derived lists.
72749
72750 2012-05-03 Andreas Jaeger <aj@suse.de>
72751
72752 * sysdeps/i386/fpu/libm-test-ulps: Update.
72753
72754 * FAQ: Removed.
72755 * FAQ.in: Likewise.
72756 * scripts/gen-FAQ.pl: Likewise.
72757 * manual/install.texi (Installation): Point to online location of
72758 FAQ.
72759 * Makefile (files-for-dist): Remove FAQ.
72760 (FAQ): Remove.
72761
72762 2012-05-02 Allan McRae <allan@archlinux.org>
72763
72764 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72765 (LDFLAGS-reldepmod5.so): Likewise.
72766 (LDFLAGS-reldep6mod1.so): Likewise.
72767 (LDFLAGS-reldep6mod4.so): Likewise.
72768 (LDFLAGS-reldep8mod3.so): Likewise.
72769 (LDFLAGS-unload4mod1.so): Likewise.
72770 (LDFLAGS-unload4mod2.so): Likewise.
72771 (LDFLAGS-tst-initorder): Likewise.
72772 (LDFLAGS-tst-initordera2.so): Likewise.
72773 (LDFLAGS-tst-initordera3.so): Likewise.
72774 (LDFLAGS-tst-initordera4.so): Likewise.
72775 (LDFLAGS-tst-initorderb2.so): Likewise.
72776 (LDFLAGS-noload): Likewise.
72777 (LDFLAGS-next): Likewise.
72778 (LDFLAGS-order2mod1.so): Likewise.
72779 (LDFLAGS-order2mod2.so): Likewise.
72780 (LDFLAGS-tst-initorder2): Likewise.
72781 (LDFLAGS-tst-initorder2a.so): Likewise.
72782 (LDFLAGS-tst-initorder2b.so): Likewise.
72783 (LDFLAGS-tst-initorder2c.so): Likewise.
72784 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72785
72786 2012-05-02 David S. Miller <davem@davemloft.net>
72787
72788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72789
72790 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
72791
72792 [BZ #14055]
72793 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72794
72795 2012-05-02 Andreas Jaeger <aj@suse.de>
72796
72797 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72798 since we manipulate rounding mode.
72799 (CPPFLAGS-test-idouble.c): Likewise.
72800 (CPPFLAGS-test-ifloat.c): Likewise.
72801 (CFLAGS-test-ldouble.c): Likewise.
72802 (CFLAGS-test-double.c): Likewise.
72803 (CFLAGS-test-float.c): Likewise.
72804 (CFLAGS-test-misc.c): Likewise.
72805 (CFLAGS-test-test-fenv.c): Likewise.
72806
72807 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72808
72809 [BZ #2550]
72810 [BZ #2570]
72811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72812 comparisons to determine direction to adjust input.
72813
72814 2012-05-01 Roland McGrath <roland@hack.frob.com>
72815
72816 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72817 output to the target.
72818
72819 * scripts/localplt.awk: New file.
72820 * elf/Makefile ($(objpfx)check-localplt): Target removed.
72821 (check-localplt-CFLAGS): Variable removed.
72822 ($(all-built-dso:=.jmprel)): New static pattern rule.
72823 (generated): Add those targets.
72824 (localplt-built-dso): New variable.
72825 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72826
72827 * elf/check-localplt.c: File removed.
72828
72829 * scripts/check-execstack.awk: New file.
72830 * elf/Makefile ($(objpfx)check-execstack): Target removed.
72831 (check-execstack-CFLAGS): Variable removed.
72832 ($(objpfx)check-execstack.h): Target removed.
72833 ($(objpfx)execstack-default): New target.
72834 (generated): Add that instead of check-execstack.h.
72835 ($(all-built-dso:=.phdr)): New static pattern rule.
72836 (generated): Add those targets.
72837 * elf/check-execstack.c: File removed.
72838
72839 * scripts/check-textrel.awk: New file.
72840 * elf/Makefile ($(objpfx)check-textrel): Target removed.
72841 (check-textrel-CFLAGS): Variable removed.
72842 (all-built-dso): Use := to define.o
72843 ($(all-built-dso:=.dyn)): New static pattern rule.
72844 (generated): Add those targets.
72845 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72846 * config.make.in (READELF): New substituted variable.
72847 * elf/check-textrel.c: File removed.
72848
72849 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72850
72851 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72852 allow.
72853 * conform/data/ctype.h-data [C99-based standards] (isblank):
72854 Expect function.
72855 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72856 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72858 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72859 Specify type. Require positive value.
72860 (EILSEQ): Likewise.
72861 (ERANGE): Likewise.
72862 [ISO || POSIX] (EILSEQ): Do not expect.
72863 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72864 Specify type. Require positive value.
72865 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72866 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72867 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72868 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72869 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72870 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72871 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72872 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72873 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72874 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72875 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72876 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72877 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72878 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72879 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72880 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72881 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72882 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72883 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72884 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72885 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72886 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72887 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72888 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72889 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72890 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72891 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72892 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72893 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72894 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72895 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72896 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72897 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72898 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72899 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72900 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72901 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72902 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72903 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72904 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72905 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72906 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72907 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72908 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72909 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72910 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72911 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72912 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72913 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72914 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72915 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72916 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72917 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72918 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72919 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72920 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72921 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72922 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72923 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72924 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72925 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72926 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72927 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72928 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72929 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72930 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72931 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72932 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72933 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72934 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72935 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72936 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72937 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72938 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72939 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72940 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72941 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72942 Require >= 2.
72943 (FLT_ROUNDS): Expect as macro, not constant.
72944 (FLT_MANT_DIG): Use macro-int-constant.
72945 (DBL_MANT_DIG): Likewise.
72946 (LDBL_MANT_DIG): Likewise.
72947 (FLT_DIG): Likewise.
72948 (DBL_DIG): Likewise.
72949 (LDBL_DIG): Likewise.
72950 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
72951 (DBL_MIN_EXP): Likewise.
72952 (LDBL_MIN_EXP): Likewise.
72953 (FLT_MAX_EXP): Use macro-int-constant.
72954 (DBL_MAX_EXP): Likewise.
72955 (LDBL_MAX_EXP): Likewise.
72956 (FLT_MAX_10_EXP): Likewise.
72957 (DBL_MAX_10_EXP): Likewise.
72958 (LDBL_MAX_10_EXP): Likewise.
72959 (FLT_MAX): Use macro-constant.
72960 (DBL_MAX): Likewise.
72961 (LDBL_MAX): Likewise.
72962 (FLT_EPSILON): Use macro-constant. Give upper bound.
72963 (DBL_EPSILON): Likewise.
72964 (LDBL_EPSILON): Likewise.
72965 (FLT_MIN): Likewise.
72966 (DBL_MIN): Likewise.
72967 (LDBL_MIN): Likewise.
72968 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72969 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72970 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72971 [ISO11] (FLT_HAS_SUBNORM): Likewise.
72972 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72973 [ISO11] (DBL_DECIMAL_DIG): Likewise.
72974 [ISO11] (FLT_DECIMAL_DIG): Likewise.
72975 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72976 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72977 [ISO11] (FLT_TRUE_MIN): Likewise.
72978 [ISO11] (LDBL_TRUE_MIN): Likewise.
72979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72980 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72981 (SCHAR_MIN): Use macro-int-constant. Specify type.
72982 (SCHAR_MAX): Likewise.
72983 (UCHAR_MAX): Likewise.
72984 (CHAR_MIN): Likewise.
72985 (CHAR_MAX): Likewise.
72986 (MB_LEN_MAX): Use macro-int-constant.
72987 (SHRT_MIN): Use macro-int-constant. Specify type.
72988 (SHRT_MAX): Likewise.
72989 (USHRT_MAX): Likewise.
72990 (INT_MAX): Likewise.
72991 (INT_MIN): Use macro-int-constant. Specify type. Make upper
72992 bound negative.
72993 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
72994 bound with "U".
72995 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72996 bound with "L".
72997 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
72998 bound negative. Suffix upper bound with "L".
72999 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73000 bound with "UL".
73001 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73002 Specify type.
73003 [C99-based standards] (LLONG_MAX): Likewise.
73004 [C99-based standards] (ULLONG_MAX): Likewise.
73005 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
73006 == 0.
73007 [ISO11] (max_align_t): Require type.
73008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73009
73010 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73011 from $CFLAGS, without defining away __attribute__ calls.
73012 (checknamespace): Use $CFLAGS_namespace.
73013
73014 * conform/conformtest.pl (@keywords): Only include C99 keywords
73015 for standards based on C99 or C11.
73016
73017 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73018 Disable tests.
73019 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73020 UNIX98]: Likewise.
73021
73022 * conform/conformtest.pl: Handle "macro-int-constant" and test for
73023 usability of symbols in #if.
73024
73025 * conform/conformtest.pl: If macro or constant types start
73026 "promoted:", expect the symbol to be of the following type
73027 promoted by the integer promotions.
73028
73029 * conform/conformtest.pl: Parse all "constant" and "macro" lines
73030 in one place. Also handle "macro-constant".
73031
73032 * conform/conformtest.pl: Only accept expected macro values with
73033 "==". Parse all "macro" lines in one place.
73034 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73035
73036 * conform/conformtest.pl: Handle braced types on "constant" lines
73037 instead of handling "typed-constant".
73038 * conform/data/signal.h-data: Use "constant" instead of
73039 "typed-constant".
73040
73041 * conform/conformtest.pl: Handle "optional-" at start of lines in
73042 one place rather than duplicating several cases. Handle each
73043 format of "macro" line with initial "optional-".
73044
73045 * conform/conformtest.pl: Only accept expected constant or
73046 optional-constant values with "==". Parse all "constant" lines in
73047 one place. Parse all "optional-constant" lines in one place.
73048 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73049 * conform/data/fmtmsg.h-data: Likewise.
73050 * conform/data/netinet/in.h-data: Likewise.
73051 * conform/data/tar.h-data: Likewise.
73052 * conform/data/limits.h-data: Use "==" form on "constant" and
73053 "optional-constant" lines.
73054
73055 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73056 Use -std=c99 for XOPEN2K.
73057 (@knownproblems): Remove.
73058 (newtoken): Don't check %isknown.
73059
73060 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73061 Do not expect macro.
73062 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73063 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73064 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73065 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73066 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73067 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73068 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73069 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73070 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73071 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73072 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73073 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73074 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73075 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73076 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73077 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73078 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73079 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73080 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73081 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73082 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73083 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73084 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73085 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73086 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73087 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73088 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73089 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73090 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73091 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73092 [XPG3] (acosh): Likewise.
73093 [XPG3] (asinh): Likewise.
73094 [XPG3] (atanh): Likewise.
73095 [XPG3] (cbrt): Likewise.
73096 [XPG3] (expm1): Likewise.
73097 [XPG3] (ilogb): Likewise.
73098 [XPG3] (log1p): Likewise.
73099 [XPG3] (logb): Likewise.
73100 [XPG3] (nextafter): Likewise.
73101 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73102 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73103 [XPG3] (remainder): Likewise.
73104 [XPG3] (rint): Likewise.
73105 [XPG3 || XPG4 || UNIX98] (round): Likewise.
73106 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73107 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73108 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73109 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73110 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73111 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73112 [UNIX98 || XOPEN2K] (scalb): Expect.
73113 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73114 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73115 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73116 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73117 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73118 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73119 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73120 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73121 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73122 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73123 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73124 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73125 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73126 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73127 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73128 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73129 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73130 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73131 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73132 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73133 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73134 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73135 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73136 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73137 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73138 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73139 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73140 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73141 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73142 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73143 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73144 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73145 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73146 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73147 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73148 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73149 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73150 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73151 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73152 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73153 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73154 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73155 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73156 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73157 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73158 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73159 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73160 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73161 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73162 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73163 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73164 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73165 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73166 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73167 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73168 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73169 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73170 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73171 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73172 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73173 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73174 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73175 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73176 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73177 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73178 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73179 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73180 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73181 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73182 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73183 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73184 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73185 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73186 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73187 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73188 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73189 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73190 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73191 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73192 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73193 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73194 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73195 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73196 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73197 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73198 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73199 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73200 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73201 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73202 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73203 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73204 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73205 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73206 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73207 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73208 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73209 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73210 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73211 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73212 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73213 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73214 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73215 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73216 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73217 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73218 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73219 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73220 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73221 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73222 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73223 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73224 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73225 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73226 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73227 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73228 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73229 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73230 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73231 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73232 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73233 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73234 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73235 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73236 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73237 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73238 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73239 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73240 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73241 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73242 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73243 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73244 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73245 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73246 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73247 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73248 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73249 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73250
73251 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73252 _XOPEN_SOURCE_EXTENDED for XPG4.
73253
73254 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73255
73256 * Makeconfig (localtime): Remove variable.
73257 (inst_localtime-file): Likewise.
73258
73259 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73260
73261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73262 Update.
73263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73264 Update.
73265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73266 Update.
73267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73268 Update.
73269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73270 Update.
73271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73272 Update.
73273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73274 Update.
73275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73276 Update.
73277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73278 Update.
73279
73280 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73281
73282 [BZ #2550]
73283 [BZ #2570]
73284 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73285 comparisons to determine direction to adjust input.
73286 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73287 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73288 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73289 Likewise.
73290 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73291 Likewise.
73292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73293 Likewise.
73294 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73295 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73296 Likewise.
73297 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73298 Likewise.
73299 * math/libm-test.inc (nexttoward_test): Add more tests.
73300
73301 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73302
73303 [BZ #14040]
73304 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73305 in version GLIBC_2.1, not GLIBC_2.0.
73306 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73307 Likewise.
73308
73309 2012-04-30 Joseph Myers <joseph@codesourcery.com>
73310
73311 [BZ #13942]
73312 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73313 (1 - x) * (1 + x).
73314 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73315 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73316 * math/libm-test.inc (acos_test): Add more tests.
73317 (asin_test): Likewise.
73318 * sysdeps/i386/fpu/libm-test-ulps: Update.
73319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73320
73321 [BZ #14034]
73322 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73323 of square root.
73324 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73325 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73326 * math/libm-test.inc (acos_test_tonearest): New function.
73327 (acos_test_towardzero): Likewise.
73328 (acos_test_downward): Likewise.
73329 (acos_test_upward): Likewise.
73330 (asin_test_tonearest): Likewise.
73331 (asin_test_towardzero): Likewise.
73332 (asin_test_downward): Likewise.
73333 (asin_test_upward): Likewise.
73334 (main): Call the new functions.
73335 * sysdeps/i386/fpu/libm-test-ulps: Update.
73336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73337
73338 [BZ #13884]
73339 [BZ #13924]
73340 * math/e_exp10.c: Include <float.h>.
73341 (__ieee754_exp10): Handle underflow here rather than multiplying
73342 large negative argument by M_LN10.
73343 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73344 of __ieee754_expf.
73345 * math/e_exp10l.c: Include <float.h>.
73346 (__ieee754_exp10l): Handle underflow here rather than multiplying
73347 large negative argument by M_LN10l.
73348 * math/libm-test.inc (exp10_test): Add another test. Do not allow
73349 spurious overflow exception on underflow.
73350
73351 2012-04-29 Marek Polacek <polacek@redhat.com>
73352
73353 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73354 (__fortify_function): New macro.
73355 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73356 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73357 __extern_always_inline.
73358 * libio/bits/stdio2.h: Likewise.
73359 * libio/bits/stdio.h: Likewise.
73360 * string/string.h: Likewise.
73361 * string/bits/string3.h: Likewise.
73362 * include/stdio.h: Likewise.
73363 * stdlib/bits/stdlib.h: Likewise.
73364 * stdlib/stdlib.h: Likewise.
73365 * rt/bits/mqueue2.h: Likewise.
73366 * rt/mqueue.h: Likewise.
73367 * posix/bits/unistd.h: Likewise.
73368 * posix/unistd.h: Likewise.
73369 * io/bits/poll2.h: Likewise.
73370 * io/bits/fcntl2.h: Likewise.
73371 * io/fcntl.h: Likewise.
73372 * io/sys/poll.h: Likewise.
73373 * misc/bits/syslog.h: Likewise.
73374 * misc/bits/syslog-ldbl.h: Likewise.
73375 * misc/sys/syslog.h: Likewise.
73376 * socket/bits/socket2.h: Likewise.
73377 * socket/sys/socket.h: Likewise.
73378 * debug/tst-chk1.c: Likewise.
73379 * wcsmbs/bits/wchar2.h: Likewise.
73380 * wcsmbs/bits/wchar-ldbl.h: Likewise.
73381 * wcsmbs/wchar.h: Likewise.
73382
73383 2012-04-29 Andreas Jaeger <aj@suse.de>
73384
73385 * Makerules (tests): Remove enable-check-abi protection.
73386 (check-abi-warn): Remove.
73387 (check-abi-%): Remove check-abi-warn usage.
73388
73389 * configure.in: Remove check-abi configure option.
73390 * configure: Regenerated.
73391 * config.make.in (enable-check-abi): Remove.
73392
73393 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
73394
73395 [BZ #14033]
73396 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73397 double functions to double *_finite functions.
73398
73399 [BZ #13941]
73400 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73401 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73402 LDBL_MIN_EXP.
73403 * stdio-common/Makefile (tests): Add tst-sprintf3.
73404 * stdio-common/tst-sprintf3.c: New file.
73405
73406 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73407 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73408
73409 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73410
73411 * conform/conformtest.pl: Remove duplicate typed-constant
73412 handling.
73413
73414 2012-04-28 David S. Miller <davem@davemloft.net>
73415
73416 * Makerules (%.abilist): Add vpath on sysdep_dirs.
73417 (check-abi-%): Remove AWK script prerequisite and explicit
73418 abilist directory.
73419 (check-abi): Rewrite to just diff the symlist with the abilist.
73420 (config-tls, config-abi-config): Delete, no longer used.
73421 (update-abi-%): Remove AWK script and explicit abilist directory.
73422 (update-abi): Rewrite to simply compare and conditionally copy the
73423 symlist and the sysdep abilist file. Remove update-abi-config
73424 checks.
73425 * abilist/ld.abilist: Remove.
73426 * abilist/libBrokenLocale.abilist: Remove.
73427 * abilist/libanl.abilist: Remove.
73428 * abilist/libcrypt.abilist: Remove.
73429 * abilist/libdl.abilist: Remove.
73430 * abilist/librt.abilist: Remove.
73431 * abilist/libthread_db.abilist: Remove.
73432 * abilist/libutil.abilist: Remove.
73433 * scripts/extract-abilist.awk: Remove.
73434 * scripts/merge-abilist.awk: Remove.
73435 * sysdeps/generic/libcidn.abilist: New file.
73436 * sysdeps/generic/libnss_compat.abilist: New file.
73437 * sysdeps/generic/libnss_db.abilist: New file.
73438 * sysdeps/generic/libnss_dns.abilist: New file.
73439 * sysdeps/generic/libnss_files.abilist: New file.
73440 * sysdeps/generic/libnss_hesiod.abilist: New file.
73441 * sysdeps/generic/libnss_nis.abilist: New file.
73442 * sysdeps/generic/libnss_nisplus.abilist: New file.
73443 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73444 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73445 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73446 file.
73447 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73448 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73449 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73450 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73451 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73452 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73453 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73454 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73455 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73456 file.
73457 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73458 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73459 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73460 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73461 file.
73462 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73463 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73464 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73465 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73466 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73467 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73468 file.
73469 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73470 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73471 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73472 file.
73473 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73475 New file.
73476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73477 New file.
73478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73479 New file.
73480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73481 New file.
73482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73483 New file.
73484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73485 New file.
73486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73487 New file.
73488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73489 New file.
73490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73491 New file.
73492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73493 New file.
73494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73495 New file.
73496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73497 New file.
73498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73499 New file.
73500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73501 file.
73502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73503 New file.
73504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73505 New file.
73506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73507 file.
73508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73509 New file.
73510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73511 New file.
73512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73513 file.
73514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73515 New file.
73516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73517 New file.
73518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73519 New file.
73520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73521 New file.
73522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73523 New file.
73524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73525 New file.
73526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73528 file.
73529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73530 New file.
73531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73532 file.
73533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73534 file.
73535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73536 file.
73537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73538 file.
73539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73540 file.
73541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73542 New file.
73543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73544 file.
73545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73546 file.
73547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73548 New file.
73549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73550 file.
73551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73553 file.
73554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73555 New file.
73556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73557 file.
73558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73559 file.
73560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73561 file.
73562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73563 file.
73564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73565 file.
73566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73567 New file.
73568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73569 file.
73570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73571 file.
73572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73573 New file.
73574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73575 file.
73576 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73577 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73578 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73579 file.
73580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73581 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73582 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73583 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73584 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73585 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73586 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73587 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73588 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73589 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73592 file.
73593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73594 New file.
73595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73596 file.
73597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73598 file.
73599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73600 file.
73601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73602 file.
73603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73604 file.
73605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73606 New file.
73607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73608 New file.
73609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73610 file.
73611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73612 New file.
73613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73614 file.
73615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73617 file.
73618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73619 New file.
73620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73621 file.
73622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73623 file.
73624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73625 file.
73626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73627 file.
73628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73629 file.
73630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73631 New file.
73632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73633 New file.
73634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73635 file.
73636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73637 New file.
73638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73639 file.
73640
73641 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73642
73643 * conform/conformtest.pl: Fix typo in handling typed-constant from
73644 allow-header.
73645
73646 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73647
73648 * README: Cut down references to pre-2.6 Linux kernels and
73649 Linuxthreads. Update lists of configurations in libc and ports
73650 and sort alphabetically. Say "or newer" with Linux kernel version
73651 requirements.
73652
73653 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73654
73655 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73656
73657 [BZ #887]
73658 * math/libm-test.inc (logb_test_downward): New test to expose
73659 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73660 rounding mode.
73661
73662 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73663
73664 [BZ #14027]
73665 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73666 to be done.
73667 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73668 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73669
73670 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73671
73672 * sysdeps/unix/i386/brk.S: Remove file.
73673 * sysdeps/unix/i386/dl-brk.S: Likewise.
73674 * sysdeps/unix/i386/pipe.S: Likewise.
73675 * sysdeps/unix/i386/sigreturn.S: Likewise.
73676 * sysdeps/unix/i386/syscall.S: Likewise.
73677 * sysdeps/unix/i386/vfork.S: Likewise.
73678 * sysdeps/unix/i386/wait.S: Likewise.
73679
73680 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73681 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73682
73683 * configure.in (arm*-none*): Do not allow without
73684 --enable-hacker-mode.
73685 (netbsd*): Remove case setting base_os.
73686 (386bsd*): Likewise.
73687 (freebsd*): Likewise.
73688 (bsdi*): Likewise.
73689 (osf*): Likewise.
73690 (sunos*): Likewise.
73691 (ultrix*): Likewise.
73692 (newsos*): Likewise.
73693 (dynix*): Likewise.
73694 (*bsd*): Likewise.
73695 (sysv*): Likewise.
73696 (isc*): Likewise.
73697 (esix*): Likewise.
73698 (sco*): Likewise.
73699 (minix*): Likewise.
73700 (irix4*): Likewise.
73701 (irix6*): Likewise.
73702 (solaris[2-9]*): Likewise.
73703 (none): Likewise.
73704 * configure: Regenerated.
73705
73706 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73707
73708 [BZ #11521]
73709 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73710 overflow or cancellation in calculating denominator.
73711 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73713 down expression to avoid unexpected rounding in newer GCCs.
73714 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73715
73716 2012-04-26 David S. Miller <davem@davemloft.net>
73717
73718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73719 long-double compat symbols.
73720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73733
73734 2012-04-25 David S. Miller <davem@davemloft.net>
73735
73736 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73737 HWCAP_* values only after the memory barriers have been defined.
73738 (atomic_full_barrier): Define.
73739 (atomic_read_barrier): Define.
73740 (atomic_write_barrier): Define.
73741
73742 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73743
73744 * shlib-versions: Add libgcc_s version information.
73745 * sysdeps/generic/libgcc_s.h: Remove.
73746 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73747 libgcc_s.h.
73748 * sysdeps/gnu/unwind-resume.c: Likewise.
73749 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73750
73751 2012-04-25 David S. Miller <davem@davemloft.net>
73752
73753 * sysdeps/unix/sparc/brk.S: Delete.
73754 * sysdeps/unix/sparc/dl-brk.S: Delete.
73755 * sysdeps/unix/sparc/pipe.S: Delete.
73756 * sysdeps/unix/sparc/sysdep.S: Delete.
73757 * sysdeps/unix/sparc/sysdep.h: Delete.
73758 * sysdeps/unix/sparc/vfork.S: Delete.
73759 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73760 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73761 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73762 (ret_ERRVAL, r0, r1, MOVE): Define.
73763 (JUMPTARGET): Remove.
73764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73765 sysdeps/unix/sparc/sysdep.h
73766 (ENTRY, END): Remove.
73767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73768
73769 2012-04-25 Joseph Myers <joseph@codesourcery.com>
73770
73771 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73772 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73773 -DIS_IN_build.
73774
73775 * timezone/README: Update upstream location and email address for
73776 tzcode and tzdata.
73777 * timezone/zdump.c: Update from tzcode 2012b.
73778 * timezone/zic.c: Likewise.
73779
73780 * configure.in (libc_cv_as_needed): Remove test.
73781 * configure: Regenerated.
73782 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73783 conditional definition.
73784 [$(have-as-needed) != yes] (no-as-needed): Likewise.
73785 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73786 * config.make.in (have-as-needed): Remove variable.
73787
73788 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73789 Paul Pluzhnikov <ppluzhnikov@google.com>
73790
73791 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73792 strings correctly.
73793
73794 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
73795
73796 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73797 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73798 * sysdeps/sh/strlen.S: Likewise.
73799
73800 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73801
73802 * sysdeps/unix/fork.S: Remove file.
73803 * sysdeps/unix/i386/fork.S: Likewise.
73804 * sysdeps/unix/sparc/fork.S: Likewise.
73805
73806 * sysdeps/unix/system.c: Remove file.
73807 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73808
73809 * sysdeps/unix/getegid.S: Remove file.
73810 * sysdeps/unix/geteuid.S: Likewise.
73811
73812 2012-04-24 Roland McGrath <roland@hack.frob.com>
73813
73814 * scripts/check-localplt.awk: New file.
73815 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73816 of diff.
73817 * scripts/data/localplt-generic.data: Add a comment.
73818
73819 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73820 NODE when __dir_mkfile failed.
73821 * sysdeps/mach/hurd/symlinkat.c: Likewise.
73822 Reported by Ludovic Courtès <ludo@gnu.org>.
73823
73824 2012-04-24 Andreas Jaeger <aj@suse.de>
73825
73826 * Makerules (common-clean): Also remove gen-as-const-headers
73827 files.
73828
73829 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73830
73831 * Makerules (native-compile): Do not change working directory for
73832 build. Use $(OUTPUT_OPTION) in command.
73833 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73834
73835 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73836
73837 [BZ #13886]
73838 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73839 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73840 * math/libm-test.inc (floor_test): Add more tests.
73841 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73842
73843 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73844
73845 * sysdeps/unix/getdents.c: Remove file.
73846 * sysdeps/unix/sysv/getdents.c: Likewise.
73847 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73848
73849 * sysdeps/unix/syscalls.list (madvise): Add syscall from
73850 sysdeps/unix/mman/syscalls.list.
73851 (mmap): Likewise.
73852 (mprotect): Likewise.
73853 (msync): Likewise.
73854 (munmap): Likewise.
73855 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73856 * sysdeps/unix/mman/syscalls.list: Remove.
73857 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73858
73859 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73860 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73861 * configure: Regenerated.
73862 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73863 $(libgcc_s_suffix).
73864 * config.make.in (libgcc_s_suffix): Remove variable.
73865
73866 2012-04-23 Joseph Myers <joseph@codesourcery.com>
73867
73868 * sysdeps/unix/sysv/gethostname.c: Move to ...
73869 * sysdeps/posix/gethostname.c: ... here.
73870
73871 * sysdeps/unix/execve.S: Remove file.
73872
73873 * sysdeps/unix/_exit.S: Remove file.
73874
73875 2012-04-23 Andreas Jaeger <aj@suse.de>
73876
73877 [BZ #13739]
73878 * manual/Makefile: Remove make dist support, there's no
73879 need for a stand-alone documentation tar ball.
73880 (TEXI2DVI): Define always, it's not in Makeconfig.
73881 (dist): Removed.
73882 (tar-it): Removed.
73883 (edition): Removed.
73884 (glibc-doc-$(edition).tar): Removed
73885 (%.Z): Removed.
73886 (%.gz): Removed.
73887 (%.uu): Removed.
73888 (ETAGS): Remove, it's in Makeconfig.
73889 (move-if-change): Remove, it's in Makeconfig.
73890
73891 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
73892
73893 [BZ #13970]
73894 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73895 (strtod, strtof, strtold, strtol, strtoul, strtoq)
73896 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73897 (strtod_l, strtof_l, strtold_l): Remove __wur.
73898 It is not necessarily an error to ignore strtol's return value.
73899 One can reliably look at the stored endptr to decide whether
73900 the number had valid syntax.
73901
73902 2012-04-21 Andreas Jaeger <aj@suse.de>
73903
73904 [BZ #13739]
73905 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73906
73907 2012-04-21 Joseph Myers <joseph@codesourcery.com>
73908
73909 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73910 * sysdeps/unix/sysv/Versions: Remove file.
73911
73912 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
73913
73914 [BZ #13927]
73915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73916
73917 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
73918
73919 [BZ #7064]
73920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73921 version from __vm86.
73922
73923 2012-04-20 Joseph Myers <joseph@codesourcery.com>
73924
73925 * sysdeps/unix/common/lxstat.c: Remove file.
73926 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73927
73928 * sysdeps/unix/sysv/Makefile: Remove file.
73929
73930 * sysdeps/unix/sysv/direct.h: Remove file.
73931
73932 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73933 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73934 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73935 * sysdeps/unix/sysv/bits/signum.h: Likewise.
73936 * sysdeps/unix/sysv/bits/stat.h: Likewise.
73937 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73938 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73939
73940 * sysdeps/unix/sysv/setrlimit.c: Remove file.
73941
73942 * sysdeps/unix/xmknod.c: Remove file.
73943 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73944
73945 * sysdeps/unix/sysv/settimeofday.c: Remove file.
73946
73947 * sysdeps/unix/sysv/i386/time.S: Remove file.
73948
73949 * sysdeps/unix/fxstat.c: Remove file.
73950 * sysdeps/unix/xstat.c: Likewise.
73951 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73952
73953 * sysdeps/unix/sysv/sigaction.c: Remove file.
73954
73955 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73956 (sysdep_headers): Remove variable.
73957 [termio.h not in sysdep_headers] (generated): Likewise.
73958 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73959 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73960 * sysdeps/unix/sysv/tcdrain.c: Likewise.
73961 * sysdeps/unix/sysv/tcflow.c: Likewise.
73962 * sysdeps/unix/sysv/tcflush.c: Likewise.
73963 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73964 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73965 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73966 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73967 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73968
73969 * sysdeps/unix/siglist.c: Remove file.
73970
73971 * sysdeps/unix/getppid.S: Remove file.
73972
73973 * sysdeps/unix/mkdir.c: Remove file.
73974 * sysdeps/unix/rmdir.c: Likewise.
73975
73976 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
73977
73978 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73979 ERR_MAX value.
73980 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73981 errlist-compat value.
73982
73983 2012-04-18 David S. Miller <davem@davemloft.net>
73984
73985 * sysdeps/generic/memcopy.h (reg_char): Delete.
73986 * debug/strcat_chk.c: Use char, not reg_char.
73987 * debug/strcpy_chk.c: Likewise.
73988 * debug/strncat_chk.c: Likewise.
73989 * debug/strncpy_chk.c: Likewise.
73990 * string/memchr.c: Likewise.
73991 * string/memrchr.c: Likewise.
73992 * string/rawmemchr.c: Likewise.
73993 * string/strcat.c: Likewise.
73994 * string/strchr.c: Likewise.
73995 * string/strchrnul.c: Likewise.
73996 * string/strcmp.c: Likewise.
73997 * string/strcpy.c: Likewise.
73998 * string/strncat.c: Likewise.
73999 * string/strncmp.c: Likewise.
74000 * string/strncpy.c: Likewise.
74001
74002 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74003
74004 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74005 __builtin_memcopy is called when src and dest ranges are known to not
74006 overlap.
74007
74008 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74009
74010 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74011 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74012 fwd_align_merge macro call.
74013 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74014 bwd_align_merge macro call.
74015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74016
74017 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74018
74019 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74020 bwd_align_merge macros.
74021 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74022 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74023 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74024
74025 2012-04-18 David S. Miller <davem@davemloft.net>
74026
74027 * sysdeps/sparc/sparc64/memcopy.h: Delete.
74028
74029 2012-04-18 Andreas Jaeger <aj@suse.de>
74030
74031 [BZ# 6794]
74032 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74033 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74034 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74035
74036 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74037 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74039
74040 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74041 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74042 Adjust for changed ldbl-128 files.
74043
74044 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74045 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74046 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74047
74048 2012-04-17 David S. Miller <davem@davemloft.net>
74049
74050 * sysdeps/sparc/sparc32/memcopy.h: Delete.
74051
74052 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
74053
74054 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74055 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74056 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74057 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74058 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74059 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74060
74061 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74062
74063 [BZ #6794]
74064 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74065 * math/libm-test.inc: Add ilogb errno and exception tests.
74066 * math/w_ilogb.c: New file: ilogb wrapper.
74067 * math/w_ilogbf.c: New file: ilogbf wrapper.
74068 * math/w_ilogbl.c: New file: ilogbl wrapper.
74069 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74070 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74071 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74072 exception being thrown with 0.0 as argument.
74073 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74074 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74075 exception being thrown with 0.0 as argument.
74076 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74077 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74078 exception being thrown with 0.0 as argument.
74079 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74080 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74081 exception being thrown with 0.0 as argument.
74082 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74083 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74084 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74085 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74086 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74087 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74088 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74089 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74090 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74091
74092 2012-04-17 Petr Baudis <pasky@ucw.cz>
74093
74094 * include/sys/uio.h: Change __vector to __iovec to avoid clash
74095 with altivec.
74096
74097 2012-04-16 Marek Polacek <polacek@redhat.com>
74098
74099 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74100
74101 2012-04-16 Marek Polacek <polacek@redhat.com>
74102
74103 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74104 operands of fdivp instruction.
74105
74106 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74107
74108 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74109 * elf/tst-auditmod3b.c: Likewise.
74110 * elf/tst-auditmod4b.c: Likewise.
74111 * elf/tst-auditmod5b.c: Likewise.
74112 * elf/tst-auditmod6b.c: Likewise.
74113 * elf/tst-auditmod6c.c: Likewise.
74114 * elf/tst-auditmod7b.c: Likewise.
74115 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74116 * sysdeps/x86_64/preconfigure.in: Likewise.
74117 * sysdeps/x86_64/preconfigure: Regenerated.
74118
74119 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74120
74121 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74122 __ILP32__.
74123
74124 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
74125
74126 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74127 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74128
74129 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
74130
74131 [BZ #13973]
74132 * locale/iso-639.def: Fix gl language name. Spotted by
74133 Yaron Shahrabani.
74134
74135 2012-04-12 Roland McGrath <roland@hack.frob.com>
74136
74137 [BZ #2074]
74138 * libio/libio.h (__io_write_fn): Update comment.
74139
74140 2012-04-12 Petr Baudis <pasky@ucw.cz>
74141
74142 [BZ #2074]
74143 * stdio.texi (Hook Functions): The user provided writer function
74144 is not allowed to return -1.
74145
74146 2012-04-11 David S. Miller <davem@davemloft.net>
74147
74148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74149
74150 2012-04-11 Mike Frysinger <vapier@gentoo.org>
74151
74152 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74153 Add a leading slash to rtkaio.
74154
74155 2012-04-11 Jim Meyering <meyering@redhat.com>
74156
74157 [BZ #11959]
74158 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74159 It is not necessarily an error to ignore fwrite's return
74160 value. One can reliably use ferror to test for errors after
74161 the fact.
74162
74163 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74164
74165 * bits/types.h (__snseconds_t): New type.
74166 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74167
74168 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74170 (__SNSECONDS_T_TYPE): Likewise.
74171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74172 (__SNSECONDS_T_TYPE): Likewise.
74173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74174 (__SNSECONDS_T_TYPE): Likewise.
74175
74176 2012-04-10 Andreas Jaeger <aj@suse.de>
74177
74178 [BZ #2636]
74179 * manual/time.texi (Processor Time): Return type of times is
74180 elapsed real time since an arbitrary point in the past.
74181 (CPU Time): Move CLK_TCK from here...
74182 (Processor Time): ...to here. Correct description.
74183 * manual/conf.texi (Constants for Sysconf): Correct description of
74184 _SC_CLK_TCK.
74185
74186 2012-04-10 David S. Miller <davem@davemloft.net>
74187
74188 [BZ #13967]
74189 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74190 where the is a gap between DT_REL(A) and DT_JMPREL.
74191
74192 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74193
74194 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74195 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74196 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74197
74198 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
74199
74200 * elf/dl-support.c (_dl_inhibit_cache): New variable.
74201 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74202 (dl_main): Handle --inhibit-cache.
74203 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74204 _dl_inhibit_cache.
74205 * elf/dl-load.c (_dl_map_object): Use it.
74206 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74207
74208 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74209
74210 [BZ #13872]
74211 * sysdeps/i386/fpu/e_powl.S (p78): New object.
74212 (__ieee754_powl): Saturate large exponents rather than testing for
74213 overflow of y*log2(x).
74214 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74215 * math/libm-test.inc (pow_test): Do not permit spurious overflow
74216 exceptions.
74217
74218 [BZ #11521]
74219 * math/s_ctan.c: Include <float.h>.
74220 (__ctan): Avoid internal overflow or cancellation in calculating
74221 denominator.
74222 * math/s_ctanf.c: Likewise.
74223 * math/s_ctanl.c: Likewise.
74224 * math/s_ctanh.c: Likewise.
74225 * math/s_ctanhf.c: Likewise.
74226 * math/s_ctanhl.c: Likewise.
74227 * math/libm-test.inc (ctan_test): Add more tests.
74228 (ctanh_test): Likewise.
74229 * sysdeps/i386/fpu/libm-test-ulps: Update.
74230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74231
74232 2012-04-09 Andreas Jaeger <aj@suse.de>
74233
74234 [BZ #6894]
74235 * manual/filesys.texi (Directory Entries): Mention that d_namlen
74236 is an optional BSD extension.
74237
74238 [BZ #10254]
74239 * manual/stdio.texi (Opening Streams): Document additional fopen
74240 parameters.
74241
74242 2012-04-09 Roland McGrath <roland@hack.frob.com>
74243
74244 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74245 %eax without telling the compiler.
74246
74247 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
74248
74249 [BZ # 13963]
74250 * manual/install.texi: Use sourceware.org.
74251
74252 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74253
74254 [BZ #13873]
74255 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74256 (__ieee754_pow): Generate overflow and underflow using huge*huge
74257 and tiny*tiny rather than just returning constant infinity or zero
74258 for large exponents.
74259 * math/libm-test.inc (pow_test): Require overflow exceptions for
74260 applicable cases of large exponents.
74261
74262 [BZ #706]
74263 * sysdeps/i386/fpu/e_pow.S (p10): New object.
74264 (__ieee754_pow): Use iterative multiplication algorithm only for
74265 integer exponents with absolute value below 1024. Check for odd
74266 integer exponents when using algorithm for real exponents.
74267 * math/libm-test.inc (pow_test): Add more tests.
74268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74269
74270 2012-04-08 Joseph Myers <joseph@codesourcery.com>
74271
74272 [BZ #13705]
74273 * math/libm-test.inc (exp_test): Do not allow overflow exception
74274 on underflow test.
74275
74276 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
74277
74278 [BZ #13705]
74279 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74280 instead of __kernel_standard_f.
74281
74282 2012-04-08 Mike Frysinger <vapier@gentoo.org>
74283
74284 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74285 * sysdeps/x86_64/memset_chk.S: Likewise.
74286
74287 2012-04-08 Andreas Jaeger <aj@suse.de>
74288
74289 [BZ #10153]
74290 * manual/startup.texi (Environment Access): Describe return value
74291 for putenv and setenv.
74292
74293 [BZ #6895]
74294 * manual/filesys.texi (Directory Entries): Add description for
74295 DT_LNK.
74296
74297 [BZ #6890]
74298 * manual/filesys.texi (Directory Entries): Clarify that it's file
74299 system not operating system in the description of DT_UNKNOWN.
74300
74301 [BZ #6578]
74302 * manual/syslog.texi (closelog): Fix reference, it's openlog.
74303
74304 2012-04-08 Stephen Compall <s11@member.fsf.org>
74305
74306 [BZ #6649]
74307 * manual/llio.texi (Opening and Closing Files): Add cross
74308 reference to explain mode argument.
74309
74310 2012-04-07 Mike Frysinger <vapier@gentoo.org>
74311
74312 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74313 * sysdeps/x86_64/memset_chk.S: Likewise.
74314
74315 2012-04-07 David S. Miller <davem@davemloft.net>
74316
74317 * elf/elf.h (R_SPARC_WDISP10): Define.
74318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74319 R_SPARC_SIZE32.
74320 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74321 R_SPARC_SIZE64 and R_SPARC_H34.
74322
74323 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
74324
74325 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74326 conditions and remove no longer applicable assertion.
74327
74328 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74329
74330 * bits/byteswap.h: Include <features.h>.
74331 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74332 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74333
74334 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74335
74336 * bits/byteswap.h (__bswap_16): Removed.
74337 Include <bits/byteswap-16.h> to get __bswap_16.
74338 * sysdeps/i386/bits/byteswap.h: Likewise.
74339 * sysdeps/s390/bits/byteswap.h: Likewise.
74340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74341 * bits/byteswap-16.h: New file.
74342 * sysdeps/i386/bits/byteswap-16.h: Likewise.
74343 * sysdeps/s390/bits/byteswap-16.h: Likewise.
74344 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74345 * string/Makefile (headers): Add bits/byteswap-16.h.
74346
74347 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
74348
74349 [BZ #13895]
74350 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74351 extra indirection.
74352 * nss/Makefile (tests-static, tests): Add tst-nss-static.
74353 * nss/tst-nss-static.c: New.
74354
74355 2012-04-06 Robert Millan <rmh@gnu.org>
74356
74357 [BZ #6486]
74358 * manual/llio.texi (File Position Primitive): lseek
74359 refers to WHENCE when it really means OFFSET.
74360
74361 2012-04-06 Andreas Jaeger <aj@suse.de>
74362
74363 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74364 strncmp declarations.
74365
74366 * abilist/libc.abilist: Add __poll and __ppoll.
74367
74368 2012-04-05 David S. Miller <davem@davemloft.net>
74369
74370 * scripts/check-local-headers.sh: Accept a host triplet in the
74371 path matched by the exclude regexp.
74372
74373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74374 definition.
74375 * sysdeps/powerpc/powerpc32/dl-machine.h
74376 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74377 * sysdeps/s390/s390-32/dl-machine.h
74378 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74379 * sysdeps/sparc/sparc32/dl-machine.h
74380 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74381 * sysdeps/sparc/sparc64/dl-machine.h
74382 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74383
74384 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74385 lazy binding.
74386 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74387 undefined symbol errors.
74388
74389 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74390 DT_NEEDED entries.
74391
74392 2012-04-05 Michael Matz <matz@suse.de>
74393
74394 [BZ #13592]
74395 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74396
74397 2012-04-05 Andreas Jaeger <aj@suse.de>
74398
74399 [BZ #13908]
74400 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74401 comment.
74402
74403 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74404
74405 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74406 which ROUND is no valid rounding mode.
74407
74408 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74409
74410 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74411 read again.
74412 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74413
74414 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74415
74416 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74417 an exception using FPU order intentionally.
74418
74419 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74420
74421 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74422 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74423 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74424 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74425
74426 2012-04-05 Simon Josefsson <simon@josefsson.org>
74427
74428 [BZ #12340]
74429 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74430 EINVAL when BUFLEN is too smal.
74431
74432 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
74433
74434 [BZ #13553]
74435 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74436 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74437
74438 2012-04-03 Andreas Jaeger <aj@suse.de>
74439
74440 [BZ #13938]
74441 * manual/setjmp.texi (System V contexts): Fix sentence.
74442
74443 [BZ #13926]
74444 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74445 New macro for this case.
74446 [!__GNUC__] (__bswap_64): New inline function for this case.
74447 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74448 * bits/byteswap.h: Likewise.
74449 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74450 ull, guard with __GLIBC_HAVE_LONG_LONG.
74451
74452 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74453 __GLIBC_HAVE_LONG_LONG.
74454
74455 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74456 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74457
74458 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74459
74460 [BZ #13691]
74461 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74462 inptr and inend, rather than using last_ch.
74463
74464 2012-04-02 David S. Miller <davem@davemloft.net>
74465
74466 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74467 * stdio-common/printf-parse.h (read_int): Change return type to
74468 'int', return -1 on INT_MAX overflow.
74469 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74470 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
74471 overflows INT_MAX. Check for overflow of in-format-string precision
74472 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
74473 SIZE_MAX not INT_MAX for integer overflow test.
74474 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74475 skip the construct in the format string but do not record anything.
74476 * stdio-common/bug22.c: Adjust to test both width/prevision
74477 INT_MAX overflow as well as total length INT_MAX overflow. Check
74478 explicitly for proper errno values.
74479
74480 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
74481
74482 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74483 CHAR_MAX.
74484 * string/test-strcmp.c [! WIDE]: Likewise.
74485 * time/tst-mktime2.c: Likewise for INT_MAX.
74486 * string/test-string.h: #include <sys/param.h> for MIN.
74487
74488 * csu/init-first.c (__libc_init_first): Call __ctype_init.
74489 * sysdeps/i386/init-first.c (init): Likewise.
74490 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74491 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74492 * sysdeps/sh/init-first.c (init): Likewise.
74493
74494 2012-04-01 Ulrich Drepper <drepper@gmail.com>
74495
74496 * po/ru.po: Update from translation team.
74497 * po/vi.po: Likewise.
74498
74499 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74500
74501 * resolv/nss_dns/dns-host.c: Merge copyright years.
74502
74503 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74504
74505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74506 Optimize memcpy with prefetch if
74507 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74508 src, dst pointers have unequal 16 byte alignments.
74509
74510 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74511
74512 [BZ #13928]
74513 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74514 from a CNAME entry and return the minimum ttl for the query.
74515 (gaih_getanswer_slice): Likewise.
74516
74517 2012-03-30 Jeff Law <law@redhat.com>
74518
74519 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74520 due to long keys.
74521 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74522 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74523
74524 * resolv/nss_dns/dns-host.c: Update copyright year.
74525
74526 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74527
74528 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74529 requests to save a system call. Fix check that all bytes are sent.
74530
74531 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74532 comments for sendmmsg.
74533
74534 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74535
74536 [BZ #13691]
74537 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74538 with only 1 character between 0x0041 and 0x01b0.
74539 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74540 * wcsmbs/tst-mbsnrtowcs.c: New file.
74541
74542 2012-03-29 David S. Miller <davem@davemloft.net>
74543
74544 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74545 small copies by hand.
74546
74547 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74548
74549 [BZ #13761]
74550 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74551 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74552 group memberships.
74553
74554 2012-03-28 David S. Miller <davem@davemloft.net>
74555
74556 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74557 that branches into memcpy.
74558 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74560 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74561 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74563 bits.
74564 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74565 implementation too.
74566 * sysdeps/sparc/mempcpy.S: New file.
74567
74568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74569 the IFUNC routine in the libc case.
74570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74571
74572 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74573 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74574 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74575 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74576 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74577 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74578 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74579 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74580
74581 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74582 loop to 256 bytes instead of 64 bytes and fix test signedness.
74583
74584 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74585 * sysdeps/sparc/sparc32/Makefile: rather than here...
74586 * sysdeps/sparc/sparc64/Makefile: and here.
74587
74588 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74589
74590 * malloc/mallocbug.c: Avoid warnings about unused variables.
74591
74592 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74593
74594 [BZ #13760]
74595 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74596 in the right place. Discard and retry query if response is
74597 larger than input buffer size.
74598
74599 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74600
74601 [BZ #369]
74602 [BZ #2678]
74603 [BZ #3866]
74604 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74605 x for large integer exponent.
74606 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74607 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74608 sign of result as needed afterwards.
74609 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74610 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74611 result for underflowing pow the same as for overflow.
74612 (__kernel_standard_l): Handle powl overflow and underflow here
74613 rather than calling __kernel_standard.
74614 * math/libm-test.inc (pow_test): Add more tests.
74615
74616 [BZ #3868]
74617 [BZ #13879]
74618 [BZ #13910]
74619 [BZ #13911]
74620 [BZ #13912]
74621 [BZ #13913]
74622 [BZ #13915]
74623 [BZ #13916]
74624 [BZ #13917]
74625 [BZ #13918]
74626 [BZ #13919]
74627 [BZ #13920]
74628 [BZ #13921]
74629 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74630 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74631 (__kernel_standard_l): New function.
74632 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74633 __kernel_standard.
74634 * math/w_acosl.c (__acosl): Likewise.
74635 * math/w_asinl.c (__asinl): Likewise.
74636 * math/w_atan2l.c (__atan2l): Likewise.
74637 * math/w_atanhl.c (__atanhl): Likewise.
74638 * math/w_coshl.c (__coshl): Likewise.
74639 * math/w_exp10l.c (__exp10l): Likewise.
74640 * math/w_exp2l.c (__exp2l): Likewise.
74641 * math/w_fmodl.c (__fmodl): Likewise.
74642 * math/w_hypotl.c (__hypotl): Likewise.
74643 * math/w_j0l.c (__j0l, __y0l): Likewise.
74644 * math/w_j1l.c (__j1l, __y1l): Likewise.
74645 * math/w_jnl.c (__jnl, __ynl): Likewise.
74646 * math/w_lgammal.c (__lgammal): Likewise.
74647 * math/w_log10l.c (__log10l): Likewise.
74648 * math/w_log2l.c (__log2l): Likewise.
74649 * math/w_logl.c (__logl): Likewise.
74650 * math/w_powl.c (__powl): Likewise.
74651 * math/w_remainderl.c (__remainderl): Likewise.
74652 * math/w_scalbl.c (sysv_scalbl): Likewise.
74653 * math/w_sinhl.c (__sinhl): Likewise.
74654 * math/w_sqrtl.c (__sqrtl): Likewise.
74655 * math/w_tgammal.c (__tgammal): Likewise.
74656 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74657 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74658 * math/libm-test.inc (acos_test): Add more tests.
74659 (acosh_test): Likewise.
74660 (asin_test): Likewise.
74661 (atanh_test): Likewise.
74662 (exp_test): Likewise.
74663 (exp10_test): Likewise.
74664 (exp2_test): Likewise.
74665 (expm1_test): Likewise.
74666 (lgamma_test): Likewise.
74667 (log_test): Likewise.
74668 (log10_test): Likewise.
74669 (log1p_test): Likewise.
74670 (log2_test): Likewise.
74671 (pow_test): Do not allow some spurious overflow exceptions.
74672 (sqrt_test): Add more tests.
74673 (tgamma_test): Likewise.
74674 (y0_test): Likewise.
74675 (y1_test): Likewise.
74676 (yn_test): Likewise.
74677
74678 2012-03-27 Anton Blanchard <anton@samba.org>
74679
74680 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74681 MAP_HUGETLB.
74682 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74683 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74684 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74685
74686 2012-03-27 David S. Miller <davem@davemloft.net>
74687
74688 * conform/Makefile: Run run-conformtest.sh using $(BASH).
74689
74690 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74691 have-as-vis3 check.
74692
74693 2012-03-27 Andreas Jaeger <aj@suse.de>
74694
74695 * sysdeps/x86_64/elf/configure.in: Moved to ...
74696 * sysdeps/x86_64/configure.in: ... here.
74697 * sysdeps/x86_64/elf/start.S: Moved to ...
74698 * sysdeps/x86_64/start.S: ... here.
74699 * sysdeps/x86_64/elf/configure: Delete.
74700
74701 * sysdeps/x86_64/configure.in: Merge contents from
74702 sysdeps/i386/configure.in (without i686 check).
74703
74704 * sysdeps/i386/elf/Versions: Merge into ...
74705 * sysdeps/i386/Versions: ... this.
74706 * sysdeps/i386/elf/Versions: Delete file.
74707 * sysdeps/i386/elf/start.S: Moved to ...
74708 * sysdeps/i386/start.S: ...here.
74709 * sysdeps/i386/elf/configure.in: Merge into...
74710 * sysdeps/i386/configure.in: ...here.
74711 * sysdeps/i386/elf/configure.in: Delete file.
74712 * sysdeps/i386/elf/configure: Delete file.
74713
74714 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74715 * debug/backtracesyms.c: ... here.
74716 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74717 * debug/backtracesymsfd.c: ... here.
74718 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74719 * sysdeps/generic/ifunc-sel.h: ... here.
74720
74721 * sysdeps/unix/i386/start.c: Delete file.
74722 * sysdeps/unix/sparc/start.c: Delete file.
74723 * sysdeps/unix/start.c: Delete file.
74724
74725 * sysdeps/sh/elf/configure.in: Moved to ...
74726 * sysdeps/sh/configure.in: ... here.
74727 * sysdeps/sh/elf/start.S: Moved to ...
74728 * sysdeps/sh/start.S: ... here.
74729 * sysdeps/sh/elf/configure: Delete file.
74730
74731 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74732 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74733 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74734 * sysdeps/powerpc/powerpc64/entry.h: ... here.
74735 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74736 * sysdeps/powerpc/powerpc64/start.S: here.
74737 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74738 * sysdeps/powerpc/powerpc64/Makefile: ... this.
74739 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74740 * sysdeps/powerpc/powerpc64/configure.in: ... this.
74741 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74742
74743 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74744 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74745 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74746 * sysdeps/powerpc/powerpc32/start.S: ... here.
74747 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74748 * sysdeps/powerpc/powerpc32/configure.in: ... this.
74749 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74750
74751 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74752 * sysdeps/powerpc/ifunc-sel.h: ... here.
74753 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74754 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74755
74756 * sysdeps/sparc/elf/configure.in: Moved to ...
74757 * sysdeps/sparc/configure.in: ... here.
74758 * sysdeps/sparc/elf/configure: Delete file.
74759 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74760 * sysdeps/sparc/sparc32/start.S: ... here.
74761 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74762 * sysdeps/sparc/sparc64/start.S: ... here.
74763 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74764 * sysdeps/sparc/sparc32/Makefile: ... this.
74765 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74766 * sysdeps/sparc/sparc64/Makefile: ... this.
74767
74768 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74769 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74770 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74771 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74772 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74773 * sysdeps/s390/s390-32/setjmp.S: ... here.
74774 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74775 * sysdeps/s390/s390-32/configure.in: ... here.
74776 * sysdeps/s390/s390-32/elf/configure: Delete file.
74777 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74778 * sysdeps/s390/s390-32/start.S: ... here.
74779
74780 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74781 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74782 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74783 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74784 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74785 * sysdeps/s390/s390-64/setjmp.S: ... here.
74786 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74787 * sysdeps/s390/s390-64/configure.in: ... here
74788 * sysdeps/s390/s390-64/elf/configure: Delete file.
74789 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74790 * sysdeps/s390/s390-64/start.S: ... here.
74791 * sysdeps/s390/s390-64/elf/configure: Delete.
74792
74793 * configure.in: Remove support for elf directories in sysdeps.
74794
74795 * configure: Regenerated.
74796 * sysdeps/i386/configure: Regenerated.
74797 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74798 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74799 * sysdeps/s390/s390-32/configure: Regenerated.
74800 * sysdeps/s390/s390-64/configure: Regenerated.
74801 * sysdeps/sh/configure: Regenerated.
74802 * sysdeps/sparc/configure: Regenerated.
74803 * sysdeps/x86_64/configure: Regenerated.
74804
74805 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
74806
74807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74808
74809 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74810 denormal result into account.
74811
74812 2012-03-25 Roland McGrath <roland@hack.frob.com>
74813
74814 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74815 Reported by Allan McRae <allan@archlinux.org>.
74816
74817 2012-03-23 Jeff Law <law@redhat.com>
74818
74819 * nss/getnssent.c (__nss_getent): Fix typo.
74820
74821 2012-03-23 David S. Miller <davem@davemloft.net>
74822
74823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74824
74825 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
74826
74827 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74828 to pad to uint64_t for each field.
74829 (dl_tls_index): Replace unsigned long with uint64_t.
74830
74831 2012-03-23 Daniel Jacobowitz <dmj@google.com>
74832 Paul Pluzhnikov <ppluzhnikov@google.com>
74833
74834 [BZ #6528]
74835 * grp/Makefile (otherlibs): Don't set it.
74836 * inet/Makefile (otherlibs): Likewise.
74837 * login/Makefile (otherlibs): Likewise.
74838 * nscd/Makefile (otherlibs): Likewise.
74839 * posix/Makefile (otherlibs): Likewise.
74840 * pwd/Makefile (otherlibs): Likewise.
74841 * rt/Makefile (otherlibs): Likewise.
74842 * sunrpc/Makefile (otherlibs): Likewise.
74843 * nss/Makefile (otherlibs): Likewise.
74844 Add libnss_files to routines and static-only-routines.
74845 ($(objpfx)getent): Remove rule.
74846 * resolv/Makefile: Add libnss_dns and libresolv to routines and
74847 static-only-routines.
74848
74849 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74850
74851 [BZ #13892]
74852 * math/s_cexp.c: Include <float.h>.
74853 (__cexp): Handle exp result overflowing not necessarily
74854 overflowing both real and imaginary parts of result.
74855 * math/s_cexpf.c: Likewise.
74856 * math/s_cexpl.c: Likewise.
74857 * math/libm-test.inc (cexp_test): Add more tests.
74858 * sysdeps/i386/fpu/libm-test-ulps: Update.
74859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74860
74861 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74862
74863 * include/link.h (ELFW): New macro.
74864 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74865 Replace ELF64_R_TYPE with ELFW(R_TYPE).
74866
74867 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74868
74869 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74870 with uint64_t.
74871
74872 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74873
74874 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74875 declaration.
74876 (struct La_x32_retval): Likewise.
74877
74878 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74879
74880 * sysdeps/x86_64/preconfigure.in: New file.
74881 * sysdeps/x86_64/preconfigure: New generated file.
74882
74883 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74884
74885 [BZ #13824]
74886 * math/e_exp2l.c: Include <float.h>.
74887 (__ieee754_exp2l): Handle overflow and underflow cases
74888 separately. Only pass fractional part of argument to
74889 __ieee754_expl.
74890 * math/libm-test.inc (exp2_test): Add more tests.
74891
74892 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74893 negating x to take absolute value.
74894 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74895 Likewise.
74896 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74897 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74898 Likewise.
74899 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74900 computing low part if x was negated.
74901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74902
74903 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74904
74905 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74906 la_x32_gnu_pltexit.
74907 (pltexit): Cast int_retval to ptrdiff_t.
74908 * elf/tst-auditmod3b.c: Likewise.
74909 * elf/tst-auditmod4b.c: Likewise.
74910 * elf/tst-auditmod5b.c: Likewise.
74911 * elf/tst-auditmod6b.c: Likewise.
74912 * elf/tst-auditmod6c.c: Likewise.
74913 * elf/tst-auditmod7b.c: Likewise.
74914
74915 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74916 and x32_gnu_pltexit.
74917
74918 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74919 __ELF_NATIVE_CLASS.
74920 (La_x32_regs): New macro.
74921 (La_x32_retval): Likewise.
74922 (la_x32_gnu_pltenter): New function prototype.
74923 (la_x32_gnu_pltexit): Likewise.
74924
74925 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
74926
74927 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74928 exponent.
74929
74930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74931
74932 * configure.in (libc_cv_cc_nofma): Check for option to disable
74933 generation of FMA instructions.
74934 * configure: Regenerate.
74935 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74936 * sysdeps/ieee754/dbl-64/Makefile: New file.
74937 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74938 Remove brandred-fma4.
74939 (CFLAGS-brandred-fma4.c): Remove.
74940 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74941 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74942 define.
74943 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74944 define.
74945
74946 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74947
74948 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74949 LLONG_MAX != LONG_MAX.
74950 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74951 (_fitoa_word): Likewise.
74952 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74953 LLONG_MAX != LONG_MAX.
74954 * stdio-common/_itowa.h: Include <_itoa.h>.
74955 (_itowa_word): Use _ITOA_WORD_TYPE on value.
74956 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
74957 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
74958 only if not defined.
74959 (_ITOA_WORD_TYPE): Likewise.
74960 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74961 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74962
74963 2012-03-21 David S. Miller <davem@davemloft.net>
74964
74965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74966
74967 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74968
74969 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74970 of x86_64 when setting libc_cv_slibdir, libdir and
74971 libc_cv_localedir.
74972 * sysdeps/unix/sysv/linux/configure: Regenerated.
74973
74974 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74975
74976 * manual/lang.texi (Old Varargs): Remove section.
74977 (How Variadic): Update menu.
74978 (va_start): Do not mention varargs.h.
74979
74980 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74981 Joseph Myers <joseph@codesourcery.com>
74982
74983 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74984 link test.
74985 * configure: Regenerated.
74986
74987 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74988
74989 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74990 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74991 conformtest.pl
74992
74993 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74994
74995 * NOTES: Remove.
74996 * Makefile (files-for-dist): Remove NOTES.
74997 (NOTES): Remove rule.
74998 * README: Don't refer to NOTES.
74999 * manual/creature.texi: Don't include macros.texi.
75000 * manual/intro.texi (creature.texi): Remove comment referring to
75001 NOTES.
75002
75003 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75004 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75005 * configure: Regenerated.
75006 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75007 LIBC_TRY_CC_OPTION.
75008 (libc_cv_as_i686): Likewise.
75009 (libc_cv_cc_avx): Likewise.
75010 (libc_cv_cc_sse2avx): Likewise.
75011 (libc_cv_cc_fma4): Likewise.
75012 (libc_cv_cc_novzeroupper): Likewise.
75013 * sysdeps/i386/configure: Regenerated.
75014
75015 [BZ #13883]
75016 * sysdeps/i386/fpu/s_cexp.S: Remove.
75017 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75018 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75019 * math/libm-test.inc (cexp_test): Add more tests.
75020 * sysdeps/i386/fpu/libm-test-ulps: Update.
75021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75022
75023 2012-03-21 Allan McRae <allan@archlinux.org>
75024
75025 * timezone/Makefile: Do not install iso3166.tab and zone.tab
75026
75027 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75028
75029 [BZ #13871]
75030 * math/w_exp2.c: Do not include <float.h>.
75031 (o_threshold, u_threshold): Remove.
75032 (__exp2): Calculate result before checking finiteness and calling
75033 __kernel_standard.
75034 * math/w_exp2f.c: Likewise.
75035 * math/w_exp2l.c: Likewise.
75036 * math/libm-test.inc (exp2_test): Require overflow exception for
75037 1e6 input.
75038
75039 [BZ #3866]
75040 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75041 range of signed 64-bit integers before using fistpll. Remove
75042 checks for whether integers fit in mantissa bits.
75043 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75044 the range of signed 32-bit integers before using fistpl. Remove
75045 checks for whether integers fit in mantissa bits.
75046 * sysdeps/i386/fpu/e_powl.S (p64): New object.
75047 (__ieee754_powl): Test for y outside the range of signed 64-bit
75048 integers before using fistpll. Reduce 64-bit values to 63-bit
75049 ones as needed.
75050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75051 divide-by-zero is raised for zero to large negative powers.
75052 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75053 (__ieee754_powl): Test for y outside the range of signed 64-bit
75054 integers before using fistpll. Reduce 64-bit values to 63-bit
75055 ones as needed.
75056 * math/libm-test.inc (pow_test): Add more tests.
75057
75058 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75059
75060 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75061 <stdio-common/_itoa.h>.
75062 * debug/segfault.c: Likewise.
75063 * elf/dl-cache.c: Likewise.
75064 * elf/dl-minimal.c: Likewise.
75065 * elf/dl-misc.c: Likewise.
75066 * elf/dl-sysdep.c: Likewise.
75067 * elf/dl-version.c: Likewise.
75068 * elf/rtld.c: Likewise.
75069 * hurd/hurdsock.c: Likewise.
75070 * hurd/lookup-retry.c: Likewise.
75071 * malloc/malloc.c: Likewise.
75072 * malloc/mtrace.c: Likewise.
75073 * nscd/nscd_getgr_r.c: Likewise.
75074 * nscd/nscd_getpw_r.c: Likewise.
75075 * nscd/nscd_getserv_r.c: Likewise.
75076 * posix/getopt_init.c: Likewise.
75077 * posix/wordexp.c: Likewise.
75078 * stdio-common/_itoa.c: Likewise.
75079 * stdio-common/printf_fphex.c: Likewise.
75080 * stdio-common/vfprintf.c: Likewise.
75081 * string/_strerror.c: Likewise.
75082 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75083 * sysdeps/i386/i686/hp-timing.h: Likewise.
75084 * sysdeps/mach/_strerror.c: Likewise.
75085 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75086 * sysdeps/mach/hurd/sethostid.c: Likewise.
75087 * sysdeps/mach/hurd/xmknodat.c: Likewise.
75088 * sysdeps/mach/xpg-strerror.c: Likewise.
75089 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75090 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75091 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75092 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75093 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75094 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75095 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75096 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75097 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75098 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75099 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75100 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75101 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75102 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75103 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75104 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75105 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75106 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75107 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75108 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75109 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75110
75111 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75112
75113 * stdio-common/_itoa.h: Moved to ...
75114 * sysdeps/generic/_itoa.h: Here.
75115
75116 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75117
75118 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75119 instead of "_itoa.h" and "_itowa.h".
75120 * stdio-common/vfprintf.: Likewise.
75121
75122 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75123
75124 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75125 <bits/wordsize.h>.
75126 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75127 (__signbit): Likewise.
75128 (llrintf): Likewise.
75129 (llrint): Likewise.
75130
75131 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75132
75133 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75134 __WORDSIZE != 64.
75135
75136 2012-03-20 Joseph Myers <joseph@codesourcery.com>
75137
75138 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75139 OVERFLOW_EXCEPTION_OK.
75140 * math/libm-test.inc ("Philosophy"): Update comment about
75141 exception testing.
75142 (OVERFLOW_EXCEPTION): Define.
75143 (OVERFLOW_EXCEPTION_OK): Likewise.
75144 (INVALID_EXCEPTION_OK): Renumber.
75145 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75146 (IGNORE_ZERO_INF_SIGN): Likewise.
75147 (test_exceptions): Handle FE_OVERFLOW.
75148 (exp10_test): Expect overflow exceptions.
75149 (exp2_test): Likewise.
75150 (expm1_test): Likewise.
75151 (nextafter_test): Likewise.
75152 (pow_test): Likewise.
75153 (scalbn_test): Likewise.
75154 (scalbln_test): Likewise.
75155
75156 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75157
75158 * sysdeps/x86_64/bits/atomic.h
75159 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75160 64bit integer.
75161 (atomic_exchange_acq): Likewise.
75162 (__arch_exchange_and_add_body): Likewise.
75163 (__arch_add_body): Likewise.
75164 (atomic_add_negative): Likewise.
75165 (atomic_add_zero): Likewise.
75166
75167 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75168
75169 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75170 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75171
75172 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75173
75174 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75175 Check __x86_64__ instead of __WORDSIZE.
75176
75177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75178
75179 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75180
75181 2012-03-19 David S. Miller <davem@davemloft.net>
75182
75183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75184
75185 * sysdeps/sparc/fpu/fenv_private.h: New file.
75186 * sysdeps/sparc/fpu/math_private.h: Use it.
75187 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75188 Remove.
75189 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75190 (libc_feholdexcept_setroundl): Remove.
75191 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75192 Remove.
75193 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75194 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75195
75196 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75197
75198 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75199 int64_t instead of long int.
75200 (INSERT_WORDS64): Likewise.
75201
75202 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75203
75204 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75205 _Unwind_GetCFA return to _Unwind_Ptr first.
75206
75207 2012-03-19 Joseph Myers <joseph@codesourcery.com>
75208
75209 [BZ #13629]
75210 * math/s_clog.c: Include <float.h>.
75211 (__clog): Scale large or subnormal inputs.
75212 * math/s_clogf.c: Likewise.
75213 * math/s_clogl.c: Likewise.
75214 * math/s_clog10.c: Include <float.h>.
75215 (M_LOG10_2): Define.
75216 (__clog10): Scale large or subnormal inputs.
75217 * math/s_clog10f.c: Likewise.
75218 * math/s_clog10l.c: Likewise.
75219 * math/libm-test.inc (clog_test): Add more tests.
75220 (clog10_test): Likewise.
75221 * sysdeps/i386/fpu/libm-test-ulps: Update.
75222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75223
75224 [BZ #11451]
75225 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75226 x and y.
75227 * math/libm-test.inc (atan2_test): Add another test.
75228
75229 * Makerules (common-objdir-compile): Remove.
75230 * sysdeps/unix/Makefile (config-generated): Do not add
75231 $(unix-generated) to variable.
75232 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75233 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75234 Remove rule.
75235 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75236 Likewise.
75237 [generic bits/local_lim.h] (before-compile): Do not append to
75238 variable.
75239 [generic bits/local_lim.h] (common-generated): Likewise.
75240 [generic sys/param.h] (before-compile): Do not append to variable.
75241 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75242 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75243 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75244 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75245 include.
75246 [generic sys/param.h] (sys/param.h-includes): Remove variable.
75247 [generic sys/param.h] (sys/param.h-includes): Remove rule.
75248 [generic sys/param.h] ($(addprefix
75249 $(common-objpfx),$(sys/param.h-includes))): Likewise.
75250 [generic sys/param.h] (common-generated): Do not append to
75251 variable.
75252 [generic sys/param.h] (sysdep_headers): Likewise.
75253 [generic bits/errno.h] (before-compile): Do not append to
75254 variable.
75255 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75256 rule.
75257 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75258 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75259 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75260 [generic bits/errno.h] (common-generated): Do not append to
75261 variable.
75262 [generic bits/ioctls.h] (before-compile): Do not append to
75263 variable.
75264 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75265 rule.
75266 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75267 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75268 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75269 rule.
75270 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75271 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75272 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75273 [generic bits/ioctls.h] (common-generated): Do not append to
75274 variable.
75275 [generic sys/syscall.h] (syscall.h): Remove variable.
75276 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75277 rule.
75278 [generic sys/syscall.h] (before-compile): Do not append to
75279 variable.
75280 [generic sys/syscall.h] (common-generated): Likewise.
75281 * sysdeps/unix/errnos-tmpl.c: Remove file.
75282 * sysdeps/unix/errnos.awk: Likewise.
75283 * sysdeps/unix/ioctls-tmpl.c: Likewise.
75284 * sysdeps/unix/ioctls.awk: Likewise.
75285 * sysdeps/unix/mk-local_lim.c: Likewise.
75286 * sysdeps/unix/snarf-ioctls: Likewise.
75287
75288 2012-03-19 Richard Henderson <rth@twiddle.net>
75289
75290 * sysdeps/i386/fpu/fenv_private.h: New file.
75291 * sysdeps/i386/fpu/math_private.h: Use it.
75292 (math_opt_barrier, math_force_eval): Remove.
75293 (libc_feholdexcept_setround_53bit): Remove.
75294 (libc_feupdateenv_53bit): Remove.
75295 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75296 (math_opt_barrier, math_force_eval): Remove.
75297 (libc_feholdexcept): Remove.
75298 (libc_feholdexcept_setround): Remove.
75299 (libc_fetestexcept, libc_fesetenv): Remove.
75300 (libc_feupdateenv_test): Remove.
75301 (libc_feupdateenv, libc_feholdsetround): Remove.
75302 (libc_feresetround): Remove.
75303
75304 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75305 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75306
75307 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75308 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75309 (libc_feupdateenv_testl): New.
75310 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75311 (libc_feupdateenv_testf): New.
75312 (libc_feupdateenv): Use libc_feupdateenv_test.
75313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75315
75316 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75317 (libc_feholdsetroundf, libc_feholdsetroundl): New.
75318 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75319 (libc_feresetround_noex): New.
75320 (libc_feresetround_noexf): New.
75321 (libc_feresetround_noexl): New.
75322 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75323 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75324 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75325 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75326 SET_RESTORE_ROUND.
75327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75329 (__cos): Likewise.
75330 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75331 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75332 SET_RESTORE_ROUND_NOEX.
75333 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75334 SET_RESTORE_ROUND_NOEXF.
75335 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75336 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75337 (libc_feholdsetroundf): New.
75338 (libc_feresetround, libc_feresetroundf): New.
75339
75340 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75341 (libc_feholdexcept_setround_53bit): Convert from macro to function.
75342 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
75343
75344 * sysdeps/generic/math_private.h: Include <fenv.h>.
75345 (default_libc_feholdexcept): New.
75346 (default_libc_feholdexcept_setround): New.
75347 (default_libc_fesetenv, default_libc_feupdateenv): New.
75348 (libc_feholdexcept): Only define if undefined.
75349 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75350 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75351 (libc_feholdexcept_setroundl): Likewise.
75352 (libc_feholdexcept_setround_53bit): Likewise.
75353 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75354 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75355 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75356 (libc_feupdateenv_53bit): Likewise.
75357 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75358 (libc_feholdexcept): Convert from macro to inline function.
75359 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75360 (libc_fesetenv, libc_feupdateenv): Likewise.
75361
75362 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75363 not previously defined.
75364 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75365 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75366 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75367 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75368 * sysdeps/ieee754/flt-32/math_private.h: New file.
75369 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75370 math_private.h below SET_FLOAT_WORD.
75371 (__isnan, __isinf_ns, __finite): Remove.
75372 (__isnanf, __isinf_nsf, __finitef): Remove.
75373
75374 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
75375
75376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75377
75378 2012-03-17 David S. Miller <davem@davemloft.net>
75379
75380 [BZ #6471]
75381 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75382 for 2.16.
75383
75384 2012-03-16 David S. Miller <davem@davemloft.net>
75385
75386 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75387 warnings.
75388
75389 [BZ #6471]
75390 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75391 properly.
75392 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75393 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75394 sysdep_routines when subdir is sysvipc.
75395 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75396 __getshmlba helper.
75397
75398 * sysdeps/sparc/fpu/libm-test/ulps: Update.
75399
75400 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75401
75402 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75403 [__LP64__].
75404
75405 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75406
75407 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75408 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75409 (__lround): Renamed to ...
75410 (__llround): This. Replace long int with long long int.
75411 Define lround functions as aliases of llround functions.
75412 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75413
75414 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75415
75416 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75417 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
75418 adresses to uintptr_t. Replace "long int" and "unsigned long
75419 int" with "greg_t" on va_arg.
75420
75421 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75422
75423 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75424 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75425
75426 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75427 Move e_machine check before EI_CLASS check. Handle x32
75428 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75429 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75430 SKIP_EM_IA_64 and include
75431 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75432
75433 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75434 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75435 (add_system_dir): New macro.
75436
75437 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75438 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75439
75440 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75441
75442 [BZ #2551]
75443 [BZ #2552]
75444 [BZ #2553]
75445 [BZ #2554]
75446 [BZ #2562]
75447 [BZ #2563]
75448 [BZ #2565]
75449 [BZ #2566]
75450 [BZ #2576]
75451 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75452 (y0): Likewise.
75453 * math/w_j0f.c (j0f): Likewise.
75454 (y0f): Likewise.
75455 * math/w_j0l.c (__j0l): Likewise.
75456 (__y0l): Likewise.
75457 * math/w_j1.c (j1): Likewise.
75458 (y1): Likewise.
75459 * math/w_j1f.c (j1f): Likewise.
75460 (y1f): Likewise.
75461 * math/w_j1l.c (__j1l): Likewise.
75462 (__y1l): Likewise.
75463 * math/w_jn.c (jn): Likewise.
75464 (yn): Likewise.
75465 * math/w_jnf.c (jnf): Likewise.
75466 (ynf): Likewise.
75467 * math/w_jnl.c (__jnl): Likewise.
75468 (__ynl): Likewise.
75469 * math/libm-test.inc (j0_test): Add more tests.
75470 (j1_test): Likewise.
75471 (jn_test): Likewise. Add trailing semicolon to existing test.
75472 (y0_test): Likewise.
75473 (y1_test): Likewise.
75474 * sysdeps/i386/fpu/libm-test-ulps: Update.
75475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75476
75477 [BZ #13851]
75478 [BZ #13854]
75479 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75480 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75481 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75482 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75483 (__tanl): Set errno for infinite argument.
75484 * sysdeps/i386/fpu/mptan.c: Remove.
75485 * sysdeps/i386/fpu/s_tan.S: Likewise.
75486 * sysdeps/i386/fpu/s_tanl.S: Likewise.
75487 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75488 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75489 * math/libm-test.inc (tan_test): Add more tests and enable more
75490 tests for double and long double.
75491 * sysdeps/i386/fpu/libm-test-ulps: Update.
75492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75493
75494 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75495
75496 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75497 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75498
75499 2012-03-16 Roland McGrath <roland@hack.frob.com>
75500
75501 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75502 * configure.in: Use it for both main tree and add-ons.
75503 * configure: Regenerated.
75504
75505 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75506
75507 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75508
75509 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75510
75511 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75512 in comment.
75513
75514 [BZ #13851]
75515 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75516 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75517 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75518 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75519 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75520 infinite argument.
75521 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75523 != 0 for prec == 2.
75524 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75525 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75526 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75527 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75528 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75529 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75530 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75531 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75532 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75533 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75534 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75535 * math/libm-test.inc (cos_test): Add more tests and enable more
75536 tests for long double.
75537 (sin_test): Likewise.
75538 (sincos_test): Likewise.
75539 * sysdeps/i386/fpu/libm-test-ulps: Update.
75540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75541
75542 2012-03-16 David S. Miller <davem@davemloft.net>
75543
75544 * sysdeps/sparc/fpu/math_private.h: New file.
75545
75546 2012-03-15 David S. Miller <davem@davemloft.net>
75547
75548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75549 file.
75550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75552 file.
75553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75559 sysdep routines.
75560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75561
75562 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75563 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75564
75565 * sysdeps/sparc/sparc-ifunc.h: New file.
75566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75567 sparc-ifunc.h
75568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75570 Likewise.
75571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75572 Likewise.
75573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75577 Likewise.
75578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75583 Likewise.
75584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75585 Likewise.
75586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75606 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75607 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75610
75611 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75612
75613 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75614 scaling.
75615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75616
75617 2012-03-15 Andreas Jaeger <aj@suse.de>
75618
75619 [BZ #13852]
75620 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75621 ieee754/flt-32 implementation for sin, cos and sincos.
75622 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75623 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75624 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75625 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75626 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75627 ieee754/flt-32 implementation for tan.
75628
75629 * math/libm-test.inc (cos_test): Enable some large input tests for
75630 float as well
75631 (sin_test): Likewise.
75632 (sincos_test): Likewise.
75633 (tan_test): Add tests for large input.
75634
75635 * sysdeps/i386/fpu/libm-test-ulps: Update.
75636
75637 2012-03-15 Andreas Jaeger <aj@suse.de>
75638
75639 [BZ #13658]
75640 * math/libm-test.inc (cos_test): Add more test cases.
75641 (sin_test): Likewise.
75642 (sincos_test): Likewise.
75643
75644 2012-03-15 Andreas Jaeger <aj@suse.de>
75645
75646 [BZ #13837]
75647 * math/libm-test.inc (cos_test): Add a test case for large input
75648 value.
75649 (sin_test): Likewise.
75650 (sincos_test): Likewise.
75651
75652 2012-03-15 Andreas Jaeger <aj@suse.de>
75653 Joseph Myers <joseph@codesourcery.com>
75654
75655 [BZ #13658]
75656 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75657 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75658 * sysdeps/i386/fpu/branred.c: Likewise.
75659 * sysdeps/i386/fpu/dosincos.c: Likewise.
75660 * sysdeps/i386/fpu/mpa.c: Likewise.
75661 * sysdeps/i386/fpu/s_cos.S: Likewise.
75662 * sysdeps/i386/fpu/s_sin.S: Likewise.
75663 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75664 * sysdeps/i386/fpu/sincos32.c: Likewise.
75665
75666 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75667 Define.
75668 (libc_feupdateenv_53bit): Define.
75669 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75670 Define.
75671 (libc_feupdateenv_53bit): Define.
75672
75673 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75674 53 bit (without extend i386 double precision).
75675
75676 * math/libm-test.inc (sincos_test): Add tests for large input.
75677 (sin): Likewise.
75678 (cos): Likewise.
75679
75680 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75681
75682 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75683
75684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75685
75686 2012-03-15 David S. Miller <davem@davemloft.net>
75687
75688 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75689 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75690 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75691 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75704 file.
75705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75707 file.
75708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75710 file.
75711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75713 file.
75714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75716 fmin/fmax sysdep routines.
75717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75718
75719 2012-03-14 David S. Miller <davem@davemloft.net>
75720
75721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75728 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75741 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75744 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75748 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75750 routines.
75751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75752 file.
75753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75755 file.
75756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75758 file.
75759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75761 file.
75762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75764 file.
75765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75767 file.
75768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75769 file.
75770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75771 file.
75772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75773 file.
75774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75775 New file.
75776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75777 file.
75778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75779 file.
75780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75782 file.
75783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75785 file.
75786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75788 file.
75789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75791 VIS3 routines.
75792
75793 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75794 New file.
75795
75796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75797
75798 * sysdeps/sparc/configure.in: New file.
75799 * sysdeps/sparc/configure: Generate.
75800 * configure.in (libc_cv_sparc_as_vis3): Substitute.
75801 * configure: Regenerate.
75802 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75803 * config.make.in (have-as-vis3): New.
75804 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75805 available use -Av9d instead of -Av9a.
75806 * sysdeps/sparc/sparc64/Makefile: Likewise.
75807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75809 New file.
75810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75811 file.
75812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75813 New file.
75814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75815 file.
75816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75820 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75821
75822 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75823 fzeros/fnegs to load 0x80000000 into a float register instead of
75824 using the stack.
75825 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75826
75827 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75828
75829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75830 bits/syscall.h.
75831 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75832 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75833 ($(inst_includedir)/bits/syscall.h): Remove rule.
75834 ($(objpfx)bits/syscall.d): Include instead of
75835 $(objpfx)syscall-list.d.
75836 (generated): Change syscall-list.h and syscall-list.d to
75837 bits/syscall.h and bits/syscall.d.
75838
75839 2012-03-14 Roland McGrath <roland@hack.frob.com>
75840
75841 [BZ #13846]
75842 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75843
75844 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75845
75846 [BZ #13841]
75847 * math/s_csqrt.c: Include <float.h>.
75848 (__csqrt): Scale large or subnormal inputs.
75849 * math/s_csqrtf.c: Likewise.
75850 * math/s_csqrtl.c: Likewise.
75851 * math/libm-test.inc (csqrt_test): Add more tests.
75852 * sysdeps/i386/fpu/libm-test-ulps: Update.
75853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75854
75855 [BZ #13840]
75856 * math/libm-test.inc (hypot_test): Add more tests.
75857
75858 2012-03-13 David S. Miller <davem@davemloft.net>
75859
75860 [BZ #13840]
75861 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75862 double-precision for the calculation instead of scaling.
75863
75864 2012-03-13 Joseph Myers <joseph@codesourcery.com>
75865
75866 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75867 manipulate bits before adding and subtracting TWO52[sx].
75868 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75870 Likewise.
75871 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75872
75873 2012-03-13 David S. Miller <davem@davemloft.net>
75874
75875 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75876 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75878 rtld-global-offsets.h
75879 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75880
75881 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75882 large parameters.
75883
75884 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75885
75886 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75887 'err' in the ifdef scope in which it is actually used.
75888
75889 * nss/nss_db/db-init.c: Include string.h
75890
75891 2012-03-12 David S. Miller <davem@davemloft.net>
75892
75893 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75894 masking out of the most significant byte of random value used.
75895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75896 Fix coding style in previous change.
75897
75898 * sysdeps/unix/sysv/linux/kernel-features.h
75899 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75900 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75901 expression.
75902 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75903 later.
75904
75905 2012-03-11 David S. Miller <davem@davemloft.net>
75906
75907 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75908 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75909 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75910 for 'resultvar' otherwise things get truncated on 64-bit.
75911
75912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75913 Fix masking out of the most significant byte of random value used.
75914
75915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75916
75917 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
75918
75919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75920
75921 2012-03-09 David S. Miller <davem@davemloft.net>
75922
75923 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75924 variables with appropriate CPP guards.
75925 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75926 from the frame pointer, not the stack pointer. Correct layout
75927 comments. Fix test on resulting framesize and the management of
75928 the outregs buffer for pltexit. Preserve floating point return
75929 values across _dl_call_pltexit call.
75930 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75931 framesize and the management of the outregs buffer for pltexit.
75932 Preserve floating point return values across _dl_call_pltexit
75933 call.
75934 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75935 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75936 (la_sparc64_gnu_pltexit): New functions.
75937 (print_exit): Fix format string for return register value.
75938
75939 2012-03-10 Joseph Myers <joseph@codesourcery.com>
75940
75941 * sunrpc/Makefile (others): Add rpcgen.
75942 ($(objpfx)rpcgen): Remove special build rule and dependency on
75943 libc.
75944 * sunrpc/rpcgen.c: New file.
75945
75946 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
75947
75948 [BZ #13673]
75949 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75950 * stdio-common/bug-vfprintf-nargs.c: Likewise.
75951 * sysdeps/i386/crti.S: Likewise.
75952 * sysdeps/i386/crtn.S: Likewise.
75953 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75954 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75955 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75956 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75957 * sysdeps/sh/crti.S: Likewise.
75958 * sysdeps/sh/crtn.S: Likewise.
75959 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75960
75961 [BZ #13673]
75962 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75963 with URL.
75964 * locale/programs/locfile-kw.gperf: Likewise.
75965 * locale/programs/charmap-kw.h: Regenerated.
75966 * locale/programs/locfile-kw.h: Likewise.
75967
75968 [BZ #13673]
75969 * intl/plural.y: Replace FSF snail mail address with URL.
75970 * intl/plural.c: Regenerated.
75971
75972 2012-03-09 Richard Henderson <rth@twiddle.net>
75973
75974 * include/math_private.h: Remove file.
75975 * math/math_private.h: Move file ...
75976 * sysdeps/generic/math_private.h: ... here.
75977
75978 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75979 * sysdeps/powerpc/fpu/math_private.h: Likewise.
75980 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75981
75982 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75983 and <math_private.h>.
75984 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75985 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75986 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75987 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75988 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75989 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75992 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75993 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75995 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75996 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75997 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75998 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75999 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76000 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76001 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76002 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76003 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76004 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76005 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76006 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76008 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76009 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76010 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76011 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76012 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76013 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76014 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76016 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76017 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76018 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76019 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76020 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76021 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76022 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76023 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76024 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76025 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76026 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76027 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76028 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76029 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76030 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76031 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76032 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76033 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76034 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76035 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76036 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76037 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76038 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76039 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76040 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76041 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76042 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76043 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76044 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76045 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76047 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76048 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76049 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76050 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76051 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76052 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76053 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76054 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76055 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76056 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76057 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76058 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76062 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76063 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76064 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76065 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76066 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76067 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76068 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76071 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76072 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76073 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76074 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76075 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76076 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76077 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76078 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76079 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76080 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76081 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76082 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76083 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76084 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76085 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76086 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76087 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76088 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76089 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76090 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76091 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76092 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76093 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76094 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76095 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76096 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76097 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76098 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76099 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76100 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76101 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76102 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76103 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76104 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76105 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76106 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76107 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76108 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76109 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76110 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76111 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76112 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76113 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76114 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76115 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76116 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76117 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76118 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76119 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76120 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76121 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76122 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76123 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76124 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76125 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76126 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76127 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76128 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76129 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76130 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76131 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76132 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76133 * sysdeps/ieee754/k_standard.c: Likewise.
76134 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76135 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76136 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76137 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76138 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76139 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76140 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76141 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76142 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76143 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76146 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76147 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76148 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76149 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76150 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76151 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76152 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76153 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76154 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76155 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76156 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76157 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76158 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76159 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76160 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76161 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76162 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76163 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76164 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76165 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76166 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76167 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76168 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76169 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76171 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76172 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76173 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76174 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76175 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76176 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76177 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76178 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76179 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76180 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76181 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76182 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76183 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76184 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76185 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76186 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76187 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76188 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76189 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76190 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76191 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76192 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76193 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76194 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76195 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76196 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76197 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76200 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76201 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76202 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76203 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76206 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76207 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76208 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76211 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76212 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76213 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76214 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76215 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76216 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76217 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76218 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76219 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76220 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76221 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76222 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76223 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76224 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76225 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76226 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76227 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76228 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76229 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76230 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76231 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76232 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76233 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76235 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76236 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76237 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76238 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76239 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76240 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76241 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76242 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76243 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76244 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76245 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76246 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76247 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76248 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76249 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76250 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76251 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76252 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76253 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76254 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76255 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76256 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76257 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76258 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76259 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76260 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76261 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76262 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76263 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76264 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76265 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76266 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76267 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76268 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76269 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76270 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76271 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76272 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76273 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76274 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76275 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76276 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76277 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76278 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76279 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76280 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76281 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76282 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76283 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76284 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76285 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76286 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76287 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76288 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76289 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76290 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76291 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76292 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76293 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76294 * sysdeps/ieee754/s_lib_version.c: Likewise.
76295 * sysdeps/ieee754/s_matherr.c: Likewise.
76296 * sysdeps/ieee754/s_signgam.c: Likewise.
76297 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76298 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76299 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76300 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76301 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76302 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76303 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76304 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76305 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76306 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76307 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76308 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76309 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76310 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76311 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76312 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76313 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76314 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76315 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76318
76319 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76320
76321 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76322 * sunrpc/rpc_main.c: Likewise.
76323 * sunrpc/rpc_svcout.c: Likewise.
76324
76325 2012-03-09 David S. Miller <davem@davemloft.net>
76326
76327 * include/math_private.h: New file.
76328
76329 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76330
76331 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76332 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76333 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76334 from <bits/socket_type.h>.
76335 (enum __socket_type): Don't define here.
76336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76338 bits/socket_type.h.
76339
76340 [BZ #13566]
76341 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76342 checking __USE_GNU.
76343
76344 * Makerules ($(inst_includedir)/%.h): New rule.
76345 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76346 (install-others): Remove variable setting.
76347 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76348
76349 2012-03-08 Richard Henderson <rth@twiddle.net>
76350
76351 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76352 from macro to inline function; merge with the
76353 !__LIBC_INTERNAL_MATH_INLINES version.
76354 (__ieee754_sqrtf): Likewise.
76355
76356 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76357 to inline function.
76358 (__rintf, __floor, __floorf): Likewise.
76359
76360 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76361 macro to inline function.
76362 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76363
76364 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76365 not <math/math_private.h>.
76366
76367 2012-03-08 David S. Miller <davem@davemloft.net>
76368
76369 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76370 copyright year.
76371 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76372
76373 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
76374
76375 * resolv/gai_misc.c (handle_requests): Fix struct timespec
76376 normalization.
76377 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76378 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76379
76380 2012-03-08 Ulrich Drepper <drepper@gmail.com>
76381
76382 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
76383 be defined individually, they must be defined as a block. Define
76384 S for printing a string instead of hidint the different by using a
76385 macro for adding the 'l'.
76386 * stdio-common/tst-fphex-wide.c: Adjust.
76387
76388 2012-03-07 Marek Polacek <polacek@redhat.com>
76389
76390 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76391
76392 2012-03-08 Marek Polacek <polacek@redhat.com>
76393
76394 [BZ #13806]
76395 * stdio-common/Makefile (tests): Add tst-fphex-wide.
76396 * stdio-common/tst-fphex.c: Define a few macros to make the
76397 test reusable. Use them.
76398 * stdio-common/tst-fphex-wide.c: New file.
76399
76400 2012-03-08 Joseph Myers <joseph@codesourcery.com>
76401
76402 [BZ #6911]
76403 * manual/macros.texi (gnusystems): New macro.
76404 (nongnusystems): Likewise.
76405 (gnulinuxhurdsystems): Likewise.
76406 (gnuhurdsystems): Likewise..
76407 (gnulinuxsystems): Likewise.
76408 * manual/charset.texi: Use new macros or @theglibc{} to refer to
76409 variants of the GNU system, not "GNU system".
76410 * manual/conf.texi: Likewise.
76411 * manual/errno.texi: Likewise. Update example of errno macro
76412 expansion.
76413 * manual/filesys.texi: Likewise.
76414 (getumask): Document as specific to GNU/Hurd.
76415 * manual/install.texi: Likewise. Reword some references to
76416 GNU/Linux.
76417 * manual/intro.texi: Likewise.
76418 * manual/io.texi: Likewise.
76419 (File Name Portability): Detail which constraints are inapplicable
76420 to all GNU systems and which are only inapplicable to GNU/Hurd.
76421 * manual/job.texi: Likewise.
76422 * manual/llio.texi: Likewise.
76423 (O_NOCTTY): Document as present on GNU/Linux.
76424 * manual/maint.texi: Likewise.
76425 * manual/memory.texi: Likewise.
76426 * manual/pattern.texi: Likewise.
76427 * manual/pipe.texi: Likewise.
76428 * manual/process.texi: Likewise.
76429 * manual/resource.texi: Likewise.
76430 (RUSAGE_CHILDREN): Remove statement about specifying a particular
76431 child on GNU/Hurd.
76432 * manual/setjmp.texi: Likewise.
76433 * manual/signal.texi: Likewise.
76434 * manual/startup.texi: Likewise.
76435 * manual/stdio.texi: Likewise.
76436 * manual/terminal.texi: Likewise.
76437 (ONLCR): Document as POSIX.
76438 (OXTABS): Document availability on GNU/Linux as XTABS.
76439 (ONOEOT): Document availability separately from other bits.
76440 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76441 * manual/time.texi: Likewise.
76442 * manual/users.texi: Likewise.
76443 * INSTALL: Regenerated.
76444 * sysdeps/gnu/errlist.c: Regenerated.
76445
76446 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76447 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76448 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
76449 puts.
76450 * configure: Regenerated.
76451
76452 2012-03-07 Joseph Myers <joseph@codesourcery.com>
76453
76454 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76455 default includes instead of AC_HEADER_CHECK.
76456 * sysdeps/i386/configure: Regenerated.
76457
76458 [BZ #10716]
76459 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76460 * math/s_cacoshf.c (__cacoshf): Likewise.
76461 * math/s_cacoshl.c (__cacoshl): Likewise.
76462 * math/s_casinh.c (__casinh): Set signs of result from argument.
76463 * math/s_casinhf.c (__casinhf): Likewise.
76464 * math/s_casinhl.c (__casinhl): Likewise.
76465 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76466 (casinh_test): Add more tests.
76467 * sysdeps/i386/fpu/libm-test-ulps: Update.
76468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76469
76470 2012-03-07 Ulrich Drepper <drepper@gmail.com>
76471
76472 * po/zh_TW.po: Update from translation team.
76473
76474 * login/Makefile (distribute): Remove variable.
76475 * catgets/Makefile: Likewise.
76476 * mach/Makefile: Likewise.
76477 * malloc/Makefile: Likewise.
76478 * misc/Makefile: Likewise.
76479 * iconv/Makefile: Likewise.
76480 * nscd/Makefile: Likewise.
76481 * hurd/Makefile: Likewise.
76482 * manual/Makefile: Likewise.
76483 * locale/Makefile: Likewise.
76484 * intl/Makefile: Likewise.
76485 * conform/Makefile: Likewise.
76486 * nss/Makefile: Likewise.
76487 * time/Makefile: Likewise.
76488 * soft-fp/Makefile: Likewise.
76489 * dirent/Makefile: Likewise.
76490 * gmon/Makefile: Likewise.
76491 * po/Makefile: Likewise.
76492 * rt/Makefile: Likewise.
76493 * socket/Makefile: Likewise.
76494 * math/Makefile: Likewise.
76495 * signal/Makefile: Likewise.
76496 * debug/Makefile: Likewise.
76497 * elf/Makefile: Likewise.
76498 * timezone/Makefile: Likewise.
76499 * stdlib/Makefile: Likewise.
76500 * iconvdata/Makefile: Likewise.
76501 * sunrpc/Makefile: Likewise.
76502 * io/Makefile: Likewise.
76503 * argp/Makefile: Likewise.
76504 * inet/Makefile: Likewise.
76505 * hesiod/Makefile: Likewise.
76506 * grp/Makefile: Likewise.
76507 * csu/Makefile: Likewise.
76508 * wctype/Makefile: Likewise.
76509 * crypt/Makefile: Likewise.
76510 * libio/Makefile: Likewise.
76511 * string/Makefile: Likewise.
76512 * nis/Makefile: Likewise.
76513 * resolv/Makefile: Likewise.
76514 * stdio-common/Makefile: Likewise.
76515 * wcsmbs/Makefile: Likewise.
76516 * dlfcn/Makefile: Likewise.
76517 * posix/Makefile: Likewise.
76518
76519 [BZ #6959]
76520 * timezone/Makefile: Don't install timezone files, just the programs
76521 and scripts.
76522
76523 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76524
76525 * nss/databases.def: Add missing gshadow entry.
76526
76527 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76528
76529 2012-03-06 Marek Polacek <polacek@redhat.com>
76530
76531 [BZ #13726]
76532 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76533 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76534 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76535 * stdio-common/tst-long-dbl-fphex.c: New file.
76536
76537 2012-03-06 David S. Miller <davem@davemloft.net>
76538
76539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76540 (set_obp_int): New function.
76541 (get_obp_int): New function.
76542 (__get_clockfreq_via_dev_openprom): Likewise.
76543 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76544 Avoid unused variable warnings on 'val' and use builtin_expect.
76545 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76546 __builtin_expect.
76547 (INLINE_CLONE_SYSCALL): Likewise.
76548
76549 2012-03-05 David S. Miller <davem@davemloft.net>
76550
76551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76552
76553 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76554
76555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76556
76557 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76558 only for |x| >= 40.
76559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76560
76561 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76562
76563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76564 Replace gettimeofday with __vdso_gettimeofday.
76565
76566 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76567 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76568 __vdso_clock_gettime and __vdso_getcpu.
76569
76570 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76571 time with __vdso_time.
76572
76573 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76574
76575 * manual/lang.texi (size_t): Note types to which size_t may be
76576 equivalent with the GNU C Library, but do not describe when
76577 differences between them are significant.
76578
76579 2012-03-05 Andreas Jaeger <aj@suse.de>
76580
76581 * sysdeps/i386/fpu/libm-test-ulps: Update.
76582
76583 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76584
76585 [BZ #3976]
76586 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76587 (__ieee754_pow): Save and restore rounding mode and use
76588 round-to-nearest for main computations.
76589 * math/libm-test.inc (pow_test_tonearest): New function.
76590 (pow_test_towardzero): Likewise.
76591 (pow_test_downward): Likewise.
76592 (pow_test_upward): Likewise.
76593 (main): Call the new functions.
76594 * sysdeps/i386/fpu/libm-test-ulps: Update.
76595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76596
76597 [BZ #3976]
76598 * math/libm-test.inc (cosh_test_tonearest): New function.
76599 (cosh_test_towardzero): Likewise.
76600 (cosh_test_downward): Likewise.
76601 (cosh_test_upward): Likewise.
76602 (sinh_test_tonearest): Likewise.
76603 (sinh_test_towardzero): Likewise.
76604 (sinh_test_downward): Likewise.
76605 (sinh_test_upward): Likewise.
76606 (main): Call the new functions.
76607 * sysdeps/i386/fpu/libm-test-ulps: Update.
76608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76609
76610 2012-03-05 Tom de Vries <tom@codesourcery.com>
76611
76612 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76613 default stack guard is set in last bytes.
76614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76615
76616 2012-03-05 Kees Cook <keescook@chromium.org>
76617
76618 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76619
76620 [BZ #13656]
76621 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76622 possibly allocate from heap instead of stack.
76623 * stdio-common/bug-vfprintf-nargs.c: New file.
76624 * stdio-common/Makefile (tests): Add nargs overflow test.
76625
76626 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76627
76628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76629
76630 2012-03-03 Marek Polacek <polacek@redhat.com>
76631
76632 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76633 * math/math_private.h: Likewise.
76634 * stdlib/tst-strtod.c: Likewise.
76635 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76636 * sysdeps/x86_64/bits/atomic.h: Likewise.
76637
76638 2012-03-02 David S. Miller <davem@davemloft.net>
76639
76640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76644 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76645 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76646 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76647 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76648
76649 2012-03-02 Roland McGrath <roland@hack.frob.com>
76650
76651 [BZ #13792]
76652 * manual/examples/README: New file, says the example source files
76653 can be used under GPL>=2.
76654 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76655 line containing just "*/".
76656 * manual/examples/add.c: Add copyright header (GPL>=2).
76657 * manual/examples/argp-ex1.c: Likewise.
76658 * manual/examples/argp-ex2.c: Likewise.
76659 * manual/examples/argp-ex3.c: Likewise.
76660 * manual/examples/argp-ex4.c: Likewise.
76661 * manual/examples/atexit.c: Likewise.
76662 * manual/examples/db.c: Likewise.
76663 * manual/examples/dir.c: Likewise.
76664 * manual/examples/dir2.c: Likewise.
76665 * manual/examples/execinfo.c: Likewise.
76666 * manual/examples/filecli.c: Likewise.
76667 * manual/examples/filesrv.c: Likewise.
76668 * manual/examples/fmtmsgexpl.c: Likewise.
76669 * manual/examples/genpass.c: Likewise.
76670 * manual/examples/inetcli.c: Likewise.
76671 * manual/examples/inetsrv.c: Likewise.
76672 * manual/examples/isockad.c: Likewise.
76673 * manual/examples/longopt.c: Likewise.
76674 * manual/examples/memopen.c: Likewise.
76675 * manual/examples/memstrm.c: Likewise.
76676 * manual/examples/mkfsock.c: Likewise.
76677 * manual/examples/mkisock.c: Likewise.
76678 * manual/examples/mygetpass.c: Likewise.
76679 * manual/examples/pipe.c: Likewise.
76680 * manual/examples/popen.c: Likewise.
76681 * manual/examples/rprintf.c: Likewise.
76682 * manual/examples/search.c: Likewise.
76683 * manual/examples/select.c: Likewise.
76684 * manual/examples/setjmp.c: Likewise.
76685 * manual/examples/sigh1.c: Likewise.
76686 * manual/examples/sigusr.c: Likewise.
76687 * manual/examples/stpcpy.c: Likewise.
76688 * manual/examples/strdupa.c: Likewise.
76689 * manual/examples/strftim.c: Likewise.
76690 * manual/examples/strncat.c: Likewise.
76691 * manual/examples/subopt.c: Likewise.
76692 * manual/examples/swapcontext.c: Likewise.
76693 * manual/examples/termios.c: Likewise.
76694 * manual/examples/testopt.c: Likewise.
76695 * manual/examples/testpass.c: Likewise.
76696 * manual/examples/timeval_subtract.c: Likewise.
76697
76698 [BZ #13792]
76699 * manual/time.texi (Elapsed Time): Move timeval_subtract example
76700 function to ...
76701 * manual/timeval_subtract.c.texi: ... here, new file.
76702
76703 2012-03-02 David S. Miller <davem@davemloft.net>
76704
76705 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76706
76707 2012-03-02 Joseph Myers <joseph@codesourcery.com>
76708
76709 [BZ #3976]
76710 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76711 (__sin): Save and restore rounding mode and use round-to-nearest
76712 for all computations.
76713 (__cos): Save and restore rounding mode and use round-to-nearest
76714 for all computations.
76715 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76716 <fenv.h>.
76717 (tan): Save and restore rounding mode and use round-to-nearest for
76718 all computations.
76719 * math/libm-test.inc (cos_test_tonearest): New function.
76720 (cos_test_towardzero): Likewise.
76721 (cos_test_downward): Likewise.
76722 (cos_test_upward): Likewise.
76723 (sin_test_tonearest): Likewise.
76724 (sin_test_towardzero): Likewise.
76725 (sin_test_downward): Likewise.
76726 (sin_test_upward): Likewise.
76727 (tan_test_tonearest): Likewise.
76728 (tan_test_towardzero): Likewise.
76729 (tan_test_downward): Likewise.
76730 (tan_test_upward): Likewise.
76731 (main): Call the new functions.
76732 * sysdeps/i386/fpu/libm-test-ulps: Update.
76733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76734
76735 [BZ #10135]
76736 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76737 small n, then large n, before computing and testing k+n.
76738 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76739 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76740 Likewise.
76741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76742 Likewise.
76743 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76744 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76745 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76746 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76747 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76748 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76749 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76750 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76751 * math/libm-test.inc (scalbn_test): Add more tests.
76752 (scalbln_test): Likewise.
76753
76754 * manual/filesys.texi (mode_t): Describe constraints on size and
76755 signedness, not exact equivalence to a particular type.
76756 (ino_t): Likewise.
76757 (ino64_t): Likewise.
76758 (dev_t): Likewise.
76759 (nlink_t): Likewise.
76760 (blkcnt_t): Likewise.
76761 (blkcnt64_t): Likewise.
76762 * manual/llio.texi (off_t): Likewise.
76763
76764 [BZ #3976]
76765 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76766 (__ieee754_exp): Save and restore rounding mode and use
76767 round-to-nearest for all computations.
76768 * math/libm-test.inc (exp_test_tonearest): New function.
76769 (exp_test_towardzero): Likewise.
76770 (exp_test_downward): Likewise.
76771 (exp_test_upward): Likewise.
76772 (main): Call the new functions.
76773 * sysdeps/i386/fpu/libm-test-ulps: Update.
76774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76775
76776 2012-03-01 Chris Demetriou <cgd@google.com>
76777
76778 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76779 have predictable order.
76780
76781 2012-03-01 David S. Miller <davem@davemloft.net>
76782
76783 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76784
76785 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76786 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76787 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76788 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76789
76790 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76791 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76792 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76794 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76795 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76796 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76797 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76798 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76799
76800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76801
76802 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76803 * sysdeps/sparc/fpu/libm-test-ulps: to here.
76804 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76805
76806 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76807 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76808 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76809 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76810 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76812 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76813 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76814 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76815 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76816 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76819 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76820 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76822 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76823 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76824 * sysdeps/sparc/elf/configure: Regenerated.
76825
76826 2012-03-01 Joseph Myers <joseph@codesourcery.com>
76827
76828 * configure.in (AS, LD): Require binutils 2.20 or later.
76829 * configure: Regenerated.
76830 * manual/install.texi (Tools for Compilation): Give binutils 2.20
76831 as required minimum version.
76832 * INSTALL: Regenerated.
76833
76834 [BZ #2541]
76835 [BZ #4108]
76836 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76837 before squaring exponent.
76838 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76839 bottom long double and 27 bits of top long double before squaring
76840 exponent.
76841 * math/libm-test.inc (erfc_test): Add more tests.
76842 * sysdeps/i386/fpu/libm-test-ulps: Update.
76843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76845
76846 2012-03-01 Kai Tietz <ktietz@redhat.com>
76847
76848 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76849 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76850 containing bit-fields.
76851 * soft-fp/extended.h (_FP_UNION_E): Likewise.
76852 * soft-fp/single.h (_FP_UNION_S): Likewise.
76853 * soft-fp/double.h (_FP_UNION_D): Likewise.
76854
76855 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76856
76857 [BZ #13786]
76858 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76859 not include ../strcmp.S.
76860 [USE_AS_STRNCASECMP_L]: Likewise.
76861 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76862 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76863 * sysdeps/i386/i686/multiarch/strncase_l-c.c
76864 (__strncasecmp_l_ia32): Define as alias to
76865 __strncasecmp_l_nonascii.
76866
76867 [BZ #5794]
76868 * math/libm-test.inc (expm1_test): Add test for bug 5794.
76869 * sysdeps/i386/fpu/libm-test-ulps: Update.
76870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76871
76872 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76874
76875 2012-02-29 Jeff Law <law@redhat.com>
76876
76877 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76878 out of bounds read.
76879
76880 2012-02-29 Marek Polacek <polacek@redhat.com>
76881
76882 [BZ #13706]
76883 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76884 * elf/Makefile: Add rules to run tst-unused-dep.out.
76885
76886 2012-02-28 David S. Miller <davem@davemloft.net>
76887
76888 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76889 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76891 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76892 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76893 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76894
76895 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76896
76897 * math/libm-test.inc (llround_test): Move one test from
76898 lround_test. Use TEST_f_L in moved test.
76899 (lround_test): Move misplaced test to llround_test. Add testcase
76900 from bug 2561.
76901
76902 2012-02-28 Ulrich Drepper <drepper@gmail.com>
76903
76904 * sysdeps/x86_64/fpu/e_expf.S: New file.
76905 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76906
76907 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
76908
76909 [BZ #13637]
76910 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76911 of remain_len that may cause incomplete multi-byte character and
76912 false match.
76913 * posix/bug-regex33.c: New file.
76914 * posix/Makefile (tests): Add bug-regex33.
76915
76916 2012-02-28 Joseph Myers <joseph@codesourcery.com>
76917
76918 * manual/macros.texi: New file.
76919 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76920 * manual/libc.texinfo: Include macros.texi.
76921 * manual/creatute.texi: Likewise.
76922 * manual/install.texi: Likewise.
76923 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76924 @glibcadj{} in references to the GNU C Library.
76925 * manual/charset.texi: Likewise.
76926 * manual/conf.texi: Likewise.
76927 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
76928 when not using those macros.
76929 * manual/creature.texi: Likewise.
76930 * manual/crypt.texi: Likewise.
76931 * manual/errno.texi: Likewise.
76932 * manual/filesys.texi: Likewise.
76933 * manual/header.texi: Likewise.
76934 * manual/install.texi: Likewise.
76935 * manual/intro.texi: Likewise.
76936 * manual/io.texi: Likewise.
76937 * manual/job.texi: Likewise.
76938 * manual/lang.texi: Likewise.
76939 * manual/libc.texiinfo: Likewise.
76940 * manual/llio.texi: Likewise.
76941 * manual/locale.texi: Likewise.
76942 * manual/maint.texi: Likewise.
76943 * manual/math.texi: Likewise.
76944 * manual/memory.texi: Likewise.
76945 * manual/message.texi: Likewise.
76946 * manual/nss.texi: Likewise.
76947 * manual/pattern.texi: Likewise.
76948 * manual/process.texi: Likewise.
76949 * manual/resource.texi: Likewise.
76950 * manual/search.texi: Likewise.
76951 * manual/setjmp.texi: Likewise.
76952 * manual/signal.texi: Likewise.
76953 * manual/socket.texi: Likewise.
76954 * manual/startup.texi: Likewise.
76955 * manual/stdio.texi: Likewise.
76956 * manual/string.texi: Likewise.
76957 * manual/sysinfo.texi: Likewise.
76958 * manual/syslog.texi: Likewise.
76959 * manual/terminal.texi: Likewise.
76960 * manual/time.texi: Likewise.
76961 * manual/users.texi: Likewise.
76962 * INSTALL: Regenerated.
76963 * NOTES: Regenerated.
76964 * sysdeps/gnu/errlist.c: Regenerated.
76965
76966 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
76967
76968 * include/dirent.h: Include <dirstream.h> before
76969 <dirent/dirent.h>.
76970
76971 2012-02-28 David S. Miller <davem@davemloft.net>
76972
76973 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76974 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76975 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76976 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76977
76978 2012-02-27 David S. Miller <davem@davemloft.net>
76979
76980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76982 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76983 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76984
76985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76986 frame pointer instead of stack pointer relative arg slot.
76987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76988 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76989 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76990
76991 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
76992
76993 [BZ #3992]
76994 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76995
76996 2012-02-27 David S. Miller <davem@davemloft.net>
76997
76998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77002 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77003 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77004 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77005 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77006
77007 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77008
77009 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77010 later. Allow versions 5-9.
77011 * configure: Regenerated.
77012 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77013 required minimum version and 4.6 as recommended version. Do not
77014 mention bugs in GCC 2.7 and 2.8.
77015 * INSTALL: Regenerated.
77016
77017 2012-02-27 David S. Miller <davem@davemloft.net>
77018
77019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77023 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77024 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77025 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77026 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77027
77028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77029 manipulate bits before adding and subtracting TWO112[sx].
77030 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77031
77032 2012-02-27 Roland McGrath <roland@hack.frob.com>
77033
77034 [BZ #13775]
77035 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77036 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77037 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77038 being in POSIX, because they are in 1003.1-2008.
77039
77040 * rt/tst-aio.c: Include <fcntl.h>.
77041 * rt/tst-aio7.c: Likewise.
77042 * rt/tst-aio64.c: Likewise.
77043
77044 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77045
77046 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77047
77048 * manual/install.texi (--with-headers): Describe headers as
77049 interface headers, not private headers.
77050 (Specific advice for GNU/Linux systems): Describe use of headers
77051 from "make headers_install", not private headers from older
77052 kernels.
77053 * INSTALL: Regenerated.
77054 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77055 Change to 2.6.19.
77056 * sysdeps/unix/sysv/linux/configure: Regenerated.
77057
77058 * manual/llio.texi (fclean): Remove documentation.
77059
77060 * manual/Makefile (libc-texi-generated): New variable. Include
77061 version.texi.
77062 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77063 $(libc-texi-generated), not duplicated list of files.
77064 (version.texi, stamp-version): New rules.
77065 (realclean): Remove $(libc-texi-generated), not individual files
77066 from that list. Do not remove dir-add.texinfo.
77067 * manual/libc.texinfo: Comment out uses of edition numbers and
77068 references to printed manual. Remove last-updated dates.
77069 (EDITION): Comment out.
77070 (ISBN): Likewise.
77071 (VERSION, UPDATED): Remove.
77072 (version.texi): Include.
77073
77074 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
77075
77076 * sysdeps/posix/spawni.c: Include <signal.h>.
77077 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77078 * sysdeps/pthread/aio_fsync.c: Likewise.
77079
77080 2012-02-26 Ulrich Drepper <drepper@gmail.com>
77081
77082 * conform/Makefile (tests): Run only when not cross-compiling and
77083 when fast-check is not defined.
77084
77085 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77086 * conform/data/limits.h-data: Fixes for POSIX2008.
77087 * conform/run-conformtest.sh: Run all tests.
77088 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77089 headers.
77090 * include/bits/dlfcn.h: Likewise.
77091 * include/langinfo.h: Likewise.
77092 * include/monetary.h: Likewise.
77093 * include/sys/poll.h: Likewise.
77094
77095 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77096 for __USE_GNU.
77097 * posix/spawn.h: Define __need_sigset_t.
77098 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77099 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77100 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
77101 to get sigevent_t only.
77102 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77103 only for __USE_GNU.
77104 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77105 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77106 process_vm_writev only for __USE_GNU.
77107 * termios/termios.h: Declare tcgetsid also for POSIX2008.
77108
77109 * conform/Makefile: For now ignore errors from run-conformtest.
77110 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
77111 POSIX to avoid namespace pollution. Don't prepend headers.
77112 * conform/data/aio.h-data: Fixes for POSIX testing.
77113 * conform/data/fcntl.h-data: Likewise.
77114 * conform/data/glob.h-data: Likewise.
77115 * conform/data/grp.h-data: Likewise.
77116 * conform/data/pthread.h-data: Likewise.
77117 * conform/data/pwd.h-data: Likewise.
77118 * conform/data/signal.h-data: Likewise.
77119 * conform/data/spawn.h-data: Likewise.
77120 * conform/data/stdio.h-data: Likewise.
77121 * conform/data/stdlib.h-data: Likewise.
77122 * conform/data/stropts.h-data: Likewise.
77123 * conform/data/sys/mman.h-data: Likewise.
77124 * conform/data/sys/stat.h-data: Likewise.
77125 * conform/data/sys/types.h-data: Likewise.
77126 * conform/data/sys/wait.h-data: Likewise.
77127 * conform/data/time.h-data: Likewise.
77128 * conform/data/unistd.h-data: Likewise.
77129 * conform/data/utime.h-data: Likewise.
77130
77131 * io/sys/stat.h: fchmod was always in POSIX.
77132 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77133 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77134 * rt/aio.h: Define __need_timespec before including <time.h>.
77135 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77136 struct. Add forward declaration of pthread_attr_t and use it in
77137 sigevent.
77138 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77139 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77140 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77141 always remove CLK_TCK definition.
77142
77143 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
77144
77145 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77146
77147 2012-02-25 Ulrich Drepper <drepper@gmail.com>
77148
77149 * conform/run-conformtest.sh: New file.
77150 * conform/Makefile: Run run-conformtest for tests.
77151 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
77152 support.
77153
77154 * conform/data/uchar.h-data: New file.
77155 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77156 * conform/data/arpa/inet.h-data: Likewise.
77157 * conform/data/assert.h-data: Likewise.
77158 * conform/data/complex.h-data: Likewise.
77159 * conform/data/cpio.h-data: Likewise.
77160 * conform/data/ctype.h-data: Likewise.
77161 * conform/data/dirent.h-data: Likewise.
77162 * conform/data/dlfcn.h-data: Likewise.
77163 * conform/data/errno.h-data: Likewise.
77164 * conform/data/fcntl.h-data: Likewise.
77165 * conform/data/float.h-data: Likewise.
77166 * conform/data/fmtmsg.h-data: Likewise.
77167 * conform/data/fnmatch.h-data: Likewise.
77168 * conform/data/ftw.h-data: Likewise.
77169 * conform/data/glob.h-data: Likewise.
77170 * conform/data/grp.h-data: Likewise.
77171 * conform/data/iconv.h-data: Likewise.
77172 * conform/data/inttypes.h-data: Likewise.
77173 * conform/data/langinfo.h-data: Likewise.
77174 * conform/data/libgen.h-data: Likewise.
77175 * conform/data/limits.h-data: Likewise.
77176 * conform/data/locale.h-data: Likewise.
77177 * conform/data/math.h-data: Likewise.
77178 * conform/data/monetary.h-data: Likewise.
77179 * conform/data/mqueue.h-data: Likewise.
77180 * conform/data/ndbm.h-data: Likewise.
77181 * conform/data/net/if.h-data: Likewise.
77182 * conform/data/netdb.h-data: Likewise.
77183 * conform/data/netinet/in.h-data: Likewise.
77184 * conform/data/nl_types.h-data: Likewise.
77185 * conform/data/poll.h-data: Likewise.
77186 * conform/data/pthread.h-data: Likewise.
77187 * conform/data/pwd.h-data: Likewise.
77188 * conform/data/regex.h-data: Likewise.
77189 * conform/data/sched.h-data: Likewise.
77190 * conform/data/search.h-data: Likewise.
77191 * conform/data/semaphore.h-data: Likewise.
77192 * conform/data/setjmp.h-data: Likewise.
77193 * conform/data/signal.h-data: Likewise.
77194 * conform/data/spawn.h-data: Likewise.
77195 * conform/data/stdarg.h-data: Likewise.
77196 * conform/data/stdio.h-data: Likewise.
77197 * conform/data/stdlib.h-data: Likewise.
77198 * conform/data/string.h-data: Likewise.
77199 * conform/data/strings.h-data: Likewise.
77200 * conform/data/stropts.h-data: Likewise.
77201 * conform/data/sys/ipc.h-data: Likewise.
77202 * conform/data/sys/mman.h-data: Likewise.
77203 * conform/data/sys/msg.h-data: Likewise.
77204 * conform/data/sys/resource.h-data: Likewise.
77205 * conform/data/sys/select.h-data: Likewise.
77206 * conform/data/sys/sem.h-data: Likewise.
77207 * conform/data/sys/shm.h-data: Likewise.
77208 * conform/data/sys/socket.h-data: Likewise.
77209 * conform/data/sys/stat.h-data: Likewise.
77210 * conform/data/sys/statvfs.h-data: Likewise.
77211 * conform/data/sys/time.h-data: Likewise.
77212 * conform/data/sys/timeb.h-data: Likewise.
77213 * conform/data/sys/times.h-data: Likewise.
77214 * conform/data/sys/types.h-data: Likewise.
77215 * conform/data/sys/uio.h-data: Likewise.
77216 * conform/data/sys/un.h-data: Likewise.
77217 * conform/data/sys/utsname.h-data: Likewise.
77218 * conform/data/sys/wait.h-data: Likewise.
77219 * conform/data/syslog.h-data: Likewise.
77220 * conform/data/tar.h-data: Likewise.
77221 * conform/data/termios.h-data: Likewise.
77222 * conform/data/utime.h-data: Likewise.
77223 * conform/data/utmpx.h-data: Likewise.
77224 * conform/data/varargs.h-data: Likewise.
77225 * conform/data/wchar.h-data: Likewise.
77226 * conform/data/wctype.h-data: Likewise.
77227 * conform/data/wordexp.h-data: Likewise.
77228
77229 * include/stropts.h: New file.
77230 * include/uchar.h: New file.
77231 * include/aio.h: Changes to allow conformtest.pl to use the headers.
77232 * include/assert.h: Likewise.
77233 * include/ctype.h: Likewise.
77234 * include/dirent.h: Likewise.
77235 * include/dlfcn.h: Likewise.
77236 * include/fcntl.h: Likewise.
77237 * include/fnmatch.h: Likewise.
77238 * include/glob.h: Likewise.
77239 * include/grp.h: Likewise.
77240 * include/libio.h: Likewise.
77241 * include/locale.h: Likewise.
77242 * include/math.h: Likewise.
77243 * include/net/if.h: Likewise.
77244 * include/netdb.h: Likewise.
77245 * include/netinet/in.h: Likewise.
77246 * include/pthread.h: Likewise.
77247 * include/pwd.h: Likewise.
77248 * include/regex.h: Likewise.
77249 * include/sched.h: Likewise.
77250 * include/search.h: Likewise.
77251 * include/setjmp.h: Likewise.
77252 * include/signal.h: Likewise.
77253 * include/stdio.h: Likewise.
77254 * include/stdlib.h: Likewise.
77255 * include/string.h: Likewise.
77256 * include/sys/cdefs.h: Likewise.
77257 * include/sys/mman.h: Likewise.
77258 * include/sys/msg.h: Likewise.
77259 * include/sys/resource.h: Likewise.
77260 * include/sys/select.h: Likewise.
77261 * include/sys/socket.h: Likewise.
77262 * include/sys/stat.h: Likewise.
77263 * include/sys/statvfs.h: Likewise.
77264 * include/sys/time.h: Likewise.
77265 * include/sys/times.h: Likewise.
77266 * include/sys/uio.h: Likewise.
77267 * include/sys/utsname.h: Likewise.
77268 * include/sys/wait.h: Likewise.
77269 * include/termios.h: Likewise.
77270 * include/time.h: Likewise.
77271 * include/ulimit.h: Likewise.
77272 * include/unistd.h: Likewise.
77273 * include/utime.h: Likewise.
77274 * include/wchar.h: Likewise.
77275 * include/wctype.h: Likewise.
77276 * include/wordexp.h: Likewise.
77277
77278 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77279
77280 * time/time.h: TIME_UTC must be a macro.
77281 Make timespec_get available for ISO C11 only as well.
77282
77283 2012-02-24 Ulrich Drepper <drepper@gmail.com>
77284
77285 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77286 Reported by Peng Haitao <penght@cn.fujitsu.com>.
77287
77288 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77289
77290 * configure.in: Use -o not -a in test for unsupported multi-arch.
77291
77292 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77293
77294 * manual/texinfo.tex: Update to version 2012-01-19.16.
77295
77296 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77297
77298 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77299
77300 2012-02-24 Roland McGrath <roland@hack.frob.com>
77301
77302 [BZ #13738]
77303 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77304 * manual/fdl-1.3.texi: New file.
77305 * manual/fdl-1.1.texi: File removed.
77306
77307 [BZ #13738]
77308 * manual/libc.texinfo (FDL_VERSION): New @set.
77309 Use it for mention of FDL in cover text.
77310 (Documentation License): Use it in @include file name.
77311
77312 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77313 Roland McGrath <roland@hack.frob.com>
77314
77315 [BZ #5461]
77316 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77317 (not LONG_LONG_MAX and LONG_LONG_MIN.
77318 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77319 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
77320 name.
77321 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77322
77323 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77324
77325 [BZ #2547]
77326 [BZ #11365]
77327 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77328 manipulate bits before adding and subtracting TWO23[sx].
77329 * math/libm-test.inc (nearbyint_test): Add more tests.
77330
77331 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77332
77333 [BZ #2548]
77334 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77335 bits before adding and subtracting TWO23[sx].
77336 * math/libm-test.inc (rint_test): Add more tests.
77337 (rint_test_tonearest): Likewise.
77338 (rint_test_towardzero): Likewise.
77339 (rint_test_downward): Likewise.
77340 (rint_test_upward: Likewise.
77341
77342 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77343
77344 [BZ #10110]
77345 * include/stdc-predef.h: New file. Extracted from features.h.
77346 * include/features.h: Include stdc-predef.h.
77347 * Makefile (headers): Add stdc-predef.h.
77348 * CONFORMANCE (Compiler limitations): Update.
77349
77350 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77351
77352 * manual/libc.texinfo (VERSION, UPDATED): Revert.
77353
77354 2012-02-21 David S. Miller <davem@davemloft.net>
77355
77356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77358
77359 2012-02-20 David S. Miller <davem@davemloft.net>
77360
77361 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77362 using a normal save/restore sequence, rather than allocating a
77363 dummy stack frame just to store a frame pointer and restore.
77364 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77365
77366 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77367
77368 * manual/install.texi: Fix stray word in line-wrapped comment.
77369
77370 2012-02-20 David S. Miller <davem@davemloft.net>
77371
77372 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77373 both binutils and gcc support GOTDATA.
77374
77375 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77376 "rd %pc" in the PIC register setup sequences.
77377
77378 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77379 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77380 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77381 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77382 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77384 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77387 (SYSCALL_ERROR_HANDLER): Likewise.
77388 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77389 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77391 (SYSCALL_ERROR_HANDLER): Likewise.
77392
77393 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77394 (HAVE_GCC_GOTDATA): New.
77395 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77396 relocation support in both binutils and gcc.
77397 * sysdeps/sparc/elf/configure: Regenerate.
77398
77399 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77400 * sysdeps/sparc/sparc32/elf/configure: Delete.
77401 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77402 * sysdeps/sparc/sparc64/elf/configure: Delete.
77403 * sysdeps/sparc/elf/configure.in: New file.
77404 * sysdeps/sparc/elf/configure: Generate.
77405
77406 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77407 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77408 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77409 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77410 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77411
77412 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77413
77414 * manual/install.texi: Do not mention specific glibc version
77415 numbers.
77416 * manual/libc.texinfo (VERSION, UPDATED): Update.
77417 (@copying): Use @copyright{} and range of years.
77418
77419 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77420
77421 [BZ #13695]
77422 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77423 [crti.S not in sysdirs] (generated): Do not append.
77424 [crti.S not in sysdirs] (omit-deps): Likewise.
77425 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77426 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77427 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77428 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77429 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77430 Likewise.
77431 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77432 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77433 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77434 * csu/defs.awk: Remove file.
77435 * sysdeps/generic/initfini.c: Likewise.
77436 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77437 variable.
77438 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77439 Likewise.
77440
77441 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77442
77443 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77444 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77445 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77446 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77447 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77448 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77449 <bits/epoll.h>.
77450 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77451 (__EPOLL_PACKED): Define to empty if not defined by
77452 <bits/epoll.h>.
77453 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77455 bits/epoll.h.
77456
77457 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77458
77459 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77460 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77461 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77462 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77463 <bits/timerfd.h>.
77464 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77466 bits/timerfd.h.
77467
77468 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77469
77470 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77471 in C locale.
77472 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77473 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77474 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77476
77477 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
77478
77479 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77480 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77481
77482 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
77483
77484 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77485 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77486 defined.
77487 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77488 Likewise.
77489 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77490 entry for 2.16.
77491
77492 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
77493
77494 * math/w_acos.c: Use non-signaling floating-point comparisons.
77495 * math/w_acosf.c: Likewise.
77496 * math/w_acosh.c: Likewise.
77497 * math/w_acoshf.c: Likewise.
77498 * math/w_acoshl.c: Likewise.
77499 * math/w_acosl.c: Likewise.
77500 * math/w_asin.c: Likewise.
77501 * math/w_asinf.c: Likewise.
77502 * math/w_asinl.c: Likewise.
77503 * math/w_atanh.c: Likewise.
77504 * math/w_atanhf.c: Likewise.
77505 * math/w_atanhl.c: Likewise.
77506 * math/w_exp2.c: Likewise.
77507 * math/w_exp2f.c: Likewise.
77508 * math/w_exp2l.c: Likewise.
77509 * math/w_j0.c: Likewise.
77510 * math/w_j0f.c: Likewise.
77511 * math/w_j0l.c: Likewise.
77512 * math/w_j1.c: Likewise.
77513 * math/w_j1f.c: Likewise.
77514 * math/w_j1l.c: Likewise.
77515 * math/w_jn.c: Likewise.
77516 * math/w_jnf.c: Likewise.
77517 * math/w_log.c: Likewise.
77518 * math/w_log10.c: Likewise.
77519 * math/w_log10f.c: Likewise.
77520 * math/w_log10l.c: Likewise.
77521 * math/w_log2.c: Likewise.
77522 * math/w_log2f.c: Likewise.
77523 * math/w_log2l.c: Likewise.
77524 * math/w_logf.c: Likewise.
77525 * math/w_logl.c: Likewise.
77526 * math/w_sqrt.c: Likewise.
77527 * math/w_sqrtf.c: Likewise.
77528 * math/w_sqrtl.c: Likewise.
77529 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77530 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77531 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77532 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77533 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77534
77535 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77536
77537 [BZ #9739]
77538 * manual/string.texi (strnlen): Use correct parameter name in
77539 equivalent expression.
77540
77541 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77542
77543 [BZ #11174]
77544 * manual/users.texi (seteuid): Consistently use neweuid for
77545 argument name.
77546
77547 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77548
77549 [BZ #13704]
77550 * manual/nss.texi (Services in the NSS configuration): Correct
77551 list of services in example configuration file.
77552
77553 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77554
77555 [BZ #11322]
77556 * manual/arith.texi: Remove statements about negative zero
77557 behaving identically to zero.
77558
77559 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77560
77561 [BZ #5993]
77562 * manual/install.texi: Do not document upgrading from libc5.
77563
77564 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77565
77566 [BZ #4596]
77567 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77568
77569 2012-02-18 David S. Miller <davem@davemloft.net>
77570
77571 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77572 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77573 %o7 across the call.
77574 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77575 instead.
77576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77577 SETUP_PIC_REG_LEAF.
77578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77579 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77580 * sysdeps/sparc/crtn.S: Likewise.
77581
77582 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77583
77584 * aout/Makefile: Remove.
77585
77586 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77587
77588 [BZ #13058]
77589 * manual/examples/argp-ex1.c (main): Format definition in GNU
77590 style.
77591 * manual/examples/argp-ex2.c (main): Likewise.
77592 * manual/examples/argp-ex3.c (main): Likewise.
77593 * manual/examples/argp-ex4.c (main): Likewise.
77594 * manual/examples/longopt.c (main): Use new-style prototype
77595 definition.
77596 * manual/examples/strncat.c (main): Specify return type and use
77597 (void) for arguments.
77598 * manual/examples/subopt.c (main): Use char **argv argument.
77599
77600 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77601
77602 [BZ #5077]
77603 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77604 rounding modes.
77605
77606 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77607
77608 [BZ #6907]
77609 * manual/string.texi (strchr): Change when strchrnul is
77610 recommended.
77611
77612 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77613
77614 [BZ #174]
77615 * manual/locale.texi (setlocale): Document LOCPATH.
77616
77617 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77618
77619 [BZ #10210]
77620 * manual/process.texi (execle): Move @dots{} before last argument.
77621
77622 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77623
77624 [BZ #12047]
77625 * manual/charset.texi (Generic Charset Conversion): Fix typo
77626 (LC_TYPE -> LC_CTYPE).
77627
77628 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77629
77630 [BZ #5805]
77631 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77632 (scalbnf): Likewise.
77633 (scalbnl): Likewise.
77634 (scalbln): Likewise.
77635 (scalblnf): Likewise.
77636 (scalblnl): Likewise.
77637 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77638 (vwarnx): Likewise.
77639 (verr): Likewise.
77640 (verrx): Likewise.
77641 * manual/filesys.texi (telldir): Use braces around return type.
77642 * manual/llio.texi (mmap): Add space after comma.
77643 (mmap64): Likewise.
77644 * manual/math.texi (jn): Use @var{} on parameter names.
77645 (jnf): Likewise.
77646 (jnl): Likewise.
77647 (yn): Likewise.
77648 (ynf): Likewise.
77649 (ynl): Likewise.
77650 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77651 line.
77652 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77653 "...".
77654 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77655 (sched_get_priority_max): Likewise.
77656 * manual/signal.texi (sigvec): Add space after comma.
77657 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77658 names.
77659 (if_indextoname): Likewise.
77660 (if_freenameindex): Likewise.
77661 (sendto): Use ',' instead of '.' in prototype.
77662 * manual/startup.texi (syscall): Use @dots{} instead of literal
77663 "...".
77664 * manual/stdio.texi (__fpending): Separate initial words of
77665 paragraph from @deftypefun line.
77666 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77667 "...".
77668 (vsyslog): Use @var{} on parameter names.
77669 * manual/terminal.texi (stty): Use @var{} on parameter names.
77670 * manual/users.texi (getutmp): Use @var{} on parameter names.
77671 (getutmpx): Likewise.
77672
77673 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77674
77675 [BZ #6884]
77676 * manual/stdio.texi (fopen): Fix typos in description of
77677 ",ccs=STRING".
77678
77679 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77680
77681 [BZ #4026]
77682 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77683 get clock_id definition.
77684
77685 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77686
77687 [BZ #4822]
77688 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77689 (madvise): Cast every argument to void on its own.
77690
77691 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77692
77693 [BZ #9902]
77694 * manual/startup.texi (Exit Status): Fix typo.
77695
77696 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77697
77698 [BZ #10140]
77699 * manual/examples/argp-ex1.c: Include <stdlib.h>.
77700 * manual/examples/argp-ex2.c: Likewise.
77701 * manual/examples/argp-ex3.c: Likewise.
77702
77703 2012-02-16 Richard Henderson <rth@redhat.com>
77704
77705 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77706 * sysdeps/s390/s390-32/initfini.c: Remove.
77707 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77708 * sysdeps/s390/s390-64/initfini.c: Remove.
77709
77710 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77711
77712 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77713 compiler output for sysdeps/generic/initfini.c.
77714 * sysdeps/sh/elf/initfini.c: Remove file.
77715
77716 2012-02-16 David S. Miller <davem@davemloft.net>
77717
77718 [BZ #11494]
77719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77720
77721 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77722 * sysdeps/sparc/crti.S: New file.
77723 * sysdeps/sparc/crtn.S: New file.
77724 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77725 * sysdeps/sparc/sparc64/Makefile: Likewise.
77726
77727 2012-02-15 Mike Frysinger <vapier@gentoo.org>
77728
77729 [BZ #3335]
77730 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77731
77732 2012-02-15 Roland McGrath <roland@hack.frob.com>
77733
77734 [BZ #4822]
77735 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77736
77737 * mach/devstream.c (cookie_io_functions_t): Macro removed.
77738 (write, read, close): Likewise.
77739 Patch by Aurelien Jarno <aurelien@aurel32.net>.
77740
77741 2012-02-15 Joseph Myers <joseph@codesourcery.com>
77742
77743 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77744 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77745 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77746 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77747 <bits/signalfd.h>.
77748 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77750 bits/signalfd.h.
77751
77752 2012-02-14 Marek Polacek <polacek@redhat.com>
77753
77754 * sysdeps/x86_64/crti.S: New file.
77755 * sysdeps/x86_64/crtn.S: New file.
77756 * sysdeps/x86_64/elf/initfini.c: Remove file.
77757
77758 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77759
77760 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77761 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77762 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77763 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77764 <bits/inotify.h>.
77765 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77767 bits/inotify.h.
77768
77769 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77770
77771 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77772 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77773 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77774 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77775 <bits/eventfd.h>.
77776 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77778 bits/eventfd.h.
77779
77780 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
77781
77782 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77783 __feraiseexcept instead of feraiseexcept.
77784
77785 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77786 nanosleep invocations.
77787 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77788 strings, and add error checking for a nanosleep invocations.
77789
77790 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
77791
77792 Replace FSF snail mail address with URLs, as per GNU coding standards.
77793 Most of the snail mail addresses were wrong anyway, and omitting
77794 them makes the source code easier to maintain. Almost all of the
77795 changes are to license notices and to locale LC_IDENTIFICATION
77796 addresses, except for this one:
77797 * manual/libc.texinfo: In "Published by", give the FSF's URL,
77798 not its snail mail address.
77799
77800 2012-02-09 Richard Henderson <rth@twiddle.net>
77801
77802 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77803 of kernel-features.h.
77804
77805 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77806
77807 2012-02-08 Marek Polacek <polacek@redhat.com>
77808
77809 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77810 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77811 * sysdeps/gnu/_G_config.h: Likewise.
77812 * sysdeps/generic/_G_config.h: Likewise.
77813
77814 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
77815
77816 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77817 tests.
77818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77819
77820 * sysdeps/powerpc/powerpc32/crti.S: New file.
77821 * sysdeps/powerpc/powerpc32/crtn.S: New file.
77822 * sysdeps/powerpc/powerpc64/crti.S: New file.
77823 * sysdeps/powerpc/powerpc64/crtn.S: New file.
77824
77825 * Makeconfig (have-initfini): Don't set.
77826 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77827 * configure.in (nopic_initfini): Don't substitute.
77828 * config.h.in (HAVE_INITFINI): Don't #undef.
77829 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77830 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77831
77832 2012-02-08 Joseph Myers <joseph@codesourcery.com>
77833
77834 Support crti.S and crtn.S provided directly by architectures.
77835 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77836 [crti.S in sysdirs] (omit-deps): Likewise.
77837 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77838 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77839 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77840 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77841 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77842 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77843 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77844 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77845 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77846 compiler output for sysdeps/generic/initfini.c.
77847 * sysdeps/i386/elf/Makefile: Remove file.
77848 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77849
77850 2012-02-07 Marek Polacek <polacek@redhat.com>
77851
77852 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77853 * sysdeps/gnu/_G_config.h: Likewise.
77854 * sysdeps/mach/hurd/_G_config.h: Likewise.
77855
77856 2012-02-07 Marek Polacek <polacek@redhat.com>
77857
77858 * math/Makefile (tests): Add tst-CMPLX2.
77859 * math/tst-CMPLX2.c: New file.
77860
77861 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
77862
77863 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77864
77865 * math/libm-test.inc (jn_test): Add missing L suffix.
77866
77867 2012-02-06 Marek Polacek <polacek@redhat.com>
77868
77869 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77870 * sysdeps/i386/fpu/e_powf.S: Likewise.
77871 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77872 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77873 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77874 * sysdeps/i386/fpu/e_pow.S: Likewise.
77875 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77876 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77877 * sysdeps/i386/fpu/s_expm1.S: Likewise.
77878 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77879 * sysdeps/i386/fpu/e_log2.S: Likewise.
77880 * sysdeps/i386/fpu/e_log2l.S: Likewise.
77881 * sysdeps/i386/fpu/e_scalb.S: Likewise.
77882 * sysdeps/i386/fpu/e_powl.S: Likewise.
77883 * sysdeps/i386/fpu/s_log1p.S: Likewise.
77884 * sysdeps/i386/fpu/e_log10f.S: Likewise.
77885 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77886 * sysdeps/i386/fpu/e_logl.S: Likewise.
77887 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77888 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77889 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77890 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77891 * sysdeps/i386/fpu/e_log2f.S: Likewise.
77892 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77893 * sysdeps/i386/fpu/e_log.S: Likewise.
77894 * sysdeps/i386/fpu/s_cexp.S: Likewise.
77895 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77896 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77897 * sysdeps/i386/fpu/e_logf.S: Likewise.
77898 * sysdeps/i386/fpu/e_log10l.S: Likewise.
77899 * sysdeps/i386/fpu/e_atanh.S: Likewise.
77900 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77901 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77902 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77903 * sysdeps/i386/fpu/e_log10.S: Likewise.
77904 * sysdeps/i386/fpu/s_frexp.S: Likewise.
77905 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77906 * sysdeps/i386/fpu/s_asinh.S: Likewise.
77907 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77908 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77909 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77910 * sysdeps/i386/asm-syntax.h: Likewise.
77911 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77912 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77913 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77914 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77915 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77916 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77917 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77918 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77919 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77920 * sysdeps/powerpc/sysdep.h: Likewise.
77921 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77922 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77923
77924 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77925
77926 [BZ #411]
77927 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77928
77929 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77930
77931 * sysdeps/i386/sysdep.h: Include <features.h>.
77932 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77933 version.
77934
77935 2012-02-05 Joseph Myers <joseph@codesourcery.com>
77936
77937 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77938 Define.
77939 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77940 LOAD_PIC_REG_STR.
77941
77942 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77943
77944 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77945 (SETUP_PIC_REG): Use GET_PC_THUNK.
77946 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77947 macro.
77948
77949 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77950
77951 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77952 for non-PIC compilation.
77953 (SETUP_PIC_REG): Add .p2align directive.
77954 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77955 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77956 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77957 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77958 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77959 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77960 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77961 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77962 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77963 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77964 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77965 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77966 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77967 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77968 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77969 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77970 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77971 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77972 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77973 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77974 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77975 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77976 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77977 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77980 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77982 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77983 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77984 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77985 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77986 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77987 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77988 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77989 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77990 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77991 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77992 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77993 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77994 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77995
77996 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77997
77998 * math/tst-CMPLX.c: Include <stdio.h>.
77999
78000 2012-01-31 Joseph Myers <joseph@codesourcery.com>
78001
78002 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78003 float.
78004 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78005 * sysdeps/sparc/bits/mathdef.h: Likewise.
78006
78007 2012-01-31 Marek Polacek <polacek@redhat.com>
78008
78009 * libio/libio.h: Don't define _PARAMS.
78010 * locale/programs/config.h: Don't define PARAMS.
78011 * stdlib/strtol_l.c: Likewise.
78012 (__strtol_l): Remove PARAMS from the prototype.
78013
78014 2012-01-31 Ulrich Drepper <drepper@gmail.com>
78015
78016 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
78017 names. Just use the correct names. Remove unnecessary wrapper
78018 functions.
78019 * malloc/arena.c: Likewise.
78020 * malloc/hooks.c: Likewise.
78021
78022 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78023 ARENA_TEST says not to. Simplify test for creation of a new arena.
78024 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78025
78026 2012-01-30 Ulrich Drepper <drepper@gmail.com>
78027
78028 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78029 into tail calls.
78030 (update_get_addr): New function.
78031 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78032 GET_ADDR_MODULE parameter.
78033
78034 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78035
78036 * crypt/cert.c: Remove __STDC__ conditionals.
78037 * crypt/crypt-entry.c: Likewise.
78038 * crypt/crypt_util.c: Likewise.
78039 * libio/filedoalloc.c: Likewise.
78040 * libio/fileops.c: Likewise.
78041 * libio/genops.c: Likewise.
78042 * libio/iofclose.c: Likewise.
78043 * libio/iofdopen.c: Likewise.
78044 * libio/iofopen.c: Likewise.
78045 * libio/iofopen64.c: Likewise.
78046 * libio/iogetdelim.c: Likewise.
78047 * libio/iopopen.c: Likewise.
78048 * libio/obprintf.c: Likewise.
78049 * libio/oldfileops.c: Likewise.
78050 * libio/oldiofclose.c: Likewise.
78051 * libio/oldiofdopen.c: Likewise.
78052 * libio/oldiofopen.c: Likewise.
78053 * libio/oldiopopen.c: Likewise.
78054 * libio/wfiledoalloc.c: Likewise.
78055 * libio/wgenops.c: Likewise.
78056 * locale/programs/xmalloc.c: Likewise.
78057 * misc/syslog.c: Likewise.
78058 * stdio-common/xbug.c: Likewise.
78059 * string/memchr.c: Likewise.
78060 * string/memcmp.c: Likewise.
78061 * string/memrchr.c: Likewise.
78062 * string/rawmemchr.c: Likewise.
78063 * sysdeps/posix/getcwd.c: Likewise.
78064 * time/strftime_l.c: Likewise.
78065
78066 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78067
78068 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78069 * config.make.in (config-cflags-sse2avx): Define.
78070 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78071 Fix typo.
78072
78073 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
78074
78075 * scripts/config.guess: Update from upstream config git repository.
78076 * scripts/config.sub: Likewise.
78077
78078 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
78079
78080 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78081 (EM_NUM): Update.
78082 (R_TILEPRO_*, R_TILEGX_*): New macros.
78083
78084 * scripts/firstversions.awk: Fix bug in version range handling.
78085
78086 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78087
78088 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78089
78090 * include/sys/epoll.h: New file.
78091 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78092 libc_hidden_def.
78093
78094 2012-01-28 Ulrich Drepper <drepper@gmail.com>
78095
78096 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78097 Avoid unnecessary __WORDSIZE == 64 test.
78098 (fmaxf): Use VEX format if possible.
78099 (fmax): Likewise.
78100 (fminf): Likewise.
78101 (fmin): Likewise.
78102
78103 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78104 * math/math_private.h: Remove libc_fegetround* and
78105 libc_fesetround*.
78106 * sysdeps/i386/configure.in: Check for -msse2avx.
78107 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78108 also if SSE2AVX is defined.
78109 Remove libc_fegetround* and libc_fesetround*.
78110 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78111 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
78112 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78113 of HAS_YMM_USABLE.
78114 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78115 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78117 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78118 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78119
78120 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78121
78122 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78123
78124 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78125 size is not set.
78126 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78127
78128 2012-01-27 Ulrich Drepper <drepper@gmail.com>
78129
78130 [BZ #13618]
78131 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78132 relocation.
78133 * Makeconfig (libm): Define.
78134 * elf/Makefile: Add rules to build and run tst-relsort1.
78135 * elf/tst-relsort1.c: New file.
78136 * elf/tst-relsort1mod1.c: New file.
78137 * elf/tst-relsort1mod2.c: New file.
78138
78139 2012-01-27 Joseph Myers <joseph@codesourcery.com>
78140
78141 * math/s_ldexp.c: Remove __STDC__ conditionals.
78142 * math/s_ldexpf.c: Likewise.
78143 * math/s_ldexpl.c: Likewise.
78144 * math/s_nextafter.c: Likewise.
78145 * math/s_nexttowardf.c: Likewise.
78146 * math/s_significand.c: Likewise.
78147 * math/s_significandf.c: Likewise.
78148 * math/s_significandl.c: Likewise.
78149 * math/w_jnl.c: Likewise.
78150 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78151 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78152 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78153 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78154 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78156 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78157 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78158 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78159 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78160 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78161 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78162 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78163 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78164 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78165 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78166 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78167 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78169 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78170 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78171 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78172 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78173 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78174 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78175 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78176 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78177 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78178 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78179 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78180 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78181 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78182 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78183 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78184 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78185 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78186 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78187 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78188 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78189 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78190 * sysdeps/ieee754/k_standard.c: Likewise.
78191 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78192 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78193 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78194 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78195 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78196 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78197 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78198 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78199 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78200 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78201 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78202 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78203 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78204 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78205 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78206 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78207 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78208 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78209 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78210 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78211 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78212 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78213 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78214 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78215 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78216 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78219 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78220 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78221 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78222 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78223 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78224 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78225 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78226 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78227 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78228 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78229 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78230 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78231 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78233 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78234 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78235 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78236 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78237 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78238 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78239 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78240 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78241 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78242 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78243 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78244 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78245 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78246 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78247 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78248 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78249 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78250 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78251 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78253 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78254 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78255 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78256 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78257 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78258 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78259 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78260 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78261 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78262 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78263 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78264 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78265 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78266 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78267 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78268 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78269 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78270 * sysdeps/ieee754/s_matherr.c: Likewise.
78271 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78272 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78274 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78275
78276 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78277
78278 * crypt/md5.h: Remove __STDC__ conditionals.
78279 * libio/libioP.h: Likewise.
78280 * locale/programs/config.h: Likewise.
78281 * sysdeps/generic/sysdep.h: Likewise.
78282 * sysdeps/i386/asm-syntax.h: Likewise.
78283 * sysdeps/s390/asm-syntax.h: Likewise.
78284 * sysdeps/unix/sysdep.h: Likewise.
78285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78287
78288 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78289
78290 * libio/libio.h: Remove __STDC__ conditionals.
78291 * malloc/obstack.h: Likewise.
78292 * math/complex.h: Likewise.
78293 * math/math.h: Likewise.
78294 * sysdeps/generic/_G_config.h: Likewise.
78295 * sysdeps/gnu/_G_config.h: Likewise.
78296 * sysdeps/mach/hurd/_G_config.h: Likewise.
78297 * sysdeps/powerpc/bits/mathdef.h: Likewise.
78298 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78299 * sysdeps/sparc/bits/mathdef.h: Likewise.
78300
78301 2012-01-26 Ulrich Drepper <drepper@gmail.com>
78302
78303 [BZ #13583]
78304 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78305 Clean up HAS_* macros.
78306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78307 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78308 possible.
78309 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78310 HAS_AVX.
78311 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78312 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78314 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78316
78317 2012-01-25 Joseph Myers <joseph@codesourcery.com>
78318
78319 * elf/tst-unique3.cc (gets): Remove declaration.
78320 * elf/tst-unique3lib.cc (gets): Likewise.
78321 * elf/tst-unique3lib2.cc (gets): Likewise.
78322 * elf/tst-unique4.cc (gets): Likewise.
78323
78324 2012-01-24 Ulrich Drepper <drepper@gmail.com>
78325
78326 * include/stdio.h: Add C++ protection. Add gets declarations and
78327 definitions.
78328 * debug/tst-chk1.c: Don't declare gets here.
78329 * stdio-common/tst-gets.c: Likewise.
78330
78331 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78332
78333 * posix/glob: Remove directory.
78334
78335 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78336
78337 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78338
78339 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
78340
78341 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78342 of the non-standard EPFNOSUPPORT.
78343
78344 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
78345
78346 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78347 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78348 ANYWHERE set to 1 only on KERN_NO_SPACE error.
78349
78350 2012-01-21 Ulrich Drepper <drepper@gmail.com>
78351
78352 * wcsmbs/uchar.h: Test __STDC_VERSION__.
78353
78354 2012-01-20 Ulrich Drepper <drepper@gmail.com>
78355
78356 * nscd/aicache.c (addhstaiX): Do not cache negative results of
78357 transient errors.
78358 * nscd/grpcache.c (cache_addgr): Likewise.
78359 * nscd/hstcache.c (cache_addhst): Likewise.
78360 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78361 * nscd/pwdcache.c (cache_addpw): Likewise.
78362 * nscd/servicescache.c (cache_addserv): Likewise.
78363
78364 2012-01-16 Ulrich Drepper <drepper@gmail.com>
78365
78366 * malloc/malloc.c: Various cleanups.
78367 * malloc/hooks.c: Likewise.
78368
78369 * stdlib/Makefile (tests): Add bug-fmtmsg1.
78370 * stdlib/bug-fmtmsg1.c: New file.
78371
78372 * stdlib/fmtmsg.c (init): Add missing unlock.
78373 Patch by Peng Haitao <penght@cn.fujitsu.com>.
78374
78375 2012-01-12 Marek Polacek <polacek@redhat.com>
78376
78377 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78378 and _GNU_SOURCE.
78379
78380 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
78381
78382 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78383 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78384 macro to ensure uniqueness of label name.
78385 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78386 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78387
78388 2012-01-11 Ulrich Drepper <drepper@gmail.com>
78389
78390 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78391
78392 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78393 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78394 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78395 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78396
78397 2012-01-10 Ulrich Drepper <drepper@gmail.com>
78398
78399 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78400
78401 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78402 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78403 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78404
78405 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78406
78407 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78408 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78409 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78411
78412 * math/bits/math-finite.h: Add ldexp support.
78413
78414 2012-01-10 Marek Polacek <polacek@redhat.com>
78415
78416 * locale/programs/localedef.h (show_archive_content): Add noreturn
78417 attribute.
78418
78419 2012-01-09 Ulrich Drepper <drepper@gmail.com>
78420
78421 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78422
78423 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78424
78425 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78426
78427 * io/Makefile (headers): Add bits/poll2.h.
78428
78429 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
78430
78431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78432 typo #include statement.
78433
78434 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78435
78436 * include/sys/cdefs.h: Define __attribute_alloc_size.
78437 * catgets/gencat.c: Add alloc_size attribute and apply consistently
78438 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78439 * elf/pldd.c: Likewise.
78440 * iconv/iconv_charmap.c: Likewise.
78441 * iconv/iconvconfig.c: Likewise.
78442 * iconv/strtab.c: Likewise.
78443 * locale/programs/locale.c: Likewise.
78444 * locale/programs/localedef.h: Likewise.
78445 * locale/programs/simple-hash.c: Likewise.
78446 * nscd/nscd.h: Likewise.
78447 * nss/makedb.c: Likewise.
78448 * sysdeps/generic/ldconfig.h: Likewise.
78449 * locale/programs/localedef.c: Remove xmalloc prototype.
78450 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78451
78452 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78453
78454 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78455 appropriate.
78456
78457 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78458
78459 * math/Makefile (tests): Add tst-CMPLX.
78460 * math/tst-CMPLX.c: New file.
78461
78462 * math/complex.h (CMPLXL): Fix typo.
78463
78464 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78465 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78466 GLIBC_2.16.
78467 * debug/tst-chk1.c: Add poll and ppoll tests.
78468 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78469 * include/sys/poll.h: Add hidden proto for ppoll.
78470 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78471 * sysdeps/mach/hurd/ppoll.c: Likewise.
78472 * io/ppoll.c: Likewise.
78473 * debug/poll_chk.c: New file.
78474 * debug/ppoll_chk.c: New file.
78475 * include/bits/poll2.h: New file.
78476 * io/bits/poll2.h: New file.
78477
78478 [BZ #1350]
78479 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78480
78481 * configure.in: static is always set to yes. Remove.
78482 * config.make.in: Don't set build-static.
78483 * Makeconfig: Remove use of build-static.
78484 * dlfcn/Makefile: Likewise.
78485 * elf/Makefile: Likewise.
78486 * math/Makefile: Likewise.
78487 * misc/Makefile: Likewise.
78488 * nptl/Makefile: Likewise.
78489 * sysdeps/mach/hurd/Makefile: Likewise.
78490
78491 * configure.in: PWD_P is not used anymore.
78492 * config.make.in: Remove PWD_P entry.
78493
78494 * configure.in: Remove last remnants of RANLIB.
78495 No need to check for signed size_t anymore.
78496 Don't set libc_commonpagesize and libc_relro_required here for Alpha
78497 and IA-64.
78498 Remove __builtin_expect test because we require at least gcc 3.4.
78499 * aclocal.m4: Likewise.
78500
78501 * wcsmbs/mbrtoc16.c: Implement using towc function.
78502 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78503 * wcsmbs/wcsmbsload.c: Likewise.
78504 * iconv/gconv_simple.c: Likewise.
78505 * iconv/gconv_int.h: Likewise.
78506 * iconv/gconv_builtin.h: Likewise.
78507 * iconv/iconv_prog.c: Remove CHAR16 handling.
78508
78509 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78510
78511 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78512
78513 * configure.in: Remove --with-elf and --enable-bounded options.
78514 Dont set base_machine for ia64. More non-ELF conditions removed.
78515 Remove testing and setting of leading underscore information.
78516 * config.make.in (build-bounded): Set to no.
78517 * config.h.in: Remove NO_UNDERSCORES entry.
78518 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78519 them.
78520 * csu/start.c: Remove !NO_UNDERSCORE code.
78521 * locale/localeinfo.h: Likewise.
78522 * sysdeps/generic/machine-gmon.h: Likewise.
78523 * sysdeps/generic/sysdep.h: Likewise.
78524 * sysdeps/i386/sysdep.h: Likewise.
78525 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78526 * sysdeps/mach/sysdep.h: Likewise.
78527 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78528 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78529 * sysdeps/sh/sysdep.h: Likewise.
78530 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78531 * sysdeps/unix/i386/sysdep.S: Likewise.
78532 * sysdeps/unix/sparc/start.c: Likewise.
78533 * sysdeps/unix/sparc/sysdep.S: Likewise.
78534 * sysdeps/unix/sparc/sysdep.h: Likewise.
78535 * sysdeps/unix/start.c: Likewise.
78536 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78537 * sysdeps/x86_64/sysdep.h: Likewise.
78538
78539 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78540
78541 [BZ #13553]
78542 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78543 for non-gcc.
78544 * argp/argp-fmtstream.h: Use const instead __const.
78545 * argp/argp.h: Likewise.
78546 * assert/assert.h: Likewise.
78547 * bits/fenv.h: Likewise.
78548 * bits/sched.h: Likewise.
78549 * bits/sigset.h: Likewise.
78550 * bits/sigthread.h: Likewise.
78551 * catgets/nl_types.h: Likewise.
78552 * conform/data/pthread.h-data: Likewise.
78553 * crypt/crypt-private.h: Likewise.
78554 * crypt/crypt.h: Likewise.
78555 * crypt/crypt_util.c: Likewise.
78556 * ctype/ctype.h: Likewise.
78557 * debug/execinfo.h: Likewise.
78558 * debug/mbsnrtowcs_chk.c: Likewise.
78559 * debug/mbsrtowcs_chk.c: Likewise.
78560 * debug/wcsnrtombs_chk.c: Likewise.
78561 * debug/wcsrtombs_chk.c: Likewise.
78562 * debug/wcstombs_chk.c: Likewise.
78563 * dirent/dirent.h: Likewise.
78564 * dlfcn/dlfcn.h: Likewise.
78565 * elf/neededtest4.c: Likewise.
78566 * grp/grp.h: Likewise.
78567 * gshadow/gshadow.h: Likewise.
78568 * iconv/gconv.h: Likewise.
78569 * iconv/gconv_int.h: Likewise.
78570 * iconv/gconv_simple.c: Likewise.
78571 * iconv/iconv.h: Likewise.
78572 * iconv/loop.c: Likewise.
78573 * iconv/skeleton.c: Likewise.
78574 * include/aio.h: Likewise.
78575 * include/aliases.h: Likewise.
78576 * include/argz.h: Likewise.
78577 * include/arpa/inet.h: Likewise.
78578 * include/assert.h: Likewise.
78579 * include/dirent.h: Likewise.
78580 * include/dlfcn.h: Likewise.
78581 * include/execinfo.h: Likewise.
78582 * include/fcntl.h: Likewise.
78583 * include/fenv.h: Likewise.
78584 * include/glob.h: Likewise.
78585 * include/grp.h: Likewise.
78586 * include/libintl.h: Likewise.
78587 * include/mntent.h: Likewise.
78588 * include/netdb.h: Likewise.
78589 * include/pwd.h: Likewise.
78590 * include/rpc/netdb.h: Likewise.
78591 * include/sched.h: Likewise.
78592 * include/search.h: Likewise.
78593 * include/shadow.h: Likewise.
78594 * include/signal.h: Likewise.
78595 * include/stdio.h: Likewise.
78596 * include/stdlib.h: Likewise.
78597 * include/string.h: Likewise.
78598 * include/sys/socket.h: Likewise.
78599 * include/sys/stat.h: Likewise.
78600 * include/sys/statfs.h: Likewise.
78601 * include/sys/statvfs.h: Likewise.
78602 * include/sys/syslog.h: Likewise.
78603 * include/sys/time.h: Likewise.
78604 * include/sys/uio.h: Likewise.
78605 * include/time.h: Likewise.
78606 * include/unistd.h: Likewise.
78607 * include/utmp.h: Likewise.
78608 * include/wchar.h: Likewise.
78609 * include/wctype.h: Likewise.
78610 * inet/aliases.h: Likewise.
78611 * inet/arpa/inet.h: Likewise.
78612 * inet/netinet/ether.h: Likewise.
78613 * inet/netinet/in.h: Likewise.
78614 * intl/libintl.h: Likewise.
78615 * io/bits/fcntl2.h: Likewise.
78616 * io/fcntl.h: Likewise.
78617 * io/ftw.h: Likewise.
78618 * io/sys/poll.h: Likewise.
78619 * io/sys/stat.h: Likewise.
78620 * io/sys/statfs.h: Likewise.
78621 * io/sys/statvfs.h: Likewise.
78622 * io/utime.h: Likewise.
78623 * libio/bits/stdio.h: Likewise.
78624 * libio/bits/stdio2.h: Likewise.
78625 * libio/libio.h: Likewise.
78626 * libio/libioP.h: Likewise.
78627 * libio/stdio.h: Likewise.
78628 * locale/lc-ctype.c: Likewise.
78629 * locale/locale.h: Likewise.
78630 * login/utmp.h: Likewise.
78631 * malloc/arena.c: Likewise.
78632 * malloc/malloc.c: Likewise.
78633 * malloc/malloc.h: Likewise.
78634 * malloc/mcheck.c: Likewise.
78635 * malloc/mtrace.c: Likewise.
78636 * math/bits/mathcalls.h: Likewise.
78637 * math/fenv.h: Likewise.
78638 * math/math_private.h: Likewise.
78639 * misc/bits/error.h: Likewise.
78640 * misc/bits/syslog.h: Likewise.
78641 * misc/err.h: Likewise.
78642 * misc/error.h: Likewise.
78643 * misc/fstab.h: Likewise.
78644 * misc/mntent.h: Likewise.
78645 * misc/regexp.h: Likewise.
78646 * misc/search.h: Likewise.
78647 * misc/sgtty.h: Likewise.
78648 * misc/sys/mman.h: Likewise.
78649 * misc/sys/syslog.h: Likewise.
78650 * misc/sys/uio.h: Likewise.
78651 * misc/sys/xattr.h: Likewise.
78652 * misc/ttyent.h: Likewise.
78653 * nis/rpcsvc/ypclnt.h: Likewise.
78654 * nss/nss.h: Likewise.
78655 * posix/bits/unistd.h: Likewise.
78656 * posix/fnmatch.h: Likewise.
78657 * posix/glob.h: Likewise.
78658 * posix/sched.h: Likewise.
78659 * posix/spawn.h: Likewise.
78660 * posix/sys/wait.h: Likewise.
78661 * posix/unistd.h: Likewise.
78662 * posix/wordexp.h: Likewise.
78663 * pwd/pwd.h: Likewise.
78664 * resolv/netdb.h: Likewise.
78665 * resource/sys/resource.h: Likewise.
78666 * rt/aio.h: Likewise.
78667 * rt/bits/mqueue2.h: Likewise.
78668 * rt/mqueue.h: Likewise.
78669 * shadow/shadow.h: Likewise.
78670 * signal/signal.h: Likewise.
78671 * socket/send.c: Likewise.
78672 * socket/sendto.c: Likewise.
78673 * socket/sys/socket.h: Likewise.
78674 * stdio-common/printf.h: Likewise.
78675 * stdlib/bits/stdlib.h: Likewise.
78676 * stdlib/fmtmsg.h: Likewise.
78677 * stdlib/monetary.h: Likewise.
78678 * stdlib/stdlib.h: Likewise.
78679 * stdlib/ucontext.h: Likewise.
78680 * streams/stropts.h: Likewise.
78681 * string/argz.h: Likewise.
78682 * string/bits/string2.h: Likewise.
78683 * string/string.h: Likewise.
78684 * string/strings.h: Likewise.
78685 * sunrpc/rpc/auth.h: Likewise.
78686 * sunrpc/rpc/auth_des.h: Likewise.
78687 * sunrpc/rpc/clnt.h: Likewise.
78688 * sunrpc/rpc/netdb.h: Likewise.
78689 * sunrpc/rpc/pmap_clnt.h: Likewise.
78690 * sunrpc/rpc/xdr.h: Likewise.
78691 * sysdeps/generic/inttypes.h: Likewise.
78692 * sysdeps/generic/net/if.h: Likewise.
78693 * sysdeps/generic/sys/swap.h: Likewise.
78694 * sysdeps/gnu/net/if.h: Likewise.
78695 * sysdeps/gnu/utmpx.h: Likewise.
78696 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78697 * sysdeps/i386/i486/bits/string.h: Likewise.
78698 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78699 * sysdeps/s390/bits/string.h: Likewise.
78700 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78701 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78702 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78703 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78704 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78705 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78706 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78707 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78708 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78709 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78710 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78711 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78712 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78713 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78714 * sysdeps/unix/sysv/linux/readv.c: Likewise.
78715 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78716 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78718 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78719 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78720 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78721 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78722 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78723 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78724 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78725 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78726 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78727 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78728 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78729 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78730 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78731 * sysvipc/sys/ipc.h: Likewise.
78732 * sysvipc/sys/msg.h: Likewise.
78733 * sysvipc/sys/sem.h: Likewise.
78734 * sysvipc/sys/shm.h: Likewise.
78735 * termios/termios.h: Likewise.
78736 * time/sys/time.h: Likewise.
78737 * time/time.h: Likewise.
78738 * wcsmbs/bits/wchar2.h: Likewise.
78739 * wcsmbs/uchar.h: Likewise.
78740 * wcsmbs/wchar.h: Likewise.
78741 * wctype/wctype.h: Likewise.
78742
78743 [BZ #13551]
78744 * Makeconfig: Remove all but ELF support including AIX support.
78745 * Makerules: Likewise.
78746 * config.h.in: Likewise.
78747 * config.make.in: Likewise.
78748 * configure: Likewise.
78749 * configure.in: Likewise.
78750 * csu/Makefile: Likewise.
78751 * csu/version.c: Likewise.
78752 * debug/Makefile: Likewise.
78753 * dlfcn/Makefile: Likewise.
78754 * elf/Makefile: Likewise.
78755 * extra-lib.mk: Likewise.
78756 * iconv/Makefile: Likewise.
78757 * include/libc-symbols.h: Likewise.
78758 * include/shlib-compat.h: Likewise.
78759 * resolv/Makefile: Likewise.
78760 * resolv/res_libc.c: Likewise.
78761 * rt/Makefile: Likewise.
78762 * sysdeps/i386/asm-syntax.h: Likewise.
78763 * sysdeps/i386/sysdep.h: Likewise.
78764 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78765 * sysdeps/mach/sysdep.h: Likewise.
78766 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78767 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78768 * sysdeps/s390/asm-syntax.h: Likewise.
78769 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78770 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78771 * sysdeps/sh/sysdep.h: Likewise.
78772 * sysdeps/unix/sparc/sysdep.h: Likewise.
78773 * sysdeps/wordsize-32/divdi3.c: Likewise.
78774 * sysdeps/x86_64/sysdep.h: Likewise.
78775
78776 * argp/Versions: Remove _argp_unlock_xxx.
78777
78778 [BZ #13559]
78779 * abilist/ld.abilist: Update. Adjust for removal of tls option.
78780 * abilist/libBrokenLocale.abilist: Likewise.
78781 * abilist/libanl.abilist: Likewise.
78782 * abilist/libc.abilist: Likewise.
78783 * abilist/libcrypt.abilist: Likewise.
78784 * abilist/libdl.abilist: Likewise.
78785 * abilist/libm.abilist: Likewise.
78786 * abilist/libnsl.abilist: Likewise.
78787 * abilist/libpthread.abilist: Likewise.
78788 * abilist/libresolv.abilist: Likewise.
78789 * abilist/librt.abilist: Likewise.
78790 * abilist/libthread_db.abilist: Likewise.
78791 * abilist/libutil.abilist: Likewise.
78792 * abilist/libnss_db.abilist: New file.
78793
78794 * scripts/abilist.awk: Add support for indirect functions.
78795
78796 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78797
78798 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78799
78800 * shlib-versions: Remove entries for ports architectures.
78801
78802 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
78803 files in ports.
78804 * elf/stackguard-macros.h: Remove support for IA-64.
78805 * elf/tst-auditmod1.c: Likewise.
78806 * sysdeps/generic/ldsodefs.h: Likewise.
78807
78808 * sysdeps/unix/sysv/linux/configure.in: Ports should define
78809 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78810 configure files.
78811
78812 [BZ #13552]
78813 * configure.in: Remove --enable-omitfp support.
78814 * FAQ.in: Adjust.
78815 * config.make.in: Likewise.
78816 * Makeconfig: Likewise.
78817 * manual/install.texi: Likewise.
78818
78819 In case anyone cares, the IA-64 architecture could move to ports.
78820 * sysdeps/ia64/*: Removed.
78821 * sysdeps/unix/sysv/linux/ia64/*: Removed.
78822 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78823
78824 [BZ #13555]
78825 * configure.in: Remove entries for unsupported architectures.
78826
78827 [BZ #13533]
78828 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78829 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
78830 routines.
78831 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78832 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78833 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
78834 fall back to using wcrtomb.
78835 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78836 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
78837 renaming.
78838 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78839 * wcsmbs/tst-c16c32-1.c: New file.
78840
78841 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78842 local variable.
78843
78844 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78845
78846 * elf/tst-unique3.cc: Add explicit declaration of gets.
78847 * elf/tst-unique3lib.cc: Likewise.
78848 * elf/tst-unique3lib2.cc: Likewise.
78849 * elf/tst-unique4.cc: Likewise.
78850
78851 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78852
78853 2012-01-06 Joseph Myers <joseph@codesourcery.com>
78854
78855 [BZ #13566]
78856 * assert/assert.h (static_assert): Don't define for C++.
78857 * libio/stdio.h (gets): Do declare for C++ <= C++11.
78858 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78859
78860 2012-01-03 Ulrich Drepper <drepper@gmail.com>
78861
78862 * iconv/loop.c (single loop): Fix assertion in storing of
78863 remaining bytes.
78864
78865 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78866
78867 2012-01-01 Ulrich Drepper <drepper@gmail.com>
78868
78869 * posix/getconf.c: Update copyright year.
78870 * nss/getent.c: Likewise.
78871 * nss/makedb.c: Likewise.
78872 * iconv/iconvconfig.c: Likewise.
78873 * iconv/iconv_prog.c: Likewise.
78874 * elf/ldconfig.c: Likewise.
78875 * elf/pldd.c: Likewise.
78876 * elf/sotruss.ksh: Likewise.
78877 * catgets/gencat.c: Likewise.
78878 * csu/version.c: Likewise.
78879 * elf/ldd.bash.in: Likewise.
78880 * elf/sprof.c (print_version): Likewise.
78881 * locale/programs/locale.c: Likewise.
78882 * locale/programs/localedef.c: Likewise.
78883 * login/programs/pt_chown.c: Likewise.
78884 * nscd/nscd.c (print_version): Likewise.
78885 * debug/xtrace.sh: Likewise.
78886 * malloc/memusage.sh: Likewise.
78887 * malloc/mtrace.pl: Likewise.
78888 * debug/catchsegv.sh: Likewise.
78889
78890 2011-12-30 Jakub Jelinek <jakub@redhat.com>
78891
78892 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78893 pure attribute.
78894
78895 2011-12-24 Ulrich Drepper <drepper@gmail.com>
78896
78897 [BZ #13533]
78898 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78899 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78900 transformations.
78901 * iconv/gconv_int.h: Likewise.
78902 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78903 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78904 from libc for GLIBC_2.16.
78905 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78906 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78907 * wcsmbs/uchar.h: Really define mbstate_t.
78908 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78909 * wcsmbs/c16rtomb.c: New file.
78910 * wcsmbs/mbrtoc16.c: New file.
78911 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78912 for C/POSIX locale.
78913 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78914 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78915
78916 * wcsmbs/wchar.h: Add missing __restrict.
78917
78918 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78919
78920 [BZ #13532]
78921 * time/Makefile (routines): Add timespec_get.
78922 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78923 * time/time.h: Define TIME_UTC and declare timespec_get. Define
78924 timespec for ISO C11.
78925 * time/timespec_get.c: New file.
78926 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78927 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78928
78929 [BZ #13531]
78930 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78931 * stdlib/stdlib.h: Declare aligned_alloc.
78932 * Versions.def: Add GLIBC_2.16 for libc.
78933 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78934
78935 [BZ 13527]
78936 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78937 ISO C11.
78938
78939 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78940 code.
78941
78942 [BZ #13528]
78943 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78944
78945 [BZ #13529]
78946 * assert/assert.h (static_assert): Define.
78947
78948 * version.h: Update for 2.16 development version.
78949
78950 [BZ #13526]
78951 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78952 _ISOC11_SOURCE.
78953
78954 * version.h (RELEASE): Bump for 2.15 release.
78955 * include/features.h (__GLIBC_MINOR__): Bump to 15.
78956
78957 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78958 Patch by Marek Polacek <mpolacek@redhat.com>.
78959
78960 * bits/byteswap.h: Protect long long constants with __extension__.
78961 * sysdeps/i386/bits/byteswap.h: Likewise.
78962 * sysdeps/ia64/bits/byteswap.h: Likewise.
78963 * sysdeps/s390/bits/byteswap.h: Likewise.
78964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
78965
78966 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78967
78968 [BZ #13540]
78969 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78970 destination buffer.
78971 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78972
78973 2011-12-23 Marek Polacek <polacek@redhat.com>
78974
78975 * elf/dl-addr.c (determine_info): Add inline keyword.
78976 * elf/tst-auditmod4b.c (check_avx): Likewise.
78977 * elf/tst-auditmod6b.c (check_avx): Likewise.
78978 * elf/tst-auditmod6c.c (check_avx): Likewise.
78979 * elf/tst-auditmod7b.c (check_avx): Likewise.
78980
78981 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78982
78983 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78984 !__SSE_MATH__.
78985
78986 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78987
78988 [BZ #13540]
78989 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78990 processing for last bytes.
78991
78992 2011-08-06 Bruno Haible <bruno@clisp.org>
78993
78994 [BZ #13061]
78995 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78996 U+0385, not to U+1FEE.
78997
78998 [BZ #13062]
78999 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79000 entry for U+00A5 U+0301.
79001
79002 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79003
79004 [BZ #13166]
79005 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79006 buffer for the output is too small.
79007
79008 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79009 optimization.
79010
79011 [BZ #13185]
79012 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79013 SSE flags if possible.
79014
79015 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79016
79017 [BZ #13540]
79018 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79019 processing for last bytes.
79020
79021 2011-12-22 Joseph Myers <joseph@codesourcery.com>
79022
79023 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79024 (syscall-list-default-options, syscall-list-default-condition)
79025 (syscall-list-includes): Define.
79026 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79027 list of ABIs and options and #if conditions for each ABI. Do not
79028 handle common syscalls between ABIs specially.
79029 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79030 Remove.
79031 (syscall-list-variants, syscall-list-32bit-options)
79032 (syscall-list-32bit-condition, syscall-list-64bit-options)
79033 (syscall-list-64bit-condition): Define.
79034 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79035 (syscall-list-variants, syscall-list-32bit-options)
79036 (syscall-list-32bit-condition, syscall-list-64bit-options)
79037 (syscall-list-64bit-condition): Define.
79038 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79039 Remove.
79040 (syscall-list-variants, syscall-list-32bit-options)
79041 (syscall-list-32bit-condition, syscall-list-64bit-options)
79042 (syscall-list-64bit-condition): Define.
79043 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79044 Remove.
79045 (syscall-list-variants, syscall-list-32bit-options)
79046 (syscall-list-32bit-condition, syscall-list-64bit-options)
79047 (syscall-list-64bit-condition): Define.
79048
79049 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79050
79051 * locale/iso-639.def: Add brx entry.
79052
79053 [BZ #13328]
79054 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79055 Proposed by Mariusz_Cukr <marcukr@op.pl>.
79056
79057 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79058 __feraiseexcept_renamed.
79059
79060 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79061
79062 [BZ #13538]
79063 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79064 EPOLLET with unsigned values.
79065 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79066 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79067
79068 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79069 to large cancellation.
79070 * math/s_cacoshf.c: Likewise.
79071 * math/s_cacoshl.c: Likewise.
79072
79073 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
79074
79075 [BZ #13305]
79076 [BZ #12786]
79077 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79078 * math/s_cacoshf.c: Likewise.
79079 * math/s_cacoshl.c: Likewise.
79080
79081 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79082
79083 [BZ #13439]
79084 * iconv/gconv.h: Define __GCONV_SWAP.
79085 * iconvdata/unicode.c: The swap bit must be stored in __flags.
79086 * iconvdata/utf-16.c: Likewise.
79087 * iconvdata/utf-32.c: Likewise.
79088
79089 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
79090
79091 [BZ #13524]
79092 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79093 numerator after shifting it by one limb.
79094
79095 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
79096
79097 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79098 under [__USE_EXTERN_INLINES].
79099
79100 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79101
79102 [BZ #13446]
79103 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79104
79105 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79106
79107 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79108 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79109 optimized code.
79110 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79111 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79112 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79113 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79114 for strncasecmp/strncasecmp_l compilation.
79115 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79116 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79117
79118 2011-12-08 Marek Polacek <mpolacek@redhat.com>
79119
79120 [BZ #13484]
79121 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79122 of __asm__.
79123
79124 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79125
79126 [BZ #13506]
79127 * time/tzfile.c (__tzfile_read): Check values from file header.
79128
79129 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
79130
79131 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79132 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79133 * powerpc/powerpc32/dl-start.S: Likewise.
79134 * powerpc/powerpc32/elf/start.S: Likewise.
79135 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79136 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79137 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79138 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79139 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79140 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79141 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79142 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79143 * powerpc/powerpc32/fpu/s_round.S: Likewise.
79144 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79145 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79146 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79147 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79148 * powerpc/powerpc32/memset.S: Likewise.
79149 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79150 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79151 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79152 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79153 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79154 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79155 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79156 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79157 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79158 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79159 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79160 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79161 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79162
79163 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79164
79165 * math/libm-test.inc: Added more nearbyint tests.
79166 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79167 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79168 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79169 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79170
79171 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
79172
79173 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79174 FD_CLOEXEC.
79175
79176 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79177
79178 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79179 Add wcscpy-ssse3 wcscpy-c.
79180 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79181 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79182 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79183 * sysdeps/x86_64/wcschr.S: New file.
79184 * sysdeps/x86_64/wcsrchr.S: New file.
79185 * string/test-strcmp.c: Remove checking of wcscmp function for
79186 wrong alignments.
79187 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79188 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79189 wcsrchr-sse2 wcsrchr-c.
79190 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79191 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79192 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79193 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79194 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79195 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79196 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79197 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79198 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79199 * wcsmbc/wcschr.c (WCSCHR): New macro.
79200
79201 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79202
79203 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79204 * wcsmbs/test-wcsrchr.c: New file.
79205 * string/test-strrchr.c: Add wcsrchr support.
79206 (WIDE): New macro.
79207 * wcsmbs/test-wcscpy.c: New file.
79208 * string/test-strcpy.c: Add wcscpy support.
79209 (WIDE): New macro.
79210
79211 2011-12-10 Ulrich Drepper <drepper@gmail.com>
79212
79213 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79214 the inner loop.
79215
79216 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
79217
79218 [BZ #13472]
79219 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79220
79221 2011-12-04 Ulrich Drepper <drepper@gmail.com>
79222
79223 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79224 Minor optimizations.
79225
79226 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79227 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79228 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79229
79230 2011-12-03 Ulrich Drepper <drepper@gmail.com>
79231
79232 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79233 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79234 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79235 for gcc to avoid warnings.
79236 * inet/Makefile (tests): Add tst-checks.
79237 * inet/tst-checks.c: New file.
79238
79239 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79240 warning.
79241
79242 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79243 __wmemcmp_sse2.
79244
79245 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79246 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79247
79248 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79249
79250 2011-12-02 Ulrich Drepper <drepper@gmail.com>
79251
79252 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79253 problem.
79254
79255 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79256
79257 2011-11-29 Joseph Myers <joseph@codesourcery.com>
79258
79259 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79260 conditional on GCC version.
79261 (__arch_compare_and_exchange_val_8_acq)
79262 (__arch_compare_and_exchange_val_16_acq)
79263 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79264 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79265 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79266
79267 2011-12-02 Joseph Myers <joseph@codesourcery.com>
79268
79269 * sysdeps/sh/backtrace.c: New file.
79270
79271 2011-12-02 Andreas Schwab <schwab@redhat.com>
79272
79273 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
79274 parenthesis.
79275
79276 2011-12-01 Andreas Schwab <schwab@redhat.com>
79277
79278 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79279 falling back to utime.
79280
79281 2011-11-30 Andreas Schwab <schwab@redhat.com>
79282
79283 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79284 expectations for float.
79285
79286 2011-11-29 Andreas Schwab <schwab@redhat.com>
79287
79288 * locale/weight.h (findidx): Add parameter len.
79289 * locale/weightwc.h (findidx): Likewise.
79290 * posix/fnmatch_loop.c (FCT): Adjust caller.
79291 * posix/regcomp.c (build_equiv_class): Likewise.
79292 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79293 * posix/regexec.c (check_node_accept_bytes): Likewise.
79294 * string/strcoll_l.c (STRCOLL): Likewise.
79295 * string/strxfrm_l.c (STRXFRM): Likewise.
79296
79297 2011-11-17 Ulrich Drepper <drepper@gmail.com>
79298
79299 * Makefile.in: Remove CVSOPT handling.
79300 * configure.in: Remove use of AC_REVISION.
79301 * iconvdata/Makefile (distribute): No need to filter out CVS.
79302 * scripts/list-sources.sh: Remove CVS, subversion and monotone
79303 handling.
79304
79305 2011-11-16 Andreas Schwab <schwab@redhat.com>
79306
79307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79308 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79309 [USE_AS_STRNCASECMP_L]: Likewise.
79310 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79311 NO_TLS_DIRECT_SEG_REFS.
79312 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79313 Fix argument offsets for non-PIC.
79314 [USE_AS_STRNCASECMP_L]: Likewise.
79315 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79316 NO_TLS_DIRECT_SEG_REFS.
79317
79318 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79319
79320 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79321 O_CLOEXEC.
79322 * locale/loadlocale.c (_nl_load_locale): Likewise.
79323
79324 2011-11-15 Andreas Schwab <schwab@redhat.com>
79325
79326 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79327 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79328 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79329 (SYSCALL_GETTIME): Set errno on error.
79330
79331 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79332 count references to noai6ai_cached.
79333
79334 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79335
79336 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79337
79338 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79339 FD_CLOEXEC for /proc/self/maps.
79340
79341 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79342 FD_CLOEXEC for /proc/meminfo.
79343
79344 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79345 gai.conf.
79346
79347 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
79348 FD_CLOEXEC for given file.
79349
79350 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79351
79352 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79353 FD_CLOEXEC for /etc/hosts.
79354 (_gethtent): Likewise.
79355
79356 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79357
79358 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79359 cancellation and set FD_CLOEXEC for /etc/netgroup.
79360
79361 * nss/nss_files/files-key.c (search): Don't allow cancellation when
79362 reading /etc/publickey.
79363
79364 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79365 allow cancellation when reading /etc/group.
79366
79367 * nss/nss_files/files-alias.c (internal_setent): Don't allow
79368 cancellation.
79369 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
79370
79371 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79372 when using data file.
79373
79374 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79375
79376 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79377 (write_nis_obj): Use "c" and "e" in fopen.
79378
79379 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79380
79381 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79382
79383 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79384
79385 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79386
79387 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79388 locale.alias.
79389
79390 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79391
79392 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79393
79394 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79395
79396 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79397 file parsing and set FD_CLOEXEC.
79398
79399 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79400
79401 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79402
79403 2011-11-14 Andreas Schwab <schwab@redhat.com>
79404
79405 * malloc/arena.c (arena_get2): Don't call reused_arena when
79406 _int_new_arena failed.
79407
79408 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79409
79410 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79411 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79412 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79413 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79414 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79415 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79416 to compile strcasecmp and strncasecmp.
79417 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79418 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79419
79420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79421
79422 2011-11-13 Ulrich Drepper <drepper@gmail.com>
79423
79424 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79425 locale-defines.sym to gen-as-const-headers.
79426 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79427 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79429 to compile strcasecmp and strncasecmp.
79430 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79431 strcasecmp_l and strncasecmp_l.
79432 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79433 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79434 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79435 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79436 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79437 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79438 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79439 * sysdeps/i386/i686/multiarch/strncase.S: New file.
79440 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79441 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79442 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79443
79444 2011-11-12 Ulrich Drepper <drepper@gmail.com>
79445
79446 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79447 result of SYSDEP_GETTIME_CPU to retval.
79448 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79449 parameter list to macro. Remove trailing semicolon. Adjust users.
79450
79451 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79452 variable.
79453
79454 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79455 mantissa words.
79456 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79457
79458 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79459 from unused variable.
79460
79461 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79462 DWARF definitions.
79463 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79464 for assembling.
79465
79466 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79467 over namespaces.
79468
79469 * sunrpc/rpc_prot.c (rejected): Fix case value.
79470
79471 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79472 unsigned long long int to avoid warnings in shift.
79473
79474 * posix/regex_internal.c (re_string_reconstruct): Actually use result
79475 of use of trans.
79476 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79477 variable tmp.
79478
79479 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79480 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79481 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79482
79483 * nis/nis_table.c (nis_list): Use variable of correct type for
79484 result of __follow_path call.
79485
79486 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79487
79488 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79489 of math functions ceil, trunc, floor, round, and sqrt, when
79490 avaliable on the platform.
79491 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79492 name clash.
79493 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79494 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79495 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79496
79497 2011-10-30 Marek Polacek <mpolacek@redhat.com>
79498
79499 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79500 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79501
79502 2011-11-11 Roland McGrath <roland@hack.frob.com>
79503
79504 * include/unistd.h: Fix __readlink return type.
79505 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79506
79507 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79508
79509 * stdlib/ucontext.h: Undo last change for makecontext.
79510
79511 2011-11-11 Andreas Schwab <schwab@redhat.com>
79512
79513 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79514
79515 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79516 * setjmp/setjmp.h: Mark functions as non-leaf.
79517 * setjmp/bits/setjmp2.h: Likewise.
79518 * stdlib/ucontext.h: Likewise.
79519
79520 2011-11-10 Andreas Schwab <schwab@redhat.com>
79521
79522 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79523 (reused_arena): Don't check arena limit.
79524 (arena_get2): Atomically check arena limit.
79525
79526 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79527
79528 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79529 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79530
79531 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79532 instructions.
79533
79534 2011-11-07 Andreas Schwab <schwab@redhat.com>
79535
79536 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79537 handler when locking.
79538
79539 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79540 Fix size of allocated buffer.
79541
79542 2011-11-04 Andreas Schwab <schwab@redhat.com>
79543
79544 [BZ #10103]
79545 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79546 declarations for long double functions.
79547 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79548
79549 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79550
79551 2011-11-03 Andreas Schwab <schwab@redhat.com>
79552
79553 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79554 installed.
79555
79556 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79557 is disabled.
79558
79559 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79560
79561 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79562
79563 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79564
79565 * include/alloca.h (stackinfo_alloca_round): Define.
79566 (extend_alloca): Use it.
79567 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79568 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79569 here.
79570
79571 * scripts/check-local-headers.sh: Ignore libaudit.h.
79572
79573 * nscd/Makefile (extra-objs): Make recursively expanded.
79574
79575 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79576
79577 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79578 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79579
79580 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79581 * posix/tst-rfc3484-2.c: Likewise.
79582 * posix/tst-rfc3484-3.c: Likewise.
79583
79584 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79585 process_vm_writev.
79586 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79587 process_vm_writev.
79588 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79589 process_vm_writev from libc using GLIBC_2.15 version.
79590
79591 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79592
79593 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79594
79595 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79596 stack usage.
79597
79598 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79599
79600 [BZ #13367]
79601 * nss/getent.c (initgroups_keys): Show error message in case no group
79602 names are given.
79603
79604 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79605 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79606 __bump_nl_timestamp.
79607 * nscd/connections (nscd_init): When host database is served open
79608 netlink socket and request notification about configuration changes.
79609 (main_loop_poll): Track netlink file descriptor and bump timestamp
79610 in case data becomes available.
79611 (main_loop_epoll): Likewise.
79612 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79613 (database_pers_head): Add extra_data fileds.
79614 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79615 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79616 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79617 Adjust caller.
79618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79619 in6ai data, call __free_in6ai.
79620 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79621 Add -DHAVE_NETLINK.
79622 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79623 interface information. Reuse previous data if netlink timestamp
79624 is not changed.
79625 (__bump_nl_timestamp): New function.
79626 (__free_in6ai): New function.
79627
79628 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79629
79630 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79631 close_not_cancel_no_status here.
79632 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79633
79634 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79635
79636 [BZ #13276]
79637 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79638 return value.
79639
79640 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79641 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79642 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79643
79644 2011-07-03 Andreas Jaeger <aj@suse.de>
79645
79646 [BZ #10709]
79647 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79648 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79649 * math/libm-test.inc (sin_test): Add test case.
79650
79651 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79652
79653 [BZ #13337]
79654 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79655 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79656
79657 * elf/chroot_canon.c (chroot_canon): Cleanups.
79658
79659 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79660
79661 [BZ #13335]
79662 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79663 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79664
79665 * string/test-strchr.c: Make usable for strchrnul testing.
79666 * string/test-strchrnul.c: New file.
79667 * string/Makefile (strop-tests): Add strchrnul.
79668
79669 * po/it.po: Update from translation team.
79670 * po/es.po: Likewise.
79671
79672 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79673
79674 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79675 the three constants needed as parameters. Drop the others.
79676 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79677 __m128i_strloadu_tolower.
79678 Create and initialize variable zero and use it in all the places
79679 where _mm_setzero_si128 was used.
79680
79681 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79682 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79683 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79684 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79685 anymore.
79686 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79687 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79688 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79689 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79690 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79691 __mpranred, __mptan.
79692 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79693 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79694 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79695 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79696 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79697 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79699 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79700 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79701
79702 2011-10-28 Andreas Schwab <schwab@redhat.com>
79703
79704 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79705 redefine if SHARED.
79706 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79707
79708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79709 wide char related routines to wcsmbs subdir.
79710
79711 2011-10-27 Andreas Schwab <schwab@redhat.com>
79712
79713 [BZ #13344]
79714 * misc/sys/cdefs.h (__THROWNL): Define.
79715 * posix/unistd.h: Use __THREADNL instead of __THREAD
79716 for memory synchronization functions.
79717
79718 2011-10-26 Roland McGrath <roland@hack.frob.com>
79719
79720 [BZ #13349]
79721 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79722 doesn't exist.
79723 * manual/stdio.texi (Obstack Streams): Node removed.
79724
79725 2011-10-26 Andreas Schwab <schwab@redhat.com>
79726
79727 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79728 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79729 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79730
79731 * math/math_private.h (math_force_eval): Allow non-addressable
79732 arguments.
79733 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79734
79735 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79736
79737 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79738 file is not needed.
79739
79740 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79742 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79743 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79744 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79745 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79746 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79747 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79748 Add AVX variants.
79749 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79750 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79751 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79752 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79753 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79754 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79755 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79756 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79757 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79758 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79759 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79760 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79761 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79762 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79763 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79764 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79765 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79766 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79767 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79768
79769 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79770 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
79771
79772 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79773 place. Use VEX encoding when compiling for AVX.
79774
79775 2011-10-25 Andreas Schwab <schwab@redhat.com>
79776
79777 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79778 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79779
79780 * string/test-strchr.c (do_test): Don't generate NUL bytes.
79781
79782 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79783
79784 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79785 useless if() expression.
79786 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79787 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79788 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79789 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79790 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79791 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79792 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79793 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79796 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79797 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79798 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79799 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79800 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79801 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79802 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79803 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79804 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79805
79806 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79807
79808 2011-10-25 Andreas Schwab <schwab@redhat.com>
79809
79810 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79811 condition.
79812 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79813
79814 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79815
79816 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79817 .text section. Avoid duplicate constants.
79818 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79820 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79821 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79822 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79826 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79827 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79828 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79829 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79830 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79831 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79832 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79833 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79834 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79835 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79836 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79837 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79838 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79839 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79840 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79841 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79842 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79843 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79844 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79845 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79846 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79847 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79848 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79849 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79851 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79852 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79853 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79854 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79855 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79856 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79857 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79859 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79860 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79861 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79862 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79863
79864 2011-10-24 Ulrich Drepper <drepper@gmail.com>
79865
79866 * sysdeps/x86_64/dla.h: Move to ...
79867 * sysdeps/x86_64/fpu/dla.h: ...here.
79868 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79869 situations. Use __builtin_fma only for gcc 4.6 and up.
79870
79871 * config.make.in: Add have-mfma4 entry.
79872 * configure.in: Substitute libc_cv_cc_fma4.
79873 * math/Makefile (dbl-only-routines): Add sincostab.
79874 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79875 Use __sincostab not sincos.
79876 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79877 name is a macro.
79878 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79881 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
79882 using __copysign.
79883 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
79884 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
79885 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79886 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79887 and __inv.
79888 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79889 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79890 __copysign.
79891 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
79892 define aliases when function name is a macro.
79893 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79894 sysdeps/ieee754/dbl-64/sincos.tbl.
79895 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79896 fma4-enabled routines.
79897 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79898 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79899 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79900 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79901 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79902 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79903 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79904 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79905 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79906 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79907 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79908 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79909 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79910 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79911 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79912 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79913 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79914 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79915 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79916 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79917 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79918 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79919 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79920 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79922 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79923 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79924 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79925 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79926 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79927
79928 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79929 rename.
79930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79938
79939 2011-10-24 Andreas Schwab <schwab@redhat.com>
79940
79941 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79942
79943 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79944
79945 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79946
79947 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79948 prediction.
79949 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79950
79951 * string/strnlen.c: Don't define STRNLEN, reverse logic.
79952 Remove unused variable magic_bits.
79953 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79954
79955 * string/strnlen.c: Define and use STRNLEN macro.
79956 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79957 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79958 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79959 * wcsmbs/wcslen.c: Define and use WCSLEN.
79960 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79961 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79962 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79963 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79964 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79965 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79966 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79967
79968 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79969
79970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79971 strnlen-sse2-no-bsf.
79972 Rename strlen-no-bsf to strlen-sse2-no-bsf.
79973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79974 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79975 Add strnlen support.
79976 (USE_AS_STRNLEN): New macro.
79977 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79978 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79979 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79980 * sysdeps/x86_64/wcslen.S: New file.
79981
79982 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
79983
79984 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79985 XMM-moves are used for copying on small sizes.
79986
79987 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79988
79989 * wcsmbs/Makefile (strop-tests): Add wcschr.
79990 * wcsmbs/test-wcschr.c: New file.
79991 * string/test-strchr.c: Update.
79992 Add wcschr support.
79993 (WIDE): New macro.
79994
79995 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79996
79997 * wcsmbs/Makefile (strop-tests): Add wcslen.
79998 * wcsmbs/test-wcslen.c: New file.
79999 * string/test-strlen.c: Update.
80000 Add wcslen support.
80001 (WIDE): New macro.
80002
80003 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80004
80005 * po/it.po: Update from translation team.
80006
80007 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80008
80009 * sysdeps/x86_64/wcscmp.S: Update.
80010 Fix wrong comparison semantics.
80011 wcscmp shall use signed comparison not unsigned.
80012 Don't use substraction to avoid overflow bug.
80013 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80014 * wcsmbc/wcscmp.c: Likewise.
80015 * string/test-strcmp.c: Likewise.
80016 Add new tests to check cases with negative values.
80017
80018 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80019
80020 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80021 * sysdeps/x86_64/dla.h: ...here. New file.
80022 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80027 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80029 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80031
80032 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
80033
80034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80035 __ynl_finite aliases.
80036
80037 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80038
80039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80040
80041 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80042 define DLA_FMA.
80043 [DLA_FMA] (EMULV): Use DLA_FMA.
80044 [DLA_FMA] (MUL12): Use EMULV.
80045 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80046 that are not needed.
80047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80054
80055 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
80056
80057 * math/s_nan.c: Undef __nan.
80058 * math/s_nanf.c: Undef __nanf.
80059 * math/s_nanl.c: Undef __nanl.
80060 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80061 "math_private.h".
80062
80063 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80064
80065 * math/s_catan.c: Add branch predictions.
80066 * math/s_catanf.c: Likewise.
80067 * math/s_catanh.c: Likewise.
80068 * math/s_catanhf.c: Likewise.
80069 * math/s_catanhl.c: Likewise.
80070 * math/s_catanl.c: Likewise.
80071 * math/s_cexp.c: Likewise.
80072 * math/s_cexpf.c: Likewise.
80073 * math/s_cexpl.c: Likewise.
80074 * math/s_clog.c: Likewise.
80075 * math/s_clog10.c: Likewise.
80076 * math/s_clog10f.c: Likewise.
80077 * math/s_clog10l.c: Likewise.
80078 * math/s_clogf.c: Likewise.
80079 * math/s_clogl.c: Likewise.
80080 * math/s_csqrt.c: Likewise.
80081 * math/s_csqrtf.c: Likewise.
80082 * math/s_csqrtl.c: Likewise.
80083 * math/s_ctanf.c: Likewise.
80084 * math/s_ctanh.c: Likewise.
80085 * math/s_ctanhf.c: Likewise.
80086 * math/s_ctanhl.c: Likewise.
80087 * math/s_ctanl.c: Likewise.
80088
80089 * math/math_private.h: Define __nan, __nanf, __nanl.
80090 * math/s_cacosh.c: Include <math_private.h>.
80091 * math/s_cacoshl.c: Likewise.
80092 * math/s_casinh.c: Likewise.
80093 * math/s_casinhf.c: Likewise.
80094 * math/s_casinhl.c: Likewise.
80095 * math/s_ccos.c: Rely entire on ccosh.
80096 * math/s_ccosf.c: Rely entire on ccoshf.
80097 * math/s_ccosl.c: Rely entirely on ccoshl.
80098 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
80099 Remove tests for FE_INVALID.
80100 * math/s_ccoshf.c: Likewise.
80101 * math/s_ccoshl.c: Likewise.
80102 * math/s_csin.c: Likewise.
80103 * math/s_csinf.c: Likewise.
80104 * math/s_csinh.c Likewise.
80105 * math/s_csinhf.c: Likewise.
80106 * math/s_csinhl.c: Likewise.
80107 * math/s_csinl.c: Likewise.
80108 * math/s_ctan.c: Likewise.
80109 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80110 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80111 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80112
80113 2011-10-21 Ulrich Drepper <drepper@gmail.com>
80114
80115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80116 compilation problems.
80117
80118 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80119 __builtin_expect.
80120
80121 2011-10-20 Ulrich Drepper <drepper@gmail.com>
80122
80123 * sysdeps/i386/configure.in: Test for -mfma4 option.
80124 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80125 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80126 COMMON_CPUID_INDEX_80000001.
80127 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80128 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80129 use it if FMA3 is not supported.
80130 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80131
80132 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80133 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80134
80135 2011-10-20 Andreas Schwab <schwab@redhat.com>
80136
80137 [BZ #12892]
80138 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80139 it would create a cycle with a link time dependency.
80140
80141 2011-10-19 Ulrich Drepper <drepper@gmail.com>
80142
80143 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80144 instruction.
80145 * string/Makefile (strop-tests): Add rawmemchr.
80146 * string/test-rawmemchr.c: New file.
80147
80148 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80149 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
80150 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
80151 when compiling str{,n}casecmp and when AVX is available. Hook up
80152 new optimized code in initializers.
80153
80154 2011-10-19 Andreas Schwab <schwab@redhat.com>
80155
80156 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80157 __feraiseexcept instead of feraiseexcept.
80158
80159 2011-10-18 Ulrich Drepper <drepper@gmail.com>
80160
80161 * math/math_private.h: Define defaults for libc_fetestexcept and
80162 libc_feupdateenv.
80163 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80164 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80165 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80166 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80167 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80168 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80169 libc_fetestexcept and libc_feupdateenv.
80170
80171 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80172 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80173 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80174 * sysdeps/x86_64/fpu/math_private.h: Define special version of
80175 libc_feholdexcept_setround.
80176
80177 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80178 Add s_nearbyint-c and s_nearbyintf-c.
80179 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80180 nearbyintf inlines.
80181 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80182 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80183 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80184 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80185
80186 * math/math_private.h: Define defaults for libc_fegetround,
80187 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80188 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80189 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80190 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80191 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80192 standard functions.
80193 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80194 Remove comments and hacks for old compiler versions.
80195 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80196 libc_fegetround, libc_fesetround, libc_feholdexcept, and
80197 libc_feholdexceptl.
80198
80199 2011-10-18 Andreas Schwab <schwab@redhat.com>
80200
80201 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80202 (__feraiseexcept_renamed): Add __NTH.
80203 (feraiseexcept): Add __NTH. Rename local variables to fix
80204 namespace violations.
80205
80206 2011-10-17 Ulrich Drepper <drepper@gmail.com>
80207
80208 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80209
80210 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80211
80212 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80213 recently added interfaces.
80214 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80215
80216 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80217 about macro parameter expansion.
80218
80219 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80220 __NO_MATH_INLINES is defined. Cleanups.
80221
80222 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80223 and __floorf is target has SSE4.1.
80224 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80225 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80226 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80227 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80228
80229 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80230 name.
80231 (floorf): Likewise.
80232
80233 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80234
80235 2011-10-17 Andreas Schwab <schwab@redhat.com>
80236
80237 * misc/sys/cdefs.h: Fix last change.
80238
80239 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80240 database lookup.
80241
80242 2011-10-16 Ulrich Drepper <drepper@gmail.com>
80243
80244 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80245
80246 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80247 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80248 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80249 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80251 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80252 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80253 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80254 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80255 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80256 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80257 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80258 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80259 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80260 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80261 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80262 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80263 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80264 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80265 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80266 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80267 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80268
80269 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80270 ceil, ceilf, floor, floorf.
80271
80272 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80273 Perform IRELATIVE relocations last.
80274
80275 * elf/do-rel.h: Add another parameter nrelative, replacing the
80276 local variable with the same name. Change name of the function
80277 to end in Rel or Rela (uppercase).
80278 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80279 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
80280 elf_dynamic_do_##reloc function.
80281
80282 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80283
80284 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80285 is sufficient, at least on modern CPUs.
80286
80287 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80288
80289 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80290 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80291
80292 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80293 __expl_finite.
80294 * math/bits/math-finite.h: Add entries for exp.
80295 * math/e_expl.c: Add __*_finite alias.
80296 * sysdeps/i386/fpu/e_exp.S: Likewise.
80297 * sysdeps/i386/fpu/e_expf.S: Likewise.
80298 * sysdeps/i386/fpu/e_expl.c: Likewise.
80299 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80300 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80301 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80303 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80304 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80305 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80306
80307 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80308 is sufficient, at least on modern CPUs.
80309
80310 * ctype/ctype-info.c (__ctype_init): Define.
80311 * include/ctype.h (__ctype_init): Declare.
80312 (__ctype_b_loc): The variable is always initialized.
80313 (__ctype_toupper_loc): Likewise.
80314 (__ctype_tolower_loc): Likewise.
80315 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80316 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80317
80318 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
80319
80320 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80321
80322 * configure.in: Also look in $cxxmachine/include for C++ system
80323 headers.
80324
80325 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80326
80327 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80328 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80329 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80330 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
80331 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80332 (USE_AS_WMEMCMP): New macro.
80333 Fixing indents.
80334 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80335 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80336 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80337 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80339 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80340 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80341 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80342 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80343 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80344 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80345 (USE_AS_WMEMCMP): New macro.
80346 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80347 * sysdeps/string/test-memcmp.c: Update.
80348 Fix simple_wmemcmp.
80349 Add new tests.
80350 * wcsmbs/wmemcmp.c: Update.
80351 (WMEMCMP): New macro.
80352 Fix overflow bug.
80353
80354 2011-10-12 Andreas Jaeger <aj@suse.de>
80355
80356 [BZ #13268]
80357 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80358
80359 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80360
80361 * libio/iofwide.c (do_length): Avoid warning.
80362
80363 * ctype/ctype.h (__isctype_f): Add missing __THROW.
80364
80365 2011-10-14 Ulrich Drepper <drepper@gmail.com>
80366
80367 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80368
80369 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80370 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80371 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80372 * sysdeps/i386/i686/fpu/e_log.S: New file.
80373 * sysdeps/i386/i686/fpu/e_logf.S: New file.
80374 * sysdeps/i386/i686/fpu/e_logl.S: New file.
80375
80376 * ctype/ctype.h: Add support for inlined isXXX functions when
80377 compiling C++ code.
80378
80379 2011-10-14 Andreas Schwab <schwab@redhat.com>
80380
80381 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80382
80383 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80384
80385 2011-10-13 Roland McGrath <roland@hack.frob.com>
80386
80387 [BZ #13291]
80388 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80389
80390 2011-10-13 Andreas Schwab <schwab@redhat.com>
80391
80392 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80393 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80394 feraiseexcept.
80395
80396 * sysdeps/x86_64/memrchr.S: Check for zero size.
80397
80398 * string/stratcliff.c: Add memrchr tests.
80399
80400 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80401
80402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80403 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80404 rawmemchr-sse2 rawmemchr-sse2-bsf.
80405 * sysdeps/i386/i686/multiarch/memchr.S: New file.
80406 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80407 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80408 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80409 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80410 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80411 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80412 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80413 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80414 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80415 * string/memrchr.c (MEMRCHR): New macro.
80416
80417 2011-10-12 Ulrich Drepper <drepper@gmail.com>
80418
80419 Add integration with gcc's -ffinite-math-only and optimize wrapper
80420 functions in libm.
80421 * Versions.def: Define GLIBC_2.15 version for libm.
80422 * math/Makefile (headers): Add bits/math-finite.h.
80423 * math/bits/math-finite.h: New file.
80424 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80425 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80426 * math/e_acoshl.c: Add __*_finite alias.
80427 * math/e_acosl.c: Likewise.
80428 * math/e_asinl.c: Likewise.
80429 * math/e_atan2l.c: Likewise.
80430 * math/e_atanhl.c: Likewise.
80431 * math/e_coshl.c: Likewise.
80432 * math/e_exp10.c: Likewise.
80433 * math/e_exp10f.c: Likewise.
80434 * math/e_exp10l.c: Likewise.
80435 * math/e_exp2l.c: Likewise.
80436 * math/e_fmodl.c: Likewise.
80437 * math/e_gammal_r.c: Likewise.
80438 * math/e_hypotl.c: Likewise.
80439 * math/e_j0l.c: Likewise.
80440 * math/e_j1l.c: Likewise.
80441 * math/e_jnl.c: Likewise.
80442 * math/e_lgammal_r.c: Likewise.
80443 * math/e_log10l.c: Likewise.
80444 * math/e_log2l.c: Likewise.
80445 * math/e_logl.c: Likewise.
80446 * math/e_powl.c: Likewise.
80447 * math/e_sinhl.c: Likewise.
80448 * math/e_sqrtl.c: Likewise.
80449 * math/e_scalb.c: Completely rewritten and optimized.
80450 * math/e_scalbf.c: Likewise.
80451 * math/e_scalbl.c: Likewise.
80452 * math/w_acos.c: Likewise.
80453 * math/w_acosf.c: Likewise.
80454 * math/w_acosl.c: Likewise.
80455 * math/w_acosh.c: Likewise.
80456 * math/w_acoshf.c: Likewise.
80457 * math/w_acoshl.c: Likewise.
80458 * math/w_asin.c: Likewise.
80459 * math/w_asinf.c: Likewise.
80460 * math/w_asinl.c: Likewise.
80461 * math/w_atan2.c: Likewise.
80462 * math/w_atan2f.c: Likewise.
80463 * math/w_atan2l.c: Likewise.
80464 * math/w_atanh.c: Likewise.
80465 * math/w_atanhf.c: Likewise.
80466 * math/w_atanhl.c: Likewise.
80467 * math/w_exp10.c: Likewise.
80468 * math/w_exp10f.c: Likewise.
80469 * math/w_exp10l.c: Likewise.
80470 * math/w_fmod.c: Likewise.
80471 * math/w_fmodf.c: Likewise.
80472 * math/w_fmodl.c: Likewise.
80473 * math/w_j0.c: Likewise.
80474 * math/w_j0f.c: Likewise.
80475 * math/w_j0l.c: Likewise.
80476 * math/w_j1.c: Likewise.
80477 * math/w_j1f.c: Likewise.
80478 * math/w_j1l.c: Likewise.
80479 * math/w_jn.c: Likewise.
80480 * math/w_jnf.c: Likewise.
80481 * math/w_log.c: Likewise.
80482 * math/w_logf.c: Likewise.
80483 * math/w_logl.c: Likewise.
80484 * math/w_log10.c: Likewise.
80485 * math/w_log10f.c: Likewise.
80486 * math/w_log10l.c: Likewise.
80487 * math/w_log2.c: Likewise.
80488 * math/w_log2f.c: Likewise.
80489 * math/w_log2l.c: Likewise.
80490 * math/w_pow.c: Likewise.
80491 * math/w_powf.c: Likewise.
80492 * math/w_powl.c: Likewise.
80493 * math/w_remainder.c: Likewise.
80494 * math/w_remainderf.c: Likewise.
80495 * math/w_remainderl.c: Likewise.
80496 * math/w_scalb.c: Likewise.
80497 * math/w_scalbf.c: Likewise.
80498 * math/w_scalbl.c: Likewise.
80499 * math/w_sqrt.c: Likewise.
80500 * math/w_sqrtf.c: Likewise.
80501 * math/w_sqrtl.c: Likewise.
80502 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80503 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80504 used.
80505 * math/math_private.h: Declare __kernel_standard_f.
80506 * math/w_cosh.c: Remove cruft and optimize a bit.
80507 * math/w_coshf.c: Likewise.
80508 * math/w_coshl.c: Likewise.
80509 * math/w_exp2.c: Likewise.
80510 * math/w_exp2f.c: Likewise.
80511 * math/w_exp2l.c: Likewise.
80512 * math/w_hypot.c: Likewise.
80513 * math/w_hypotf.c: Likewise.
80514 * math/w_hypotl.c: Likewise.
80515 * math/w_lgamma.c: Likewise.
80516 * math/w_lgamma_r.c: Likewise.
80517 * math/w_lgammaf.c: Likewise.
80518 * math/w_lgammaf_r.c: Likewise.
80519 * math/w_lgammal.c: Likewise.
80520 * math/w_lgammal_r.c: Likewise.
80521 * math/w_sinh.c: Likewise.
80522 * math/w_sinhf.c: Likewise.
80523 * math/w_sinhl.c: Likewise.
80524 * math/w_tgamma.c: Likewise.
80525 * math/w_tgammaf.c: Likewise.
80526 * math/w_tgammal.c: Likewise.
80527 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80528 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80529 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80530 Minor optimizations. Pretty printing. Remove cruft.
80531 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80532 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80533 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80534 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80535 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80536 * sysdeps/i386/fpu/e_asin.S: Likewise.
80537 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80538 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80539 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80540 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80541 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80542 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80543 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80544 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80545 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80546 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80547 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80548 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80549 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80550 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80551 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80552 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80553 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80554 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80555 * sysdeps/i386/fpu/e_log.S: Likewise.
80556 * sysdeps/i386/fpu/e_log10.S: Likewise.
80557 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80558 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80559 * sysdeps/i386/fpu/e_log2.S: Likewise.
80560 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80561 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80562 * sysdeps/i386/fpu/e_logf.S: Likewise.
80563 * sysdeps/i386/fpu/e_logl.S: Likewise.
80564 * sysdeps/i386/fpu/e_pow.S: Likewise.
80565 * sysdeps/i386/fpu/e_powf.S: Likewise.
80566 * sysdeps/i386/fpu/e_powl.S: Likewise.
80567 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80568 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80569 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80570 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80571 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80572 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80573 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80574 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80575 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80576 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80577 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80579 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80580 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80581 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80582 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80583 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80584 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80585 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80586 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80587 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80588 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80589 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80590 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80591 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80593 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80594 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80596 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80597 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80598 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80599 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80600 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80601 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80602 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80603 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80604 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80605 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80606 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80607 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80608 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80609 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80610 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80611 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80612 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80613 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80614 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80615 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80616 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80617 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80618 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80619 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80620 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80621 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80622 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80623 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80624 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80625 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80626 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80627 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80628 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80629 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80630 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80631 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80632 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80633 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80634 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80635 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80636 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80638 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80639 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80640 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80641 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80643 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80644 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80645 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80646 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80647 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80648 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80650 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80652 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80653 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80654 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80655 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80656 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80657 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80658 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80659 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80660 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80661 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80663 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80664 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80665 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80666 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80667 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80668 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80669 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80670 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80671 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80672 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80673 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80674 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80675 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80676 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80677 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80678 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80679 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80680 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80681 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80682 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80683 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80684 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80685 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80686 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
80687 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80688 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80689 (__isnanf): Likewise.
80690 (__isinf_ns): Likewise.
80691 (__isinf_nsf): Likewise.
80692 (__finite): Likewise.
80693 (__finitef): Likewise.
80694 (__ieee754_sqrt): Define as macro.
80695 (__ieee754_sqrtf): Define as macro.
80696 (__ieee754_sqrtl): Define as macro.
80697 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80698 inlined copy.
80699 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80700 __FINITE_MATH_ONLY__ consistent.
80701 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80702
80703 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
80704
80705 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80706 of rawmemchr.
80707
80708 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80709
80710 2011-10-09 Ulrich Drepper <drepper@gmail.com>
80711
80712 * po/ja.po: Update from translation team.
80713
80714 2011-10-08 Roland McGrath <roland@hack.frob.com>
80715
80716 * locale/programs/locarchive.c (prepare_address_space): New function.
80717 (create_archive, enlarge_archive, open_archive): Use it.
80718
80719 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80720 inside [SHARED], where it is used.
80721
80722 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80723
80724 * nss/getent.c (netgroup_keys): Remove unused variable.
80725 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80726
80727 2011-10-08 Ulrich Drepper <drepper@gmail.com>
80728
80729 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80730 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80732 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80733 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80734 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80735 * math/Makefile (libm-calls): Add s_isinf_ns.
80736 * math/divtc3.c: Use __isinf_nsl instead of isinf.
80737 * math/multc3.c: Likewise.
80738 * math/s_casin.c: Likewise.
80739 * math/s_casinf.c: Likewise.
80740 * math/s_casinl.c: Likewise.
80741 * math/s_ccos.c: Likewise.
80742 * math/s_ccosf.c: Likewise.
80743 * math/s_ccosl.c: Likewise.
80744 * math/s_ctan.c: Likewise.
80745 * math/s_ctanf.c: Likewise.
80746 * math/s_ctanh.c: Likewise.
80747 * math/s_ctanhf.c: Likewise.
80748 * math/s_ctanhl.c: Likewise.
80749 * math/s_ctanl.c: Likewise.
80750 * math/w_fmod.c: Likewise.
80751 * math/w_fmodf.c: Likewise.
80752 * math/w_fmodl.c: Likewise.
80753 * math/w_remainder.c: Likewise.
80754 * math/w_remainderf.c: Likewise.
80755 * math/w_remainderl.c: Likewise.
80756 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80757 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80758 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80760 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80761 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80762 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80763 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80764
80765 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80766 of the number.
80767 * stdio-common/printf_fphex.c: Likewise.
80768 * stdio-common/printf_size.c: Likewise.
80769
80770 * math/e_exp10.c: Include math_private.h using <...> not "...".
80771 * math/e_exp10f.c: Likewise.
80772 * math/e_exp10l.c: Likewise.
80773 * math/e_exp2l.c: Likewise.
80774 * math/e_j0l.c: Likewise.
80775 * math/e_j1l.c: Likewise.
80776 * math/e_jnl.c: Likewise.
80777 * math/e_lgammal_r.c: Likewise.
80778 * math/e_rem_pio2l.c: Likewise.
80779 * math/e_scalb.c: Likewise.
80780 * math/e_scalbf.c: Likewise.
80781 * math/e_scalbl.c: Likewise.
80782 * math/k_cosl.c: Likewise.
80783 * math/k_sinl.c: Likewise.
80784 * math/k_tanl.c: Likewise.
80785 * math/s_cacoshf.c: Likewise.
80786 * math/s_catan.c: Likewise.
80787 * math/s_catanf.c: Likewise.
80788 * math/s_catanh.c: Likewise.
80789 * math/s_catanhf.c: Likewise.
80790 * math/s_catanhl.c: Likewise.
80791 * math/s_catanl.c: Likewise.
80792 * math/s_ccosh.c: Likewise.
80793 * math/s_ccoshf.c: Likewise.
80794 * math/s_ccoshl.c: Likewise.
80795 * math/s_cexp.c: Likewise.
80796 * math/s_cexpf.c: Likewise.
80797 * math/s_cexpl.c: Likewise.
80798 * math/s_clog.c: Likewise.
80799 * math/s_clog10.c: Likewise.
80800 * math/s_clog10f.c: Likewise.
80801 * math/s_clog10l.c: Likewise.
80802 * math/s_clogf.c: Likewise.
80803 * math/s_clogl.c: Likewise.
80804 * math/s_csin.c: Likewise.
80805 * math/s_csinf.c: Likewise.
80806 * math/s_csinh.c: Likewise.
80807 * math/s_csinhf.c: Likewise.
80808 * math/s_csinhl.c: Likewise.
80809 * math/s_csinl.c: Likewise.
80810 * math/s_csqrt.c: Likewise.
80811 * math/s_csqrtf.c: Likewise.
80812 * math/s_csqrtl.c: Likewise.
80813 * math/s_ctan.c: Likewise.
80814 * math/s_ctanf.c: Likewise.
80815 * math/s_ctanh.c: Likewise.
80816 * math/s_ctanhf.c: Likewise.
80817 * math/s_ctanhl.c: Likewise.
80818 * math/s_ctanl.c: Likewise.
80819 * math/s_ldexp.c: Likewise.
80820 * math/s_ldexpf.c: Likewise.
80821 * math/s_ldexpl.c: Likewise.
80822 * math/s_significand.c: Likewise.
80823 * math/s_significandf.c: Likewise.
80824 * math/s_significandl.c: Likewise.
80825 * math/w_acos.c: Likewise.
80826 * math/w_acosf.c: Likewise.
80827 * math/w_acosh.c: Likewise.
80828 * math/w_acoshf.c: Likewise.
80829 * math/w_acoshl.c: Likewise.
80830 * math/w_acosl.c: Likewise.
80831 * math/w_asin.c: Likewise.
80832 * math/w_asinf.c: Likewise.
80833 * math/w_asinl.c: Likewise.
80834 * math/w_atan2.c: Likewise.
80835 * math/w_atan2f.c: Likewise.
80836 * math/w_atan2l.c: Likewise.
80837 * math/w_atanh.c: Likewise.
80838 * math/w_atanhf.c: Likewise.
80839 * math/w_atanhl.c: Likewise.
80840 * math/w_cosh.c: Likewise.
80841 * math/w_coshf.c: Likewise.
80842 * math/w_coshl.c: Likewise.
80843 * math/w_dremf.c: Likewise.
80844 * math/w_exp10.c: Likewise.
80845 * math/w_exp10f.c: Likewise.
80846 * math/w_exp10l.c: Likewise.
80847 * math/w_exp2.c: Likewise.
80848 * math/w_exp2f.c: Likewise.
80849 * math/w_fmod.c: Likewise.
80850 * math/w_fmodf.c: Likewise.
80851 * math/w_fmodl.c: Likewise.
80852 * math/w_hypot.c: Likewise.
80853 * math/w_hypotf.c: Likewise.
80854 * math/w_hypotl.c: Likewise.
80855 * math/w_j0.c: Likewise.
80856 * math/w_j0f.c: Likewise.
80857 * math/w_j0l.c: Likewise.
80858 * math/w_j1.c: Likewise.
80859 * math/w_j1f.c: Likewise.
80860 * math/w_j1l.c: Likewise.
80861 * math/w_jn.c: Likewise.
80862 * math/w_jnf.c: Likewise.
80863 * math/w_jnl.c: Likewise.
80864 * math/w_lgamma.c: Likewise.
80865 * math/w_lgamma_r.c: Likewise.
80866 * math/w_lgammaf.c: Likewise.
80867 * math/w_lgammaf_r.c: Likewise.
80868 * math/w_lgammal.c: Likewise.
80869 * math/w_lgammal_r.c: Likewise.
80870 * math/w_log.c: Likewise.
80871 * math/w_log10.c: Likewise.
80872 * math/w_log10f.c: Likewise.
80873 * math/w_log10l.c: Likewise.
80874 * math/w_log2.c: Likewise.
80875 * math/w_log2f.c: Likewise.
80876 * math/w_log2l.c: Likewise.
80877 * math/w_logf.c: Likewise.
80878 * math/w_logl.c: Likewise.
80879 * math/w_pow.c: Likewise.
80880 * math/w_powf.c: Likewise.
80881 * math/w_powl.c: Likewise.
80882 * math/w_remainder.c: Likewise.
80883 * math/w_remainderf.c: Likewise.
80884 * math/w_remainderl.c: Likewise.
80885 * math/w_scalb.c: Likewise.
80886 * math/w_scalbf.c: Likewise.
80887 * math/w_scalbl.c: Likewise.
80888 * math/w_sinh.c: Likewise.
80889 * math/w_sinhf.c: Likewise.
80890 * math/w_sinhl.c: Likewise.
80891 * math/w_sqrt.c: Likewise.
80892 * math/w_sqrtf.c: Likewise.
80893 * math/w_sqrtl.c: Likewise.
80894 * math/w_tgamma.c: Likewise.
80895 * math/w_tgammaf.c: Likewise.
80896 * math/w_tgammal.c: Likewise.
80897
80898 * po/ja.po: Update from translation team.
80899
80900 2011-09-29 Andreas Jaeger <aj@suse.de>
80901
80902 [BZ #13179]
80903 * sunrpc/netname.c (netname2host): Fix logic.
80904
80905 [BZ #6779]
80906 [BZ #6783]
80907 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80908 correctly.
80909 * math/w_remainder.c (__remainder): Likewise.
80910 * math/w_remainderf.c (__remainderf): Likewise.
80911 * math/libm-test.inc (remainder_test): Add test cases.
80912
80913 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80914
80915 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
80916 sdiv_qrnnd.
80917
80918 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80919
80920 * string/test-memcmp.c: Avoid unncessary #defines.
80921 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80922
80923 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80924
80925 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80926 Use new sse2 version for core i3 - i7 as it's faster
80927 than sse42 version.
80928 (bit_Prefer_PMINUB_for_stringop): New.
80929 * sysdeps/x86_64/rawmemchr.S: Update.
80930 Replace with faster SSE2 version.
80931 * sysdeps/x86_64/memrchr.S: New file.
80932 * sysdeps/x86_64/memchr.S: Update.
80933 Replace with faster SSE2 version.
80934
80935 2011-09-12 Marek Polacek <mpolacek@redhat.com>
80936
80937 * elf/dl-load.c (lose): Add cast to avoid warning.
80938
80939 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80940
80941 * po/ca.po: Update from translation team.
80942
80943 * inet/getnetgrent_r.c: Hook up nscd.
80944 * nscd/Makefile (routines): Add nscd_netgroup.
80945 (nscd-modules): Add netgroupcache.
80946 (CFLAGS-netgroupcache.c): Define.
80947 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80948 (cache_search): Add const to second parameter.
80949 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80950 INNETGR.
80951 (dbs): Add netgrdb entry.
80952 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80953 (verify_persistent_db): Handle netgrdb.
80954 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80955 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80956 GETFDNETGR.
80957 (netgroup_response_header): Define.
80958 (innetgroup_response_header): Define.
80959 (datahead): Add netgroup_response_header and innetgroup_response_header
80960 elements.
80961 * nscd/nscd.conf: Add entries for netgroup cache.
80962 * nscd/nscd.h (dbtype): Add netgrdb.
80963 (_PATH_NSCD_NETGROUP_DB): Define.
80964 (netgroup_iov_disabled): Declare.
80965 (xmalloc, xcalloc, xrealloc): Move declarations here.
80966 (cache_search): Adjust prototype.
80967 Add netgroup-related prototypes.
80968 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80969 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80970 (__nscd_innetgr): Declare.
80971 * nscd/selinux.c (perms): Use access_vector_t as element type and
80972 add netgroup-related initializers.
80973 * nscd/netgroupcache.c: New file.
80974 * nscd/nscd_netgroup.c: New file.
80975 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80976 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80977 For four parameters use innetgr.
80978 * nss/nss_files/files-init.c: Add definition and callback for netgr.
80979 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80980 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80981 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80982
80983 * nscd/connections.c (register_traced_file): Don't register file
80984 for disabled databases.
80985
80986 2011-10-06 Ulrich Drepper <drepper@gmail.com>
80987
80988 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80989
80990 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80991 from tree and freeing node.
80992
80993 2011-09-25 Jiri Olsa <jolsa@redhat.com>
80994
80995 * nss/nsswitch.c (__nss_database_lookup): Handle
80996 nss_parse_service_list out of memory case.
80997
80998 2011-09-15 Jiri Olsa <jolsa@redhat.com>
80999
81000 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81001 out of memory case.
81002
81003 2011-10-04 Andreas Schwab <schwab@redhat.com>
81004
81005 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81006 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81007 pass it down.
81008 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81009 elf_machine_rela, elf_machine_lazy_rel.
81010 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81011 (ELF_DYNAMIC_DO_REL): Likewise.
81012 (ELF_DYNAMIC_DO_RELA): Likewise.
81013 (ELF_DYNAMIC_RELOCATE): Likewise.
81014 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81015 to ELF_DYNAMIC_DO_REL.
81016 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81017 (dl_main): In trace mode always set __RTLD_NOIFUNC.
81018 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81019 elf_machine_rela.
81020 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81021 skip_ifunc, don't call ifunc function if non-zero.
81022 (elf_machine_rela): Likewise.
81023 (elf_machine_lazy_rel): Likewise.
81024 (elf_machine_lazy_rela): Likewise.
81025 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81026 (elf_machine_lazy_rel): Likewise.
81027 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81028 Likewise.
81029 (elf_machine_lazy_rel): Likewise.
81030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81031 Likewise.
81032 (elf_machine_lazy_rel): Likewise.
81033 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81034 (elf_machine_lazy_rel): Likewise.
81035 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81036 (elf_machine_lazy_rel): Likewise.
81037 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81038 (elf_machine_lazy_rel): Likewise.
81039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81040 (elf_machine_lazy_rel): Likewise.
81041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81042 (elf_machine_lazy_rel): Likewise.
81043 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81044 (elf_machine_lazy_rel): Likewise.
81045
81046 2011-09-28 Ulrich Drepper <drepper@gmail.com>
81047
81048 * nss/nss_files/files-init.c (_nss_files_init): Use static
81049 initialization for all the *_traced_file variables.
81050
81051 2011-09-28 Andreas Schwab <schwab@redhat.com>
81052
81053 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81054
81055 2011-09-27 Roland McGrath <roland@hack.frob.com>
81056
81057 [BZ #13226]
81058 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81059
81060 2011-09-27 Andreas Schwab <schwab@redhat.com>
81061
81062 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81063 Reread the line before reparsing it.
81064
81065 2011-09-26 Andreas Schwab <schwab@redhat.com>
81066
81067 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81068
81069 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
81070 Maxim Kuvyrkov <maxim@codesourcery.com>
81071 Joseph Myers <joseph@codesourcery.com>
81072
81073 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81074 if needed for __stack_chk_guard.
81075
81076 2011-09-19 Roland McGrath <roland@hack.frob.com>
81077
81078 * sysdeps/posix/spawni.c (script_execute): Always define it.
81079 It will be optimized away if unused.
81080 (maybe_script_execute): New function.
81081 (__spawni): Call it.
81082
81083 * Makerules: Don't include tls.make.
81084 (config-tls): Always set to thread.
81085 * tls.make.c: File removed.
81086
81087 2011-09-19 Mike Frysinger <vapier@gentoo.org>
81088
81089 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81090 * config.make.in (CPPFLAGS-config): New substituted variable.
81091
81092 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81093
81094 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81095
81096 [BZ #13192]
81097 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81098 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81099
81100 2011-09-15 Roland McGrath <roland@hack.frob.com>
81101
81102 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81103 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81104 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81105 (CALL_FAIL): Likewise.
81106 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81107 (CALL_FAIL): Macro removed.
81108 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81109
81110 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81111
81112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81113 for __FINITE_MATH_ONLY__ == 1.
81114
81115 2011-09-15 Andreas Schwab <schwab@redhat.com>
81116
81117 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81118 __ieee754_sqrt instead of sqrt.
81119 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81120 __ieee754_sqrtf instead of sqrtf.
81121 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81122 __floorf instead of floorf.
81123 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81124 __floorf, __truncf instead of floorf, truncf.
81125
81126 2011-09-14 Ulrich Drepper <drepper@gmail.com>
81127
81128 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81129
81130 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81131 __extern_always_inline.
81132 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81133 32-bit.
81134
81135 2011-09-14 Andreas Schwab <schwab@redhat.com>
81136
81137 * elf/rtld.c (dl_main): Also relocate in dependency order when
81138 doing symbol dependency testing.
81139
81140 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
81141
81142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81143 Always define `refsym'.
81144
81145 2011-09-13 Andreas Schwab <schwab@redhat.com>
81146
81147 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81148 (__FD_ELT): Renamed from __FDELT.
81149 * misc/bits/select2.h (__FD_ELT): Likewise.
81150 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81151 __FD_MASK instead of __FDELT, __FDMASK.
81152 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81153 Likewise.
81154 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81155 Likewise.
81156
81157 * elf/Makefile (gen-ldd): Fix pattern.
81158
81159 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81160 (init_tls): Likewise.
81161
81162 2011-09-12 Ulrich Drepper <drepper@gmail.com>
81163
81164 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81165
81166 2011-09-12 Andreas Schwab <schwab@redhat.com>
81167
81168 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81169 `struct cmsghdr *' instead of `void *'.
81170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81171 Likewise.
81172
81173 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
81174
81175 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81176 if non-absolute.
81177 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81178 ldd_rewrite_script.
81179
81180 2011-09-11 Ulrich Drepper <drepper@gmail.com>
81181
81182 * configure.in: Remove --with-tls option.
81183 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81184 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81185 out in case it is missing.
81186 * sysdeps/ia64/elf/configure.in: Likewise.
81187 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81188 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81189 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81190 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81191 * sysdeps/sh/elf/configure.in: Likewise.
81192 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81193 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81194 * sysdeps/x86_64/elf/configure.in: Likewise.
81195 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81196 * sysdeps/mach/hurd/tls.h: Likewise.
81197
81198 [BZ #13067]
81199 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81200
81201 [BZ #13090]
81202 * configure.in: Fix use of AC_INIT.
81203
81204 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81205
81206 2011-09-10 Ulrich Drepper <drepper@gmail.com>
81207
81208 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81209 __set_errno.
81210 * malloc/hooks.c: Likewise.
81211
81212 [BZ #11929]
81213 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
81214 variables statically.
81215 (narenas): Initialize.
81216 (list_lock): Initialize.
81217 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
81218 initializtion of main_arena and list_lock. Small cleanups.
81219 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81220 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
81221 Add initializers to main_arena and mp_.
81222 (malloc_state): Remove pagesize member. Change all users to use
81223 GLRO(dl_pagesize).
81224
81225 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81226 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
81227 is always initialized.
81228
81229 * malloc/malloc.c: Removed unused configurations and dead code.
81230 * malloc/arena.c: Likewise.
81231 * malloc/hooks.c: Likewise.
81232 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81233
81234 * include/tls.h: Removed. USE___THREAD must always be defined.
81235 * bits/libc-tsd.h: Don't handle !USE___THREAD.
81236 * elf/dl-libc.c: Likewise.
81237 * elf/dl-tsd.c: Likewise.
81238 * include/errno.h: Likewise.
81239 * include/netdb.h: Likewise.
81240 * include/resolv.h: Likewise.
81241 * inet/herrno-loc.c: Likewise.
81242 * inet/herrno.c: Likewise.
81243 * malloc/arena.c: Likewise.
81244 * malloc/hooks.c: Likewise.
81245 * malloc/malloc.c: Likewise.
81246 * resolv/res-state.c: Likewise.
81247 * resolv/res_libc.c: Likewise.
81248 * sysdeps/i386/dl-machine.h: Likewise.
81249 * sysdeps/ia64/dl-machine.h: Likewise.
81250 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81251 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81252 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81253 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81254 * sysdeps/sh/dl-machine.h: Likewise.
81255 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81256 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81257 * sysdeps/unix/i386/sysdep.S: Likewise.
81258 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81259 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81261 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81263 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81264 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81268 * sysdeps/unix/x86_64/sysdep.S: Likewise.
81269 * sysdeps/x86_64/dl-machine.h: Likewise.
81270 * tls.make.c: Likewise.
81271
81272 * configure.in: Remove --with-__thread option. Make tests for
81273 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81274 tls_model attribute fail if no support is available. Remove
81275 USE_IN_LIBIO.
81276 * Makeconfig: Adjust for dropped configure option. All features are
81277 now mandatory.
81278 * Makerules: Likewise.
81279 * Versions.def: Likewise.
81280 * argp/argp-fmtstream.c: Likewise.
81281 * argp/argp-fmtstream.h: Likewise.
81282 * argp/argp-help.c: Likewise.
81283 * assert/assert.c: Likewise.
81284 * config.h.in: Likewise.
81285 * config.make.in: Likewise.
81286 * configure: Likewise.
81287 * configure.in: Likewise.
81288 * csu/Versions: Likewise.
81289 * csu/init.c: Likewise.
81290 * elf/tst-audit2.c: Likewise.
81291 * elf/tst-tls10.c: Likewise.
81292 * elf/tst-tls10.h: Likewise.
81293 * elf/tst-tls11.c: Likewise.
81294 * elf/tst-tls12.c: Likewise.
81295 * elf/tst-tls14.c: Likewise.
81296 * elf/tst-tlsmod11.c: Likewise.
81297 * elf/tst-tlsmod12.c: Likewise.
81298 * elf/tst-tlsmod13.c: Likewise.
81299 * elf/tst-tlsmod13a.c: Likewise.
81300 * elf/tst-tlsmod14a.c: Likewise.
81301 * elf/tst-tlsmod15b.c: Likewise.
81302 * elf/tst-tlsmod16a.c: Likewise.
81303 * elf/tst-tlsmod16b.c: Likewise.
81304 * elf/tst-tlsmod7.c: Likewise.
81305 * elf/tst-tlsmod8.c: Likewise.
81306 * elf/tst-tlsmod9.c: Likewise.
81307 * gmon/gmon.c: Likewise.
81308 * grp/fgetgrent_r.c: Likewise.
81309 * grp/putgrent.c: Likewise.
81310 * hurd/fopenport.c: Likewise.
81311 * include/libc-symbols.h: Likewise.
81312 * include/tls.h: Likewise.
81313 * intl/gettextP.h: Likewise.
81314 * intl/loadinfo.h: Likewise.
81315 * locale/global-locale.c: Likewise.
81316 * locale/localeinfo.h: Likewise.
81317 * mach/devstream.c: Likewise.
81318 * malloc/arena.c: Likewise.
81319 * malloc/set-freeres.c: Likewise.
81320 * misc/err.c: Likewise.
81321 * misc/getttyent.c: Likewise.
81322 * misc/mntent_r.c: Likewise.
81323 * posix/getopt.c: Likewise.
81324 * posix/wordexp.c: Likewise.
81325 * pwd/fgetpwent_r.c: Likewise.
81326 * resolv/Versions: Likewise.
81327 * resolv/res_hconf.c: Likewise.
81328 * shadow/fgetspent_r.c: Likewise.
81329 * shadow/putspent.c: Likewise.
81330 * stdio-common/printf_fphex.c: Likewise.
81331 * stdio-common/tmpfile.c: Likewise.
81332 * stdlib/abort.c: Likewise.
81333 * stdlib/fmtmsg.c: Likewise.
81334 * sunrpc/auth_unix.c: Likewise.
81335 * sunrpc/clnt_perr.c: Likewise.
81336 * sunrpc/clnt_tcp.c: Likewise.
81337 * sunrpc/clnt_udp.c: Likewise.
81338 * sunrpc/clnt_unix.c: Likewise.
81339 * sunrpc/openchild.c: Likewise.
81340 * sunrpc/svc_simple.c: Likewise.
81341 * sunrpc/svc_tcp.c: Likewise.
81342 * sunrpc/svc_udp.c: Likewise.
81343 * sunrpc/svc_unix.c: Likewise.
81344 * sunrpc/xdr.c: Likewise.
81345 * sunrpc/xdr_array.c: Likewise.
81346 * sunrpc/xdr_rec.c: Likewise.
81347 * sunrpc/xdr_ref.c: Likewise.
81348 * sunrpc/xdr_stdio.c: Likewise.
81349
81350 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81351
81352 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81353
81354 2011-07-03 Andreas Jaeger <aj@suse.de>
81355
81356 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81357 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81358 regenerate with gen-libm-tests.pl.
81359
81360 2010-05-12 Petr Baudis <pasky@suse.cz>
81361
81362 [BZ #11589]
81363 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81364 around j0() zero points by switching to j1().
81365 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81366 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81368 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81369
81370 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81371
81372 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81373 instead of 0.
81374 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81375 instead of 0.
81376 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81377 Patch in part by Pavel Roskin <proski@gnu.org>.
81378
81379 [BZ #13138]
81380 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81381 realloc.
81382 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
81383 Free memory block if necessary.
81384
81385 [BZ #12847]
81386 * libio/genops.c (INTDEF): For string streams the _lock pointer can
81387 be NULL. Don't lock in this case.
81388
81389 2011-09-09 Roland McGrath <roland@hack.frob.com>
81390
81391 * elf/elf.h (ELFOSABI_GNU): New macro.
81392 (ELFOSABI_LINUX): Define to that.
81393
81394 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
81395
81396 * string/strncat.c (strncat): Undef the symbol in case it has been
81397 defined in bits/string.h.
81398
81399 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81400
81401 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81402
81403 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81404 link map.
81405
81406 2011-08-17 Andreas Jaeger <aj@suse.de>
81407
81408 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81409
81410 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
81411 Ian Lance Taylor <iant@google.com>
81412
81413 * math/libm-test.inc (lround_test): New testcase.
81414 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81415
81416 2011-09-08 Ulrich Drepper <drepper@gmail.com>
81417
81418 * Makefile: Remove support for automatic cvs check-ins.
81419 * Makerules: Likewise.
81420 * config.make.in: Likewise.
81421 * configure.in: Likewise.
81422 * intl/Makefile: Likewise.
81423 * locale/Makefile: Likewise.
81424 * po/Makefile: Likewise.
81425 * posix/Makefile: Likewise.
81426 * sysdeps/gnu/Makefile: Likewise.
81427 * sysdeps/mach/hurd/Makefile: Likewise.
81428 * sysdeps/sparc/sparc32/Makefile: Likewise.
81429
81430 [BZ #13118]
81431 * posix/Makefile (bug-regex32-ENV): Define.
81432 Patch by John Stanley <jpsinthemix@verizon.net>.
81433
81434 * misc/Makefile (headers): Add bits/select2.h.
81435 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81436 * misc/bits/select2.h: New file.
81437 * include/bits/select2.h: New file.
81438 * debug/Makefile (routines): Add fdelt_chk.
81439 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81440 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81441 FD_ISSET.
81442 * debug/fdelt_chk.c: New file.
81443
81444 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
81445 * wcsmbs/test-wmemcmp.c: Likewise.
81446 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81447 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81448
81449 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81450
81451 * string/Makefile (strop-tests): Add memcmp.
81452 * string/test-wmemcmp.c: New file.
81453 * string/test-memcmp.c: Add wmemcmp support.
81454
81455 2011-09-08 Roland McGrath <roland@hack.frob.com>
81456
81457 [BZ #13153]
81458 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81459 2011-07-19 change.
81460
81461 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81462 garbage value in a __mach_port_mod_refs call in the cases of the
81463 task-self and thread-self ports.
81464
81465 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
81466
81467 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81468
81469 2011-09-08 Andreas Schwab <schwab@redhat.com>
81470
81471 * elf/dl-load.c (lose): Check for non-null L.
81472
81473 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81474
81475 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81476
81477 * elf/dl-libc.c (dlerror_run): Pass back error code from
81478 dl_catch_error.
81479
81480 [BZ #13123]
81481 * elf/dl-load.c (lose): Free l_origin if it is valid.
81482
81483 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81484 names.
81485 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81486 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81487 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81488 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81489 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81490 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81491
81492 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81493
81494 * sysdeps/powerpc/fpu/e_hypot.c: New file.
81495 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81496 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81497 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81498 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81499 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81500 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81501 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81502 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81503 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81504
81505 2011-08-15 Alan Modra <amodra@gmail.com>
81506
81507 [BZ #13092]
81508 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81509 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81510 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81511 ppc_mcount to static-only-routines.
81512 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81513 __mcount_internal.
81514 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81515 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81516
81517 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81518
81519 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81520 for finite and infinity parameters.
81521
81522 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81523
81524 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81525 and add nop instructions for throughput optimization.
81526 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81527
81528 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81529
81530 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81531 aligned copy for power7 with vector-scalar instructions.
81532 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81533
81534 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81535
81536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81537 AVX check.
81538
81539 2011-09-07 Andreas Schwab <schwab@redhat.com>
81540
81541 [BZ #13144]
81542 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81543 last change.
81544
81545 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81546
81547 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81548 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81549 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81550 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81551 clock_gettime.
81552
81553 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81554
81555 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81556 Forgot to demangle the pointer.
81557
81558 * sysdeps/i386/sysdep.h: Define atom_text_section.
81559 * sysdeps/x86_64/sysdep.h: Likewise.
81560 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81561 section with atom_text_section.
81562 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81563 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81564 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81565 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81566 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81567
81568 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81569 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81570 already be defined. Change to take two parameters and don't assign
81571 result to variable. Adjust all users.
81572 Define INTERNAL_GETTIME if not already defined.
81573 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81574 call.
81575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81576 HAVE_CLOCK_GETTIME_VSYSCALL.
81577 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81578
81579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81580 gettimeofday vsyscall, just use time.
81581
81582 2011-09-06 Andreas Schwab <schwab@redhat.com>
81583
81584 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81585 <errno.h>.
81586
81587 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81588
81589 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81590 syscall on x86-64.
81591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81592 syscall.
81593 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81594 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81595 syscall if possible.
81596
81597 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81598
81599 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81600 e_ident. Don't pass to find_mapsXX.
81601 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81602
81603 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81604
81605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81606 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81607 * sysdeps/x86_64/multiarch/strchr.S: Update.
81608 Check bit_slow_BSF bit.
81609 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81610 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81611 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81612
81613 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81614
81615 [BZ #13134]
81616 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81617 before glibc 2.15.
81618 (tryshell): Define.
81619 (__spawni): Change last parameter to be flag. Test
81620 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81621 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81622 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81623 * posix/spawni.c: Likewise.
81624 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81625 * posix/spawnp.c: Likewise. Change normal version to use
81626 SPAWN_XFLAGS_USE_PATH.
81627 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81628 SPAWN_XFLAGS_TRY_SHELL.
81629
81630 [BZ #13150]
81631 * posix/glob.h: Remove gcc 1.x support.
81632
81633 [BZ #13068]
81634 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81635
81636 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81637
81638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81639 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81640 strrchr-sse2-bsf
81641 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81642 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81643 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81644 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81645 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81646 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81647
81648 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81649
81650 * sysdeps/x86_64/wcscmp.S: New file.
81651
81652 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81653 wcscmp-c wcscmp-sse2
81654 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81655 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81656 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81657 * wcsmbs/wcscmp.c: Allow renaming.
81658
81659 2011-09-05 David S. Miller <davem@davemloft.net>
81660
81661 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81662 stack slot, rather than the struct return pointer slot.
81663 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81664 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81666 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81667
81668 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81669
81670 * po/ja.po: Update from translation team.
81671
81672 [BZ #13144]
81673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81674 kernel in 64-bit binaries.
81675
81676 2011-09-01 David S. Miller <davem@davemloft.net>
81677
81678 * elf/elf.h (HWCAP_SPARC_*): Move to..
81679 * sysdeps/sparc/sysdep.h: this new file and add new values.
81680 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81681 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81682 _DL_HWCAP_COUNT to 24.
81683 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81684 entries.
81685 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81686 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81687 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81689 instead of magic constants.
81690 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81691
81692 2011-08-31 David S. Miller <davem@davemloft.net>
81693
81694 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81696 Reimplement to do errno handling inline.
81697 (SYSCALL_ERROR_HANDLER): New macro.
81698 (__SYSCALL_STRING): Do not do errno handling in asm.
81699 (__CLONE_SYSCALL_STRING): Delete.
81700 (__INTERNAL_SYSCALL_STRING): Delete.
81701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81702 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81703 (PSEUDO): Reimplement to do errno handling inline.
81704 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81705 (SYSCALL_ERROR_HANDLER): New macro.
81706 (__SYSCALL_STRING): Do not do errno handling in asm.
81707 (__CLONE_SYSCALL_STRING): Delete.
81708 (__INTERNAL_SYSCALL_STRING): Delete.
81709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81710 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81711 i386.
81712 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81713 (inline_syscall*): Add 'err' argument.
81714 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81715 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81716 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81717 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81718
81719 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81720 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81721
81722 2011-08-30 Andreas Schwab <schwab@redhat.com>
81723
81724 * elf/rtld.c (dl_main): Relocate objects in dependency order.
81725
81726 2011-08-29 Jiri Olsa <jolsa@redhat.com>
81727
81728 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81729 directive.
81730
81731 2011-08-24 David S. Miller <davem@davemloft.net>
81732
81733 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81734
81735 2011-08-24 Andreas Schwab <schwab@redhat.com>
81736
81737 * elf/Makefile: Add rules to build and run unload8 test.
81738 * elf/unload8.c: New file.
81739 * elf/unload8mod1.c: New file.
81740 * elf/unload8mod1x.c: New file.
81741 * elf/unload8mod2.c: New file.
81742 * elf/unload8mod3.c: New file.
81743
81744 * elf/dl-close.c (_dl_close_worker): Reset private search list if
81745 it wasn't used.
81746
81747 2011-08-23 David S. Miller <davem@davemloft.net>
81748
81749 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81750 subtract stack bias.
81751 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81752 %sp not %fp in calculations.
81753 (_JMPBUF_UNWINDS_ADJ): Likewise.
81754
81755 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81756 (aio_suspend): Call it to force an exception region around the
81757 AIO_MISC_WAIT() invocation.
81758
81759 2011-08-23 Andreas Schwab <schwab@redhat.com>
81760
81761 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81762 backslash.
81763
81764 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
81765
81766 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81767 protection macro.
81768 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81769 and <dl-machine.h>.
81770 (Elf64_FuncDesc): Remove.
81771
81772 2011-08-22 David S. Miller <davem@davemloft.net>
81773
81774 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81775 sigaltstack check, add missing cfi directives.
81776 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81777 missing cfi directives, and sigaltstack handling.
81778
81779 2011-08-16 Andreas Schwab <schwab@redhat.com>
81780
81781 [BZ #11724]
81782 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81783 object is seen twice.
81784 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81785
81786 * elf/Makefile (distribute): Add tst-initorder2.c.
81787 (tests): Add tst-initorder2.
81788 (modules-names): Add tst-initorder2a tst-initorder2b
81789 tst-initorder2c tst-initorder2d. Add rules to build them.
81790 ($(objpfx)tst-initorder2.out): New rule.
81791 * elf/tst-initorder2.c: New file.
81792 * elf/tst-initorder2.exp: New file.
81793
81794 2011-08-22 Andreas Schwab <schwab@redhat.com>
81795
81796 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81797
81798 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81799 dependencies back to end of function.
81800
81801 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81802 $(elfobjdir)/ld.so.
81803
81804 2011-08-21 Ulrich Drepper <drepper@gmail.com>
81805
81806 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81807 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81808 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81809 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81810 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81811 of __vdso_gettimeofday.
81812 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81813 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
81814 attribute_hidden.
81815 (_libc_vdso_platform_setup): Remove initialization of
81816 __vdso_gettimeofday and __vdso_time.
81817
81818 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81819
81820 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81821 and fgetc_unlocked.
81822 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81823 getc_unlocked.
81824
81825 * elf/dl-open.c (add_to_global): Report additions to the global scope
81826 for LD_DEBUG=scopes.
81827 (dl_open_worker): Also print scope of newly loaded dependencies.
81828 (_dl_show_scope): Indicate if there is no scope.
81829
81830 [BZ #13114]
81831 * stdio-common/Makefile (tests): Add bug24.
81832 * stdio-common/bug24.c: New file.
81833
81834 2011-08-19 Andreas Jaeger <aj@suse.de>
81835
81836 [BZ #13114]
81837 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81838 non-existant file when using close-on-exec mode.
81839
81840 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81841
81842 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81843 the very first instruction.
81844
81845 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81846 the CFI state in the end.
81847 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81848 inclusion of dl-trampoline.h.
81849 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81850
81851 2011-08-19 Andreas Schwab <schwab@redhat.com>
81852
81853 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81854 expectations for long double.
81855
81856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81857 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81858
81859 2011-08-14 David S. Miller <davem@davemloft.net>
81860
81861 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81862 artificual limit depends upon the system page size.
81863
81864 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81865
81866 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81867 * resolv/Makefile: Define CFLAGS-libresolv.
81868
81869 2011-08-17 Andreas Schwab <schwab@redhat.com>
81870
81871 * nss/makedb.c (compute_tables): Make variables used in nested
81872 function static.
81873
81874 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81875
81876 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81877 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81878 if buffer was too small.
81879
81880 * elf/pldd.c (main): Attach to all threads in the process.
81881 Rewrite /proc handling to use *at functions.
81882
81883 2011-08-16 Ulrich Drepper <drepper@gmail.com>
81884
81885 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81886 specifies first scope to show.
81887 (dl_open_worker): Update callers. Move printing scope of new
81888 object to before the relocation.
81889 * elf/rtld.c (dl_main): Update _dl_show_scope call.
81890 * sysdeps/generic/ldsodefs.h: Update declaration.
81891
81892 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81893 string for the scope number.
81894
81895 2011-08-14 Ulrich Drepper <drepper@gmail.com>
81896
81897 * nscd/servicescache.c (cache_addserv): Make sure written is always
81898 initialized.
81899
81900 2011-08-14 Roland McGrath <roland@hack.frob.com>
81901
81902 * sysdeps/i386/i486/bits/atomic.h
81903 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81904 statement expression, so as to suppress "set but not used" warning.
81905 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81906
81907 * string/strncat.c (STRNCAT): Use prototype definition.
81908
81909 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81910 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81911 -Iprograms here.
81912 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81913 (localedef-modules): Add localedef.
81914 (locale-modules): Add locale.
81915
81916 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81917 * elf/rtld.c (dl_main): Invert order of assignment in last change,
81918 to avoid a warning.
81919
81920 2011-08-14 David S. Miller <davem@davemloft.net>
81921
81922 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81923 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81924
81925 2011-08-13 Ulrich Drepper <drepper@gmail.com>
81926
81927 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81928 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81929 * elf/rtld.c (dl_main): Set l_name of vDSO.
81930 Call _dl_show_scope when DL_DEBUG_SCOPES.
81931 (process_dl_debug): Recognize scopes flag and also set it for all.
81932 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81933 Declare _dl_show_scope.
81934
81935 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81936 (do_dlopen): Pass caller_dlopen to dl_open.
81937 (__libc_dlopen_mode): Initialize caller_dlopen.
81938
81939 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81940 of libc. Make tolower call locale-independent. Optimize a bit by
81941 using isdigit instead of isalnum.
81942 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81943
81944 2011-08-12 Ulrich Drepper <drepper@gmail.com>
81945
81946 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81947 was a dependency or dynamically loaded.
81948
81949 2011-08-11 Ulrich Drepper <drepper@gmail.com>
81950
81951 * intl/l10nflist.c: Allow architecture-specific pop function.
81952 * sysdeps/x86_64/l10nflist.c: New file.
81953
81954 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81955 classification.
81956
81957 2011-08-10 Andreas Schwab <schwab@redhat.com>
81958
81959 * include/dirent.h: Add libc_hidden_proto for scandirat and
81960 scandirat64. Don't declare __scandirat64.
81961 * dirent/scandirat.c: Add libc_hidden_def.
81962 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81963 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81964
81965 2011-08-10 David S. Miller <davem@davemloft.net>
81966
81967 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81968 enum.
81969 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81972
81973 2011-08-09 Ulrich Drepper <drepper@gmail.com>
81974
81975 * Versions.def [libc]: Add GLIBC_2.15.
81976 * dirent/Makefile (routines): Add scandirat and scandirat64.
81977 * dirent/Versions [libc]: Export scandirat and scandirat64 for
81978 GLIBC_2.15.
81979 * dirent/dirent.h: Declare scandirat and scandirat64.
81980 * dirent/scandirat.c: New file.
81981 * dirent/scandirat64.c: New file.
81982 * sysdeps/wordsize-64/scandirat.c: New file.
81983 * sysdeps/wordsize-64/scandirat64.c: New file.
81984 * dirent/opendir.c: Define opendirat.
81985 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
81986 using scandirat.
81987 * dirent/scandir64.c: Adjust for scandir.c change.
81988 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
81989 __scandirat64, and __scandir_cancel_handler.
81990 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
81991 additional parameter and use openat instead of open (outside of ld.so).
81992 Add new __opendir as wrapper around __opendirat.
81993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81994 here without requiring old scandirat implementation.
81995
81996 2011-08-08 Ulrich Drepper <drepper@gmail.com>
81997
81998 * dirent/scandir.c (cancel_handler): Renamed to
81999 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
82000 defined. Adjust users.
82001 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82002 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82003
82004 2011-08-04 Ulrich Drepper <drepper@gmail.com>
82005
82006 * string/test-string.h (IMPL): Use __STRING to expand name and then
82007 stringify it.
82008
82009 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
82010 of cleanups.
82011
82012 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82013
82014 * string/Makefile: Update.
82015 (strop-tests): Append strncat.
82016 * string/test-wcscmp.c: New file.
82017 New comprehensive test for wcscmp.
82018 * string/test-strcmp.c: Update.
82019 (WIDE): New define.
82020
82021 2011-07-22 Andreas Schwab <schwab@redhat.com>
82022
82023 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82024 line.
82025
82026 2011-07-26 Andreas Schwab <schwab@redhat.com>
82027
82028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82029 encoding to ACE if AI_IDN.
82030
82031 2011-08-01 Jakub Jelinek <jakub@redhat.com>
82032
82033 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82034 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82035
82036 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82037
82038 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82039 Fix overflow bug in strncat.
82040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82041
82042 * string/test-strncat.c: Update.
82043 Add new tests for checking overflow bugs.
82044
82045 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82046
82047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82048 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82049 * sysdeps/i386/i686/multiarch/strcat.S: New file.
82050 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82051 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82052 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82053 * sysdeps/i386/i686/multiarch/strncat.S: New file.
82054 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82055 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82056
82057 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82058 (USE_AS_STRCAT): Define.
82059 Add strcat and strncat support.
82060 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82061
82062 2011-07-25 Andreas Schwab <schwab@redhat.com>
82063
82064 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82065 __n bigger than INT_MAX+1.
82066 (__strncmp_g): Likewise.
82067
82068 2011-07-23 Ulrich Drepper <drepper@gmail.com>
82069
82070 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82071 * libio/stido.h: Likewise.
82072
82073 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82074 (AF_NFC): Define.
82075 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82076 (AF_NFC): Define.
82077
82078 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82080 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82081 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82083
82084 [BZ #13021]
82085 * scripts/test-installation.pl: Don't expect libnss_test1 to be
82086 installed.
82087
82088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82089 typo.
82090 (_dl_x86_64_save_sse): Likewise.
82091
82092 2011-07-22 Ulrich Drepper <drepper@gmail.com>
82093
82094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82095 OSXSAVE.
82096 (_dl_x86_64_save_sse): Likewise.
82097
82098 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82099
82100 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82101
82102 2011-07-21 Andreas Schwab <schwab@redhat.com>
82103
82104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82105 change.
82106 (_dl_x86_64_save_sse): Use correct AVX check.
82107
82108 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82109
82110 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82111 bug in strncpy/strncat.
82112 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82113
82114 2011-07-21 Ulrich Drepper <drepper@gmail.com>
82115
82116 * string/tester.c (test_strcat): Add tests for different alignments
82117 of source and destination.
82118 (test_strncat): Likewise.
82119
82120 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82121
82122 [BZ #12852]
82123 * posix/glob.c (glob): Check passed in values before using them in
82124 expressions to avoid some overflows.
82125 (glob_in_dir): Likewise.
82126
82127 [BZ #13007]
82128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82129 check for AVX enablement so that we don't crash with old kernels and
82130 new hardware.
82131 * elf/tst-audit4.c: Add same checks here.
82132 * elf/tst-audit6.c: Likewise.
82133
82134 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82135
82136 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
82137
82138 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82139
82140 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82141
82142 * po/cs.po: Update from translation team.
82143 * po/bg.po: Likewise.
82144
82145 2011-07-12 Marek Polacek <mpolacek@redhat.com>
82146
82147 * misc/sys/cdefs.h: Add support for const attribute.
82148 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82149 to gnu_dev_{major,minor,makedev} functions.
82150
82151 2011-07-20 Marek Polacek <mpolacek@redhat.com>
82152
82153 * intl/dcigettext.c (get_output_charset): Add missing bracket.
82154
82155 2011-07-20 Andreas Schwab <schwab@redhat.com>
82156
82157 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82158 strlen results.
82159
82160 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82161
82162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82163 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82164 register in order to avoid conflicts with the soft frame pointer
82165 being held in r11 when necessary.
82166 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82167 (INTERNAL_VSYSCALL_NCS): Likewise.
82168
82169 2011-07-14 Marek Polacek <mpolacek@redhat.com>
82170
82171 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82172 * elf/dl-fini.c (_dl_fini): Adjust caller.
82173 * elf/dl-close.c (_dl_close_worker): Likewise.
82174 * sysdeps/generic/ldsodefs.h: Adjust declaration.
82175
82176 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82177
82178 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82179 "aux_cache->nlibs < 0".
82180
82181 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82182 in the reload-count case.
82183
82184 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82185
82186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82187 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82188 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82189 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82190 * sysdeps/x86_64/multiarch/strcat.S: New file.
82191 * sysdeps/x86_64/multiarch/strncat.S: New file.
82192 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82193 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82194 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82195 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82196 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82197 (USE_AS_STRCAT): Define.
82198 Add strcat and strncat support.
82199 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82200 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82201 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82202 * string/strncat.c: Update.
82203 (USE_AS_STRNCAT): Define.
82204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82205 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82206 and i7.
82207 * sysdeps/x86_64/multiarch/init-arch.h
82208 (bit_Prefer_PMINUB_for_stringop): New.
82209 (index_Prefer_PMINUB_for_stringop): Likewise.
82210 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82211 bit_Prefer_PMINUB_for_stringop.
82212
82213 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82214
82215 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82216 buffer64.
82217 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82218 of casting of buffer.
82219 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82220 buffer32 and buffer64.
82221 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82222 writes instead of casting of buffer.
82223 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82224 buffer32.
82225 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82226 casting of buffer.
82227
82228 2011-07-19 Andreas Schwab <schwab@redhat.com>
82229
82230 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82231
82232 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82233
82234 * nscd/nscd.c (termination_handler): Don't do anything for a database
82235 if it has not yet been initialized.
82236
82237 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82238
82239 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82240
82241 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82242
82243 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82244
82245 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82246
82247 * po/nl.po: Update from translation team.
82248 * po/sv.po: Likewise.
82249
82250 2011-07-16 Roland McGrath <roland@hack.frob.com>
82251
82252 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82253 now disallowed by GCC.
82254
82255 * configure.in (use-default-link): Default to yes if a test -shared
82256 link meets our qualifications.
82257 * configure: Regenerated.
82258
82259 * config.make.in (output-format): New variable.
82260 * configure.in: Check for ld --print-output-format support.
82261 * configure: Regenerated.
82262 * Makerules ($(common-objpfx)format.lds)
82263 [$(output-format) != unknown]: Just use $(output-format),
82264 instead of the linker-script munging.
82265
82266 2011-07-14 Roland McGrath <roland@hack.frob.com>
82267
82268 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82269 of $(common-objpfx)shlib.lds.
82270 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82271
82272 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82273 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82274
82275 * configure.in (-z relro check): Adjust test code to add a large
82276 writable data section after it.
82277 * configure: Regenerated.
82278
82279 2011-07-11 Roland McGrath <roland@hack.frob.com>
82280
82281 * configure.in (-z relro check): Fix test code to make the variable
82282 truly const.
82283 * configure: Regenerated.
82284
82285 2011-07-11 Ulrich Drepper <drepper@gmail.com>
82286
82287 * nscd/nscd.h (struct traced_file): Define.
82288 (struct database_dyn): Remove inotify_descr, reset_res, and filename
82289 elements. Add traced_files.
82290 (inotify_fd): Declare.
82291 (register_traced_file): Declare.
82292 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82293 (inotify_fd): Export.
82294 (resolv_conf_descr): Remove.
82295 (nscd_init): Move inotify descriptor creation to main.
82296 Don't register files for notification here.
82297 (register_traced_file): New function.
82298 (invalidate_cache): Don't use reset_res to determine whether to call
82299 res_init, go through the list of registered files.
82300 (main_loop_poll): The inotify descriptors are now stored in the
82301 structures for the traced files.
82302 (main_loop_epoll): Likewise.
82303 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
82304 to __nss_disable_nscd.
82305 * nscd/cache.c (prune_cache): There is no single inotify descriptor
82306 for a database anymore. Check the records for all the registered
82307 files instead.
82308 * nss/Makefile (libnss_files-routines): Add files-init.
82309 (libnss_db-routines): Add db-init.
82310 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82311 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82312 * nss/nss_db/db-init.c: New file.
82313 * nss/nss_files/files-init.c: New file.
82314 * nss/nsswitch.c (nss_load_library): New function. Broken out of
82315 __nss_lookup_function.
82316 (__nss_lookup_function): Call nss_load_library.
82317 (nss_load_all_libraries): New function.
82318 (__nss_disable_nscd): Take parameter with callback function for files
82319 to register. Set is_nscd. Load all the DSOs for the NSS modules
82320 used for the cached services.
82321 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82322 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82323 options for features to all the files in nscd.
82324
82325 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82326
82327 2011-07-10 Roland McGrath <roland@hack.frob.com>
82328
82329 * csu/elf-init.c (__libc_csu_init): Comment typo.
82330
82331 2011-07-09 Ulrich Drepper <drepper@gmail.com>
82332
82333 * po/pl.po: Update from translation team.
82334 * po/ja.po: Likewise.
82335 * po/ru.po: Likewise.
82336 * po/ko.po: Likewise.
82337 * po/fr.po: Likewise.
82338
82339 2011-07-09 Roland McGrath <roland@hack.frob.com>
82340
82341 * configure.in (.ctors/.dtors header and trailer check):
82342 Use an empirical test on a built program.
82343 * configure: Regenerated.
82344
82345 * configure.in (-z relro check): Use an empirical test on a built DSO.
82346 Detect, but do not require, on ia64.
82347 * configure: Regenerated.
82348
82349 * configure.in (READELF): Find it with AC_CHECK_TOOL.
82350 Update tests that use readelf to use $READELF instead.
82351 * configure: Regenerated.
82352
82353 2011-07-08 Ulrich Drepper <drepper@gmail.com>
82354
82355 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82356 if the result is not used.
82357
82358 2011-07-05 Andreas Jaeger <aj@suse.de>
82359
82360 [BZ#9696]
82361 * stdlib/tst-strtod.c: Add testcase.
82362
82363 2011-07-07 Ulrich Drepper <drepper@gmail.com>
82364
82365 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82366 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82367 The latter has a higher limit. Take additional parameter to pass to
82368 the new function.
82369 (__pathconf): Pass file to __statfs_link_max.
82370 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82371 __statfs_link_max.
82372 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82373 __statfs_link_max.
82374
82375 [BZ #12868]
82376 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82377 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82378 Handle Lustre.
82379 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82380 (__statfs_filesize_max): Likewise.
82381 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82382
82383 2011-07-05 Andreas Jaeger <aj@suse.de>
82384
82385 * resolv/res_comp.c (dn_skipname): Remove unused variable.
82386
82387 2011-07-06 Marek Polacek <mpolacek@redhat.com>
82388
82389 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82390 `status' variable.
82391 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82392 Likewise.
82393
82394 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
82395
82396 * Makefile (strop-tests): Add strncat.
82397 * string/test-strncat.c: New file.
82398
82399 2011-06-30 Marek Polacek <mpolacek@redhat.com>
82400
82401 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82402
82403 2011-06-21 Andreas Jaeger <aj@suse.de>
82404
82405 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82406 Copy rule from iconvdata/Makefile.
82407
82408 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82409
82410 [BZ #12922]
82411 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82412 but no long options are defined, just return 'W'.
82413
82414 2011-06-22 Marek Polacek <mpolacek@redhat.com>
82415
82416 [BZ #9696]
82417 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82418
82419 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82420
82421 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82422 netgroups to read.
82423 (innetgr): Likewise.
82424
82425 2011-07-05 Roland McGrath <roland@hack.frob.com>
82426
82427 * config.make.in (install_root): Default to $(DESTDIR).
82428
82429 2011-07-05 Ulrich Drepper <drepper@gmail.com>
82430
82431 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82432
82433 2011-07-02 Roland McGrath <roland@hack.frob.com>
82434
82435 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82436
82437 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82438 containing directory rather than embedding absolute directory names.
82439
82440 * scripts/check-local-headers.sh: Rewritten using awk.
82441 Match by word, not by line. Print error messages for matches.
82442 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82443
82444 * Makerules [shlib-lds-flags empty]:
82445 ($(common-objpfx)libc_pic.opts): New target.
82446 ($(common-objpfx)libc_pic.os.clean): New target.
82447 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82448
82449 * config.make.in (OBJCOPY): New variable.
82450 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82451 * configure: Regenerated.
82452
82453 * config.make.in (use-default-link): New variable.
82454 * configure.in (use_default_link): Grok --with-default-link to set it.
82455 * configure: Regenerated.
82456 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82457 (shlib-lds, shlib-lds-flags): Define to empty.
82458
82459 * Makerules (shlib-lds): New variable.
82460 (shlib-lds-flags): New variable.
82461 (build-shlib, build-moduile, build-module-asneeded): Use it.
82462 ($(common-objpfx)libc.so): Use $(shlib-lds).
82463 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82464 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82465
82466 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82467 DT_FLAGS/DT_FLAGS_1 with zero flags.
82468
82469 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82470 linker script munging.
82471
82472 2011-07-02 Ulrich Drepper <drepper@gmail.com>
82473
82474 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82475 as 128-bit value.
82476 * crypt/sha512.c (sha512_process_block): Perform total addition using
82477 128-bit if possible.
82478 (__sha512_finish_ctx): Likewise.
82479 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82480 as 64-bit value.
82481 * crypt/sha256.c (SWAP64): Define.
82482 (sha256_process_block): Perform total addition using 64-bit if
82483 possible.
82484 (__sha256_finish_ctx): Likewise.
82485
82486 2011-07-01 Ulrich Drepper <drepper@gmail.com>
82487
82488 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
82489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82490 * nscd/hstcache.c (cache_addhst): Likewise.
82491 * nscd/grpcache.c (cache_addgr): Likewise.
82492 * nscd/aicache.c (addhstaiX): Likewise.
82493 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82494
82495 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
82496
82497 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82498 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82499 * nscd/hstcache.c (cache_addhst): Likewise.
82500 * nscd/grpcache.c (cache_addgr): Likewise.
82501 * nscd/aicache.c (addhstaiX): Likewise.
82502
82503 2011-07-01 Andreas Schwab <schwab@redhat.com>
82504
82505 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82506 domain only when needed.
82507
82508 2011-06-30 Andreas Schwab <schwab@redhat.com>
82509
82510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82511 is always restored.
82512
82513 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82514
82515 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82516 are re-adding the entry.
82517 * nscd/servicescache.c (cache_addserv): Likewise.
82518
82519 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82520
82521 * sysdeps/generic/dl-irel.h: fix protection against multiple
82522 inclusions.
82523 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82524
82525 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82526
82527 [BZ #12935]
82528 * malloc/memusage.sh: Fix quoting in message.
82529 * debug/xtrace.sh: Likewise.
82530
82531 * configure.in: Remove support for --experimental-malloc option, make
82532 it the default.
82533 * config.make.in: Likewise.
82534 * malloc/Makefile: Likewise.
82535
82536 2011-06-27 Andreas Schwab <schwab@redhat.com>
82537
82538 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82539 two-byte characters.
82540
82541 2011-06-27 Roland McGrath <roland@hack.frob.com>
82542
82543 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82544 AC_CACHE_CHECK invocation.
82545 * configure: Regenerated.
82546
82547 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82548
82549 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82550
82551 [BZ #12350]
82552 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82553 bit from old_res_options.
82554
82555 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82556
82557 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82558 value type for setfct.
82559
82560 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82561
82562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82563 __gettimeofday instead of gettimeofday.
82564
82565 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82566
82567 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82568
82569 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82570
82571 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82572
82573 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82574 info.
82575
82576 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82577
82578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82579 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82580 strcpy-sse2-unaligned strncpy-sse2-unaligned
82581 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82582 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82583 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82584 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82585 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82586 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82587 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82588 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82589 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82590 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82591 (STRCPY): Support SSE2 and SSSE3 versions.
82592
82593 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82594
82595 [BZ #12874]
82596 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82597 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82598 kernels which artificially limit size of requests.
82599
82600 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82601
82602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82603 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82604 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82605 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82606 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82607 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82608 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82609 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82610 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82611 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82612 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82613 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82614 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82615 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82616 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82618 Enable unaligned load optimization for Intel Core i3, i5 and i7
82619 processors.
82620 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82621 Define.
82622 (index_Fast_Unaligned_Load): Define.
82623 (HAS_FAST_UNALIGNED_LOAD): Define.
82624
82625 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82626
82627 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82628
82629 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82630
82631 [BZ #12907]
82632 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82633 until it is clear that the information is realy needed.
82634 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82635
82636 2011-06-22 Andreas Schwab <schwab@redhat.com>
82637
82638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82639
82640 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82641
82642 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82643 /sys/devices/system/cpu/online if it is usable.
82644
82645 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82646 reading the information from the /proc filesystem to once a second.
82647
82648 2011-06-21 Andreas Jaeger <aj@suse.de>
82649
82650 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82651 NULL after inclusion of kernel headers.
82652
82653 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82654
82655 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82656 calls to internal_setent.
82657
82658 [BZ #12885]
82659 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82660 addresses using gethostbyname4_r ignore IPv4 addresses.
82661
82662 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82663 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82664
82665 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82666
82667 2011-06-20 David S. Miller <davem@davemloft.net>
82668
82669 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82670 inclusions.
82671 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82672
82673 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82674 (elf_irel): Use it.
82675 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82676 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82677 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82678 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82679 * sysdeps/x86_64/dl-irel.h: Likewise.
82680
82681 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82682 * elf/dl-sym.c: Likewise.
82683
82684 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82685
82686 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
82687 need to dereference resplen2.
82688
82689 2011-06-14 Andreas Schwab <schwab@redhat.com>
82690
82691 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82692
82693 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82694
82695 * Makeconfig: Define vardbdir and inst_vardbdir.
82696 * nss/Makefile: Add rules to install db-Makefile.
82697
82698 * nss/nss_db/db-XXX.c: Cleanup.
82699
82700 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82701 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82702 GLIBC_PRIVATE.
82703 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82704 * nss/makedb.c: Implement -g option to specify that value strings
82705 are generated and should not be added to table iterated over for
82706 get*ent calls.
82707 * nss/nss_db/db-initgroups.c: New file.
82708
82709 * nss/getent.c: Add support for initgroups lookups through getgrouplist
82710 interface.
82711
82712 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82713 (internal_getgrouplist): Adjust to name change.
82714 Update use_initgroups_entry if this is not the first call.
82715 * nss/databases.def: Add initgroups entry.
82716
82717 * nss/makedb.c (compute_tables): Check result of multiple hash table
82718 sizes to minimize maximum chain length.
82719
82720 2011-06-14 Ulrich Drepper <drepper@gmail.com>
82721
82722 * Versions.def: Add entry for libnss_db.
82723 * shlib-versions: Likewise.
82724 * nss/Makefile: Add rules to build libnss_db.
82725 * nss/Versions: Add libnss_db information. Organize libnss_files
82726 entries better.
82727 * nss/db-Makefile: Add gshadow support. Change rules for the new
82728 makedb progra. Some minor improvements to generate smaller files.
82729 * nss/nss_db/nss_db.h: Move NSS database header data structures to
82730 here from...
82731 * nss/makedb.c: ...here.
82732 Improve database format to be smaller and require less memory at
82733 runtime.
82734 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
82735 db anymore.
82736 * nss/nss_db/db-netgrp.c: Likewise.
82737 * nss/nss_db/db-open.c: Likewise.
82738 * nss/nss_files/flies-XXX.x: Adjust comments.
82739 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82740 * nss/nss_files/files-grp.c: Likewise.
82741 * nss/nss_files/files-hosts.c: Likewise.
82742 * nss/nss_files/files-network.c: Likewise.
82743 * nss/nss_files/files-proto.c: Likewise.
82744 * nss/nss_files/files-pwd.c: Likewise.
82745 * nss/nss_files/files-rpc.c: Likewise.
82746 * nss/nss_files/files-service.c: Likewise.
82747 * nss/nss_files/files-sgrp.c: Likewise.
82748 * nss/nss_files/files-spwd.c: Likewise.
82749 * nss/nss_db/db-alias.c: Removed.
82750 * nss/nss_db/dummy-db.h: Removed.
82751
82752 2011-06-02 Ulrich Drepper <drepper@gmail.com>
82753
82754 * nss/makedb.c: Rewritten to not use database library.
82755 * nss/Makefile: Update to build new makedb program.
82756
82757 2011-06-14 Andreas Jaeger <aj@suse.de>
82758
82759 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82760 memset declaration.
82761
82762 2011-06-10 Andreas Schwab <schwab@redhat.com>
82763
82764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82765 tmpbuf.
82766
82767 2011-06-10 Roland McGrath <roland@hack.frob.com>
82768
82769 * Makerules (shlib.lds): Fail if the linker script comes out empty.
82770 * elf/Makefile ($(objpfx)ld.so): Likewise.
82771
82772 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82773 Don't list ld.so twice in dependencies.
82774
82775 * posix/bug-regex31.c: Include <stdlib.h>.
82776
82777 * nscd/hstcache.c (cache_addhst): Remove unused variable.
82778
82779 * nis/nss_compat/compat-spwd.c
82780 (getspent_next_nss_netgr): Remove unused variable.
82781 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82782
82783 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82784 nonmembers" output to use the right array.
82785
82786 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82787
82788 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82789
82790 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82791 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82792 * catgets/gencat.c (read_input_file): Likewise.
82793 * locale/programs/locarchive.c (enlarge_archive): Likewise.
82794
82795 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82796 variable definition inside #if's controlling its use.
82797
82798 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82799
82800 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82801
82802 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82803
82804 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82805 unreachable code.
82806
82807 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82808
82809 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82810 * configure: Regenerated.
82811
82812 * Makerules: Revert last change.
82813 * elf/Makefile: Likewise.
82814
82815 2011-06-09 Roland McGrath <roland@hack.frob.com>
82816
82817 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82818 * elf/Makefile ($(objpfx)librtld.os): Likewise.
82819 (reloc-link): Likewise.
82820
82821 2011-06-09 Ulrich Drepper <drepper@gmail.com>
82822
82823 * elf/Makefile: Add rules to build pldd.
82824 * elf/pldd.c: New file.
82825 * elf/pldd-xx.c: New file.
82826
82827 2011-06-07 Ulrich Drepper <drepper@gmail.com>
82828
82829 * version.h: Update for 2.15 development version.
82830
82831 2011-06-07 David S. Miller <davem@davemloft.net>
82832
82833 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82834 ifuncs.
82835 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82836 elf_machine_lazy_rel): Likewise.
82837 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82838 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82839 elf_machine_lazy_rel): Likewise.
82840 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82841 dl_hwcap via passed in argument.
82842 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82843 Likewise.
82844
82845 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82846
82847 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
82848
82849 2011-06-06 Roland McGrath <roland@hack.frob.com>
82850
82851 [BZ #12849]
82852 * manual/fdl-1.1.texi: New file, verbatim from:
82853 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82854 * manual/lgpl-2.1.texi: New file, verbatim from:
82855 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82856 * manual/Makefile (licenses): New variable, list those new file names.
82857 (texis): Use it.
82858 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82859
82860 * manual/fdl.texi: File removed.
82861 * manual/lesser.texi: File removed.
82862 * manual/libc.texinfo (Copying, Documentation License):
82863 Use new @include file names, put @appendix directive before @include.
82864
82865 2011-06-04 Jakub Jelinek <jakub@redhat.com>
82866
82867 [BZ #12841]
82868 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82869 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82870 (mq_open): Add __NTH.
82871
82872 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
82873
82874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82875 Assume Intel Core i3/i5/i7 processor if AVX is available.
82876
82877 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82878
82879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82880 typo.
82881
82882 2011-05-31 Andreas Schwab <schwab@redhat.com>
82883
82884 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82885 memory. Use alloca_account. Fix memory leak when retrying.
82886
82887 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82888
82889 * version.h (RELEASE): Bump for 2.14 release.
82890 * include/features.h (__GLIBC_MINOR__): Bump to 14.
82891
82892 * config.make.in (RANLIB): Remove entry.
82893
82894 2011-05-30 Ulrich Drepper <drepper@gmail.com>
82895
82896 * po/Makefile (po-sed-cmd): Add ksh to extensions.
82897 (libc.pot): Work around missing support for .ksh extension in xgettext.
82898
82899 [BZ #12684]
82900 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82901 if both request failed.
82902 (send_dg): In case of server errors clear resplen or *resplen2.
82903
82904 [BZ #12454]
82905 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82906 when there are multiple maps.
82907 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82908 (_dl_fini): Remove test here.
82909
82910 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82911
82912 2011-05-29 Ulrich Drepper <drepper@gmail.com>
82913
82914 [BZ #12350]
82915 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82916 bit from old_res_options.
82917 (gaih_inet): Likewise.
82918
82919 [BZ #11099]
82920 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82921 as signed.
82922
82923 * resolv/res_init.c (res_setoptions): Make the code more compact.
82924
82925 [BZ #11558]
82926 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82927 set RES_USEVC.
82928
82929 [BZ #11634]
82930 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82931
82932 * malloc/malloc.h: Mark malloc hook variables as deprecated.
82933
82934 [BZ #11781]
82935 * malloc/malloc.h: Declare malloc hook variables as volatile.
82936
82937 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82938 in last patch.
82939
82940 [BZ #11799]
82941 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82942 raise in the comment.
82943 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82944 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82945 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82946
82947 2011-05-28 Ulrich Drepper <drepper@gmail.com>
82948
82949 [BZ #12811]
82950 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82951 grow the buffers more if it already has to be sufficient.
82952 (build_wcs_upper_buffer): Likewise.
82953 * posix/regexec.c (check_matching): Likewise.
82954 (clean_state_log_if_needed): Likewise.
82955 (extend_buffers): Don't enlarge buffers beyond size of the input
82956 buffer.
82957 Patches mostly by Emil Wojak <emil@wojak.eu>.
82958 * posix/bug-regex32.c: New file.
82959 * posix/Makefile (tests): Add bug-regex32.
82960
82961 * locale/findlocale.c (_nl_find_locale): Return right away if
82962 _nl_explode_name failed.
82963 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82964
82965 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82966
82967 * debug/xtrace.sh: Unify messages.
82968 * malloc/memusage.sh: Likewise.
82969
82970 [BZ #12813]
82971 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82972 time symbol from vDSO. Substitute with vsyscall if not available.
82973 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82974 __vdso_time.
82975
82976 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82977 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82978 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82979 Add sendmmsg and internal_sendmmsg.
82980 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82981 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82982 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82983
82984 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82985 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82986 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82987
82988 2011-05-27 Ulrich Drepper <drepper@gmail.com>
82989
82990 [BZ #12813]
82991 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82992 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
82993 available.
82994 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82995 __vdso_getcpu.
82996
82997 [BZ #12814]
82998 * iconvdata/Makefile (tests): Add bug-iconv9.
82999 * iconvdata/bug-iconv9.c: New file.
83000
83001 2011-05-27 Andreas Schwab <schwab@redhat.com>
83002
83003 [BZ #12814]
83004 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83005
83006 2011-05-25 Jakub Jelinek <jakub@redhat.com>
83007
83008 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83009 (struct user_regs_struct): Change intcs field back to cs.
83010
83011 2011-05-25 Ulrich Drepper <drepper@gmail.com>
83012
83013 * po/ja.po: Update from translation team.
83014
83015 2011-05-23 Ulrich Drepper <drepper@gmail.com>
83016
83017 [BZ #12795]
83018 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83019 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83020
83021 2011-05-20 Andreas Schwab <schwab@redhat.com>
83022
83023 * stdlib/longlong.h: Update from GCC.
83024
83025 2011-05-23 Andreas Schwab <schwab@redhat.com>
83026
83027 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83028 parameter name.
83029 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83030 Add parameter name.
83031 (__sysconf): Pass it down.
83032
83033 2011-05-22 Ulrich Drepper <drepper@gmail.com>
83034
83035 [BZ #12671]
83036 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83037 some situations.
83038 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83039 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83040 add in in __libc_use_alloca calls. Adjust callers.
83041 (glob): Use malloc in some situations.
83042
83043 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83044 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83045 pltexit.
83046
83047 2011-05-21 Ulrich Drepper <drepper@gmail.com>
83048
83049 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83050 and CLOCK_BOOTTIME_ALARM.
83051
83052 [BZ #12782]
83053 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83054 is returned.
83055
83056 * string/_strerror.c (__strerror_r): Print negative errors as signed
83057 numbers.
83058
83059 [BZ #12777]
83060 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83061 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83062 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83063
83064 * configure.in: Fix typo in redirection and correct removal of test
83065 files in two cases.
83066
83067 [BZ #12788]
83068 * locale/setlocale.c (new_composite_name): Fix test to check for
83069 identical name of all categories.
83070
83071 [BZ #12792]
83072 * libio/filedoalloc.c (local_isatty): New function.
83073 (_IO_file_doallocate): Use local_isatty.
83074 * stdio-common/perror.c (perror): In case a new stream is used
83075 forward the stream error.
83076 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83077 error flag.
83078
83079 2011-05-20 Ulrich Drepper <drepper@gmail.com>
83080
83081 [BZ #11884]
83082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83083 alloca.
83084 * include/alloca.h (extend_alloca_account): Define.
83085
83086 [BZ #11857]
83087 * posix/regex.h: Fix comments with documentation of user-accessible
83088 fields after compilation and describe correct free'ing of pattern
83089 after re_compile_pattern.
83090 Patch by Reuben Thomas <rrt@sc3d.org>.
83091
83092 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
83093
83094 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83095 and -mno-altivec to prevent the compiler from using Altivec and/or
83096 VSX instructions when the corresponding registers are not available.
83097
83098 2011-05-19 Andreas Schwab <schwab@redhat.com>
83099
83100 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83101
83102 2011-05-19 Ulrich Drepper <drepper@gmail.com>
83103
83104 * libio/freopen.c (freopen): Use __dup2, not dup2.
83105 * libio/freopen64.c (freopen64): Likewise.
83106
83107 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
83108
83109 [BZ #12775]
83110 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83111 * math/Makefile (tests): Add test-powl.
83112 (CFLAGS-test-powl.c): Define.
83113 * math/test-powl.c: New file.
83114
83115 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
83116
83117 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83118
83119 2011-05-17 Ulrich Drepper <drepper@gmail.com>
83120
83121 [BZ #11837]
83122 * iconvdata/gb18030.c: Update to GB18020-2005.
83123
83124 2011-05-16 Ulrich Drepper <drepper@gmail.com>
83125
83126 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83127 RE_SYNTAX_POSIX_AWK): Update to match recent development.
83128 Patch by Aharon Robbins <arnold@skeeve.com>.
83129
83130 [BZ #11892]
83131 * stdlib/putenv.c (putenv): Don't always create copy of the variable
83132 on the stack.
83133
83134 [BZ #11895]
83135 * misc/pselect.c (__pselect): Handle timeout value errors hidden
83136 through underflows.
83137
83138 [BZ #12766]
83139 * misc/error.c (error_at_line): Ensure file_name and old_file_name
83140 point to strings before performing equality test for error_one_per_line
83141 mode.
83142
83143 [BZ #11697]
83144 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83145
83146 [BZ #11820]
83147 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83148 (struct user_fpregs_struct): Avoid __uint*_t types.
83149
83150 [BZ #6420]
83151 * malloc/mtrace.c (tr_where): Add additional parameter to point to
83152 symbol info. Use it instead of calling _dl_addr locally.
83153 (lock_and_info): New function.
83154 (tr_freehook): Call lock_and_info and pass symbol info as additional
83155 parameter to tr_where.
83156 (tr_mallochook): Likewise.
83157 (tr_reallochook): Likewise.
83158 (tr_memalignhook): Likewise.
83159
83160 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
83161 used and couldn't be at all thread-safe.
83162
83163 2011-05-15 Ulrich Drepper <drepper@gmail.com>
83164
83165 * libio/freopen.c (freopen): Don't close old file descriptor
83166 before the new one is opened. Instead dup the new file descriptor
83167 to the old one after the new stream is created.
83168 * libio/freopen64.c (freopen64): Likewise.
83169 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83170 * libio/fileops.c (_IO_new_file_close_it): Handle new
83171 _IO_FLAGS2_NOCLOSE flag.
83172 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83173 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83174 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83175 _IO_FLAGS2_NOCLOSE flag.
83176 * include/unistd.h: Add hidden_proto for dup3.
83177 Define __have_dup3.
83178 * io/dup3.c: Define hidden symbol.
83179 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83180
83181 [BZ #7101]
83182 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83183 when an incomplete long option is used.
83184 * posix/tst-getopt_long1.c: New file.
83185 * posix/Makefile (tests): Add tst-getopt_long1.
83186
83187 [BZ #10138]
83188 * scripts/config.guess: Update from autoconf-2.68.
83189 * scripts/config.sub: Likewise.
83190
83191 [BZ #10157]
83192 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83193 tests into ...
83194 (has_cpuclock): ...this. New function.
83195 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83196 macro here based on has_cpuclock code.
83197
83198 [BZ #10149]
83199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83200 First byte (not low byte) is now always NUL.
83201 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83202
83203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83204 Use non-cancelable interfaces.
83205
83206 [BZ #9809]
83207 * locale/iso-639.def: Add entry for Sorani.
83208
83209 [BZ #11901]
83210 * include/stdlib.h: Move include protection to the right place.
83211 Define abort_msg_s. Declare __abort_msg with it.
83212 * stdlib/abort.c (__abort_msg): Adjust type.
83213 * assert/assert.c (__assert_fail_base): New function. Majority
83214 of code from __assert_fail. Allocate memory for __abort_msg with
83215 mmap.
83216 (__assert_fail): Now call __assert_fail_base.
83217 * assert/assert-perr.c: Remove bulk of implementation. Use
83218 __assert_fail_base.
83219 * include/assert.hL Declare __assert_fail_base.
83220 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83221 mmap.
83222 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83223
83224 2011-05-14 Ulrich Drepper <drepper@gmail.com>
83225
83226 [BZ #11952]
83227 [BZ #12453]
83228 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83229 until all modules are registered in the DTV.
83230 * elf/Makefile: Add rules to build and run tst-tls19.
83231 * elf/tst-tls19.c: New file.
83232 * elf/tst-tls19mod1.c: New file.
83233 * elf/tst-tls19mod2.c: New file.
83234 * elf/tst-tls19mod3.c: New file.
83235 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83236
83237 [BZ #12083]
83238 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83239 correctly.
83240
83241 [BZ #12601]
83242 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83243 two-byte sequence errors.
83244 * iconvdata/Makefile (tests): Add bug-iconv8.
83245 * iconvdata/bug-iconv8.c: New file.
83246
83247 [BZ #12626]
83248 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83249 buf2 definition.
83250
83251 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83252
83253 [BZ #12432]
83254 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83255 (dummy_getcfa): New function.
83256 (init): Get _Unwind_GetCFA address, use dummy if not found.
83257 (backtrace_helper): In recursion check, also check whether CFA changes.
83258 (__backtrace): Completely initialize arg.
83259
83260 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83261 storing incomplete byte sequence in state object. Avoid testing for
83262 guaranteed too small input if we know there is enough data available.
83263
83264 2011-05-11 Andreas Schwab <schwab@redhat.com>
83265
83266 * Makeconfig (+link-pie): Indent.
83267 * Rules (binaries-pie): Define if $(have-fpie) and
83268 $(build-shared).
83269 (binaries-shared): Also filter out $(binaries-pie).
83270 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83271 * nscd/Makefile (others-pie): Add nscd.
83272 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83273 ($(objpfx)nscd): Remove command override.
83274 * login/Makefile (others-pie): Add pt_chown.
83275 ($(objpfx)pt_chown): Remove command override.
83276 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83277 remove command overrides.
83278
83279 2011-05-13 Ulrich Drepper <drepper@gmail.com>
83280
83281 * libio/tst_putwc.c: Fix error messages.
83282
83283 [BZ #12724]
83284 * libio/fileops.c (_IO_new_file_close_it): Always flush when
83285 currently writing and seek to current position when not.
83286 * libio/Makefile (tests): Add bug-fclose1.
83287 * libio/bug-fclose1.c: New file.
83288
83289 2011-05-12 Ulrich Drepper <drepper@gmail.com>
83290
83291 [BZ #12511]
83292 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83293 don't set DF_1_NODELETE here.
83294 (do_lookup_x): When entering new entry test for copy relocation
83295 and if necessary set DF_1_NODELETE flag.
83296 * elf/tst-unique4.cc: New file.
83297 * elf/tst-unique4.h: New file.
83298 * elf/tst-unique4lib.cc: New file.
83299 * elf/Makefile: Add rules to build and run tst-unique4.
83300 Patch by Piotr Bury <pbury@goahead.com>.
83301
83302 2011-05-11 Ulrich Drepper <drepper@gmail.com>
83303
83304 [BZ #12052]
83305 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83306
83307 [BZ #12625]
83308 * misc/mntent_r.c (addmntent): Flush the stream after the output
83309
83310 [BZ #12393]
83311 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83312 (is_trusted_path_normalize): Skip initial colon. Append slash
83313 to empty buffer. Duplicate is_trusted_path code but allow
83314 constructed patch to be prefix.
83315 (is_dst): Allow $ORIGIN followed by /.
83316 (_dl_dst_substitute): Correct clearing of check_for_trusted.
83317 Correct testing of result of is_trusted_path_normalize
83318 (decompose_rpath): Fix warning.
83319
83320 2011-05-10 Ulrich Drepper <drepper@gmail.com>
83321
83322 [BZ #11257]
83323 * grp/initgroups.c (internal_getgrouplist): When we found the service
83324 list through the initgroups entry in nsswitch.conf do not always
83325 continue on a successful lookup. Don't always use the
83326 __nss_group_database value if it is set.
83327 * nss/nsswitch.conf (initgroups): Change action for successful db
83328 lookup to continue for compatibility.
83329
83330 2011-05-09 Ulrich Drepper <drepper@gmail.com>
83331
83332 [BZ #11532]
83333 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83334 and CP774 modules.
83335 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83336 and CP774 modules.
83337 * iconvdata/tst-tables.sh: Likewise.
83338 * iconvdata/cp770.c: New file.
83339 * iconvdata/cp771.c: New file.
83340 * iconvdata/cp772.c: New file.
83341 * iconvdata/cp773.c: New file.
83342 * iconvdata/cp774.c: New file.
83343 * iconvdata/testdata/CP770: New file.
83344 * iconvdata/testdata/CP770..UTF8: New file.
83345 * iconvdata/testdata/CP771: New file.
83346 * iconvdata/testdata/CP771..UTF8: New file.
83347 * iconvdata/testdata/CP772: New file.
83348 * iconvdata/testdata/CP772..UTF8: New file.
83349 * iconvdata/testdata/CP773: New file.
83350 * iconvdata/testdata/CP773..UTF8: New file.
83351 * iconvdata/testdata/CP774: New file.
83352 * iconvdata/testdata/CP774..UTF8: New file.
83353
83354 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83355 END CHARMAP line.
83356 * iconvdata/gen-8bit-gap.sh: Likewise.
83357 * iconvdata/gen-8bit.sh: Likewise.
83358
83359 * locale/iso-639.def: Add ary entry.
83360
83361 [BZ #11258]
83362 * locale/C-translit.h.in: Add U20A1 transliteration.
83363
83364 [BZ #12178]
83365 * locale/iso-639.def: Add wae entry.
83366 Patch by Kevin Bortis <bortis@translate-wae.ch>.
83367
83368 [BZ #12545]
83369 * locale/programs/localedef.c (construct_output_path): Use ssize_t
83370 for n.
83371
83372 [BZ #12711]
83373 * locale/C-translit.h.in: Add entry for U20B9.
83374 Patch by pravin.d.s@gmail.com.
83375
83376 2011-05-08 Ulrich Drepper <drepper@gmail.com>
83377
83378 [BZ #12713]
83379 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83380 ENAMETOOLONG use generic getcwd.
83381 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
83382 in rtld. Use *stat64.
83383 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83384 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83385 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83386 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83387 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83388 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83389 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83390 __fstatat64 macros.
83391 * include/dirent.h: Add libc_hidden_proto for rewinddir.
83392 * dirent/rewinddir.c: Add libc_hidden_def.
83393 * sysdeps/mach/hurd/rewinddir.c: Likewise.
83394 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
83395
83396 * include/dirent.h (__alloc_dir): Add flags parameter.
83397 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83398 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83399 __alloc_dir.
83400 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
83401 from fdopendir if O_CLOEXEC is already set.
83402
83403 2011-03-15 Alan Modra <amodra@gmail.com>
83404
83405 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83406 l_tls_firstbyte_offset non-zero. Save padding offset in
83407 l_tls_firstbyte_offset for later use.
83408 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83409 freeing static tls block.
83410
83411 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
83412
83413 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83414 where #ifdef was intended. The intent is to prevent ARG_MAX from
83415 being defined by the kernel headers.
83416
83417 2011-05-07 Ulrich Drepper <drepper@gmail.com>
83418
83419 [BZ #12734]
83420 * resolv/resolv.h: Define RES_NOTLDQUERY.
83421 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83422 no-tld-query and set RES_NOTLDQUERY.
83423 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83424 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83425 modern BIND to search name as TLD unless forbidden.
83426
83427 2011-05-07 Petr Baudis <pasky@suse.cz>
83428 Ulrich Drepper <drepper@gmail.com>
83429
83430 [BZ #12393]
83431 * elf/dl-load.c (fillin_rpath): Move trusted path check...
83432 (is_trusted_path): ...to here.
83433 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83434 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83435 using is_trusted_path_normalize() in setuid scripts.
83436
83437 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83438
83439 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83440 __BEGIN/__END_DECLS.
83441
83442 2011-05-06 Ulrich Drepper <drepper@gmail.com>
83443
83444 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83445 NSS_STATUS_NOTFOUND if no record was found.
83446
83447 2011-05-05 Andreas Schwab <schwab@redhat.com>
83448
83449 * sunrpc/Makefile (headers): Add rpc/netdb.h.
83450 (headers-not-in-tirpc): Remove rpc/netdb.h
83451 * resolv/netdb.h: Revert last change.
83452
83453 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
83454
83455 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83456 circular dependency between libgcc.a and libc.a.
83457
83458 2011-05-05 Andreas Schwab <schwab@redhat.com>
83459
83460 * resolv/netdb.h: Don't include <rpc/netdb.h>.
83461 * nis/Makefile: Don't install rpcsvc/*.
83462 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83463 instead of <rpc/types.h>.
83464 (MAXHOSTNAMELEN): Define.
83465
83466 2011-05-03 Andreas Schwab <schwab@redhat.com>
83467
83468 * elf/ldconfig.c (add_dir): Don't crash on empty path.
83469
83470 2011-04-28 Maciej Babinski <mbabinski@google.com>
83471
83472 [BZ #12714]
83473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83474 gethostbyname4_r when IPv6 results are possible.
83475
83476 2011-05-02 Ulrich Drepper <drepper@gmail.com>
83477
83478 [BZ #12723]
83479 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83480 _PC_PIPE_BUF handling.
83481
83482 2011-04-30 Bruno Haible <bruno@clisp.org>
83483
83484 [BZ #12717]
83485 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83486 * resolv/netdb.h (getnameinfo): Change type of flags parameter
83487 to 'int'.
83488 * inet/getnameinfo.c (getnameinfo): Likewise.
83489
83490 2011-04-29 Ulrich Drepper <drepper@gmail.com>
83491
83492 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83493 to groups setting in database lookup.
83494 * nss/nsswitch.conf: Add initgroups entry.
83495
83496 2011-04-22 Ulrich Drepper <drepper@gmail.com>
83497
83498 [BZ #12685]
83499 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83500 mode string.
83501 Patch by Eric Blake <eblake@redhat.com>.
83502
83503 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83504
83505 * sunrpc/Makefile (need-export-routines): Add svc_run.
83506 (routines): Remove svc_run.
83507 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83508 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83509 * sunrpc/svc_run.c (svc_run): Likewise.
83510 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83511
83512 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83513
83514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83515 problem in reallocation in last patch.
83516
83517 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83518
83519 * sunrpc/Makefile: Move inclusion of Rules.
83520
83521 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83522
83523 * nss/nss_files/files-initgroups.c: New file.
83524 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83525 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83526 _nss_files_initgroups_dyn.
83527
83528 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83529
83530 * elf/elf.h (R_ARM_IRELATIVE): Define.
83531
83532 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83533
83534 * po/ru.po: Update from translation team.
83535
83536 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83537
83538 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83539 dependencies.
83540
83541 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83542
83543 [BZ #12653]
83544 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83545 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83546 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83547 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83549
83550 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83551
83552 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83553 differing bytes.
83554 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83556 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83557
83558 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83559
83560 [BZ #12420]
83561 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83562 storing it.
83563 * stdlib/bug-getcontext.c: New file.
83564 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83565
83566 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83567
83568 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83569 instructions into .machine "z9-109".
83570 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83571 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83572
83573 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83574
83575 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83576 between environment variables and auxiliary vector.
83577
83578 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83579
83580 * Makefile: Add rules to build linkobj/libc.so.
83581 * include/libc-symbols.h: Define libc_hidden_nolink.
83582 * include/rpc/auth.h: Mark functions which are to be hidden.
83583 * include/rpc/auth_des.h: Likewise.
83584 * include/rpc/auth_unix.h: Likewise.
83585 * include/rpc/clnt.h: Likewise.
83586 * include/rpc/des_crypt.h: Likewise.
83587 * include/rpc/key_prot.h: Likewise.
83588 * include/rpc/pmap_clnt.h: Likewise.
83589 * include/rpc/pmap_prot.h: Likewise.
83590 * include/rpc/pmap_rmt.h: Likewise.
83591 * include/rpc/rpc_msg.h: Likewise.
83592 * include/rpc/svc.h: Likewise.
83593 * include/rpc/svc_auth.h: Likewise.
83594 * include/rpc/xdr.h: Likewise.
83595 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83596 * nss/Makefile: Likewise.
83597 * sunrpc/Makefile: Don't install headers. Build library with normal
83598 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83599 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83600 for the compat linking library. Remove use of INTDEF/INTUSE.
83601 * sunrpc/auth_none.c: Likewise.
83602 * sunrpc/auth_unix.c: Likewise.
83603 * sunrpc/authdes_prot.c: Likewise.
83604 * sunrpc/authuxprot.c: Likewise.
83605 * sunrpc/clnt_gen.c: Likewise.
83606 * sunrpc/clnt_perr.c: Likewise.
83607 * sunrpc/clnt_raw.c: Likewise.
83608 * sunrpc/clnt_simp.c: Likewise.
83609 * sunrpc/clnt_tcp.c: Likewise.
83610 * sunrpc/clnt_udp.c: Likewise.
83611 * sunrpc/clnt_unix.c: Likewise.
83612 * sunrpc/des_crypt.c: Likewise.
83613 * sunrpc/des_soft.c: Likewise.
83614 * sunrpc/get_myaddr.c: Likewise.
83615 * sunrpc/key_call.c: Likewise.
83616 * sunrpc/key_prot.c: Likewise.
83617 * sunrpc/netname.c: Likewise.
83618 * sunrpc/pm_getmaps.c: Likewise.
83619 * sunrpc/pm_getport.c: Likewise.
83620 * sunrpc/pmap_clnt.c: Likewise.
83621 * sunrpc/pmap_prot.c: Likewise.
83622 * sunrpc/pmap_prot2.c: Likewise.
83623 * sunrpc/pmap_rmt.c: Likewise.
83624 * sunrpc/publickey.c: Likewise.
83625 * sunrpc/rpc_cmsg.c: Likewise.
83626 * sunrpc/rpc_common.c: Likewise.
83627 * sunrpc/rpc_dtable.c: Likewise.
83628 * sunrpc/rpc_prot.c: Likewise.
83629 * sunrpc/rpc_thread.c: Likewise.
83630 * sunrpc/rtime.c: Likewise.
83631 * sunrpc/svc.c: Likewise.
83632 * sunrpc/svc_auth.c: Likewise.
83633 * sunrpc/svc_authux.c: Likewise.
83634 * sunrpc/svc_raw.c: Likewise.
83635 * sunrpc/svc_run.c: Likewise.
83636 * sunrpc/svc_simple.c: Likewise.
83637 * sunrpc/svc_tcp.c: Likewise.
83638 * sunrpc/svc_udp.c: Likewise.
83639 * sunrpc/svc_unix.c: Likewise.
83640 * sunrpc/svcauth_des.c: Likewise.
83641 * sunrpc/xcrypt.c: Likewise.
83642 * sunrpc/xdr.c: Likewise.
83643 * sunrpc/xdr_array.c: Likewise.
83644 * sunrpc/xdr_float.c: Likewise.
83645 * sunrpc/xdr_intXX_t.c: Likewise.
83646 * sunrpc/xdr_mem.c: Likewise.
83647 * sunrpc/xdr_rec.c: Likewise.
83648 * sunrpc/xdr_ref.c: Likewise.
83649 * sunrpc/xdr_sizeof.c: Likewise.
83650 * sunrpc/xdr_stdio.c: Likewise.
83651
83652 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83653
83654 [BZ #12650]
83655 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83656 * sysdeps/ia64/dl-tls.h: Likewise.
83657 * sysdeps/powerpc/dl-tls.h: Likewise.
83658 * sysdeps/s390/dl-tls.h: Likewise.
83659 * sysdeps/sh/dl-tls.h: Likewise.
83660 * sysdeps/sparc/dl-tls.h: Likewise.
83661 * sysdeps/x86_64/dl-tls.h: Likewise.
83662 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83663
83664 2011-03-14 Andreas Schwab <schwab@redhat.com>
83665
83666 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83667 rpath element also skip the following colon.
83668 (expand_dynamic_string_token): Add is_path parameter and pass
83669 down to DL_DST_REQUIRED and _dl_dst_substitute.
83670 (decompose_rpath): Call expand_dynamic_string_token with
83671 non-zero is_path. Ignore empty rpaths.
83672 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83673 with zero is_path.
83674
83675 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83676
83677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83678 Make cancelable.
83679
83680 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83681
83682 [BZ #12655]
83683 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83684 Patch by Filipe David Manana <fdmanana@apache.org>.
83685
83686 2011-04-07 Andreas Schwab <schwab@redhat.com>
83687
83688 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83689 Maintain aligned stack.
83690 (CHECK_RSP): Remove unused macro.
83691
83692 2011-04-03 Ulrich Drepper <drepper@gmail.com>
83693
83694 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83695 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83696
83697 2011-04-02 Ulrich Drepper <drepper@gmail.com>
83698
83699 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83700
83701 * include/features.h: Mention __USE_XOPEN2K8 in comment.
83702
83703 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
83704
83705 [BZ #12518]
83706 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83707 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83708 * sysdeps/x86_64/memmove.c: New file.
83709 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83710 (memcpy): Renamed to ...
83711 (__new_memcpy): This.
83712 (memcpy): Provide GLIBC_2_14 memcpy.
83713 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83714 (memcpy): Provide GLIBC_2_2_5 memcpy.
83715
83716 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83717
83718 [BZ #12631]
83719 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83720
83721 2011-03-30 Andreas Schwab <schwab@redhat.com>
83722
83723 * misc/syncfs.c: New file.
83724 * misc/Makefile (routines): Add syncfs.
83725 * posix/unistd.h: Declare syncfs.
83726 * sysdeps/unix/syscalls.list: Add syncfs.
83727
83728 2011-04-01 Andreas Schwab <schwab@redhat.com>
83729
83730 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83731 open_by_handle_at.
83732 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83733 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83735 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83737 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83738 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83739
83740 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83741
83742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83743 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83744 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83745 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83746 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83749
83750 * io/Makefile: Compile fallocate.c, fallocate64.c, and
83751 sync_file_range.c with -fexceptions.
83752 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83753 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83754 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83755 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83756 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83757 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83759 sync_file_range as cancellation point
83760 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
83761 now a wrapper around __call_sync_file_range with cancellation handling.
83762 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83763 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
83764 function name to __call_sync_file_range.
83765 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83766 Add call_sync_file_range.
83767
83768 2011-04-01 Andreas Schwab <schwab@redhat.com>
83769
83770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83771 bits/timex.h.
83772
83773 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83774
83775 * iconv/iconv.h: Fix typo in comment.
83776 * io/fcntl.h: Likewise.
83777 * libio/stdio.h: Likewise.
83778 * posix/spawn.h: Likewise.
83779 * posix/unistd.h: Likewise.
83780 * stdlib/stdlib.h: Likewise.
83781 * time/time.h: Likewise.
83782 * wcsmbs/wchar.h: Likewise.
83783
83784 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83785 open_by_handle): Add.
83786 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83787 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
83788 Augment a few comments.
83789 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83791 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83793 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83794 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83795 open_by_handle.
83796
83797 * io/fcntl.h (AT_EMPTY_PATH): Define.
83798
83799 2011-03-30 Ulrich Drepper <drepper@gmail.com>
83800
83801 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83802 * sysdeps/unix/sysv/linux/bits/time.h: New file.
83803 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83804 to...
83805 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
83806 * Versions.def: Add GLIBC_2.14.
83807 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83808 Export.
83809
83810 2011-03-22 Ulrich Drepper <drepper@gmail.com>
83811
83812 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83813 round counter.
83814 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83815
83816 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
83817
83818 [BZ #12597]
83819 * string/test-strncmp.c (do_page_test): New function.
83820 (check2): Likewise.
83821 (test_main): Call check2.
83822 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83823
83824 2011-03-20 Ulrich Drepper <drepper@gmail.com>
83825
83826 [BZ #12587]
83827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83828 Handle cache information in CPU leaf 4.
83829 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83830
83831 2011-03-18 Ulrich Drepper <drepper@gmail.com>
83832
83833 [BZ #12583]
83834 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83835 character representation.
83836 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83837
83838 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
83839
83840 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83841 END(__isnan) to END(__isnanf) to match function entry point/label
83842 EALIGN(__isnanf,...).
83843
83844 2011-03-10 Jakub Jelinek <jakub@redhat.com>
83845
83846 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83847
83848 2011-03-10 Ulrich Drepper <drepper@gmail.com>
83849
83850 [BZ #12510]
83851 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83852 copy from the symbol referenced in the relocation to initialize the
83853 used variable.
83854 Patch by Piotr Bury <pbury@goahead.com>.
83855 * elf/Makefile: Add rules to build and tst-unique3.
83856 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83857 * elf/tst-unique3.cc: New file.
83858 * elf/tst-unique3.h: New file.
83859 * elf/tst-unique3lib.cc: New file.
83860 * elf/tst-unique3lib2.cc: New file.
83861
83862 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83863
83864 2011-03-10 Mike Frysinger <vapier@gentoo.org>
83865
83866 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83867 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
83868 to _start.
83869
83870 2011-03-06 Ulrich Drepper <drepper@gmail.com>
83871
83872 * elf/dl-load.c (_dl_map_object): If we are looking for the first
83873 to-be-loaded object along a path to loader is ld.so.
83874
83875 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83876 Ulrich Drepper <drepper@gmail.com>
83877
83878 * sysdeps/x86_64/memset.S: After aligning destination, code
83879 branches to different locations depending on the value of
83880 misalignment, when multiarch is enabled. Fix this.
83881
83882 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83883
83884 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83885 Set _x86_64_preferred_memory_instruction for AMD processsors.
83886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83887 Set bit_Prefer_SSE_for_memop for AMD processors.
83888
83889 2011-03-04 Ulrich Drepper <drepper@gmail.com>
83890
83891 * libio/fmemopen.c (fmemopen): Optimize a bit.
83892
83893 2011-03-03 Andreas Schwab <schwab@redhat.com>
83894
83895 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83896
83897 2011-03-03 Roland McGrath <roland@redhat.com>
83898
83899 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83900
83901 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
83902
83903 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83904 __bzero_ultra1 instead of __memset_ultra1.
83905
83906 2011-02-23 Andreas Schwab <schwab@redhat.com>
83907 Ulrich Drepper <drepper@gmail.com>
83908
83909 [BZ #12509]
83910 * include/link.h (struct link_map): Add l_orig_initfini.
83911 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83912 returning unsuccessfully.
83913 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83914 close of a file loaded at startup, restore the original l_initfini
83915 list.
83916 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83917 list, store the pointer.
83918 * elf/Makefile ($(objpfx)noload-mem): New rule.
83919 (noload-ENV): Define.
83920 (tests): Add $(objpfx)noload-mem.
83921 * elf/noload.c: Include <memcheck.h>.
83922 (main): Call mtrace. Close all opened handles.
83923
83924 2011-02-17 Andreas Schwab <schwab@redhat.com>
83925
83926 [BZ #12454]
83927 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83928 dependencies are missing.
83929
83930 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
83931
83932 Fix __if_freereq crash: Unlike the generic version which uses free,
83933 Hurd needs munmap.
83934 * sysdeps/mach/hurd/ifreq.h: New file.
83935
83936 2011-01-27 Petr Baudis <pasky@suse.cz>
83937 Ulrich Drepper <drepper@gmail.com>
83938
83939 [BZ 12445]#
83940 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83941 to extend_alloca().
83942 * stdio-common/bug23.c: New file.
83943 * stdio-common/Makefile (tests): Add bug23.
83944
83945 2010-09-28 Andreas Schwab <schwab@redhat.com>
83946 Ulrich Drepper <drepper@gmail.com>
83947
83948 [BZ #12489]
83949 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83950 before performing relro protection. At old place add assertion
83951 to make sure nothing changed.
83952
83953 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
83954 Glauber de Oliveira Costa <glommer@gmail.com>
83955
83956 * elf/elf.h: Add new ARM TLS relocs.
83957
83958 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
83959
83960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83961 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83962 cast from r3.
83963 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
83964 'tests' variable.
83965 * sysdeps/wordsize-64/tst-writev.c: New file.
83966
83967 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
83968
83969 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83970 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83971 insns in _dl_start to prevent a TOC reference before relocs are
83972 resolved.
83973
83974 2011-02-15 Ulrich Drepper <drepper@gmail.com>
83975
83976 [BZ #12469]
83977 * Makeconfig: Remove RANLIB definition.
83978 * Makerules: Don't use RANLIB.
83979 * aclocal.m4: Remove ranlib test.
83980 * configure.in: No need to check for ranlib.
83981 * elf/rtld-Rules: Don't use RANLIB.
83982
83983 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
83984
83985 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83986 protection macro.
83987 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83988 inclusion protection macro.
83989
83990 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83991 SIGRTMIN and SIGRTMAX and print information in that case only when
83992 SIGRTMIN is defined.
83993
83994 2011-02-11 Jakub Jelinek <jakub@redhat.com>
83995
83996 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83997 arginfo fn returning -1.
83998
83999 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84000 and thousands string is zero terminated.
84001
84002 2011-02-03 Andreas Schwab <schwab@redhat.com>
84003
84004 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84005 sysdeps/unix/sysv/linux/bits/socket.h.
84006
84007 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
84008
84009 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84010 (__CPU_COUNT): Remove old macros.
84011 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84012 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84013 (__CPU_ALLOC, __CPU_FREE): Add macros.
84014 (__sched_cpualloc, __sched_cpufree): Add declarations.
84015
84016 2011-02-05 Ulrich Drepper <drepper@gmail.com>
84017
84018 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84019 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84020 * nscd/aicache.c (addhstaiX): Return timeout of added value.
84021 (readdhstai): Return value of addhstaiX call.
84022 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84023 (addgrbyX): Return value returned by cache_addgr.
84024 (readdgrbyname): Return value returned by addgrbyX.
84025 (readdgrbygid): Likewise.
84026 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84027 (addpwbyX): Return value returned by cache_addpw.
84028 (readdpwbyname): Return value returned by addhstbyX.
84029 (readdpwbyuid): Likewise.
84030 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84031 (addservbyX): Return value returned by cache_addserv.
84032 (readdservbyname): Return value returned by addservbyX:
84033 (readdservbyport): Likewise.
84034 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84035 (addhstbyX): Return value returned by cache_addhst.
84036 (readdhstbyname): Return value returned by addhstbyX.
84037 (readdhstbyaddr): Likewise.
84038 (readdhstbynamev6): Likewise.
84039 (readdhstbyaddrv6): Likewise.
84040 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84041 (readdinitgroups): Return value returned by addinitgroupsX.
84042 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84043 (prune_cache): Keep track of timeout value of re-added entries.
84044 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84045 * nscd/nscd.h: Adjust prototypes of readd* functions.
84046
84047 2011-02-04 Roland McGrath <roland@redhat.com>
84048
84049 * nis/nis_server.c (nis_servstate): Use the right name for 0.
84050 (nis_stats): Likewise.
84051 * nis/nis_modify.c (nis_modify): Likewise.
84052 * nis/nis_remove.c (nis_remove): Likewise.
84053 * nis/nis_add.c (nis_add): Likewise.
84054
84055 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84056
84057 * posix/fnmatch_loop.c: Add some consts.
84058
84059 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84060
84061 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
84062
84063 [BZ #12460]
84064 * config.make.in (config-cflags-novzeroupper): Define.
84065 * configure.in: Substitute libc_cv_cc_novzeroupper.
84066 * elf/Makefile (AVX-CFLAGS): Define.
84067 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84068 (CFLAGS-tst-auditmod4a.c): Likewise.
84069 (CFLAGS-tst-auditmod4b.c): Likewise.
84070 (CFLAGS-tst-auditmod6b.c): Likewise.
84071 (CFLAGS-tst-auditmod6c.c): Likewise.
84072 (CFLAGS-tst-auditmod7b.c): Likewise.
84073 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84074
84075 2011-02-02 Ulrich Drepper <drepper@gmail.com>
84076
84077 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84078 function to the callback.
84079 Patch partly by Jiri Olsa <jolsa@redhat.com>.
84080
84081 2011-02-02 Andreas Schwab <schwab@redhat.com>
84082
84083 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84084 of errno.
84085
84086 2011-01-19 Ulrich Drepper <drepper@gmail.com>
84087
84088 [BZ #11724]
84089 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84090 of constructors.
84091 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84092 of destructors.
84093 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84094
84095 [BZ #11724]
84096 * elf/Makefile: Add rules to build and run new test.
84097 * elf/tst-initorder.c: New file.
84098 * elf/tst-initorder.exp: New file.
84099 * elf/tst-initordera1.c: New file.
84100 * elf/tst-initordera2.c: New file.
84101 * elf/tst-initordera3.c: New file.
84102 * elf/tst-initordera4.c: New file.
84103 * elf/tst-initorderb1.c: New file.
84104 * elf/tst-initorderb2.c: New file.
84105 * elf/tst-order-a1.c: New file.
84106 * elf/tst-order-a2.c: New file.
84107 * elf/tst-order-a3.c: New file.
84108 * elf/tst-order-a4.c: New file.
84109 * elf/tst-order-b1.c: New file.
84110 * elf/tst-order-b2.c: New file.
84111 * elf/tst-order-main.c: New file.
84112 New test case by George Gensure <werkt0@gmail.com>.
84113
84114 2010-10-01 Andreas Schwab <schwab@redhat.com>
84115
84116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84117 decoding ACE if AI_CANONIDN.
84118
84119 2011-01-18 Ulrich Drepper <drepper@gmail.com>
84120
84121 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84122
84123 2011-01-17 Ulrich Drepper <drepper@gmail.com>
84124
84125 * version.h (RELEASE): Bump for 2.13 release.
84126 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84127
84128 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84129
84130 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84131 MADV_NOHUGEPAGE.
84132 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84133 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84134 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84135 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84136 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84137 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84138
84139 * posix/getconf.c: Update copyright year.
84140 * catgets/gencat.c: Likewise.
84141 * csu/version.c: Likewise.
84142 * debug/catchsegv.sh: Likewise.
84143 * debug/xtrace.sh: Likewise.
84144 * elf/ldconfig.c: Likewise.
84145 * elf/ldd.bash.in: Likewise.
84146 * elf/sprof.c (print_version): Likewise.
84147 * iconv/iconv_prog.c: Likewise.
84148 * iconv/iconvconfig.c: Likewise.
84149 * locale/programs/locale.c: Likewise.
84150 * locale/programs/localedef.c: Likewise.
84151 * malloc/memusage.sh: Likewise.
84152 * malloc/mtrace.pl: Likewise.
84153 * nscd/nscd.c (print_version): Likewise.
84154 * nss/getent.c: Likewise.
84155
84156 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84157 PF_CAIF, and PF_ALG.
84158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84159
84160 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
84161
84162 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84163 (modules-names): Use them.
84164 (ifunc-test-modules, ifunc-pie-tests): Define.
84165 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84166 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84167 (test-extras): Likewise.
84168 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84169 $(compile-command.c).
84170 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84171 (all-built-dso): Define.
84172 (check-textrel.out, check-execstack.out): Depend on it.
84173
84174 * configure.in: Don't override --enable-multi-arch.
84175
84176 2011-01-15 Ulrich Drepper <drepper@gmail.com>
84177
84178 [BZ #6812]
84179 * nscd/hstcache.c (tryagain): Define.
84180 (cache_addhst): Return tryagain not notfound for temporary errors.
84181 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84182 failed.
84183
84184 2011-01-14 Ulrich Drepper <drepper@gmail.com>
84185
84186 [BZ #10563]
84187 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84188 to make the syscall.
84189 * sysdeps/unix/sysv/linux/setgroups.c: New file.
84190
84191 [BZ #12378]
84192 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84193 and fall back to matching as normal character if the string ends before
84194 the matching ']' is found. This is what POSIX requires.
84195 * posix/testfnm.c: Adjust test result.
84196 * posix/globtest.sh: Adjust test result. Add new test.
84197 * posix/tst-fnmatch.input: Likewise.
84198 * posix/tst-fnmatch2.c: Add new test.
84199
84200 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
84201
84202 * elf/Makefile (check-execstack): Revert last change. Depend on
84203 check-execstack.h.
84204 (check-execstack.h): New target.
84205 (generated): Add check-execstack.h.
84206 * elf/check-execstack.c: Include "check-execstack.h".
84207 (main): Revert last change.
84208 (handle_file): Return zero if GNU_STACK is absent and
84209 DEFAULT_STACK_PERMS doesn't include PF_X.
84210
84211 2011-01-13 Ulrich Drepper <drepper@gmail.com>
84212
84213 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84214 in child fails because the descriptor is already closed.
84215 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84216 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84217 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84218
84219 [BZ #12397]
84220 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84221 syscall.
84222
84223 [BZ #10484]
84224 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84225 temporary buffer used to handle multi lookups locally.
84226 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84227
84228 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84229
84230 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84231 loader is ld.so.
84232
84233 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
84234
84235 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84236 alignment for SSE2.
84237
84238 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84239
84240 [BZ #12394]
84241 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84242 characters. When rounding increased number of integer digits recompute
84243 number of groups.
84244 * stdio-common/tst-grouping.c: New file.
84245 * stdio-common/Makefile: Add rules to build and run tst-grouping.
84246
84247 2011-01-09 Ulrich Drepper <drepper@gmail.com>
84248
84249 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84250 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
84251
84252 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84253 void.
84254 * bits/select.h: Likewise.
84255
84256 2011-01-08 Ulrich Drepper <drepper@gmail.com>
84257
84258 * po/ja.po: Update from translation team.
84259
84260 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
84261
84262 [BZ #11155]
84263 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84264 implementation just like for lxstat, fxstatat, et al.
84265
84266 2010-12-27 Jim Meyering <meyering@redhat.com>
84267
84268 [BZ #12348]
84269 * posix/regexec.c (build_trtable): Return failure indication upon
84270 calloc failure. Otherwise, re_search_internal could infloop on OOM.
84271
84272 2010-12-25 Ulrich Drepper <drepper@gmail.com>
84273
84274 [BZ #12201]
84275 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84276 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84277 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84278 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84279
84280 [BZ #12207]
84281 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84282
84283 [BZ #12204]
84284 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84285 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84286
84287 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
84288
84289 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84290 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84291 script has SORT_BY_INIT_PRIORITY.
84292 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84293 NO_CTORS_DTORS_SECTIONS is defined.
84294 * elf/soinit.c: Likewise.
84295 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84296 NO_CTORS_DTORS_SECTIONS is defined.
84297 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84298 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84299 * sysdeps/sh/init-first.c: Likewise.
84300 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84301
84302 2010-12-24 Ulrich Drepper <drepper@gmail.com>
84303
84304 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84305 always use the slow path.
84306
84307 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
84308
84309 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84310 similar rule which adds the sysdep directories to the header search in
84311 order to pick up the correct platform stackinfo.h.
84312 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84313 perform test if it is, otherwise return successfully without testing.
84314 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84315 DEFAULT_STACK_PERMS define in stackinfo.h.
84316 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84317 defined in stackinfo.h.
84318 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84319 DEFAULT_STACK_PERMS defined in stackinfo.h.
84320 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84321 * sysdeps/ia64/stackinfo.h: Likewise.
84322 * sysdeps/s390/stackinfo.h: Likewise.
84323 * sysdeps/sh/stackinfo.h: Likewise.
84324 * sysdeps/sparc/stackinfo.h: Likewise.
84325 * sysdeps/x86_64/stackinfo.h: Likewise.
84326 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84327 PF_X for powerpc64. Retain PF_X for powerpc32.
84328
84329 2010-12-19 Ulrich Drepper <drepper@gmail.com>
84330
84331 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84332 accurately.
84333 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84334 GETDENTS_64BIT_ALIGNED.
84335
84336 2010-12-14 Ulrich Drepper <dreper@gmail.com>
84337
84338 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84339
84340 2010-12-10 Andreas Schwab <schwab@redhat.com>
84341
84342 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84343 _GNU_SOURCE.
84344
84345 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84346 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84347 Remove __restrict.
84348 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84349 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84350
84351 2010-12-09 Ulrich Drepper <drepper@gmail.com>
84352
84353 [BZ #11655]
84354 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84355 are initialized.
84356
84357 2010-12-09 Jakub Jelinek <jakub@redhat.com>
84358
84359 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84360
84361 2010-12-03 Ulrich Drepper <drepper@gmail.com>
84362
84363 * po/it.po: Update from translation team.
84364
84365 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
84366
84367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84368 unused codes.
84369
84370 2010-11-30 Ulrich Drepper <drepper@gmail.com>
84371
84372 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84373
84374 2010-11-24 Andreas Schwab <schwab@redhat.com>
84375
84376 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84377 specially.
84378 (gaih_getanswer_slice): Likewise.
84379
84380 2010-10-20 Jakub Jelinek <jakub@redhat.com>
84381
84382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84383
84384 2010-05-31 Petr Baudis <pasky@suse.cz>
84385
84386 [BZ #11149]
84387 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84388 silently even in the chroot mode.
84389
84390 2010-11-22 Ulrich Drepper <drepper@gmail.com>
84391
84392 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84393 last patch a bit. Pretty printing
84394
84395 2010-05-31 Petr Baudis <pasky@suse.cz>
84396
84397 [BZ #10085]
84398 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84399 initialization of skip_initgroups_dyn.
84400
84401 2010-11-19 Ulrich Drepper <drepper@gmail.com>
84402
84403 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84404 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84405
84406 2010-11-16 Ulrich Drepper <drepper@gmail.com>
84407
84408 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84409
84410 2010-11-11 Andreas Schwab <schwab@redhat.com>
84411
84412 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84413 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84414 (tst-fnmatch-ENV): Set MALLOC_TRACE.
84415 ($(objpfx)tst-fnmatch-mem): New rule.
84416 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84417 * posix/tst-fnmatch.c (main): Call mtrace.
84418
84419 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
84420
84421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84422 Support Intel processor model 6 and model 0x2c.
84423
84424 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
84425
84426 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84427 signed comparison.
84428
84429 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
84430
84431 [BZ #12205]
84432 * string/test-strncasecmp.c (check_result): New function.
84433 (do_one_test): Use it.
84434 (check1): New function.
84435 (test_main): Use it.
84436 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84437 Support strcasecmp and strncasecmp.
84438
84439 2010-11-08 Ulrich Drepper <drepper@gmail.com>
84440
84441 [BZ #12194]
84442 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84443 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84444
84445 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
84446
84447 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84448 IFUNC support.
84449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84450 memset-x86-64.
84451 * sysdeps/x86_64/multiarch/bzero.S: New file.
84452 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84453 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84454 * sysdeps/x86_64/multiarch/memset.S: New file.
84455 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84457 Set bit_Prefer_SSE_for_memop for Intel processors.
84458 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84459 Define.
84460 (index_Prefer_SSE_for_memop): Define.
84461 (HAS_PREFER_SSE_FOR_MEMOP): Define.
84462
84463 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
84464
84465 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84466 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84467
84468 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
84469
84470 [BZ #12191]
84471 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84472 (__x86_64_raw_data_cache_size_half): Likewise.
84473 (__x86_64_raw_shared_cache_size): Likewise.
84474 (__x86_64_raw_shared_cache_size_half): Likewise.
84475
84476 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84477 (__x86_64_raw_data_cache_size_half): Likewise.
84478 (__x86_64_raw_shared_cache_size): Likewise.
84479 (__x86_64_raw_shared_cache_size_half): Likewise.
84480 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84481 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84482 and __x86_64_raw_shared_cache_size_half. Round
84483 __x86_64_data_cache_size_half, __x86_64_data_cache_size
84484 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84485 to multiple of 256 bytes.
84486
84487 2010-11-03 Ulrich Drepper <drepper@gmail.com>
84488
84489 [BZ #12167]
84490 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84491 of inacessible symlinks. Verify result of symlink before returning it.
84492 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84493 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84494
84495 2010-10-28 Erich Ritz <erichritz@gmail.com>
84496
84497 * math/math.h (isinf): Fix typo in comment.
84498
84499 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84500
84501 * po/da.po: Update from translation team.
84502
84503 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84504
84505 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84506 is added to the list.
84507
84508 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84509 Ulrich Drepper <drepper@gmail.com>
84510
84511 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84512 the global list here. Move code to...
84513 (_dl_add_to_namespace_list): ...here. New function.
84514 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84515 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84516 * elf/dl-load.c (lose): Don't remove the element from the list.
84517 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84518 (_dl_map_object): Likewise.
84519
84520 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84521
84522 [BZ #12159]
84523 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84524 into all bytes of SSE register.
84525 Patch by Richard Li <richardpku@gmail.com>.
84526
84527 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84528
84529 [BZ #12140]
84530 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84531 perturbing.
84532
84533 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84534
84535 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84536 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84537 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84538 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84540 submachine.
84541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84542
84543 2010-10-22 Andreas Schwab <schwab@redhat.com>
84544
84545 * include/dlfcn.h (__RTLD_SECURE): Define.
84546 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84547 mode & __RTLD_SECURE instead.
84548 (open_path): Rename preloaded parameter to secure.
84549 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84550 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84551 * elf/dl-deps.c (openaux): Likewise.
84552 * elf/rtld.c (struct map_args): Remove is_preloaded.
84553 (map_doit): Don't use it.
84554 (dl_main): Likewise.
84555 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84556 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84557
84558 2010-09-09 Andreas Schwab <schwab@redhat.com>
84559
84560 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84561 (sysd-rules-targets): Remove duplicates.
84562 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84563 rtld-%.$o dependency.
84564
84565 2010-10-18 Andreas Schwab <schwab@redhat.com>
84566
84567 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84568 _dl_map_object do it.
84569
84570 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84571
84572 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84573 fast fma builtins, define the macros in the C99 standard.
84574 (FP_FAST_FMAF): Likewise.
84575 (FP_FAST_FMAL): Likewise.
84576 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84577
84578 * bits/mathdef.h: Update copyright year.
84579 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84580
84581 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84582
84583 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84584 builtins, define the macros in the C99 standard.
84585 (FP_FAST_FMAF): Likewise.
84586 (FP_FAST_FMAL): Likewise.
84587 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84588 multiply/add.
84589 (FP_FAST_FMAF): Likewise.
84590
84591 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84592
84593 [BZ #3268]
84594 * math/libm-test.inc (fma_test): Some new testcases.
84595 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84596 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84597 y and infinite z. Do multiplication by C already in long double.
84598 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84600 y and infinite z. Do bitwise or of inexact bit into u.d.
84601 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84602 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84603 * sysdeps/i386/fpu/s_fma.S: Removed.
84604 * sysdeps/i386/fpu/s_fmal.S: Removed.
84605
84606 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84607
84608 [BZ #3268]
84609 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84611 computation is not scheduled after fetestexcept. Fix value
84612 of minimum denormal long double.
84613
84614 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84615
84616 [BZ #3268]
84617 * math/libm-test.inc (fma_test): Add some more tests.
84618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84619 correctly.
84620
84621 2010-10-15 Andreas Schwab <schwab@redhat.com>
84622
84623 * scripts/data/localplt-s390-linux-gnu.data: New file.
84624 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84625
84626 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84627
84628 [BZ #3268]
84629 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84630 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84631 instead of dbl-64.
84632 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84633 inlines.
84634 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84636 if one of x and y is very large and the other is subnormal.
84637 * sysdeps/s390/fpu/s_fmaf.c: New file.
84638 * sysdeps/s390/fpu/s_fma.c: New file.
84639 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84640 * sysdeps/powerpc/fpu/s_fma.S: New file.
84641 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84642 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84643 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84644
84645 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84646
84647 [BZ #3268]
84648 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84649 fma tests.
84650 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84651 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84652 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84653 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84654 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84655 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84656 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84657
84658 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84659
84660 [BZ #12078]
84661 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84662 * posix/bug-regex31.input: Add test case.
84663
84664 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84665
84666 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84667 * posix/bug-regex31.input: New file.
84668
84669 [BZ #12078]
84670 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84671 (parse_sub_exp): Fix last change, use postorder.
84672
84673 * posix/bug-regex31.c: New file.
84674 * posix/Makefile: Add rules to build and run bug-regex31.
84675
84676 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84677
84678 [BZ #12078]
84679 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84680
84681 [BZ #12108]
84682 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84683 to have entries in sys_siglist.
84684
84685 [BZ #12093]
84686 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84687 be NULL.
84688
84689 2010-10-07 Jakub Jelinek <jakub@redhat.com>
84690
84691 [BZ #3268]
84692 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84693 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84694 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84695 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84696 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84697 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84698 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84699 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84700 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84701 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84702 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84703 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84704 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84705 * math/ftestexcept.c (fetestexcept): Likewise.
84706 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84707 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84708 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84709 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84710 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84711 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84712 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84713
84714 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84715
84716 [BZ #12107]
84717 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84718 newline.
84719
84720 2010-10-06 Ulrich Drepper <drepper@gmail.com>
84721
84722 * string/bug-strstr1.c: New file.
84723 * string/Makefile: Add rules to build and run bug-strstr1.
84724
84725 2010-10-05 Eric Blake <eblake@redhat.com>
84726
84727 [BZ #12092]
84728 * string/str-two-way.h (two_way_long_needle): Always clear memory
84729 when skipping input due to the shift table.
84730
84731 2010-10-03 Ulrich Drepper <drepper@gmail.com>
84732
84733 [BZ #12005]
84734 * malloc/mcheck.c: Handle large requests.
84735
84736 [BZ #12077]
84737 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84738 for strncmp and strncasecmp.
84739 * string/stratcliff.c: Add tests for strcmp and strncmp.
84740 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84741
84742 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84743
84744 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84745 __set_fpscr.
84746
84747 2010-09-30 Andreas Jaeger <aj@suse.de>
84748
84749 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84750 (CGROUP_SUPER_MAGIC): Define.
84751 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84752 Handle btrfs and cgroup file systems.
84753 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84754 Likewise.
84755
84756 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
84757
84758 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84759 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84760
84761 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84762
84763 [BZ #12067]
84764 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84765 trying to locate the ELF header.
84766
84767 2010-09-27 Andreas Schwab <schwab@redhat.com>
84768
84769 [BZ #11611]
84770 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84771 Mask out sign-bit copies when constructing f_fsid.
84772
84773 2010-09-24 Petr Baudis <pasky@suse.cz>
84774
84775 * debug/stack_chk_fail_local.c: Add missing licence exception.
84776 * debug/warning-nop.c: Likewise.
84777
84778 2010-09-15 Joseph Myers <joseph@codesourcery.com>
84779
84780 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84781 implementing getdents64 using getdents syscall, set d_type if
84782 __ASSUME_GETDENTS32_D_TYPE.
84783
84784 2010-09-16 Andreas Schwab <schwab@redhat.com>
84785
84786 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84787 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84788
84789 2010-09-21 Ulrich Drepper <drepper@redhat.com>
84790
84791 [BZ #12037]
84792 * posix/unistd.h: Undo change of feature selection for ftruncate from
84793 2010-01-11.
84794
84795 2010-09-20 Ulrich Drepper <drepper@redhat.com>
84796
84797 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84798 detection.
84799
84800 2010-09-20 Andreas Schwab <schwab@redhat.com>
84801
84802 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84803 fanotify_mark.
84804 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84805
84806 2010-09-14 Andreas Schwab <schwab@redhat.com>
84807
84808 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84809 variables after CHECK_SP call.
84810 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84811
84812 2010-09-13 Andreas Schwab <schwab@redhat.com>
84813 Ulrich Drepper <drepper@redhat.com>
84814
84815 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84816 re-relocationg ld.so.
84817 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84818 _dl_init_paths call.
84819 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
84820 here anymore.
84821
84822 2010-09-14 Ulrich Drepper <drepper@redhat.com>
84823
84824 * resolv/res_init.c (__res_vinit): Count the default server we added.
84825
84826 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
84827 Ulrich Drepper <drepper@redhat.com>
84828
84829 [BZ #11968]
84830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84831 (____longjmp_chk): Use %ebx for saving value across system call.
84832 Add unwind info.
84833
84834 2010-09-06 Andreas Schwab <schwab@redhat.com>
84835
84836 * manual/Makefile: Don't mix pattern rules with normal rules.
84837
84838 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
84839
84840 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84841 operation.
84842 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84843 * libio/iofopncook.c (_IO_cookie_init): Likewise.
84844 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84845 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84847 Likewise.
84848
84849 2010-09-04 Ulrich Drepper <drepper@redhat.com>
84850
84851 [BZ #11979]
84852 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84853 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84854
84855 2010-09-02 Ulrich Drepper <drepper@redhat.com>
84856
84857 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84858 * sysdeps/x86_64/addmul_1.S: Likewise.
84859 * sysdeps/x86_64/lshift.S: Likewise.
84860 * sysdeps/x86_64/mul_1.S: Likewise.
84861 * sysdeps/x86_64/rshift.S: Likewise.
84862 * sysdeps/x86_64/sub_n.S: Likewise.
84863 * sysdeps/x86_64/submul_1.S: Likewise.
84864
84865 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
84866
84867 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84868 Define __sched_param instead of SCHED_* and sched_param when
84869 <bits/sched.h> is included with __need_schedparam defined.
84870 * bits/sched.h [__need_schedparam]
84871 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84872 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84873 (__defined_schedparam): Define to 1.
84874 (__sched_param): New structure, identical to sched_param.
84875 (__need_schedparam): Undefine.
84876
84877 2010-08-31 Mike Frysinger <vapier@gentoo.org>
84878
84879 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84880 (epoll_create1): Declare.
84881
84882 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84883
84884 2010-08-31 Andreas Schwab <schwab@redhat.com>
84885
84886 [BZ #7066]
84887 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84888 shifting retval into place.
84889
84890 2010-09-01 Ulrich Drepper <drepper@redhat.com>
84891
84892 * nis/rpcsvc/nis.h: Update copyright notice.
84893 * nis/rpcsvc/nis.x: Likewise.
84894 * nis/rpcsvc/nis_callback.h: Likewise.
84895 * nis/rpcsvc/nis_callback.x: Likewise.
84896 * nis/rpcsvc/nis_object.x: Likewise.
84897 * nis/rpcsvc/nis_tags.h: Likewise.
84898 * nis/rpcsvc/yp.h: Likewise.
84899 * nis/rpcsvc/yp.x: Likewise.
84900 * nis/rpcsvc/ypupd.h: Likewise.
84901 * nis/yp_xdr.c: Likewise.
84902 * nis/ypupdate_xdr.c: Likewise.
84903
84904 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
84905 mainly the body of pmap_getport. Add parameters to specify timeouts.
84906 (pmap_getport): Use __libc_rpc_getport.
84907 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84908 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84909 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84910
84911 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
84912
84913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84914 fanotify_mark.
84915
84916 2010-08-27 Roland McGrath <roland@redhat.com>
84917
84918 * sysdeps/i386/i686/multiarch/Makefile
84919 (CFLAGS-varshift.c): New variable.
84920
84921 2010-08-27 Ulrich Drepper <drepper@redhat.com>
84922
84923 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84924 * sysdeps/i386/i686/multiarch/varshift.c: New file.
84925
84926 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84927
84928 * sysdeps/x86_64/strlen.S: Minimal code improvement.
84929
84930 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
84931
84932 * sysdeps/x86_64/strlen.S: Unroll the loop.
84933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84934 strlen-sse2 strlen-sse2-bsf.
84935 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84936 __strlen_no_bsf if bit_Slow_BSF is set.
84937 (__strlen_sse42): Removed.
84938 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84939 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84940
84941 2010-08-25 Roland McGrath <roland@redhat.com>
84942
84943 * sysdeps/x86_64/multiarch/varshift.S: File removed.
84944 * sysdeps/x86_64/multiarch/varshift.c: New file.
84945 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84946 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84947 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84948 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84949
84950 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
84951
84952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84953 strlen-sse2 strlen-sse2-bsf.
84954 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84955 __strlen_sse2_bsf if bit_Slow_BSF is unset.
84956 (__strlen_sse2): Removed.
84957 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84958 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84960 bit_Slow_BSF for Atom.
84961 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84962 (index_Slow_BSF): Define.
84963 (HAS_SLOW_BSF): Define.
84964
84965 2010-08-25 Ulrich Drepper <drepper@redhat.com>
84966
84967 [BZ #10851]
84968 * resolv/res_init.c (__res_vinit): When no server address at all
84969 is given default to loopback.
84970
84971 2010-08-24 Roland McGrath <roland@redhat.com>
84972
84973 * configure.in: Remove config-name.h generation.
84974 * configure: Regenerated.
84975 * config-name.in: File removed.
84976 * scripts/config-uname.sh: New file.
84977 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84978 ($(objdir)config-name.h): New target.
84979
84980 * sunrpc/rpc_parse.h: Avoid nested comment.
84981
84982 2010-08-24 Richard Henderson <rth@redhat.com>
84983 Ulrich Drepper <drepper@redhat.com>
84984 H.J. Lu <hongjiu.lu@intel.com>
84985
84986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84988 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84989 Replace _mm_srli_si128 with __m128i_shift_right. Replace
84990 _mm_alignr_epi8 with _mm_loadu_si128.
84991 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84992 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84993 (__m128i_shift_right): Removed.
84994 * sysdeps/i386/i686/multiarch/varshift.h: New file.
84995 * sysdeps/i386/i686/multiarch/varshift.S: New file.
84996 * sysdeps/x86_64/multiarch/varshift.h: New file.
84997 * sysdeps/x86_64/multiarch/varshift.S: New file.
84998
84999 2010-08-21 Mike Frysinger <vapier@gentoo.org>
85000
85001 * configure.in: Move assembler checks to before sysdep dir checking.
85002
85003 2010-08-20 Petr Baudis <pasky@suse.cz>
85004
85005 * LICENSES: Sync the sunrpc license.
85006
85007 2010-08-19 Ulrich Drepper <drepper@redhat.com>
85008
85009 * sunrpc/auth_des.c: Update copyright notice once again.
85010 * sunrpc/auth_none.c: Likewise.
85011 * sunrpc/auth_unix.c: Likewise.
85012 * sunrpc/authdes_prot.c: Likewise.
85013 * sunrpc/authuxprot.c: Likewise.
85014 * sunrpc/bindrsvprt.c: Likewise.
85015 * sunrpc/clnt_gen.c: Likewise.
85016 * sunrpc/clnt_perr.c: Likewise.
85017 * sunrpc/clnt_raw.c: Likewise.
85018 * sunrpc/clnt_simp.c: Likewise.
85019 * sunrpc/clnt_tcp.c: Likewise.
85020 * sunrpc/clnt_udp.c: Likewise.
85021 * sunrpc/clnt_unix.c: Likewise.
85022 * sunrpc/des_crypt.c: Likewise.
85023 * sunrpc/des_soft.c: Likewise.
85024 * sunrpc/get_myaddr.c: Likewise.
85025 * sunrpc/getrpcport.c: Likewise.
85026 * sunrpc/key_call.c: Likewise.
85027 * sunrpc/key_prot.c: Likewise.
85028 * sunrpc/openchild.c: Likewise.
85029 * sunrpc/pm_getmaps.c: Likewise.
85030 * sunrpc/pm_getport.c: Likewise.
85031 * sunrpc/pmap_clnt.c: Likewise.
85032 * sunrpc/pmap_prot.c: Likewise.
85033 * sunrpc/pmap_prot2.c: Likewise.
85034 * sunrpc/pmap_rmt.c: Likewise.
85035 * sunrpc/rpc/auth.h: Likewise.
85036 * sunrpc/rpc/auth_unix.h: Likewise.
85037 * sunrpc/rpc/clnt.h: Likewise.
85038 * sunrpc/rpc/des_crypt.h: Likewise.
85039 * sunrpc/rpc/key_prot.h: Likewise.
85040 * sunrpc/rpc/netdb.h: Likewise.
85041 * sunrpc/rpc/pmap_clnt.h: Likewise.
85042 * sunrpc/rpc/pmap_prot.h: Likewise.
85043 * sunrpc/rpc/pmap_rmt.h: Likewise.
85044 * sunrpc/rpc/rpc.h: Likewise.
85045 * sunrpc/rpc/rpc_des.h: Likewise.
85046 * sunrpc/rpc/rpc_msg.h: Likewise.
85047 * sunrpc/rpc/svc.h: Likewise.
85048 * sunrpc/rpc/svc_auth.h: Likewise.
85049 * sunrpc/rpc/types.h: Likewise.
85050 * sunrpc/rpc/xdr.h: Likewise.
85051 * sunrpc/rpc_clntout.c: Likewise.
85052 * sunrpc/rpc_cmsg.c: Likewise.
85053 * sunrpc/rpc_common.c: Likewise.
85054 * sunrpc/rpc_cout.c: Likewise.
85055 * sunrpc/rpc_dtable.c: Likewise.
85056 * sunrpc/rpc_hout.c: Likewise.
85057 * sunrpc/rpc_main.c: Likewise.
85058 * sunrpc/rpc_parse.c: Likewise.
85059 * sunrpc/rpc_parse.h: Likewise.
85060 * sunrpc/rpc_prot.c: Likewise.
85061 * sunrpc/rpc_sample.c: Likewise.
85062 * sunrpc/rpc_scan.c: Likewise.
85063 * sunrpc/rpc_scan.h: Likewise.
85064 * sunrpc/rpc_svcout.c: Likewise.
85065 * sunrpc/rpc_tblout.c: Likewise.
85066 * sunrpc/rpc_util.c: Likewise.
85067 * sunrpc/rpc_util.h: Likewise.
85068 * sunrpc/rpcinfo.c: Likewise.
85069 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85070 * sunrpc/rpcsvc/key_prot.x: Likewise.
85071 * sunrpc/rpcsvc/klm_prot.x: Likewise.
85072 * sunrpc/rpcsvc/mount.x: Likewise.
85073 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85074 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85075 * sunrpc/rpcsvc/rex.x: Likewise.
85076 * sunrpc/rpcsvc/rstat.x: Likewise.
85077 * sunrpc/rpcsvc/rusers.x: Likewise.
85078 * sunrpc/rpcsvc/sm_inter.x: Likewise.
85079 * sunrpc/rpcsvc/spray.x: Likewise.
85080 * sunrpc/rpcsvc/yppasswd.x: Likewise.
85081 * sunrpc/rtime.c: Likewise.
85082 * sunrpc/svc.c: Likewise.
85083 * sunrpc/svc_auth.c: Likewise.
85084 * sunrpc/svc_authux.c: Likewise.
85085 * sunrpc/svc_raw.c: Likewise.
85086 * sunrpc/svc_run.c: Likewise.
85087 * sunrpc/svc_simple.c: Likewise.
85088 * sunrpc/svc_tcp.c: Likewise.
85089 * sunrpc/svc_udp.c: Likewise.
85090 * sunrpc/svc_unix.c: Likewise.
85091 * sunrpc/svcauth_des.c: Likewise.
85092 * sunrpc/xcrypt.c: Likewise.
85093 * sunrpc/xdr.c: Likewise.
85094 * sunrpc/xdr_array.c: Likewise.
85095 * sunrpc/xdr_float.c: Likewise.
85096 * sunrpc/xdr_mem.c: Likewise.
85097 * sunrpc/xdr_rec.c: Likewise.
85098 * sunrpc/xdr_ref.c: Likewise.
85099 * sunrpc/xdr_sizeof.c: Likewise.
85100 * sunrpc/xdr_stdio.c: Likewise.
85101
85102 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85103 handling.
85104
85105 2010-08-19 Andreas Schwab <schwab@redhat.com>
85106
85107 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85108
85109 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
85110
85111 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85112 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85113 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85114 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85115 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85116 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85117 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85118 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85119 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85120 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85121 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85122 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85123 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85124 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85125
85126 2010-07-26 Anton Blanchard <anton@samba.org>
85127
85128 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85129 * malloc/arena.c (heap_trim): Likewise.
85130
85131 2010-08-16 Ulrich Drepper <drepper@redhat.com>
85132
85133 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85134 here. Not...
85135 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85136 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85137
85138 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
85139
85140 * sysdeps/i386/elf/Makefile: New file.
85141
85142 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85143
85144 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85145 from fanotify_init.
85146 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85147 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85148
85149 2010-08-15 Ulrich Drepper <drepper@redhat.com>
85150
85151 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85152 of strncasecmp_l.
85153 * sysdeps/multiarch/strcmp.S: Likewise.
85154
85155 2010-08-14 Ulrich Drepper <drepper@redhat.com>
85156
85157 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85158 strncase_l-nonascii.
85159 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85160 Add strncase_l-ssse3.
85161 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85162 * sysdeps/x86_64/strcmp.S: Likewise.
85163 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85164 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85165 * sysdeps/x86_64/strncase.S: New file.
85166 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85167 * sysdeps/x86_64/strncase_l.S: New file.
85168 * string/Makefile (strop-tests): Add strncasecmp.
85169 * string/test-strncasecmp.c: New file.
85170
85171 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85172 warning.
85173
85174 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85176
85177 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85178
85179 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85180
85181 2010-08-12 Ulrich Drepper <drepper@redhat.com>
85182
85183 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85184 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85185 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85186
85187 2010-05-01 Alan Modra <amodra@gmail.com>
85188
85189 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85190 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85191 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85192 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85193 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85194 tidying. Don't tail-call __sigjmp_save for static lib.
85195 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85196 save location.
85197 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85198 (CALL_MCOUNT): Add eh info, and nop after bl.
85199 (TAIL_CALL_SYSCALL_ERROR): New macro.
85200 (PSEUDO_RET): Use it.
85201 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85202 Correct save location of integer regs and cr.
85203 (_dl_profile_resolve): Correct cr save location. Delete nops
85204 after bl when SHARED. Reduce cfi size a little by better
85205 placement of cfi directives.
85206 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85207 make a stack frame. Instead use parm save area as a temp.
85208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85209 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
85210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85211 Don't make a stack frame for parent, use parm save area.
85212 Increase child stack frame to 112 bytes. Don't save unused reg,
85213 and adjust reg usage. Set up cfi on error recovery and
85214 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85216 (__makecontext): Add dummy nop after jump to exit.
85217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85218 Use correct parm save area and cr save, reduce stack frame.
85219 Correct cfi for possible PSEUDO_RET frame setup.
85220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85221 Branch to local label emitted by PSEUDO_RET rather than
85222 __syscall_error.
85223
85224 2010-08-12 Andreas Schwab <schwab@redhat.com>
85225
85226 [BZ #11904]
85227 * locale/programs/locale.c (print_assignment): New function.
85228 (show_locale_vars): Use it.
85229
85230 2010-08-11 Ulrich Drepper <drepper@redhat.com>
85231
85232 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85233 field.
85234 (struct statfs64): Likewise.
85235 (_STATFS_F_FLAGS): Define.
85236 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85238 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85239 (ST_VALID): Define locally.
85240 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85241 __statvfs_getflags, use the provided value.
85242 * sysdeps/unix/sysv/linux/kernel-features.h: Define
85243 __ASSUME_STATFS_F_FLAGS.
85244
85245 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85246
85247 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85248 Add sys/fanotify.h.
85249 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85250 fanotify_mask for GLIBC_2.13.
85251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85252 fanotify_init and fanotify_mark.
85253 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85254 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85255
85256 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85257 Add prlimit.
85258 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85259 prlimit64 for GLIBC_2.13.
85260 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85261 prlimit64.
85262 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85263 syscall.
85264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85265 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85266 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85267 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
85269 add prlimit alias.
85270 * sysdeps/unix/sysv/linux/prlimit.c: New file.
85271
85272 [BZ #11903]
85273 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85274 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85275
85276 * nss/Makefile: Add rules to build and run tst-nss-test1.
85277 * shlib-versions: Add entry for libnss_test1.
85278 * nss/nss_test1.c: New file.
85279 * nss/tst-nss-test1.c: New file.
85280
85281 * nss/nsswitch.c (__nss_database_custom): Define new variable.
85282 (__nss_configure_lookup): Set appropriate entry in
85283 __nss_configure_lookup to true.
85284 * nss/nsswitch.h: Define enum with indeces of databases in
85285 databases and __nss_database_custom arrays. Declare
85286 __nss_database_custom.
85287 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85288 to avoid using nscd when custom rules are installed.
85289 * nss/getXXbyYY_r.c: Likewise.
85290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85291
85292 * nss/nss_files/files-parse.c: Whitespace fixes.
85293
85294 2010-08-09 Ulrich Drepper <drepper@redhat.com>
85295
85296 [BZ #11883]
85297 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85298 * posix/fnmatch_loop.c: Likewise.
85299
85300 2010-07-17 Andi Kleen <ak@linux.intel.com>
85301
85302 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85303 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85304 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85305 * Versions.def [GLIBC_2.13]: Add.
85306
85307 2010-08-06 Ulrich Drepper <drepper@redhat.com>
85308
85309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85310 Also fail if tpwd after pwuid call is NULL.
85311
85312 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
85313
85314 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85315 when converting to ms.
85316
85317 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
85318
85319 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85320 EOPNOTSUPP errors with ENOTTY.
85321 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85322 EOPNOTSUPP errors with ENOTTY.
85323
85324 2010-07-31 Ulrich Drepper <drepper@redhat.com>
85325
85326 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85327 Add strcasecmp_l-ssse3.
85328 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85329 strcasecmp.
85330 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85331 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85332 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85333
85334 2010-07-30 Ulrich Drepper <drepper@redhat.com>
85335
85336 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85337
85338 * string/Makefile (strop-tests): Add strcasecmp.
85339 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85340 strcasecmp_l-nonascii.
85341 (gen-as-const-headers): Add locale-defines.sym.
85342 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85343 * sysdeps/x86_64/strcasecmp.S: New file.
85344 * sysdeps/x86_64/strcasecmp_l.S: New file.
85345 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85346 * sysdeps/x86_64/locale-defines.sym: New file.
85347 * string/test-strcasecmp.c: New file.
85348
85349 * string/test-strcasestr.c: Test both ends of the range of characters.
85350 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85351
85352 2010-07-29 Roland McGrath <roland@redhat.com>
85353
85354 [BZ #11856]
85355 * manual/locale.texi (Yes-or-No Questions): Fix example code.
85356
85357 2010-07-27 Ulrich Drepper <drepper@redhat.com>
85358
85359 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85360 for ld.so.
85361
85362 2010-07-27 Andreas Schwab <schwab@redhat.com>
85363
85364 * manual/memory.texi (Malloc Tunable Parameters): Document
85365 M_PERTURB.
85366
85367 2010-07-26 Roland McGrath <roland@redhat.com>
85368
85369 [BZ #11840]
85370 * configure.in (-fgnu89-inline check): Set and substitute
85371 gnu89_inline, not libc_cv_gnu89_inline.
85372 * configure: Regenerated.
85373 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85374
85375 2010-07-26 Ulrich Drepper <drepper@redhat.com>
85376
85377 * string/test-strnlen.c: New file.
85378 * string/Makefile (strop-tests): Add strnlen.
85379 * string/tester.c (test_strnlen): Add a few more test cases.
85380 * string/tst-strlen.c: Better error reporting.
85381
85382 * sysdeps/x86_64/strnlen.S: New file.
85383
85384 2010-07-24 Ulrich Drepper <drepper@redhat.com>
85385
85386 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85387 lower-latency instructions.
85388
85389 2010-07-23 Ulrich Drepper <drepper@redhat.com>
85390
85391 * string/test-strcasestr.c: New file.
85392 * string/test-strstr.c: New file.
85393 * string/Makefile (strop-tests): Add strstr and strcasestr.
85394 * string/str-two-way.h: Don't undefine MAX.
85395 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85396
85397 2010-07-21 Andreas Schwab <schwab@redhat.com>
85398
85399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85400 strcasestr-nonascii.
85401 (CFLAGS-strcasestr-nonascii.c): Define.
85402 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85403 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85404 Remove unused attribute.
85405
85406 2010-07-20 Roland McGrath <roland@redhat.com>
85407
85408 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85409 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
85410 ld.so.cache was broken. With it, there is no way to disable dsocaps
85411 like LD_HWCAP_MASK can disable hwcaps.
85412
85413 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85414
85415 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85416
85417 2010-07-16 Ulrich Drepper <drepper@redhat.com>
85418
85419 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85420 call in strcasestr.
85421 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85422 __strcasestr_sse42_nonascii.
85423 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85424 strcasestr-nonascii.c.
85425 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85426
85427 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
85428
85429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85430 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85432 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85433
85434 2010-07-09 Ulrich Drepper <drepper@redhat.com>
85435
85436 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85437 fcntl.
85438
85439 2010-07-06 Andreas Schwab <schwab@redhat.com>
85440
85441 [BZ #11577]
85442 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85443 dl_signal_cerror.
85444
85445 2010-07-06 Ulrich Drepper <drepper@redhat.com>
85446
85447 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85448 _PC_PIPE_BUF using F_GETPIPE_SZ.
85449
85450 2010-07-05 Roland McGrath <roland@redhat.com>
85451
85452 * manual/arith.texi (Rounding Functions): Fix rint description
85453 implicit in round description.
85454
85455 2010-07-02 Ulrich Drepper <drepper@redhat.com>
85456
85457 * elf/Makefile: Fix linking for a few tests to make recent linker
85458 happy.
85459
85460 2010-06-30 Andreas Schwab <schwab@redhat.com>
85461
85462 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85463 $(common-objpfx)libc_nonshared.a.
85464
85465 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
85466
85467 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85468 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85469 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85470 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85471 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85472 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85473 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85474 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85489 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85490 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85491 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85492 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85493 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85494 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85495 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85496 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85497 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85498 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85499 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85500 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85515
85516 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85517
85518 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85519 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85520 * string/memmove.c (memmove): Renamed to ...
85521 (MEMMOVE): ...this. Default to memmove.
85522 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85523 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85524 (END_CHK): Define.
85525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85526 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85527 mempcpy-ssse3-back memmove-ssse3-back.
85528 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85529 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85530 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85531 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85532 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85533 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85534 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85535 * sysdeps/x86_64/multiarch/memmove.c: New file.
85536 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85537 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85538 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85539 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85540 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85542 Define.
85543 (index_Fast_Copy_Backward): Define.
85544 (HAS_ARCH_FEATURE): Define.
85545 (HAS_FAST_REP_STRING): Define.
85546 (HAS_FAST_COPY_BACKWARD): Define.
85547
85548 2010-06-21 Andreas Schwab <schwab@redhat.com>
85549
85550 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85551 Restore proper fallback handling.
85552
85553 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85554
85555 [BZ #11701]
85556 * posix/group_member.c (__group_member): Correct checking loop.
85557
85558 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85559 OOM in getpwuid_r correctly. Return error number when the caller
85560 should return, otherwise -1.
85561 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85562 call returning > 0 value.
85563 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85564
85565 2010-06-07 Andreas Schwab <schwab@redhat.com>
85566
85567 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85568 libc_nonshared.a from targets in modules-names.
85569
85570 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85571
85572 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85573 requires it.
85574
85575 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85576
85577 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85578 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85579 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85580 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85581
85582 2010-06-02 Andreas Schwab <schwab@redhat.com>
85583
85584 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85585
85586 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85587
85588 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85589 and F_GETPIPE_SZ.
85590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85594 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85595 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85596
85597 2010-06-14 Roland McGrath <roland@redhat.com>
85598
85599 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85600
85601 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85602
85603 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85604 __REDIRECT followed by __THROW.
85605 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85606 * posix/getopt.h (getopt): Likewise.
85607
85608 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85609
85610 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85611 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85612 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85613 in AT_FLAGS.
85614 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85615 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85616
85617 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85618
85619 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85620
85621 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85622
85623 [BZ #11640]
85624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85625 Properly check family and model.
85626
85627 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85628
85629 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85630
85631 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85632
85633 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85634
85635 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85636
85637 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85638 symbol reference.
85639
85640 2010-05-19 Andreas Schwab <schwab@redhat.com>
85641
85642 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85643 symbol reference.
85644
85645 2010-05-21 Andreas Schwab <schwab@redhat.com>
85646
85647 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85648 and internal_recvmmsg.
85649 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85650 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85651 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85652 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85653
85654 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85655 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85656 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85657
85658 2010-05-20 Andreas Schwab <schwab@redhat.com>
85659
85660 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85661
85662 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85663
85664 POWER7 optimizations.
85665 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85666 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85667
85668 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85669
85670 * version.h: Update for 2.13 development version.
85671
85672 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85673
85674 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85675 exceptions. Return 0.
85676
85677 2010-05-07 Roland McGrath <roland@redhat.com>
85678
85679 * elf/ldconfig.c (main): Add a const.
85680
85681 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85682
85683 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85684 (args_options): Add no-idn option.
85685 (ahosts_keys_int): Add idn_flags to ai_flags.
85686 (parse_option): Handle 'i' option to clear idn_flags.
85687
85688 * malloc/malloc.c (_int_free): Possible race in the most recently
85689 added check. Only act on the data if no current modification
85690 happened.
85691
85692 See ChangeLog.17 for earlier changes.